@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.12\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2023-10-20 14:13 +0000\n "
19+ "POT-Creation-Date : 2023-10-27 14:49 +0000\n "
2020"PO-Revision-Date : 2021-06-28 01:50+0000\n "
2121"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2222"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -194,6 +194,8 @@ msgid ""
194194":data:`sys.path` contains neither the current directory nor the user's site-"
195195"packages directory. All ``PYTHON*`` environment variables are ignored, too."
196196msgstr ""
197+ ":option:`-I` 选项可用来在隔离模式下运行脚本,此模式中 :data:`sys.path` 既不包含当前目录也不包含用户的 site-"
198+ "packages 目录。 所有 ``PYTHON*`` 环境变量也都会被忽略。"
197199
198200#: ../../using/cmdline.rst:109
199201msgid ""
@@ -289,6 +291,8 @@ msgid ""
289291"site-packages directory. All ``PYTHON*`` environment variables are ignored, "
290292"too."
291293msgstr ""
294+ ":option:`-I` 选项可用来在隔离模式下运行脚本,此模式中 :data:`sys.path` 既不包含当前目录也不包含用户的 site-"
295+ "packages 目录。 所有 ``PYTHON*`` 环境变量也都会被忽略。"
292296
293297#: ../../using/cmdline.rst:167
294298msgid ""
@@ -454,6 +458,8 @@ msgid ""
454458"variables are ignored, too. Further restrictions may be imposed to prevent "
455459"the user from injecting malicious code."
456460msgstr ""
461+ "在隔离模式下 :data:`sys.path` 既不包含脚本所在目录也不包含用户的 site-packages 目录。 所有 ``PYTHON*`` "
462+ "环境变量也都会被忽略。 还可以施加更进一步的限制以防止用户注入恶意代码。"
457463
458464#: ../../using/cmdline.rst:315
459465msgid ""
@@ -529,6 +535,8 @@ msgid ""
529535"constant within an individual Python process, they are not predictable "
530536"between repeated invocations of Python."
531537msgstr ""
538+ "在之前版本的 Python 中,此选项会启用哈希随机化,以将字符串和字节串对象的 :meth:`~object.__hash__` "
539+ "值用不可预测的随机值“加盐”。 虽然它们在单个 Python 进程内将保持恒定,但是在重复发起调用的 Python 进程间它们将是不可预测的。"
532540
533541#: ../../using/cmdline.rst:370
534542msgid ""
@@ -1224,6 +1232,10 @@ msgid ""
12241232"Python traceback. This is equivalent to :option:`-X` ``faulthandler`` "
12251233"option."
12261234msgstr ""
1235+ "如果此环境变量被设为一个非空字符串,:func:`faulthandler.enable` 会在启动时被调用:为 "
1236+ ":const:`~signal.SIGSEGV`, :const:`~signal.SIGFPE`, :const:`~signal.SIGABRT`,"
1237+ " :const:`~signal.SIGBUS` 和 :const:`~signal.SIGILL` 等信号安装一个处理句柄以转储 Python "
1238+ "回溯信息。 此环境变量等价于 :option:`-X` ``faulthandler`` 选项。"
12271239
12281240#: ../../using/cmdline.rst:864
12291241msgid ""
0 commit comments