File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -958,6 +958,14 @@ Other CPython Implementation Changes
958
958
by setting the new ``f_trace_opcodes `` attribute to :const: `True ` on the frame
959
959
being traced. (Contributed by Nick Coghlan in :issue: `31344 `.)
960
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
+
961
969
962
970
Deprecated
963
971
==========
You can’t perform that action at this time.
0 commit comments