Staging
v0.8.1
Revision c824cc8426a16dd9f3949a3ed135523d37787bae authored by Serhiy Storchaka on 23 July 2017, 06:44:05 UTC, committed by GitHub on 23 July 2017, 06:44:05 UTC
* 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 8a9cd20edca7d01b68292036029ae3735ce65edd)

* 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.
1 parent e78dc0a
Raw File
Porting
This document is moved to https://docs.python.org/devguide/faq.html#how-do-i-port-python-to-a-new-platform
back to top