|
4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 | 5 | #
|
6 | 6 | # Translators:
|
7 |
| -# Rafael Fontenelle <[email protected]>, 2024 |
8 | 7 | # Freesand Leo <[email protected]>, 2024
|
| 8 | +# Rafael Fontenelle <[email protected]>, 2024 |
9 | 9 | #
|
10 | 10 | #, fuzzy
|
11 | 11 | msgid ""
|
12 | 12 | msgstr ""
|
13 | 13 | "Project-Id-Version: Python 3.12\n"
|
14 | 14 | "Report-Msgid-Bugs-To: \n"
|
15 |
| -"POT-Creation-Date: 2024-11-29 14:50+0000\n" |
| 15 | +"POT-Creation-Date: 2024-12-06 14:52+0000\n" |
16 | 16 | "PO-Revision-Date: 2024-05-11 00:32+0000\n"
|
17 |
| -"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n" |
| 17 | +"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n" |
18 | 18 | "Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
|
19 | 19 | "MIME-Version: 1.0\n"
|
20 | 20 | "Content-Type: text/plain; charset=UTF-8\n"
|
@@ -2252,6 +2252,20 @@ msgid ""
|
2252 | 2252 | " Py_ExitStatusException(status);\n"
|
2253 | 2253 | "}"
|
2254 | 2254 | msgstr ""
|
| 2255 | +"PyInterpreterConfig config = {\n" |
| 2256 | +" .use_main_obmalloc = 0,\n" |
| 2257 | +" .allow_fork = 0,\n" |
| 2258 | +" .allow_exec = 0,\n" |
| 2259 | +" .allow_threads = 1,\n" |
| 2260 | +" .allow_daemon_threads = 0,\n" |
| 2261 | +" .check_multi_interp_extensions = 1,\n" |
| 2262 | +" .gil = PyInterpreterConfig_OWN_GIL,\n" |
| 2263 | +"};\n" |
| 2264 | +"PyThreadState *tstate = NULL;\n" |
| 2265 | +"PyStatus status = Py_NewInterpreterFromConfig(&tstate, &config);\n" |
| 2266 | +"if (PyStatus_Exception(status)) {\n" |
| 2267 | +" Py_ExitStatusException(status);\n" |
| 2268 | +"}" |
2255 | 2269 |
|
2256 | 2270 | #: ../../c-api/init.rst:1653
|
2257 | 2271 | msgid ""
|
|
0 commit comments