Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43a91b4

Browse files
[po] auto sync
1 parent 80d28cc commit 43a91b4

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.74%", "updated_at": "2024-03-14T02:04:49Z"}
1+
{"translation": "94.75%", "updated_at": "2024-03-14T02:56:18Z"}

whatsnew/3.5.po

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,6 +3858,9 @@ msgid ""
38583858
" generator (``repr(gen)``). (Contributed by Victor Stinner in "
38593859
":issue:`21205`.)"
38603860
msgstr ""
3861+
"现在生成器的 ``__name__`` 属性是根据函数名设置的,而不是根据代码名设置的。 请使用 ``gen.gi_code.co_name`` "
3862+
"来获取代码名。 生成器还有一个新的 ``__qualname__`` 属性,即限定名称,它现在用于生成器的表示形式 (``repr(gen)``)。 "
3863+
"(由 Victor Stinner 在 :issue:`21205` 中贡献。)"
38613864

38623865
#: ../../whatsnew/3.5.rst:2420
38633866
msgid ""
@@ -3868,6 +3871,10 @@ msgid ""
38683871
":class:`~html.parser.HTMLParser` is now ``True`` by default. (Contributed "
38693872
"by Berker Peksag in :issue:`21047`.)"
38703873
msgstr ""
3874+
"已弃用的 \"strict\" 模式和 :class:`~html.parser.HTMLParser`, "
3875+
":meth:`!HTMLParser.error` 和 :exc:`!HTMLParserError` 异常参数已被移除。 (由 Ezio "
3876+
"Melotti 在 :issue:`15114` 中贡献。) 现在 :class:`~html.parser.HTMLParser` 的 "
3877+
"*convert_charrefs* 参数默认为 ``True``。 (由 Berker Peksag 在 :issue:`21047` 中贡献。)"
38713878

38723879
#: ../../whatsnew/3.5.rst:2426
38733880
msgid ""
@@ -3877,6 +3884,9 @@ msgid ""
38773884
" \"a :term:`bytes-like object` is required, not 'sometype'\". (Contributed "
38783885
"by Ezio Melotti in :issue:`16518`.)"
38793886
msgstr ""
3887+
"虽然不是 API 的正式组成部分,但对于移植目的(例如:修复测试)来说需要注意之前 \"'sometype' does not support the "
3888+
"buffer protocol\" 形式的错误消息现在将为 \"a :term:`bytes-like object` is required, not"
3889+
" 'sometype'\" 形式。 (由 Ezio Melotti 在 :issue:`16518` 中贡献。)"
38803890

38813891
#: ../../whatsnew/3.5.rst:2432
38823892
msgid ""
@@ -3886,6 +3896,9 @@ msgid ""
38863896
"**without** caching ``None`` in :data:`sys.path_importer_cache`, which is "
38873897
"different than the typical case (:issue:`22834`)."
38883898
msgstr ""
3899+
"在当前目录被设为已不存在的目录时将不再引发 :exc:`FileNotFoundError` 而是改为 "
3900+
":meth:`~importlib.machinery.FileFinder.find_spec` 返回 ``None`` 并且 **不在** "
3901+
":data:`sys.path_importer_cache` 中缓存 ``None``,这与典型的场景存在区别 (:issue:`22834`)。"
38893902

38903903
#: ../../whatsnew/3.5.rst:2438
38913904
msgid ""
@@ -3894,6 +3907,9 @@ msgid ""
38943907
"in :mod:`http.client` and :mod:`http.server` remain available for backwards "
38953908
"compatibility. (Contributed by Demian Brecht in :issue:`21793`.)"
38963909
msgstr ""
3910+
":mod:`http.client` 和 :mod:`http.server` 中的 HTTP 状态码和消息被重构为一个通用的 "
3911+
":class:`~http.HTTPStatus` 枚举。 :mod:`http.client` 和 :mod:`http.server` "
3912+
"中的值仍可被用于向下兼容性。 (由 Demian Brecht 在 :issue:`21793` 中贡献。)"
38973913

38983914
#: ../../whatsnew/3.5.rst:2443
38993915
msgid ""

0 commit comments

Comments
 (0)