Skip to content

Sync with CPython 3.11 #411

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

Merged
merged 45 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4eff144
sync with cpython d9aafe24
github-actions[bot] Apr 26, 2023
4c39408
sync with cpython c0b538b0
github-actions[bot] Apr 27, 2023
f01f41b
sync with cpython 294398c1
github-actions[bot] Apr 28, 2023
e5747c4
sync with cpython fee3c91a
github-actions[bot] Apr 29, 2023
d2dca85
sync with cpython 86ef1ce1
github-actions[bot] Apr 30, 2023
0a1e760
sync with cpython 10db28bf
github-actions[bot] May 2, 2023
472d0ce
sync with cpython 5386730c
github-actions[bot] May 3, 2023
51e2071
sync with cpython 365e0772
github-actions[bot] May 4, 2023
bbfc9b9
sync with cpython b7622e7a
github-actions[bot] May 9, 2023
15472fb
sync with cpython 2fa14d47
github-actions[bot] May 10, 2023
ce86282
sync with cpython 846a23d0
github-actions[bot] May 11, 2023
7a40258
sync with cpython 70550885
github-actions[bot] May 12, 2023
bc2cbac
sync with cpython b87ccc38
github-actions[bot] May 14, 2023
456c471
sync with cpython 1afc0a95
github-actions[bot] May 15, 2023
091e082
sync with cpython a712c5f4
github-actions[bot] May 16, 2023
5efb29f
sync with cpython dece9c06
github-actions[bot] May 17, 2023
b3ebe06
sync with cpython a8fc8b7e
github-actions[bot] May 18, 2023
989eab7
sync with cpython 2801b3f8
github-actions[bot] May 20, 2023
3e1ccca
sync with cpython d45c1df8
github-actions[bot] May 21, 2023
d48da56
sync with cpython d691de1d
github-actions[bot] May 22, 2023
8cc784a
sync with cpython be20e9c6
github-actions[bot] May 23, 2023
bb02e46
sync with cpython 3b3f2e10
github-actions[bot] May 25, 2023
9eea412
sync with cpython a6326972
github-actions[bot] May 27, 2023
98b81dc
sync with cpython d34e58a1
github-actions[bot] May 28, 2023
0262490
sync with cpython c39500db
github-actions[bot] May 30, 2023
615288e
sync with cpython 3b0747af
github-actions[bot] Jun 1, 2023
4f05fde
sync with cpython 8de607ab
github-actions[bot] Jun 3, 2023
08baa8d
sync with cpython aca77b55
github-actions[bot] Jun 5, 2023
05cf8b4
sync with cpython faae548e
github-actions[bot] Jun 6, 2023
0fc831f
sync with cpython acf3916e
github-actions[bot] Jun 8, 2023
1acc110
sync with cpython c3b8f9d0
github-actions[bot] Jun 9, 2023
d2f4464
sync with cpython 4ceb5c49
github-actions[bot] Jun 10, 2023
81e7ffc
sync with cpython aaa8a493
github-actions[bot] Jun 11, 2023
7dfcc83
sync with cpython e5fe0171
github-actions[bot] Jun 12, 2023
42c6444
sync with cpython ab054688
github-actions[bot] Jun 15, 2023
37fa029
sync with cpython c0c41868
github-actions[bot] Jun 16, 2023
d1a2da2
sync with cpython 69e2da02
github-actions[bot] Jun 17, 2023
3e80dd6
sync with cpython 043c8313
github-actions[bot] Jun 19, 2023
66f480b
sync with cpython 8bb16f66
github-actions[bot] Jun 20, 2023
05d7d97
fix: resolve fuzzy entries in c-api
mattwang44 May 28, 2023
94d8d13
fix: resolve the rest fuzzy entries
mattwang44 May 28, 2023
ab1ac10
fix: resolve fuzzy entries in tutorial
mattwang44 May 28, 2023
f4dfbb1
fix: resolve fuzzy entries in reference
mattwang44 May 28, 2023
00a6c73
fix: resolve fuzzy entries in whatsnew
mattwang44 Jun 21, 2023
4f2ae52
fix: resolve fuzzy entries in library
mattwang44 Jun 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion c-api/buffer.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -686,3 +686,35 @@ msgid ""
"*exporter* MUST be set to the exporting object and *flags* must be passed "
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
msgstr ""

#: ../../c-api/buffer.rst:3
msgid "buffer protocol"
msgstr "buffer protocol(緩衝協定)"

#: ../../c-api/buffer.rst:3
msgid "buffer interface"
msgstr "buffer interface(緩衝介面)"

#: ../../c-api/buffer.rst:3
msgid "(see buffer protocol)"
msgstr "(請見緩衝協定)"

#: ../../c-api/buffer.rst:3
msgid "buffer object"
msgstr "buffer object(緩衝物件)"

#: ../../c-api/buffer.rst:32
msgid "PyBufferProcs"
msgstr "PyBufferProcs"

#: ../../c-api/buffer.rst:284
msgid "contiguous"
msgstr "contiguous(連續的)"

#: ../../c-api/buffer.rst:284
msgid "C-contiguous"
msgstr "C-contiguous(C 連續的)"

#: ../../c-api/buffer.rst:284
msgid "Fortran contiguous"
msgstr "Fortran contiguous(Fortran 連續的)"
14 changes: 11 additions & 3 deletions c-api/bytearray.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+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 @@ -20,7 +20,7 @@ msgstr ""

#: ../../c-api/bytearray.rst:6
msgid "Byte Array Objects"
msgstr ""
msgstr "位元組串列物件 (Byte Array Objects)"

#: ../../c-api/bytearray.rst:13
msgid ""
Expand Down Expand Up @@ -86,7 +86,7 @@ msgstr ""

#: ../../c-api/bytearray.rst:74
msgid "Macros"
msgstr ""
msgstr "巨集"

#: ../../c-api/bytearray.rst:76
msgid "These macros trade safety for speed and they don't check pointers."
Expand All @@ -99,3 +99,11 @@ msgstr ""
#: ../../c-api/bytearray.rst:85
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
msgstr ""

#: ../../c-api/bytearray.rst:8
msgid "object"
msgstr "object(物件)"

#: ../../c-api/bytearray.rst:8
msgid "bytearray"
msgstr "bytearray(位元組串列)"
22 changes: 15 additions & 7 deletions c-api/bytes.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
"PO-Revision-Date: 2018-05-23 14:04+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/bytes.rst:6
msgid "Bytes Objects"
msgstr ""
msgstr "位元組物件 (Bytes Objects)"

#: ../../c-api/bytes.rst:8
msgid ""
Expand Down Expand Up @@ -217,9 +217,9 @@ msgstr "const void\\*"

#: ../../c-api/bytes.rst:102
msgid ""
"The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p"
"\")`` except that it is guaranteed to start with the literal ``0x`` "
"regardless of what the platform's ``printf`` yields."
"The hex representation of a C pointer. Mostly equivalent to "
"``printf(\"%p\")`` except that it is guaranteed to start with the literal "
"``0x`` regardless of what the platform's ``printf`` yields."
msgstr ""

#: ../../c-api/bytes.rst:111
Expand Down Expand Up @@ -323,7 +323,15 @@ msgid ""
"address of an existing bytes object as an lvalue (it may be written into), "
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
"input value. If the reallocation fails, the original bytes object at *"
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
"input value. If the reallocation fails, the original bytes object at "
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
"is set, and ``-1`` is returned."
msgstr ""

#: ../../c-api/bytes.rst:11
msgid "object"
msgstr "object(物件)"

#: ../../c-api/bytes.rst:11
msgid "bytes"
msgstr "bytes(位元組)"
10 changes: 9 additions & 1 deletion c-api/capsule.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -202,3 +202,11 @@ msgid ""
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
"``NULL``."
msgstr ""

#: ../../c-api/capsule.rst:8
msgid "object"
msgstr "object(物件)"

#: ../../c-api/capsule.rst:8
msgid "Capsule"
msgstr "Capsule"
14 changes: 13 additions & 1 deletion c-api/code.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-05 00:18+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+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 Down Expand Up @@ -140,3 +140,15 @@ msgid ""
"reference to a :c:type:`PyTupleObject` containing the names of the free "
"variables. On error, ``NULL`` is returned and an exception is raised."
msgstr ""

#: ../../c-api/code.rst:3
msgid "object"
msgstr "object(物件)"

#: ../../c-api/code.rst:3
msgid "code"
msgstr "code(程式碼)"

#: ../../c-api/code.rst:3
msgid "code object"
msgstr "code object(程式碼物件)"
12 changes: 10 additions & 2 deletions c-api/complex.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-06 00:23+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+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 Down Expand Up @@ -158,4 +158,12 @@ msgstr ""

#: ../../c-api/complex.rst:137
msgid "Use :meth:`__index__` if available."
msgstr ""
msgstr "如果可用則會使用 :meth:`__index__`。"

#: ../../c-api/complex.rst:8
msgid "object"
msgstr "object(物件)"

#: ../../c-api/complex.rst:8
msgid "complex number"
msgstr "complex number(複數)"
21 changes: 19 additions & 2 deletions c-api/concrete.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
"PO-Revision-Date: 2022-11-13 20:37+0800\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -46,7 +46,7 @@ msgid ""
"can cause memory access violations and immediate termination of the "
"interpreter."
msgstr ""
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 `NULL``。"
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 ``NULL``。"
"允許 ``NULL`` 的傳入可能造成記憶體的不合法存取和直譯器的立即中止。"

#: ../../c-api/concrete.rst:28
Expand Down Expand Up @@ -86,3 +86,20 @@ msgstr "函式物件"
#: ../../c-api/concrete.rst:102
msgid "Other Objects"
msgstr "其他物件"

#: ../../c-api/concrete.rst:43 ../../c-api/concrete.rst:58
#: ../../c-api/concrete.rst:80
msgid "object"
msgstr "object(物件)"

#: ../../c-api/concrete.rst:43
msgid "numeric"
msgstr "numeric(數值)"

#: ../../c-api/concrete.rst:58
msgid "sequence"
msgstr "sequence(序列)"

#: ../../c-api/concrete.rst:80
msgid "mapping"
msgstr "mapping(對映)"
4 changes: 2 additions & 2 deletions c-api/conversion.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr "字串轉換與格式化"

#: ../../c-api/conversion.rst:8
msgid "Functions for number conversion and formatted string output."
msgstr "數字轉換函數和被格式化的字串輸出。"
msgstr "數字轉換函式和被格式化的字串輸出。"

#: ../../c-api/conversion.rst:13
msgid ""
Expand Down Expand Up @@ -63,7 +63,7 @@ msgstr ""
#: ../../c-api/conversion.rst:34
msgid ""
"The return value (*rv*) for these functions should be interpreted as follows:"
msgstr "當回傳值 (*rv*) 給這些函數應該被編譯如下:"
msgstr "當回傳值 (*rv*) 給這些函式應該被編譯如下:"

#: ../../c-api/conversion.rst:36
msgid ""
Expand Down
22 changes: 21 additions & 1 deletion c-api/dict.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-15 00:17+0000\n"
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -237,3 +237,23 @@ msgid ""
"*override* is true, else the first wins. Return ``0`` on success or ``-1`` "
"if an exception was raised. Equivalent Python (except for the return value)::"
msgstr ""

#: ../../c-api/dict.rst:8
msgid "object"
msgstr "object(物件)"

#: ../../c-api/dict.rst:8
msgid "dictionary"
msgstr "dictionary(字典)"

#: ../../c-api/dict.rst:73
msgid "PyUnicode_FromString()"
msgstr "PyUnicode_FromString()"

#: ../../c-api/dict.rst:157
msgid "built-in function"
msgstr "built-in function(內建函式)"

#: ../../c-api/dict.rst:157
msgid "len"
msgstr "len"
Loading