[issue13429] provide __file__ to extension init function
Stefan Behnel
report at bugs.python.org
Tue Jul 25 02:13:22 EDT 2017
Stefan Behnel added the comment:
This has been resolved by PEP 489, issue 24268.
The module initialisation process receives the complete ModuleSpec now, starting with CPython 3.5, and can do with it whatever it likes, before executing any user code.
----------
resolution: -> duplicate
stage: -> resolved
status: open -> closed
versions: +Python 3.5 -Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13429>
_______________________________________
More information about the Python-bugs-list
mailing list