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

Skip to content

Commit a446e9e

Browse files
committed
[po] auto sync bot
1 parent 45df6bf commit a446e9e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

whatsnew/3.7.po

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,20 +1026,32 @@ msgid ""
10261026
"<asyncio.Task>` now track their context automatically. See :pep:`567` for "
10271027
"more details. (Contributed by Yury Selivanov in :issue:`32436`.)"
10281028
msgstr ""
1029+
"asyncio 增加支持 :mod:`contextvars`. :meth:`loop.call_soon() "
1030+
"<asyncio.loop.call_soon>`, :meth:`loop.call_soon_threadsafe() "
1031+
"<asyncio.loop.call_soon_threadsafe>`, :meth:`loop.call_later() "
1032+
"<asyncio.loop.call_later>`, :meth:`loop.call_at() <asyncio.loop.call_at>` 并且"
1033+
" :meth:`Future.add_done_callback() <asyncio.Future.add_done_callback>` "
1034+
"具有新的可选仅关键字参数 *context*。 现在 :class:`Tasks <asyncio.Task>` 会自动跟踪其上下文。 详情参见 "
1035+
":pep:`567`。 (由 Yury Selivanov 在 :issue:`32436` 中贡献。)"
10291036

10301037
#: ../../whatsnew/3.7.rst:650
10311038
msgid ""
10321039
"The new :func:`asyncio.create_task` function has been added as a shortcut to"
10331040
" ``asyncio.get_event_loop().create_task()``. (Contributed by Andrew Svetlov "
10341041
"in :issue:`32311`.)"
10351042
msgstr ""
1043+
"增加了新的 :func:`asyncio.create_task` 函数作为 "
1044+
"``asyncio.get_event_loop().create_task()`` 的快捷方式。 (由 Andrew Svetlov 在 "
1045+
":issue:`32311` 中贡献。)"
10361046

10371047
#: ../../whatsnew/3.7.rst:654
10381048
msgid ""
10391049
"The new :meth:`loop.start_tls() <asyncio.loop.start_tls>` method can be used"
10401050
" to upgrade an existing connection to TLS. (Contributed by Yury Selivanov in"
10411051
" :issue:`23749`.)"
10421052
msgstr ""
1053+
"新的 :meth:`loop.start_tls() <asyncio.loop.start_tls>` 方法可用于升级现有的 TLS 连接。 (由 "
1054+
"Yury Selivanov 在 :issue:`23749` 中贡献。)"
10431055

10441056
#: ../../whatsnew/3.7.rst:658
10451057
msgid ""
@@ -1048,6 +1060,8 @@ msgid ""
10481060
"possible to reduce data copies. (Contributed by Antoine Pitrou in "
10491061
":issue:`31819`.)"
10501062
msgstr ""
1063+
"新的 :meth:`loop.sock_recv_into() <asyncio.loop.sock_recv_into>` "
1064+
"方法允许直接从套接字读取数据放入所提供的缓冲区,从而可以减少数据复制。 (由 Antoine Pitrou 在 :issue:`31819` 中贡献。)"
10511065

10521066
#: ../../whatsnew/3.7.rst:663
10531067
msgid ""

0 commit comments

Comments
 (0)