]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132775: Add _PyModule_GetFilenameObject() and _PyModule_GetFilenameUTF8() (gh...
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 28 Apr 2025 18:41:32 +0000 (12:41 -0600)
committerGitHub <noreply@github.com>
Mon, 28 Apr 2025 18:41:32 +0000 (12:41 -0600)
commitc17238251fdf72861dfadcd581c77332b639bcb0
treee68b4ba4de2f4c6690d81fc330348c59d8634200
parent25186c2472f6f2ceecb00fcecbce52b924510ed7
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__.
Include/internal/pycore_moduleobject.h
Objects/moduleobject.c