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

Skip to content

Commit b714c9a

Browse files
[po] auto sync
1 parent 61b5452 commit b714c9a

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.37%", "updated_at": "2024-03-10T16:09:25Z"}
1+
{"translation": "91.39%", "updated_at": "2024-03-11T07:09:40Z"}

whatsnew/3.5.po

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

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

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

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)
0