[issue30876] SystemError on import

Brett Cannon report at bugs.python.org
Sat Jul 8 14:36:40 EDT 2017


Brett Cannon added the comment:

So this is very old semantics from the Python 2 days. I think Nick's idea of transforming the import to `import pkg.mod` when pkg isn't in sys.modules is probably the simplest, cleanest solution if we're going to change this.

----------

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


More information about the Python-bugs-list mailing list