[Python-Dev] _PyImport_FindExtensionObject() does not set _Py_PackageContext (original) (raw)
Stefan Behnel stefan_ml at behnel.de
Sun Nov 13 19:48:39 CET 2011
- Previous message: [Python-Dev] Hashable memoryviews
- Next message: [Python-Dev] _PyImport_FindExtensionObject() does not set _Py_PackageContext
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I noticed that _PyImport_FindExtensionObject() in Python/import.c does not set _Py_PackageContext when it calls the module init function for module reinitialisation. However, PyModule_Create2() still uses that variable to figure out the fully qualified module name. Was this intentionally left out or is it just an oversight?
Stefan
- Previous message: [Python-Dev] Hashable memoryviews
- Next message: [Python-Dev] _PyImport_FindExtensionObject() does not set _Py_PackageContext
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]