Skip to content

Commit

Permalink
Add What's New for issues 32303 and 32305 (GH-5994)
Browse files Browse the repository at this point in the history
  • Loading branch information
warsaw authored Mar 5, 2018
1 parent 22c82be commit 4c19b95
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/whatsnew/3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==========
Expand Down

0 comments on commit 4c19b95

Please sign in to comment.