🌐 AI搜索 & 代理 主页
Skip to content

Commit 3587372

Browse files
sync with cpython a20395b8
1 parent 530d94e commit 3587372

File tree

15 files changed

+5298
-5301
lines changed

15 files changed

+5298
-5301
lines changed

deprecations/c-api-pending-removal-in-3.18.po

Lines changed: 72 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-09-08 15:25+0800\n"
10+
"POT-Creation-Date: 2025-09-18 00:15+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -21,156 +21,157 @@ msgid "Pending removal in Python 3.18"
2121
msgstr "Python 3.18 中待移除的項目"
2222

2323
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:4
24-
msgid "Deprecated private functions (:gh:`128863`):"
25-
msgstr "被棄用的私有函式 (:gh:`128863`):"
24+
msgid ""
25+
"The following private functions are deprecated and planned for removal in "
26+
"Python 3.18:"
27+
msgstr ""
2628

27-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:6
29+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:7
2830
msgid ":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`."
2931
msgstr ":c:func:`!_PyBytes_Join`:請改用 :c:func:`PyBytes_Join`。"
3032

31-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:7
33+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:8
3234
msgid ""
33-
":c:func:`!_PyDict_GetItemStringWithError`: "
34-
"use :c:func:`PyDict_GetItemStringRef`."
35+
":c:func:`!_PyDict_GetItemStringWithError`: use :c:func:"
36+
"`PyDict_GetItemStringRef`."
3537
msgstr ""
36-
":c:func:`!_PyDict_GetItemStringWithError`:請改"
37-
"用 :c:func:`PyDict_GetItemStringRef`。"
38+
":c:func:`!_PyDict_GetItemStringWithError`:請改用 :c:func:"
39+
"`PyDict_GetItemStringRef`。"
3840

39-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:8
40-
msgid ":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`."
41+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:9
42+
#, fuzzy
43+
msgid ":c:func:`!_PyDict_Pop()`: use :c:func:`PyDict_Pop`."
4144
msgstr ":c:func:`!_PyDict_Pop()`:請改用 :c:func:`PyDict_Pop`。"
4245

43-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:9
46+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:10
4447
msgid ":c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`."
4548
msgstr ":c:func:`!_PyLong_Sign()`:請改用 :c:func:`PyLong_GetSign`。"
4649

47-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:10
50+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:11
4851
msgid ""
49-
":c:func:`!_PyLong_FromDigits` and :c:func:`!_PyLong_New`: "
50-
"use :c:func:`PyLongWriter_Create`."
52+
":c:func:`!_PyLong_FromDigits` and :c:func:`!_PyLong_New`: use :c:func:"
53+
"`PyLongWriter_Create`."
5154
msgstr ""
52-
":c:func:`!_PyLong_FromDigits` 和 :c:func:`!_PyLong_New`:請改"
53-
"用 :c:func:`PyLongWriter_Create`。"
55+
":c:func:`!_PyLong_FromDigits` 和 :c:func:`!_PyLong_New`:請改用 :c:func:"
56+
"`PyLongWriter_Create`。"
5457

55-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:12
58+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:13
5659
msgid ""
57-
":c:func:`!_PyThreadState_UncheckedGet`: "
58-
"use :c:func:`PyThreadState_GetUnchecked`."
60+
":c:func:`!_PyThreadState_UncheckedGet`: use :c:func:"
61+
"`PyThreadState_GetUnchecked`."
5962
msgstr ""
60-
":c:func:`!_PyThreadState_UncheckedGet`:請改"
61-
"用 :c:func:`PyThreadState_GetUnchecked`。"
63+
":c:func:`!_PyThreadState_UncheckedGet`:請改用 :c:func:"
64+
"`PyThreadState_GetUnchecked`。"
6265

63-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:13
66+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:14
6467
msgid ":c:func:`!_PyUnicode_AsString`: use :c:func:`PyUnicode_AsUTF8`."
6568
msgstr ":c:func:`!_PyUnicode_AsString`:請改用 :c:func:`PyUnicode_AsUTF8`。"
6669

67-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:14
70+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:15
6871
msgid ""
6972
":c:func:`!_PyUnicodeWriter_Init`: replace ``_PyUnicodeWriter_Init(&writer)`` "
7073
"with :c:func:`writer = PyUnicodeWriter_Create(0) <PyUnicodeWriter_Create>`."
7174
msgstr ""
7275
":c:func:`!_PyUnicodeWriter_Init`:將 ``_PyUnicodeWriter_Init(&writer)`` 替換"
7376
"為 :c:func:`writer = PyUnicodeWriter_Create(0) <PyUnicodeWriter_Create>`。"
7477

75-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:17
78+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:18
7679
msgid ""
7780
":c:func:`!_PyUnicodeWriter_Finish`: replace "
78-
"``_PyUnicodeWriter_Finish(&writer)`` "
79-
"with :c:func:`PyUnicodeWriter_Finish(writer) <PyUnicodeWriter_Finish>`."
81+
"``_PyUnicodeWriter_Finish(&writer)`` with :c:func:"
82+
"`PyUnicodeWriter_Finish(writer) <PyUnicodeWriter_Finish>`."
8083
msgstr ""
8184
":c:func:`!_PyUnicodeWriter_Finish`:將 ``_PyUnicodeWriter_Finish(&writer)`` "
8285
"替換為 :c:func:`PyUnicodeWriter_Finish(writer) <PyUnicodeWriter_Finish>`。"
8386

84-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:20
87+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:21
8588
msgid ""
8689
":c:func:`!_PyUnicodeWriter_Dealloc`: replace "
87-
"``_PyUnicodeWriter_Dealloc(&writer)`` "
88-
"with :c:func:`PyUnicodeWriter_Discard(writer) <PyUnicodeWriter_Discard>`."
90+
"``_PyUnicodeWriter_Dealloc(&writer)`` with :c:func:"
91+
"`PyUnicodeWriter_Discard(writer) <PyUnicodeWriter_Discard>`."
8992
msgstr ""
9093
":c:func:`!_PyUnicodeWriter_Dealloc`:將 "
91-
"``_PyUnicodeWriter_Dealloc(&writer)`` 替換"
92-
"為 :c:func:`PyUnicodeWriter_Discard(writer) <PyUnicodeWriter_Discard>`。"
94+
"``_PyUnicodeWriter_Dealloc(&writer)`` 替換為 :c:func:"
95+
"`PyUnicodeWriter_Discard(writer) <PyUnicodeWriter_Discard>`。"
9396

94-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:23
97+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:24
9598
msgid ""
9699
":c:func:`!_PyUnicodeWriter_WriteChar`: replace "
97-
"``_PyUnicodeWriter_WriteChar(&writer, ch)`` "
98-
"with :c:func:`PyUnicodeWriter_WriteChar(writer, ch) "
99-
"<PyUnicodeWriter_WriteChar>`."
100+
"``_PyUnicodeWriter_WriteChar(&writer, ch)`` with :c:func:"
101+
"`PyUnicodeWriter_WriteChar(writer, ch) <PyUnicodeWriter_WriteChar>`."
100102
msgstr ""
101103
":c:func:`!_PyUnicodeWriter_WriteChar`:將 "
102-
"``_PyUnicodeWriter_WriteChar(&writer, ch)`` 替換"
103-
"為 :c:func:`PyUnicodeWriter_WriteChar(writer, ch) "
104-
"<PyUnicodeWriter_WriteChar>`。"
104+
"``_PyUnicodeWriter_WriteChar(&writer, ch)`` 替換為 :c:func:"
105+
"`PyUnicodeWriter_WriteChar(writer, ch) <PyUnicodeWriter_WriteChar>`。"
105106

106-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:26
107+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:27
107108
msgid ""
108109
":c:func:`!_PyUnicodeWriter_WriteStr`: replace "
109-
"``_PyUnicodeWriter_WriteStr(&writer, str)`` "
110-
"with :c:func:`PyUnicodeWriter_WriteStr(writer, str) "
111-
"<PyUnicodeWriter_WriteStr>`."
110+
"``_PyUnicodeWriter_WriteStr(&writer, str)`` with :c:func:"
111+
"`PyUnicodeWriter_WriteStr(writer, str) <PyUnicodeWriter_WriteStr>`."
112112
msgstr ""
113113
":c:func:`!_PyUnicodeWriter_WriteStr`:將 "
114-
"``_PyUnicodeWriter_WriteStr(&writer, str)`` 替換"
115-
"為 :c:func:`PyUnicodeWriter_WriteStr(writer, str) "
116-
"<PyUnicodeWriter_WriteStr>`。"
114+
"``_PyUnicodeWriter_WriteStr(&writer, str)`` 替換為 :c:func:"
115+
"`PyUnicodeWriter_WriteStr(writer, str) <PyUnicodeWriter_WriteStr>`。"
117116

118-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:29
117+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:30
119118
msgid ""
120119
":c:func:`!_PyUnicodeWriter_WriteSubstring`: replace "
121-
"``_PyUnicodeWriter_WriteSubstring(&writer, str, start, end)`` "
122-
"with :c:func:`PyUnicodeWriter_WriteSubstring(writer, str, start, end) "
120+
"``_PyUnicodeWriter_WriteSubstring(&writer, str, start, end)`` with :c:func:"
121+
"`PyUnicodeWriter_WriteSubstring(writer, str, start, end) "
123122
"<PyUnicodeWriter_WriteSubstring>`."
124123
msgstr ""
125124
":c:func:`!_PyUnicodeWriter_WriteSubstring`:將 "
126-
"``_PyUnicodeWriter_WriteSubstring(&writer, str, start, end)`` 替換"
127-
"為 :c:func:`PyUnicodeWriter_WriteSubstring(writer, str, start, end) "
125+
"``_PyUnicodeWriter_WriteSubstring(&writer, str, start, end)`` 替換為 :c:func:"
126+
"`PyUnicodeWriter_WriteSubstring(writer, str, start, end) "
128127
"<PyUnicodeWriter_WriteSubstring>`。"
129128

130-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:32
129+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:33
130+
#, fuzzy
131131
msgid ""
132132
":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace "
133-
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` "
134-
"with :c:func:`PyUnicodeWriter_WriteUTF8(writer, str) "
135-
"<PyUnicodeWriter_WriteUTF8>`."
133+
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:"
134+
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`."
136135
msgstr ""
137136
":c:func:`!_PyUnicodeWriter_WriteASCIIString`:將 "
138-
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` 替換"
139-
"為 :c:func:`PyUnicodeWriter_WriteUTF8(writer, str) "
140-
"<PyUnicodeWriter_WriteUTF8>`。"
137+
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` 替換為 :c:func:"
138+
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`。"
141139

142-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:35
140+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:36
143141
msgid ""
144142
":c:func:`!_PyUnicodeWriter_WriteLatin1String`: replace "
145-
"``_PyUnicodeWriter_WriteLatin1String(&writer, str)`` "
146-
"with :c:func:`PyUnicodeWriter_WriteUTF8(writer, str) "
147-
"<PyUnicodeWriter_WriteUTF8>`."
143+
"``_PyUnicodeWriter_WriteLatin1String(&writer, str)`` with :c:func:"
144+
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`."
148145
msgstr ""
149146
":c:func:`!_PyUnicodeWriter_WriteLatin1String`:將 "
150-
"``_PyUnicodeWriter_WriteLatin1String(&writer, str)`` 替換"
151-
"為 :c:func:`PyUnicodeWriter_WriteUTF8(writer, str) "
152-
"<PyUnicodeWriter_WriteUTF8>`。"
147+
"``_PyUnicodeWriter_WriteLatin1String(&writer, str)`` 替換為 :c:func:"
148+
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`。"
153149

154-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:38
150+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:39
155151
msgid ":c:func:`!_PyUnicodeWriter_Prepare`: (no replacement)."
156152
msgstr ":c:func:`!_PyUnicodeWriter_Prepare`:(無替代方案)。"
157153

158-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:39
154+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:40
159155
msgid ":c:func:`!_PyUnicodeWriter_PrepareKind`: (no replacement)."
160156
msgstr ":c:func:`!_PyUnicodeWriter_PrepareKind`:(無替代方案)。"
161157

162-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:40
158+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:41
163159
msgid ":c:func:`!_Py_HashPointer`: use :c:func:`Py_HashPointer`."
164160
msgstr ":c:func:`!_Py_HashPointer`:請改用 :c:func:`Py_HashPointer`。"
165161

166-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:41
162+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:42
167163
msgid ":c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`."
168164
msgstr ":c:func:`!_Py_fopen_obj`:請改用 :c:func:`Py_fopen`。"
169165

170-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:43
166+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:44
167+
#, fuzzy
171168
msgid ""
172169
"The `pythoncapi-compat project <https://github.com/python/pythoncapi-compat/"
173-
">`__ can be used to get these new public functions on Python 3.13 and older."
170+
">`__ can be used to get these new public functions on Python 3.13 and older. "
171+
"(Contributed by Victor Stinner in :gh:`128863`.)"
174172
msgstr ""
175173
"可以使用 `pythoncapi-compat 專案 <https://github.com/python/pythoncapi-"
176174
"compat/>`__\\ 來為 Python 3.13 及更早版本取得這些新的公開函式。"
175+
176+
#~ msgid "Deprecated private functions (:gh:`128863`):"
177+
#~ msgstr "被棄用的私有函式 (:gh:`128863`):"

0 commit comments

Comments
 (0)