Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb4b815

Browse files
authored
Merge branch '3.13' into zipimport
2 parents 04c6b74 + b208964 commit cb4b815

File tree

211 files changed

+21646
-19989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+21646
-19989
lines changed

.github/workflows/summarize_progress.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: summarize_progress
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '30 23 * * 5'
67

@@ -37,7 +38,7 @@ jobs:
3738
shell: bash
3839

3940
- name: Commit wiki code
40-
uses: stefanzweifel/git-auto-commit-action@v5
41+
uses: stefanzweifel/git-auto-commit-action@v6
4142
with:
4243
commit_message: Weekly Update -- Summarize Progress
43-
repository: markdown
44+
repository: markdown

.scripts/google_translate/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
'變量': '變數', # variable
4747
'常量': '常數', # constant
4848
'添加': '新增', # add
49+
'轉義': '跳脫', # escape
4950
'基類': '基底類別', # base class
5051
}
5152

.scripts/summarize_progress/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ def format_issue_link(url: str) -> str:
9797
return f"[{url.split('/')[-1]}]({url})" if len(url) > 0 else ''
9898

9999

100-
def format_line_file(filename: str, data: dict) -> str:
101-
return f"|`{filename}`|{data['progress']}|{format_issue_link(data['issue'])}|{data['assignee']}|\r\n"
100+
def format_line_file(dirname: str, filename: str, data: dict) -> str:
101+
return f"|[`{filename}`](https://github.com/python/python-docs-zh-tw/tree/3.13/{dirname}/{filename})" + \
102+
f"|{data['progress']}|{format_issue_link(data['issue'])}|{data['assignee']}|\r\n"
102103

103104

104105
def format_line_directory(dirname: str) -> str:
@@ -152,7 +153,7 @@ def format_line_directory(dirname: str) -> str:
152153

153154
filedict_sorted = dict(sorted(filedict.items()))
154155
for filename, filedata in filedict_sorted.items():
155-
writeliner.append(format_line_file(filename, filedata))
156+
writeliner.append(format_line_file(dirname, filename, filedata))
156157

157158
with open(
158159
f"summarize_progress/result.md",

TRANSLATORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Steven Hsu (StevenHsuYL)
1818
Taihsiang Ho (tai271828)
1919
Tsai, Chia-Wen
2020
Wei-Hsiang (Matt) Wang
21+
Weilin Du (LamentXU)
2122
Wilson Wang (Josix)
2223
Yu Chun Yang
2324
Jason (chairco)

c-api/allocation.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.13\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2025-03-18 00:14+0000\n"
12+
"POT-Creation-Date: 2025-06-27 07:36+0000\n"
1313
"PO-Revision-Date: 2022-10-16 15:35+0800\n"
1414
"Last-Translator: Matt Wang <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -112,8 +112,8 @@ msgstr ""
112112
"取,該巨集的拿到指向該物件的指標。"
113113

114114
#: ../../c-api/allocation.rst:79
115-
msgid ":c:func:`PyModule_Create`"
116-
msgstr ":c:func:`PyModule_Create`"
115+
msgid ":ref:`moduleobjects`"
116+
msgstr ":ref:`moduleobjects`"
117117

118118
#: ../../c-api/allocation.rst:80
119119
msgid "To allocate and create extension modules."

c-api/bytearray.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ msgid ""
6565
"Return a new bytearray object from any object, *o*, that implements the :ref:"
6666
"`buffer protocol <bufferobjects>`."
6767
msgstr ""
68-
"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer "
68+
"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協定 (buffer "
6969
"protocol) <bufferobjects>`。"
7070

7171
#: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:52

c-api/capsule.po

Lines changed: 25 additions & 11 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-01 22:24+0800\n"
10+
"POT-Creation-Date: 2025-06-29 00:17+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -150,15 +150,29 @@ msgstr ""
150150

151151
#: ../../c-api/capsule.rst:108
152152
msgid ""
153+
"This function splits *name* on the ``.`` character, and imports the first "
154+
"element. It then processes further elements using attribute lookups."
155+
msgstr ""
156+
157+
#: ../../c-api/capsule.rst:111
158+
msgid ""
153159
"Return the capsule's internal *pointer* on success. On failure, set an "
154160
"exception and return ``NULL``."
155161
msgstr ""
156162

157-
#: ../../c-api/capsule.rst:111
163+
#: ../../c-api/capsule.rst:116
164+
msgid ""
165+
"If *name* points to an attribute of some submodule or subpackage, this "
166+
"submodule or subpackage must be previously imported using other means (for "
167+
"example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
168+
"to succeed."
169+
msgstr ""
170+
171+
#: ../../c-api/capsule.rst:121
158172
msgid "*no_block* has no effect anymore."
159173
msgstr ""
160174

161-
#: ../../c-api/capsule.rst:117
175+
#: ../../c-api/capsule.rst:127
162176
msgid ""
163177
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
164178
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -167,41 +181,41 @@ msgid ""
167181
"compared.)"
168182
msgstr ""
169183

170-
#: ../../c-api/capsule.rst:123
184+
#: ../../c-api/capsule.rst:133
171185
msgid ""
172186
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
173187
"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
174188
"guaranteed to succeed."
175189
msgstr ""
176190

177-
#: ../../c-api/capsule.rst:127
191+
#: ../../c-api/capsule.rst:137
178192
msgid ""
179193
"Return a nonzero value if the object is valid and matches the name passed "
180194
"in. Return ``0`` otherwise. This function will not fail."
181195
msgstr ""
182196

183-
#: ../../c-api/capsule.rst:133
197+
#: ../../c-api/capsule.rst:143
184198
msgid "Set the context pointer inside *capsule* to *context*."
185199
msgstr ""
186200

187-
#: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
188-
#: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
201+
#: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
202+
#: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
189203
msgid ""
190204
"Return ``0`` on success. Return nonzero and set an exception on failure."
191205
msgstr ""
192206

193-
#: ../../c-api/capsule.rst:140
207+
#: ../../c-api/capsule.rst:150
194208
msgid "Set the destructor inside *capsule* to *destructor*."
195209
msgstr ""
196210

197-
#: ../../c-api/capsule.rst:147
211+
#: ../../c-api/capsule.rst:157
198212
msgid ""
199213
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
200214
"outlive the capsule. If the previous *name* stored in the capsule was not "
201215
"``NULL``, no attempt is made to free it."
202216
msgstr ""
203217

204-
#: ../../c-api/capsule.rst:156
218+
#: ../../c-api/capsule.rst:166
205219
msgid ""
206220
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
207221
"``NULL``."

c-api/code.po

Lines changed: 2 additions & 2 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-10-09 00:13+0000\n"
10+
"POT-Creation-Date: 2025-06-27 07:36+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-"
@@ -213,7 +213,7 @@ msgstr ""
213213
#: ../../c-api/code.rst:184
214214
msgid ""
215215
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
216-
"`co` has been fully initialized. Otherwise, the callback is invoked before "
216+
"*co* has been fully initialized. Otherwise, the callback is invoked before "
217217
"the destruction of *co* takes place, so the prior state of *co* can be "
218218
"inspected."
219219
msgstr ""

0 commit comments

Comments
 (0)