Skip to content

Commit aac8cc4

Browse files
sync with cpython 856fdc6f
1 parent dbb19df commit aac8cc4

File tree

3 files changed

+1221
-1127
lines changed

3 files changed

+1221
-1127
lines changed

c-api/interp-lifecycle.po

Lines changed: 68 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2026-02-24 00:20+0000\n"
10+
"POT-Creation-Date: 2026-02-26 18:22+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13-
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-tw)\n"
13+
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
14+
"tw)\n"
1415
"Language: zh_TW\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
@@ -24,7 +25,9 @@ msgstr "直譯器的初始化與終結化"
2425
msgid ""
2526
"See :ref:`Python Initialization Configuration <init-config>` for details on "
2627
"how to configure the interpreter prior to initialization."
27-
msgstr "關於如何在初始化之前設定直譯器的細節,請參見 :ref:`Python 初始化設定 <init-config>`。"
28+
msgstr ""
29+
"關於如何在初始化之前設定直譯器的細節,請參見 :ref:`Python 初始化設定 <init-"
30+
"config>`。"
2831

2932
#: ../../c-api/interp-lifecycle.rst:14
3033
msgid "Before Python initialization"
@@ -273,7 +276,8 @@ msgstr ""
273276
msgid ""
274277
"Set by the :option:`-B` option and the :envvar:`PYTHONDONTWRITEBYTECODE` "
275278
"environment variable."
276-
msgstr "由 :option:`-B` 選項與 :envvar:`PYTHONDONTWRITEBYTECODE` 環境變數設定。"
279+
msgstr ""
280+
"由 :option:`-B` 選項與 :envvar:`PYTHONDONTWRITEBYTECODE` 環境變數設定。"
277281

278282
#: ../../c-api/interp-lifecycle.rst:142
279283
msgid ""
@@ -297,7 +301,8 @@ msgstr ""
297301
msgid ""
298302
"Set to ``1`` if the :envvar:`PYTHONHASHSEED` environment variable is set to "
299303
"a non-empty string."
300-
msgstr "如果環境變數 :envvar:`PYTHONHASHSEED` 被設定為一個非空字串則設為 ``1``。"
304+
msgstr ""
305+
"如果環境變數 :envvar:`PYTHONHASHSEED` 被設定為一個非空字串則設為 ``1``。"
301306

302307
#: ../../c-api/interp-lifecycle.rst:161
303308
msgid ""
@@ -317,8 +322,8 @@ msgid ""
317322
"Ignore all :envvar:`!PYTHON*` environment variables, e.g. :envvar:"
318323
"`PYTHONPATH` and :envvar:`PYTHONHOME`, that might be set."
319324
msgstr ""
320-
"忽略所有可能被設定的 :envvar:`!PYTHON*` 環境變數,例如 :envvar:`PYTHONPATH` "
321-
":envvar:`PYTHONHOME`。"
325+
"忽略所有可能被設定的 :envvar:`!PYTHON*` 環境變數,例如 :envvar:`PYTHONPATH` "
326+
":envvar:`PYTHONHOME`。"
322327

323328
#: ../../c-api/interp-lifecycle.rst:176
324329
msgid "Set by the :option:`-E` and :option:`-I` options."
@@ -390,7 +395,9 @@ msgstr ""
390395
msgid ""
391396
"Set to ``1`` if the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` environment "
392397
"variable is set to a non-empty string."
393-
msgstr "如果環境變數 :envvar:`PYTHONLEGACYWINDOWSFSENCODING` 被設定為一個非空字串則設為 ``1``。"
398+
msgstr ""
399+
"如果環境變數 :envvar:`PYTHONLEGACYWINDOWSFSENCODING` 被設定為一個非空字串則設"
400+
"為 ``1``。"
394401

395402
#: ../../c-api/interp-lifecycle.rst:237
396403
msgid "See :pep:`529` for more details."
@@ -459,7 +466,9 @@ msgstr ""
459466
msgid ""
460467
"Set by the :option:`-s` and :option:`-I` options, and the :envvar:"
461468
"`PYTHONNOUSERSITE` environment variable."
462-
msgstr "由 :option:`-s` 選項、:option:`-I` 選項與 :envvar:`PYTHONNOUSERSITE` 環境變數設定。"
469+
msgstr ""
470+
"由 :option:`-s` 選項、:option:`-I` 選項與 :envvar:`PYTHONNOUSERSITE` 環境變數"
471+
"設定。"
463472

464473
#: ../../c-api/interp-lifecycle.rst:296
465474
msgid ""
@@ -663,7 +672,9 @@ msgstr ""
663672
msgid ""
664673
"Raises an :ref:`auditing event <auditing>` ``cpython."
665674
"_PySys_ClearAuditHooks`` with no arguments."
666-
msgstr "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``cpython._PySys_ClearAuditHooks``。"
675+
msgstr ""
676+
"引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``cpython."
677+
"_PySys_ClearAuditHooks``。"
667678

668679
#: ../../c-api/interp-lifecycle.rst:476
669680
msgid ""
@@ -1143,6 +1154,53 @@ msgid ""
11431154
"`Python Initialization Configuration <init-config>`."
11441155
msgstr ""
11451156

1157+
#: ../../c-api/interp-lifecycle.rst:906
1158+
msgid ""
1159+
"This function works like :c:func:`PySys_SetArgvEx` with *updatepath* set to "
1160+
"``1`` unless the :program:`python` interpreter was started with the :option:"
1161+
"`-I`."
1162+
msgstr ""
1163+
1164+
#: ../../c-api/interp-lifecycle.rst:916
1165+
msgid "The *updatepath* value depends on :option:`-I`."
1166+
msgstr ""
1167+
1168+
#: ../../c-api/interp-lifecycle.rst:923
1169+
msgid ""
1170+
"This API is kept for backward compatibility: setting :c:member:`PyConfig."
1171+
"home` should be used instead, see :ref:`Python Initialization Configuration "
1172+
"<init-config>`."
1173+
msgstr ""
1174+
1175+
#: ../../c-api/interp-lifecycle.rst:927
1176+
msgid ""
1177+
"Set the default \"home\" directory, that is, the location of the standard "
1178+
"Python libraries. See :envvar:`PYTHONHOME` for the meaning of the argument "
1179+
"string."
1180+
msgstr ""
1181+
1182+
#: ../../c-api/interp-lifecycle.rst:931
1183+
msgid ""
1184+
"The argument should point to a zero-terminated character string in static "
1185+
"storage whose contents will not change for the duration of the program's "
1186+
"execution. No code in the Python interpreter will change the contents of "
1187+
"this storage."
1188+
msgstr ""
1189+
1190+
#: ../../c-api/interp-lifecycle.rst:944
1191+
msgid ""
1192+
"Return the default \"home\", that is, the value set by :c:member:`PyConfig."
1193+
"home`, or the value of the :envvar:`PYTHONHOME` environment variable if it "
1194+
"is set."
1195+
msgstr ""
1196+
1197+
#: ../../c-api/interp-lifecycle.rst:954
1198+
#, fuzzy
1199+
msgid ""
1200+
"Use :c:func:`PyConfig_Get(\"home\") <PyConfig_Get>` or the :envvar:"
1201+
"`PYTHONHOME` environment variable instead."
1202+
msgstr "由 :option:`-O` 選項與 :envvar:`PYTHONOPTIMIZE` 環境變數設定。"
1203+
11461204
#: ../../c-api/interp-lifecycle.rst:357
11471205
msgid "PyEval_InitThreads()"
11481206
msgstr "PyEval_InitThreads()"

0 commit comments

Comments
 (0)