gh-132775: Add _PyModule_GetFilenameObject() and _PyModule_GetFilenam… · python/cpython@c172382 · GitHub
Skip to content

Commit c172382

Browse files
gh-132775: Add _PyModule_GetFilenameObject() and _PyModule_GetFilenameUTF8() (gh-132979)
They are derived from the existing `PyModule_GetFilenameObject(). They are used by a later change related to pickle and handling __main__.
1 parent 25186c2 commit c172382

2 files changed

Lines changed: 65 additions & 9 deletions

File tree

Include/internal/pycore_moduleobject.h

Lines changed: 6 additions & 0 deletions

Objects/moduleobject.c

Lines changed: 59 additions & 9 deletions

0 commit comments

Comments
 (0)