[3.5] bpo-30876: Relative import from unloaded package now reimports the package (GH-2639) by serhiy-storchaka · Pull Request #2677 · python/cpython

Conversation

@serhiy-storchaka

instead of failing with SystemError.

Relative import from non-package now fails with ImportError rather than
SystemError.
(cherry picked from commit 8a9cd20)

…the package (pythonGH-2639)

instead of failing with SystemError.

Relative import from non-package now fails with ImportError rather than
SystemError..
(cherry picked from commit 8a9cd20)

@larryhastings

Just a reminder: I expect to tag 3.5.4rc1 in eleven or twelve hours. If this is a bugfix (not a security fix), and it isn't merged by then, it will probably never be merged into 3.5.