[issue25791] Raise an ImportWarning when __spec__.parent/__package__ isn't defined for a relative import

Antoine Pitrou report at bugs.python.org
Sun May 28 04:32:06 EDT 2017


Antoine Pitrou added the comment:

This new warning is introducing difficulties for some Cython-compiled modules: https://github.com/cython/cython/issues/1720

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25791>
_______________________________________


More information about the Python-bugs-list mailing list