@@ -3980,6 +3980,9 @@ msgid ""
39803980"the Python 3.4 series. Code that assumes that :func:`inspect.getfullargspec`"
39813981" will fail on non-Python callables may need to be adjusted accordingly."
39823982msgstr ""
3983+ ":func:`inspect.getfullargspec` 已在 :func:`inspect.signature` "
3984+ "之上重新实现因而能够处理比之前更多种类的可调用对象。 预计在 Python 3.4 系列发布过程中将会有更多内置和扩展模块的可调用对象获得签名元数据。 "
3985+ "假定 :func:`inspect.getfullargspec` 会在非 Python 可调用对象上出错的代码可能需要做相应的调整。"
39833986
39843987#: ../../whatsnew/3.4.rst:2337
39853988msgid ""
@@ -4165,6 +4168,9 @@ msgid ""
41654168"deprecated. This key should be replaced by ``EXT_SUFFIX`` or "
41664169"``SHLIB_SUFFIX``, depending on the context (:issue:`19555`)."
41674170msgstr ""
4171+ "附带 ``SO`` 键调用 :func:`sysconfig.get_config_var`,或者在对 "
4172+ ":func:`sysconfig.get_config_vars` 的调用结果中查找 ``SO`` 的做法已被弃用。 该键应当被 "
4173+ "``EXT_SUFFIX`` 或 ``SHLIB_SUFFIX`` 替代,由具体场景决定 (:issue:`19555`)。"
41684174
41694175#: ../../whatsnew/3.4.rst:2455
41704176msgid ""
@@ -4175,12 +4181,16 @@ msgid ""
41754181" stream in :mod:`~io.TextIOWrapper` to use its *newline* argument "
41764182"(:issue:`15204`)."
41774183msgstr ""
4184+ "任何指定了 ``U`` 的 ``open`` 函数调用都应当被修改。 ``U`` 在 Python3 将没有效果并且最终会在被使用时引发错误。 "
4185+ "对于该函数,要得到与它的旧 Python2 行为相同的效果可以使用 *newline* 参数,或者在必要时将流包装在 "
4186+ ":mod:`~io.TextIOWrapper` 以使用其 *newline* 参数 (:issue:`15204`)。"
41784187
41794188#: ../../whatsnew/3.4.rst:2462
41804189msgid ""
41814190"If you use ``pyvenv`` in a script and desire that pip *not* be installed, "
41824191"you must add ``--without-pip`` to your command invocation."
41834192msgstr ""
4193+ "如果你在脚本中使用 ``pyvenv`` 并且希望 *不要* 安装 pip,你必须在你的唤起命令中添加 ``--without-pip``。"
41844194
41854195#: ../../whatsnew/3.4.rst:2466
41864196msgid ""
@@ -4190,6 +4200,9 @@ msgid ""
41904200"you have tests that are doing white-space-sensitive comparisons of such "
41914201"output (:issue:`16333`)."
41924202msgstr ""
4203+ ":func:`json.dump` 和 :func:`json.dumps` "
4204+ "在指定了缩进值时的默认行为已被改变:它不会在行末的条目分隔逗号后面再附加空格。 此项改变仅在你使用了对这样的输出执行空格敏感比较的测试时才会有影响 "
4205+ "(:issue:`16333`)。"
41934206
41944207#: ../../whatsnew/3.4.rst:2472
41954208msgid ""
0 commit comments