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

Brett Cannon report at bugs.python.org
Wed Jan 13 16:36:08 EST 2016


Brett Cannon added the comment:

Including importlib.h doesn't hurt.

----------

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


More information about the Python-bugs-list mailing list