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 15b5209 commit cab4b6fCopy full SHA for cab4b6f
.stat.json
@@ -1 +1 @@
1
-{"translation": "81.36%", "updated_at": "2025-04-17T08:57:00Z"}
+{"translation": "81.36%", "updated_at": "2025-04-18T01:19:49Z"}
whatsnew/3.4.po
@@ -4171,6 +4171,9 @@ msgid ""
4171
"to determine if a module is a package or not is to use ``hasattr(module, "
4172
"'__path__')`` (:issue:`18065`)."
4173
msgstr ""
4174
+"冻结的包将不再把 ``__path__`` 设为一个包含包名的列表,它们现在会把它设为一个空列表。 "
4175
+"当存在与冻结的包同名的目录时之前版本的行为可能会使导入系统错误地处理子模块。 确定一个模块是否属于包的正确方式是使用 ``hasattr(module,"
4176
+" '__path__')`` (:issue:`18065`)。"
4177
4178
#: ../../whatsnew/3.4.rst:2297
4179
msgid ""
0 commit comments