aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2018-03-05 12:37:12 -0800
committerGitHub <noreply@github.com>2018-03-05 12:37:12 -0800
commit4c19b95734faee4c390c1d0569dc876980c33d2c (patch)
treef839be94c4cbceacb531af0a5698e9cd672df201 /Doc
parent22c82be5df70c3d51e3f89b54fe1d4fb84728c1e (diff)
downloadcpython3-4c19b95734faee4c390c1d0569dc876980c33d2c.tar.gz
Add What's New for issues 32303 and 32305 (GH-5994)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 9e65488e37..76e1f7b36b 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -958,6 +958,14 @@ Other CPython Implementation Changes
by setting the new ``f_trace_opcodes`` attribute to :const:`True` on the frame
being traced. (Contributed by Nick Coghlan in :issue:`31344`.)
+* Fixed some consistency problems with namespace package module attributes.
+ Namespace module objects now have an ``__file__`` that is set to ``None``
+ (previously unset), and their ``__spec__.origin`` is also set to ``None``
+ (previously the string ``"namespace"``). See :issue:`32305`. Also, the
+ namespace module object's ``__spec__.loader`` is set to the same value as
+ ``__loader__`` (previously, the former was set to ``None``). See
+ :issue:`32303`.
+
Deprecated
==========