Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with CPython 3.12 #877

Merged
merged 12 commits into from
May 9, 2024
258 changes: 168 additions & 90 deletions .scripts/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion c-api/contextvars.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ msgstr ""

#: ../../c-api/contextvars.rst:6
msgid "Context Variables Objects"
msgstr ""
msgstr "情境變數物件"

#: ../../c-api/contextvars.rst:15
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/gcsupport.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/gcsupport.rst:6
msgid "Supporting Cyclic Garbage Collection"
msgstr ""
msgstr "循環垃圾回收的支援"

#: ../../c-api/gcsupport.rst:8
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions c-api/init.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ msgstr ""

#: ../../c-api/init.rst:10
msgid "See also :ref:`Python Initialization Configuration <init-config>`."
msgstr ""
msgstr "也請參見 :ref:`Python 初始化設定 <init-config>`。"

#: ../../c-api/init.rst:15
msgid "Before Python Initialization"
msgstr ""
msgstr "Python 初始化之前"

#: ../../c-api/init.rst:17
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/init_config.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/init_config.rst:7
msgid "Python Initialization Configuration"
msgstr ""
msgstr "Python 初始化設定"

#: ../../c-api/init_config.rst:11
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/mapping.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/mapping.rst:6
msgid "Mapping Protocol"
msgstr ""
msgstr "對映協定"

#: ../../c-api/mapping.rst:8
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/marshal.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/marshal.rst:6
msgid "Data marshalling support"
msgstr ""
msgstr "資料 marshal 的支援"

#: ../../c-api/marshal.rst:8
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/number.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/number.rst:6
msgid "Number Protocol"
msgstr ""
msgstr "數字協定"

#: ../../c-api/number.rst:11
msgid ""
Expand Down
8 changes: 4 additions & 4 deletions c-api/object.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-05 00:03+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2018-05-23 14:32+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/object.rst:6
msgid "Object Protocol"
msgstr ""
msgstr "物件協定"

#: ../../c-api/object.rst:11
msgid ""
Expand All @@ -31,8 +31,8 @@ msgstr ""
#: ../../c-api/object.rst:17
msgid ""
"Properly handle returning :c:data:`Py_NotImplemented` from within a C "
"function (that is, create a new :term:`strong reference` to NotImplemented "
"and return it)."
"function (that is, create a new :term:`strong reference` to :const:"
"`NotImplemented` and return it)."
msgstr ""

#: ../../c-api/object.rst:24
Expand Down
2 changes: 1 addition & 1 deletion c-api/sequence.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/sequence.rst:6
msgid "Sequence Protocol"
msgstr ""
msgstr "序列協定"

#: ../../c-api/sequence.rst:11
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/type.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr ""

#: ../../c-api/type.rst:6
msgid "Type Objects"
msgstr ""
msgstr "型別物件"

#: ../../c-api/type.rst:13
msgid "The C structure of the objects used to describe built-in types."
Expand Down
2 changes: 1 addition & 1 deletion c-api/unicode.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr "Unicode 物件與編解碼器"

#: ../../c-api/unicode.rst:12
msgid "Unicode Objects"
msgstr ""
msgstr "Unicode 物件"

#: ../../c-api/unicode.rst:14
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion extending/windows.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""

#: ../../extending/windows.rst:8
msgid "Building C and C++ Extensions on Windows"
msgstr ""
msgstr "建置 Windows 上的 C 和 C++ 擴充"

#: ../../extending/windows.rst:10
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions howto/isolating-extensions.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ msgstr ""

#: ../../howto/isolating-extensions.rst:7
msgid "Isolating Extension Modules"
msgstr ""
msgstr "隔離擴充模組"

#: ../../howto/isolating-extensions.rst:-1
msgid "Abstract"
msgstr ""
msgstr "摘要"

#: ../../howto/isolating-extensions.rst:11
msgid ""
Expand Down Expand Up @@ -53,7 +53,7 @@ msgstr ""

#: ../../howto/isolating-extensions.rst:31
msgid "Background"
msgstr ""
msgstr "背景"

#: ../../howto/isolating-extensions.rst:33
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion howto/mro.po
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ msgstr ""

#: ../../howto/mro.rst:0
msgid "Abstract"
msgstr ""
msgstr "摘要"

#: ../../howto/mro.rst:17
msgid ""
Expand Down
5 changes: 3 additions & 2 deletions howto/urllib2.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-15 00:03+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2022-06-27 09:36+0800\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -588,7 +588,8 @@ msgstr ""
#: ../../howto/urllib2.rst:596
msgid ""
"urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe <https://"
"code.activestate.com/recipes/456195/>`_."
"code.activestate.com/recipes/456195-urrlib2-opener-for-ssl-proxy-connect-"
"method/>`_."
msgstr ""

#~ msgid ""
Expand Down
6 changes: 3 additions & 3 deletions library/__future__.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2024-02-06 02:12+0000\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -19,8 +19,8 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"

#: ../../library/__future__.rst:2
msgid ":mod:`__future__` --- Future statement definitions"
msgstr ":mod:`__future__` --- Future 陳述式定義"
msgid ":mod:`!__future__` --- Future statement definitions"
msgstr ":mod:`!__future__` --- Future 陳述式定義"

#: ../../library/__future__.rst:7
msgid "**Source code:** :source:`Lib/__future__.py`"
Expand Down
6 changes: 3 additions & 3 deletions library/__main__.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-11 17:13+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2023-12-21 14:49+0800\n"
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -20,8 +20,8 @@ msgstr ""
"X-Generator: Poedit 3.4\n"

#: ../../library/__main__.rst:2
msgid ":mod:`__main__` --- Top-level code environment"
msgstr ":mod:`__main__` --- 頂層程式碼環境"
msgid ":mod:`!__main__` --- Top-level code environment"
msgstr ":mod:`!__main__` --- 頂層程式碼環境"

#: ../../library/__main__.rst:10
msgid ""
Expand Down
12 changes: 6 additions & 6 deletions library/_thread.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-24 00:03+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -19,8 +19,8 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"

#: ../../library/_thread.rst:2
msgid ":mod:`_thread` --- Low-level threading API"
msgstr ""
msgid ":mod:`!_thread` --- Low-level threading API"
msgstr ":mod:`!_thread` --- 低階執行緒 API"

#: ../../library/_thread.rst:15
msgid ""
Expand Down Expand Up @@ -203,8 +203,8 @@ msgstr ""
#: ../../library/_thread.rst:168
msgid ""
"If the *blocking* argument is present, the action depends on its value: if "
"it is False, the lock is only acquired if it can be acquired immediately "
"without waiting, while if it is True, the lock is acquired unconditionally "
"it is false, the lock is only acquired if it can be acquired immediately "
"without waiting, while if it is true, the lock is acquired unconditionally "
"as above."
msgstr ""

Expand All @@ -213,7 +213,7 @@ msgid ""
"If the floating-point *timeout* argument is present and positive, it "
"specifies the maximum wait time in seconds before returning. A negative "
"*timeout* argument specifies an unbounded wait. You cannot specify a "
"*timeout* if *blocking* is False."
"*timeout* if *blocking* is false."
msgstr ""

#: ../../library/_thread.rst:178
Expand Down
6 changes: 3 additions & 3 deletions library/abc.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-01 00:03+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2022-11-16 03:29+0800\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -22,8 +22,8 @@ msgstr ""
"X-Generator: Poedit 3.2\n"

#: ../../library/abc.rst:2
msgid ":mod:`abc` --- Abstract Base Classes"
msgstr ":mod:`abc` --- 抽象基底類別"
msgid ":mod:`!abc` --- Abstract Base Classes"
msgstr ":mod:`!abc` --- 抽象基底類別"

#: ../../library/abc.rst:11
msgid "**Source code:** :source:`Lib/abc.py`"
Expand Down
4 changes: 2 additions & 2 deletions library/argparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-24 00:03+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -20,7 +20,7 @@ msgstr ""

#: ../../library/argparse.rst:2
msgid ""
":mod:`argparse` --- Parser for command-line options, arguments and sub-"
":mod:`!argparse` --- Parser for command-line options, arguments and sub-"
"commands"
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions library/array.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2021-11-23 18:40+0800\n"
"Last-Translator: Benson Chen <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -24,8 +24,8 @@ msgstr ""
"X-Generator: Poedit 3.0\n"

#: ../../library/array.rst:2
msgid ":mod:`array` --- Efficient arrays of numeric values"
msgstr ":mod:`array` --- 高效率的數值型陣列"
msgid ":mod:`!array` --- Efficient arrays of numeric values"
msgstr ":mod:`!array` --- 高效率的數值型陣列"

#: ../../library/array.rst:11
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions library/ast.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-20 00:03+0000\n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -18,8 +18,8 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"

#: ../../library/ast.rst:2
msgid ":mod:`ast` --- Abstract Syntax Trees"
msgstr ":mod:`ast` --- 抽象語法樹 (Abstract Syntax Trees)"
msgid ":mod:`!ast` --- Abstract Syntax Trees"
msgstr ":mod:`!ast` --- 抽象語法樹 (Abstract Syntax Trees)"

#: ../../library/ast.rst:14
msgid "**Source code:** :source:`Lib/ast.py`"
Expand Down
2 changes: 1 addition & 1 deletion library/asyncio-extending.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr ""

#: ../../library/asyncio-extending.rst:6
msgid "Extending"
msgstr ""
msgstr "擴充"

#: ../../library/asyncio-extending.rst:8
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions library/asyncio-protocol.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ msgstr ""

#: ../../library/asyncio-protocol.rst:9
msgid "Transports and Protocols"
msgstr ""
msgstr "傳輸與協定"

#: ../../library/asyncio-protocol.rst:12
msgid "Preface"
msgstr ""
msgstr "前言"

#: ../../library/asyncio-protocol.rst:13
msgid ""
Expand Down
Loading
Loading