@@ -3424,6 +3424,8 @@ msgid ""
34243424"Use :func:`aifc.open` instead. (Contributed by Brian Curtin in "
34253425":issue:`31985`.)"
34263426msgstr ""
3427+ ":func:`aifc.openfp` 已弃用并将在 Python 3.9 中被移除。 请改用 :func:`aifc.open`。 (由 Brian "
3428+ "Curtin 在 :issue:`31985` 中贡献。)"
34273429
34283430#: ../../whatsnew/3.7.rst:1945
34293431msgid ""
@@ -3433,13 +3435,17 @@ msgid ""
34333435"the synchronization resource. (Contributed by Andrew Svetlov in "
34343436":issue:`32253`.)"
34353437msgstr ""
3438+ "对 :class:`asyncio.Lock` 和其他 asyncio 同步原语的 ``await`` 实例的直接支持已弃用。 "
3439+ "想要获取并释放同步资源必须使用异步上下文管理器。 (由 Andrew Svetlov 在 :issue:`32253` 中贡献。)"
34363440
34373441#: ../../whatsnew/3.7.rst:1951
34383442msgid ""
34393443"The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` "
34403444"methods have been deprecated. (Contributed by Andrew Svetlov in "
34413445":issue:`32250`.)"
34423446msgstr ""
3447+ ":meth:`asyncio.Task.current_task` 和 :meth:`asyncio.Task.all_tasks` 方法已弃用。 (由"
3448+ " Andrew Svetlov 在 :issue:`32250` 中贡献。)"
34433449
34443450#: ../../whatsnew/3.7.rst:1959
34453451msgid ""
@@ -3448,6 +3454,8 @@ msgid ""
34483454"create a clearer distinction between the concrete classes and the abstract "
34493455"base classes. (Contributed by Serhiy Storchaka in :issue:`25988`.)"
34503456msgstr ""
3457+ "在 Python 3.8 中,:mod:`collections.abc` 内的抽象基类将不会再通过常规的 :mod:`collections` "
3458+ "模块公开。 这有助于更清晰地区别具体类与抽象基类。 (由 Serhiy Storchaka 在 :issue:`25988` 中贡献。)"
34513459
34523460#: ../../whatsnew/3.7.rst:1969
34533461msgid ""
@@ -3457,6 +3465,9 @@ msgid ""
34573465" (this will be an error in future Python releases). (Contributed by Serhiy "
34583466"Storchaka in :issue:`28847`.)"
34593467msgstr ""
3468+ ":mod:`dbm.dumb` 现在支持读取只读文件,且当其未被更改时不会再写入索引文件。 现在如果索引文件丢失并在 ``'r'`` 与 ``'w'``"
3469+ " 模式下被重新创建,则会发出已弃用警告(在未来的 Python 发布版中将改为错误)。 (由 Serhiy Storchaka 在 "
3470+ ":issue:`28847` 中贡献。)"
34603471
34613472#: ../../whatsnew/3.7.rst:1979
34623473msgid ""
@@ -3467,6 +3478,10 @@ msgid ""
34673478"return :const:`False` instead. (Contributed by Ethan Furman in "
34683479":issue:`33217`.)"
34693480msgstr ""
3481+ "在 Python 3.8 中,尝试在 :class:`Enum` 类中检查非 Enum 对象将引发 :exc:`TypeError` (例如 ``1 "
3482+ "in Color``);类似地,尝试在 :class:`Flag` 成员中检查非 Flag 对象也将引发 :exc:`TypeError` (例如 "
3483+ "``1 in Perm.RW``);目前,两种操作均会返回 :const:`False`。 (由 Ethan Furman 在 "
3484+ ":issue:`33217` 中贡献。)"
34703485
34713486#: ../../whatsnew/3.7.rst:1988
34723487msgid "gettext"
@@ -3478,6 +3493,8 @@ msgid ""
34783493" deprecated. It never correctly worked. (Contributed by Serhiy Storchaka in"
34793494" :issue:`28692`.)"
34803495msgstr ""
3496+ "使用非整数值在 :mod:`gettext` 中选择复数形式现在已弃用。 它从未正确地发挥作用。 (由 Serhiy Storchaka 在 "
3497+ ":issue:`28692` 中贡献。)"
34813498
34823499#: ../../whatsnew/3.7.rst:1998
34833500msgid ""
0 commit comments