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

Skip to content

Commit a1106cd

Browse filesBrowse files
[po] auto sync
1 parent 4944764 commit a1106cd

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.23%", "updated_at": "2024-01-29T16:09:22Z"}
1+
{"translation": "90.26%", "updated_at": "2024-01-30T01:30:57Z"}

whatsnew/3.5.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,10 @@ msgid ""
10461046
" now accept all kinds of :term:`awaitable objects <awaitable>`. (Contributed"
10471047
" by Yury Selivanov.)"
10481048
msgstr ""
1049+
":func:`~asyncio.ensure_future` 函数以及所有用到它的函数,比如 "
1050+
":meth:`loop.run_until_complete() "
1051+
"<asyncio.loop.run_until_complete>`,现在将接受所有种类的 :term:`可等待对象 <awaitable>`。 (由 "
1052+
"Yury Selivanov 贡献。)"
10491053

10501054
#: ../../whatsnew/3.5.rst:829
10511055
msgid ""
@@ -1098,6 +1102,8 @@ msgid ""
10981102
" to read data from the stream until a separator bytes sequence appears. "
10991103
"(Contributed by Mark Korenberg.)"
11001104
msgstr ""
1105+
"新增 :meth:`StreamReader.readuntil() <asyncio.StreamReader.readuntil>` "
1106+
"方法用于从流读取数据直到出现作为分隔符的字节序列。 (由 Mark Korenberg 贡献。)"
11011107

11021108
#: ../../whatsnew/3.5.rst:859
11031109
msgid ""

whatsnew/3.6.po

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,8 @@ msgid ""
11201120
"return the currently running loop when called from coroutines and callbacks."
11211121
" (Contributed by Yury Selivanov in :issue:`28613`.)"
11221122
msgstr ""
1123+
":func:`~asyncio.get_event_loop` 函数已更改为当在例程和回调中被调用时始终返回当前正在运行的循环。(由 Yury "
1124+
"Selivanov 在 :issue:`28613` 中贡献。)"
11231125

11241126
#: ../../whatsnew/3.6.rst:826
11251127
msgid ""
@@ -1128,6 +1130,10 @@ msgid ""
11281130
" now accept all kinds of :term:`awaitable objects <awaitable>`. (Contributed"
11291131
" by Yury Selivanov.)"
11301132
msgstr ""
1133+
":func:`~a 8000 syncio.ensure_future` 函数以及所有用到它的函数,比如 "
1134+
":meth:`loop.run_until_complete() "
1135+
"<asyncio.loop.run_until_complete>`,现在将接受所有种类的 :term:`可等待对象 <awaitable>`。 (由 "
1136+
"Yury Selivanov 贡献。)"
11311137

11321138
#: ../../whatsnew/3.6.rst:831
11331139
msgid ""
@@ -1162,34 +1168,46 @@ msgid ""
11621168
"faster :class:`asyncio.Future` implementation. (Contributed by Yury "
11631169
"Selivanov in :issue:`27041`.)"
11641170
msgstr ""
1171+
"新增 :meth:`loop.create_future() <asyncio.loop.create_future>` 方法用来创建 Future "
1172+
"对象。 这允许替代性的事件循环实现,比如 `uvloop "
1173+
"<https://github.com/MagicStack/uvloop>`_,以提供更快速的 :class:`asyncio.Future` 实现。"
1174+
" (由 Yury Selivanov 在 :issue:`27041` 中贡献。)"
11651175

11661176
#: ../../whatsnew/3.6.rst:850
11671177
msgid ""
11681178
"New :meth:`loop.get_exception_handler() "
11691179
"<asyncio.loop.get_exception_handler>` method to get the current exception "
11701180
"handler. (Contributed by Yury Selivanov in :issue:`27040`.)"
11711181
msgstr ""
1182+
"新增 :meth:`loop.get_exception_handler() <asyncio.loop.get_exception_handler>`"
1183+
" 方法用于获取当前异常处理句柄。 (由 Yury Selivanov 在 :issue:`27040` 中贡献。)"
11721184

11731185
#: ../../whatsnew/3.6.rst:854
11741186
msgid ""
11751187
"New :meth:`StreamReader.readuntil() <asyncio.StreamReader.readuntil>` method"
11761188
" to read data from the stream until a separator bytes sequence appears. "
11771189
"(Contributed by Mark Korenberg.)"
11781190
msgstr ""
1191+
"新增 :meth:`StreamReader.readuntil() <asyncio.StreamReader.readuntil>` "
1192+
"方法用于从流读取数据直到出现作为分隔符的字节序列。 (由 Mark Korenberg 贡献。)"
11791193

11801194
#: ../../whatsnew/3.6.rst:859
11811195
msgid ""
11821196
"The performance of :meth:`StreamReader.readexactly() "
11831197
"<asyncio.StreamReader.readexactly>` has been improved. (Contributed by Mark "
11841198
"Korenberg in :issue:`28370`.)"
11851199
msgstr ""
1200+
":meth:`StreamReader.readexactly() <asyncio.StreamReader.readexactly>` "
1201+
"的性能已获得提升。 (由 Mark Korenberg 在 :issue:`28370` 中贡献。)"
11861202

11871203
#: ../../whatsnew/3.6.rst:863
11881204
msgid ""
11891205
"The :meth:`loop.getaddrinfo() <asyncio.loop.getaddrinfo>` method is "
11901206
"optimized to avoid calling the system ``getaddrinfo`` function if the "
11911207
"address is already resolved. (Contributed by A. Jesse Jiryu Davis.)"
11921208
msgstr ""
1209+
":meth:`loop.getaddrinfo() <asyncio.loop.getaddrinfo>` 方法已获得优化已避免当地址已被解析时调用系统"
1210+
" ``getaddrinfo`` 函数。 (由 A. Jesse Jiryu Davis 贡献。)"
11931211

11941212
#: ../../whatsnew/3.6.rst:868
11951213
msgid ""
@@ -1198,13 +1216,18 @@ msgid ""
11981216
"scheduled as a result of the last iteration will be discarded. (Contributed "
11991217
"by Guido van Rossum in :issue:`25593`.)"
12001218
msgstr ""
1219+
":meth:`loop.stop() <asyncio.loop.stop>` 方法已被更改为在当前迭代之后立即停止循环。 "
1220+
"任何作为上次迭代的结果被加入计划任务的新回调都将被丢弃。 (由 Guido van Rossum 在 :issue:`25593` 中贡献。)"
12011221

12021222
#: ../../whatsnew/3.6.rst:874
12031223
msgid ""
12041224
":meth:`Future.set_exception <asyncio.futures.Future.set_exception>` will now"
12051225
" raise :exc:`TypeError` when passed an instance of the :exc:`StopIteration` "
12061226
"exception. (Contributed by Chris Angelico in :issue:`26221`.)"
12071227
msgstr ""
1228+
"现在 :meth:`Future.set_exception <asyncio.futures.Future.set_exception>` 在传入一个"
1229+
" :exc:`StopIteration` 异常的实例时将引发 :exc:`TypeError`。 (由 Chris Angelico 在 "
1230+
":issue:`26221` 中贡献。)"
12081231

12091232
#: ../../whatsnew/3.6.rst:879
12101233
msgid ""
@@ -1213,6 +1236,9 @@ msgid ""
12131236
"accept connections outside of asyncio, but that use asyncio to handle them. "
12141237
"(Contributed by Jim Fulton in :issue:`27392`.)"
12151238
msgstr ""
1239+
"新增 :meth:`loop.connect_accepted_socket() "
1240+
"<asyncio.loop.connect_accepted_socket>` 方法供接受 asyncio 以外的连接,但使用 asyncio "
1241+
"来处理它们的服务器使用。 (由 Jim Fulton 在 :issue:`27392` 中贡献。)"
12161242

12171243
#: ../../whatsnew/3.6.rst:884
12181244
msgid ""

0 commit comments

Comments
 (0)
0