[issue13429] provide __file__ to extension init function
Stefan Behnel
report at bugs.python.org
Fri Nov 18 17:22:22 CET 2011
Stefan Behnel <scoder at users.sourceforge.net> added the comment:
Here is an extension to the patch that implements the protocol also for extension module reinitialisation, so that the module creation can also set __file__ and the proper package in that case. Currently without tests (and users, I guess).
----------
Added file: http://bugs.python.org/file23726/ext_module_reinit_context.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13429>
_______________________________________
More information about the Python-bugs-list
mailing list