New submission from Yongzhi Pan: In an empty dir, e.g. Desktop, the following import raises SystemError:
>>> from . import foo Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: Parent module '' not loaded, cannot perform relative import The documentation says that SystemError should be reported as a bug. ---------- components: Interpreter Core messages: 247653 nosy: fossilet priority: normal severity: normal status: open title: SystemError when importing from a non-package directory versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24752> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com