[issue27419] Bugs in PyImport_ImportModuleLevelObject

Serhiy Storchaka report at bugs.python.org
Mon Jul 4 15:50:22 EDT 2016


Serhiy Storchaka added the comment:

Here is a reproducer for the second bug.

In Python 2.7 and Python 3.2 all works.

In Python 3.3+:

$ ./python import_bug_2.py 
Traceback (most recent call last):
  File "import_bug_2.py", line 6, in <module>
    import os.path
  File "import_bug_2.py", line 4, in __import__
    raise AssertionError
AssertionError

----------
Added file: http://bugs.python.org/file43621/import_bug_2.py

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


More information about the Python-bugs-list mailing list