]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9425: Create PyModule_GetFilenameObject() function
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 17 Aug 2010 23:37:11 +0000 (23:37 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 17 Aug 2010 23:37:11 +0000 (23:37 +0000)
commit6c00c1464f03deaafbbd5fdd212514cbf36b9bd4
tree6928203bf836291bb890f9ebdfb7d71ac670ca98
parent6951157475dd22893a2c5813cbbdac63de5c043f
Issue #9425: Create PyModule_GetFilenameObject() function

... to get the filename as a unicode object, instead of a byte string. Function
needed to support unencodable filenames. Deprecate PyModule_GetFilename() in
favor on the new function.
Doc/c-api/module.rst
Include/moduleobject.h
Misc/NEWS
Objects/moduleobject.c