bpo-30876: Relative import from unloaded package now reimports the package by serhiy-storchaka · Pull Request #2639 · python/cpython
…ckage instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError.
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request
Jul 12, 2017…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)
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request
Jul 12, 2017…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)
serhiy-storchaka added a commit that referenced this pull request
Jul 16, 2017serhiy-storchaka added a commit that referenced this pull request
Jul 23, 2017* bpo-30876: Relative import from unloaded package now reimports the package instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError. (cherry picked from commit 8a9cd20) * bpo-18018: Import raises ImportError instead of SystemError if a relative import is attempted without a known parent package. * bpo-26367: importlib.__init__() raises ImportError like builtins.__import__() when ``level`` is specified but without an accompanying package specified.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters