diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-07-12 03:50:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 03:50:03 (GMT) |
commit | 8a9cd20edca7d01b68292036029ae3735ce65edd (patch) | |
tree | f4df7b29b7d32eb5a860e325f2114beea561e57b /Misc | |
parent | 6d13b22e3ab262c6b1f068259aebd705e7da316c (diff) | |
download | cpython-8a9cd20edca7d01b68292036029ae3735ce65edd.zip cpython-8a9cd20edca7d01b68292036029ae3735ce65edd.tar.gz cpython-8a9cd20edca7d01b68292036029ae3735ce65edd.tar.bz2 |
bpo-30876: Relative import from unloaded package now reimports the package (#2639)
instead of failing with SystemError.
Relative import from non-package now fails with ImportError rather than
SystemError.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst new file mode 100644 index 0000000..4f3f4d2 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst @@ -0,0 +1,3 @@ +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. |