Benjamin Mintz <benjabe...@gmail.com> added the comment:
Updated main.py. New expected output: ==================== True <module 'testext.sub' (namespace)> <module 'testext.sub' (namespace)> New actual output: ================== False <module 'testext.sub' (namespace)> Traceback (most recent call last): File "main.py", line 14, in <module> print(module.sub) AttributeError: module 'testext' has no attribute 'sub' ---------- Added file: https://bugs.python.org/file48461/importsfucked.zip _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37521> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com