Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c82be commit 4c19b95Copy full SHA for 4c19b95
1 file changed
Doc/whatsnew/3.7.rst
@@ -958,6 +958,14 @@ Other CPython Implementation Changes
958
by setting the new ``f_trace_opcodes`` attribute to :const:`True` on the frame
959
being traced. (Contributed by Nick Coghlan in :issue:`31344`.)
960
961
+* Fixed some consistency problems with namespace package module attributes.
962
+ Namespace module objects now have an ``__file__`` that is set to ``None``
963
+ (previously unset), and their ``__spec__.origin`` is also set to ``None``
964
+ (previously the string ``"namespace"``). See :issue:`32305`. Also, the
965
+ namespace module object's ``__spec__.loader`` is set to the same value as
966
+ ``__loader__`` (previously, the former was set to ``None``). See
967
+ :issue:`32303`.
968
+
969
970
Deprecated
971
==========
0 commit comments