8000 [po] auto sync · python/python-docs-zh-cn@e5f2229 · GitHub
[go: up one dir, main page]

Skip to content

Commit e5f2229

Browse files
[po] auto sync
1 parent b8ce4bc commit e5f2229

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.97%", "updated_at": "2024-03-10T15:20:48Z"}
1+
{"translation": "91.99%", "updated_at": "2024-03-11T07:21:18Z"}

whatsnew/3.5.po

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Alpha Du <alphanow@gmail.com>, 2019
1111
# ppcfish <ppcfish@gmail.com>, 2019
1212
# Sean Chao <seanchao0804@gmail.com>, 2020
13-
# Freesand Leo <yuqinju@163.com>, 2024
1413
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
14+
# Freesand Leo <yuqinju@163.com>, 2024
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2024-03-08 18:35+0000\n"
2222
"PO-Revision-Date: 2017-02-16 23:44+0000\n"
23-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -3074,6 +3074,11 @@ msgid ""
30743074
"(Contributed by Matej Cepl in :issue:`19494` and Akshit Khurana in "
30753075
":issue:`7159`.)"
30763076
msgstr ""
3077+
"新增的 :class:`request.HTTPPasswordMgrWithPriorAuth "
3078+
"<urllib.request.HTTPPasswordMgrWithPriorAuth>` 类允许对 HTTP 基本认证凭据进行管理以消除不必要的 "
3079+
"``401`` 响应处理,或在第一次请求时无条件地发送凭据,以便与返回 ``404`` 响应的服务器通信而不是在未发送 "
3080+
"``Authorization`` 头信息的情况下发送 ``401``。 (由 Matej Cepl 在 :issue:`19494` 以及 "
3081+
"Akshit Khurana 在 :issue:`7159` 中贡献。)"
30773082

30783083
#: ../../whatsnew/3.5.rst:2038
30793084
msgid ""
@@ -3082,13 +3087,18 @@ msgid ""
30823087
" query parts if needed. (Contributed by Samwyse and Arnon Yaari in "
30833088
":issue:`13866`.)"
30843089
msgstr ""
3090+
"为 :func:`parse.urlencode() <urllib.parse.urlencode>` 函数新增的 *quote_via* "
3091+
"参数提供了一种在需要时控制查询部分的编码格式的手段。 (由 Samwyse 和 Arnon Yaari 在 :issue:`13866` 中贡献。)"
30853092

30863093
#: ../../whatsnew/3.5.rst:2043
30873094
msgid ""
30883095
"The :func:`request.urlopen() <urllib.request.urlopen>` function accepts an "
30893096
":class:`ssl.SSLContext` object as a *context* argument, which will be used "
30903097
"for the HTTPS connection. (Contributed by Alex Gaynor in :issue:`22366`.)"
30913098
msgstr ""
3099+
":func:`request.urlopen() <urllib.request.urlopen>` 函数接受 "
3100+
":class:`ssl.SSLContext` 对象作为 *context* 参数,它将被用于 HTTPS 连接。 (由 Alex Gaynor 在 "
3101+
":issue:`22366` 中贡献。).)"
30923102

30933103
#: ../../whatsnew/3.5.rst:2047
30943104
msgid ""
@@ -3097,6 +3107,9 @@ msgid ""
30973107
":rfc:`1808` and :rfc:`2396`. (Contributed by Demian Brecht and Senthil "
30983108
"Kumaran in :issue:`22118`.)"
30993109
msgstr ""
3110+
":func:`parse.urljoin() <urllib.parse.urljoin>` 已获得更新已使用 :rfc:`3986` 语义来解析相对 "
3111+
"URL,而不是 :rfc:`1808` 和 :rfc:`2396`。 (由 Demian Brecht 和 Senthil Kumaran 在 "
3112+
":issue:`22118` 中贡献。)"
31003113

31013114
#: ../../whatsnew/3.5.rst:2054
31023115
msgid "wsgiref"
@@ -3170,6 +3183,8 @@ msgid ""
31703183
"now accepts ``\"x\"`` to request exclusive creation. (Contributed by Serhiy "
31713184
"Storchaka in :issue:`21717`.)"
31723185
msgstr ""
3186+
"现在 :meth:`ZipFile.open() <zipfile.ZipFile.open>` 方法的 *mode* 参数可接受 ``\"x\"`` "
3187+
"来请求独占式的创建。 (由 Serhiy Storchaka 在 :issue:`21717` 中贡献。)"
31733188

31743189
#: ../../whatsnew/3.5.rst:2096
31753190
msgid "Other module-level changes"
@@ -3182,6 +3197,9 @@ msgid ""
31823197
"objects <bytes-like object>`. (Contributed by Serhiy Storchaka in "
31833198
":issue:`23001`.)"
31843199
msgstr ""
3200+
"现在 :mod:`mmap`, :mod:`ossaudiodev`, :mod:`socket`, :mod:`ssl` 和 "
3201+
":mod:`codecs` 模块中的许多函数都接受可写的 :term:`字节型对象 <bytes-like object>`。 (由 Serhiy "
3202+
"Storchaka 在 :issue:`23001` 中贡献。)"
31853203

31863204
#: ../../whatsnew/3.5.rst:2105
31873205
msgid "Optimizations"
@@ -3195,6 +3213,10 @@ msgid ""
31953213
"underlying ``readdir`` or ``FindFirstFile``/``FindNextFile`` system calls. "
31963214
"(Contributed by Ben Hoyt with help from Victor Stinner in :issue:`23605`.)"
31973215
msgstr ""
3216+
":func:`os.walk` 函数在 POSIX 系统上可提速 3 至 5 倍,而在 Windows 上可提速 7 至 20 倍。 这是因为使用了新的"
3217+
" :func:`os.scandir` 函数,它可以暴露来自下层 ``readdir`` 或 "
3218+
"``FindFirstFile``/``FindNextFile`` 系统调用的文件信息。 (由 Ben Hoyt 在 :issue:`23605` "
3219+
"中贡献并得到 Victor Stinner 的协助。)"
31983220

31993221
#: ../../whatsnew/3.5.rst:2113
32003222
msgid ""
@@ -3203,6 +3225,8 @@ msgid ""
32033225
"to allocate memory for these objects. (Contributed by Victor Stinner in "
32043226
":issue:`21233`.)"
32053227
msgstr ""
3228+
"对于大对象 ``bytes(int)`` (以零字节填充) 的构建速度更快且使用更少内存。 将使用 ``calloc()`` 而不是 "
3229+
"``malloc()`` 为这些对象分配内存。 (由 Victor Stinner 在 :issue:`21233` 中贡献。)"
32063230

32073231
#: ../../whatsnew/3.5.rst:2118
32083232
msgid ""
@@ -3215,12 +3239,22 @@ msgid ""
32153239
"times. (Contributed by Antoine Pitrou, Michel Albert, and Markus in "
32163240
":issue:`21486`, :issue:`21487`, :issue:`20826`, :issue:`23266`.)"
32173241
msgstr ""
3242+
":mod:`ipaddress` 中的 :class:`~ipaddress.IPv4Network` 和 "
3243+
":class:`~ipaddress.IPv6Network` 等操作获得了大幅度的加速,比如 "
3244+
":meth:`~ipaddress.IPv4Network.subnets`, "
3245+
":meth:`~ipaddress.IPv4Network.supernet`, "
3246+
":func:`~ipaddress.summarize_address_range`, "
3247+
":func:`~ipaddress.collapse_addresses`。 加速幅度从 3 到 15 倍不等。 (由 Antoine Pitrou, "
3248+
"Michel Albert 和 Markus 在 :issue:`21486`, :issue:`21487`, :issue:`20826`, "
3249+
":issue:`23266` 中贡献。)"
32183250

32193251
#: ../../whatsnew/3.5.rst:2126
32203252
msgid ""
32213253
"Pickling of :mod:`ipaddress` objects was optimized to produce significantly "
32223254
"smaller output. (Contributed by Serhiy Storchaka in :issue:`23133`.)"
32233255
msgstr ""
3256+
":mod:`ipaddress` 对象的封存操作获得了优化以产生显著减小的输出。 (由 Serhiy Storchaka 在 "
3257+
":issue:`23133` 中贡献。)"
32243258

32253259
#: ../../whatsnew/3.5.rst:2129
32263260
msgid ""

0 commit comments

Comments
 (0)
0