Skip to content

Commit 63bc20a

Browse files
sync with cpython 8c80a260
1 parent 5ab715e commit 63bc20a

File tree

3 files changed

+44
-38
lines changed

3 files changed

+44
-38
lines changed

library/_thread.po

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2024-10-07 13:43+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -314,23 +314,19 @@ msgstr "**注意事項:**"
314314

315315
#: ../../library/_thread.rst:216
316316
msgid ""
317-
"Threads interact strangely with interrupts: the :exc:`KeyboardInterrupt` "
318-
"exception will be received by an arbitrary thread. (When the :mod:`signal` "
319-
"module is available, interrupts always go to the main thread.)"
317+
"Interrupts always go to the main thread (the :exc:`KeyboardInterrupt` "
318+
"exception will be received by that thread.)"
320319
msgstr ""
321-
"執行緒與中斷的互動可能會有奇怪的情況:任何一個執行緒都有可能收到 :exc:"
322-
"`KeyboardInterrupt` 例外。(當 :mod:`signal` 模組可用時,中斷總是會進入主執行"
323-
"緒。)"
324320

325-
#: ../../library/_thread.rst:220
321+
#: ../../library/_thread.rst:219
326322
msgid ""
327323
"Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is "
328324
"equivalent to calling :func:`_thread.exit`."
329325
msgstr ""
330326
"呼叫 :func:`sys.exit` 函數或引發 :exc:`SystemExit` 例外等同於呼叫 :func:"
331327
"`_thread.exit` 函式。"
332328

333-
#: ../../library/_thread.rst:223
329+
#: ../../library/_thread.rst:222
334330
msgid ""
335331
"It is not possible to interrupt the :meth:`~threading.Lock.acquire` method "
336332
"on a lock --- the :exc:`KeyboardInterrupt` exception will happen after the "
@@ -339,7 +335,7 @@ msgstr ""
339335
"無法在鎖的 :meth:`~threading.Lock.acquire` 方法上中斷執行, :exc:"
340336
"`KeyboardInterrupt` 例外會在鎖被獲取後發生。"
341337

342-
#: ../../library/_thread.rst:227
338+
#: ../../library/_thread.rst:226
343339
msgid ""
344340
"When the main thread exits, it is system defined whether the other threads "
345341
"survive. On most systems, they are killed without executing :keyword:"
@@ -349,15 +345,6 @@ msgstr ""
349345
"終止,而不會執行 :keyword:`try` ... :keyword:`finally` 子句或執行物件的解構函"
350346
"式。"
351347

352-
#: ../../library/_thread.rst:232
353-
msgid ""
354-
"When the main thread exits, it does not do any of its usual cleanup (except "
355-
"that :keyword:`try` ... :keyword:`finally` clauses are honored), and the "
356-
"standard I/O files are not flushed."
357-
msgstr ""
358-
"當主執行緒退出時,它不會執行任何通常的清理操作(除非有 :keyword:`try` ... :"
359-
"keyword:`finally` 子句),並且標準 I/O 檔案不會被刷新。"
360-
361348
#: ../../library/_thread.rst:7
362349
msgid "light-weight processes"
363350
msgstr "light-weight processes(輕量級行程)"
@@ -393,3 +380,20 @@ msgstr "module(模組)"
393380
#: ../../library/_thread.rst:214
394381
msgid "signal"
395382
msgstr "signal(訊號)"
383+
384+
#~ msgid ""
385+
#~ "Threads interact strangely with interrupts: the :exc:`KeyboardInterrupt` "
386+
#~ "exception will be received by an arbitrary thread. (When the :mod:"
387+
#~ "`signal` module is available, interrupts always go to the main thread.)"
388+
#~ msgstr ""
389+
#~ "執行緒與中斷的互動可能會有奇怪的情況:任何一個執行緒都有可能收到 :exc:"
390+
#~ "`KeyboardInterrupt` 例外。(當 :mod:`signal` 模組可用時,中斷總是會進入主"
391+
#~ "執行緒。)"
392+
393+
#~ msgid ""
394+
#~ "When the main thread exits, it does not do any of its usual cleanup "
395+
#~ "(except that :keyword:`try` ... :keyword:`finally` clauses are honored), "
396+
#~ "and the standard I/O files are not flushed."
397+
#~ msgstr ""
398+
#~ "當主執行緒退出時,它不會執行任何通常的清理操作(除非有 :keyword:"
399+
#~ "`try` ... :keyword:`finally` 子句),並且標準 I/O 檔案不會被刷新。"

whatsnew/3.12.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-09-28 00:13+0000\n"
9+
"POT-Creation-Date: 2024-10-07 13:43+0000\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -47,12 +47,12 @@ msgstr "發布重點摘要"
4747

4848
#: ../../whatsnew/3.12.rst:62
4949
msgid ""
50-
"Python 3.12 is the latest stable release of the Python programming language, "
51-
"with a mix of changes to the language and the standard library. The library "
52-
"changes focus on cleaning up deprecated APIs, usability, and correctness. Of "
53-
"note, the :mod:`!distutils` package has been removed from the standard "
54-
"library. Filesystem support in :mod:`os` and :mod:`pathlib` has seen a "
55-
"number of improvements, and several modules have better performance."
50+
"Python 3.12 is a stable release of the Python programming language, with a "
51+
"mix of changes to the language and the standard library. The library changes "
52+
"focus on cleaning up deprecated APIs, usability, and correctness. Of note, "
53+
"the :mod:`!distutils` package has been removed from the standard library. "
54+
"Filesystem support in :mod:`os` and :mod:`pathlib` has seen a number of "
55+
"improvements, and several modules have better performance."
5656
msgstr ""
5757

5858
#: ../../whatsnew/3.12.rst:69

whatsnew/3.13.po

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-10-05 00:13+0000\n"
9+
"POT-Creation-Date: 2024-10-07 13:43+0000\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -29,10 +29,11 @@ msgid "Adam Turner and Thomas Wouters"
2929
msgstr "Adam Turner 和 Thomas Wouters"
3030

3131
#: ../../whatsnew/3.13.rst:48
32+
#, fuzzy
3233
msgid ""
3334
"This article explains the new features in Python 3.13, compared to 3.12. "
34-
"Python 3.13 will be released on October 7, 2024. For full details, see the :"
35-
"ref:`changelog <changelog>`."
35+
"Python 3.13 was released on October 7, 2024. For full details, see the :ref:"
36+
"`changelog <changelog>`."
3637
msgstr ""
3738
"本文介紹了 Python 3.13 與 3.12 相比多了哪些新功能。Python 3.13 將於 2024 年 "
3839
"10 月 7 日發布。完整詳請請見 :ref:`changelog <changelog>`。"
@@ -47,9 +48,9 @@ msgstr "發布重點摘要"
4748

4849
#: ../../whatsnew/3.13.rst:63
4950
msgid ""
50-
"Python 3.13 will be the latest stable release of the Python programming "
51-
"language, with a mix of changes to the language, the implementation and the "
52-
"standard library. The biggest changes include a new `interactive interpreter "
51+
"Python 3.13 is the latest stable release of the Python programming language, "
52+
"with a mix of changes to the language, the implementation and the standard "
53+
"library. The biggest changes include a new `interactive interpreter "
5354
"<whatsnew313-better-interactive-interpreter_>`_, experimental support for "
5455
"running in a `free-threaded mode <whatsnew313-free-threaded-cpython_>`_ (:"
5556
"pep:`703`), and a `Just-In-Time compiler <whatsnew313-jit-compiler_>`_ (:pep:"
@@ -286,12 +287,13 @@ msgstr "重要的移除:"
286287

287288
#: ../../whatsnew/3.13.rst:182
288289
msgid ""
289-
":ref:`PEP 594 <whatsnew313-pep594>`: The remaining 19 \"dead batteries\" "
290-
"(legacy stdlib modules) have been removed from the standard library: :mod:`!"
291-
"aifc`, :mod:`!audioop`, :mod:`!cgi`, :mod:`!cgitb`, :mod:`!chunk`, :mod:`!"
292-
"crypt`, :mod:`!imghdr`, :mod:`!mailcap`, :mod:`!msilib`, :mod:`!nis`, :mod:`!"
293-
"nntplib`, :mod:`!ossaudiodev`, :mod:`!pipes`, :mod:`!sndhdr`, :mod:`!spwd`, :"
294-
"mod:`!sunau`, :mod:`!telnetlib`, :mod:`!uu` and :mod:`!xdrlib`."
290+
":ref:`PEP 594 <whatsnew313-pep594>`: The remaining 19 \"dead "
291+
"batteries\" (legacy stdlib modules) have been removed from the standard "
292+
"library: :mod:`!aifc`, :mod:`!audioop`, :mod:`!cgi`, :mod:`!cgitb`, :mod:`!"
293+
"chunk`, :mod:`!crypt`, :mod:`!imghdr`, :mod:`!mailcap`, :mod:`!msilib`, :mod:"
294+
"`!nis`, :mod:`!nntplib`, :mod:`!ossaudiodev`, :mod:`!pipes`, :mod:`!"
295+
"sndhdr`, :mod:`!spwd`, :mod:`!sunau`, :mod:`!telnetlib`, :mod:`!uu` and :mod:"
296+
"`!xdrlib`."
295297
msgstr ""
296298
":ref:`PEP 594 <whatsnew313-pep594>`: 剩下的 19 個 \"dead batteries\" (遺留標"
297299
"準函式庫模組)以字標準函式庫中移除::mod:`!aifc`、:mod:`!audioop`、:mod:`!"

0 commit comments

Comments
 (0)