Skip to content

Commit d3e8458

Browse files
sync with cpython ca3486cb
1 parent 62e3344 commit d3e8458

File tree

5 files changed

+567
-457
lines changed

5 files changed

+567
-457
lines changed

deprecations/pending-removal-in-3.16.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-07-25 00:04+0000\n"
11+
"POT-Creation-Date: 2024-07-28 00:03+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -23,6 +23,12 @@ msgstr ""
2323

2424
#: ../../deprecations/pending-removal-in-3.16.rst:4
2525
msgid ""
26-
":class:`array.array` ``'u'`` type (:c:type:`wchar_t`): use the ``'w'`` type "
27-
"instead (``Py_UCS4``)."
26+
":mod:`array`: :class:`array.array` ``'u'`` type (:c:type:`wchar_t`): use the "
27+
"``'w'`` type instead (``Py_UCS4``)."
28+
msgstr ""
29+
30+
#: ../../deprecations/pending-removal-in-3.16.rst:8
31+
msgid ""
32+
":mod:`symtable`: Deprecate :meth:`symtable.Class.get_methods` due to the "
33+
"lack of interest. (Contributed by Bénédikt Tran in :gh:`119698`.)"
2834
msgstr ""

deprecations/pending-removal-in-future.po

Lines changed: 66 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-07-25 00:04+0000\n"
11+
"POT-Creation-Date: 2024-07-28 00:03+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -93,83 +93,91 @@ msgstr ""
9393
msgid "Delegation of ``int()`` to ``__trunc__()`` method."
9494
msgstr ""
9595

96-
#: ../../deprecations/pending-removal-in-future.rst:38
96+
#: ../../deprecations/pending-removal-in-future.rst:37
97+
msgid ""
98+
"Passing a complex number as the *real* or *imag* argument in the :func:"
99+
"`complex` constructor is now deprecated; it should only be passed as a "
100+
"single positional argument. (Contributed by Serhiy Storchaka in :gh:"
101+
"`109218`.)"
102+
msgstr ""
103+
104+
#: ../../deprecations/pending-removal-in-future.rst:42
97105
msgid ""
98106
":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants "
99107
"are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar."
100108
"FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)"
101109
msgstr ""
102110

103-
#: ../../deprecations/pending-removal-in-future.rst:43
111+
#: ../../deprecations/pending-removal-in-future.rst:47
104112
msgid ""
105113
":attr:`codeobject.co_lnotab`: use the :meth:`codeobject.co_lines` method "
106114
"instead."
107115
msgstr ""
108116

109-
#: ../../deprecations/pending-removal-in-future.rst:46
117+
#: ../../deprecations/pending-removal-in-future.rst:50
110118
msgid ":mod:`datetime`:"
111119
msgstr ""
112120

113-
#: ../../deprecations/pending-removal-in-future.rst:48
121+
#: ../../deprecations/pending-removal-in-future.rst:52
114122
msgid ""
115123
":meth:`~datetime.datetime.utcnow`: use ``datetime.datetime.now(tz=datetime."
116124
"UTC)``."
117125
msgstr ""
118126

119-
#: ../../deprecations/pending-removal-in-future.rst:50
127+
#: ../../deprecations/pending-removal-in-future.rst:54
120128
msgid ""
121129
":meth:`~datetime.datetime.utcfromtimestamp`: use ``datetime.datetime."
122130
"fromtimestamp(timestamp, tz=datetime.UTC)``."
123131
msgstr ""
124132

125-
#: ../../deprecations/pending-removal-in-future.rst:53
133+
#: ../../deprecations/pending-removal-in-future.rst:57
126134
msgid ":mod:`gettext`: Plural value must be an integer."
127135
msgstr ""
128136

129-
#: ../../deprecations/pending-removal-in-future.rst:55
137+
#: ../../deprecations/pending-removal-in-future.rst:59
130138
msgid ":mod:`importlib`:"
131139
msgstr ""
132140

133-
#: ../../deprecations/pending-removal-in-future.rst:57
141+
#: ../../deprecations/pending-removal-in-future.rst:61
134142
msgid "``load_module()`` method: use ``exec_module()`` instead."
135143
msgstr ""
136144

137-
#: ../../deprecations/pending-removal-in-future.rst:58
145+
#: ../../deprecations/pending-removal-in-future.rst:62
138146
msgid ""
139147
":func:`~importlib.util.cache_from_source` *debug_override* parameter is "
140148
"deprecated: use the *optimization* parameter instead."
141149
msgstr ""
142150

143-
#: ../../deprecations/pending-removal-in-future.rst:61
151+
#: ../../deprecations/pending-removal-in-future.rst:65
144152
msgid ":mod:`importlib.metadata`:"
145153
msgstr ""
146154

147-
#: ../../deprecations/pending-removal-in-future.rst:63
155+
#: ../../deprecations/pending-removal-in-future.rst:67
148156
msgid "``EntryPoints`` tuple interface."
149157
msgstr ""
150158

151-
#: ../../deprecations/pending-removal-in-future.rst:64
159+
#: ../../deprecations/pending-removal-in-future.rst:68
152160
msgid "Implicit ``None`` on return values."
153161
msgstr ""
154162

155-
#: ../../deprecations/pending-removal-in-future.rst:66
163+
#: ../../deprecations/pending-removal-in-future.rst:70
156164
msgid ""
157165
":mod:`mailbox`: Use of StringIO input and text mode is deprecated, use "
158166
"BytesIO and binary mode instead."
159167
msgstr ""
160168

161-
#: ../../deprecations/pending-removal-in-future.rst:69
169+
#: ../../deprecations/pending-removal-in-future.rst:73
162170
msgid ""
163171
":mod:`os`: Calling :func:`os.register_at_fork` in multi-threaded process."
164172
msgstr ""
165173

166-
#: ../../deprecations/pending-removal-in-future.rst:71
174+
#: ../../deprecations/pending-removal-in-future.rst:75
167175
msgid ""
168176
":class:`!pydoc.ErrorDuringImport`: A tuple value for *exc_info* parameter is "
169177
"deprecated, use an exception instance."
170178
msgstr ""
171179

172-
#: ../../deprecations/pending-removal-in-future.rst:74
180+
#: ../../deprecations/pending-removal-in-future.rst:78
173181
msgid ""
174182
":mod:`re`: More strict rules are now applied for numerical group references "
175183
"and group names in regular expressions. Only sequence of ASCII digits is "
@@ -178,193 +186,193 @@ msgid ""
178186
"underscore. (Contributed by Serhiy Storchaka in :gh:`91760`.)"
179187
msgstr ""
180188

181-
#: ../../deprecations/pending-removal-in-future.rst:81
189+
#: ../../deprecations/pending-removal-in-future.rst:85
182190
msgid ""
183191
":mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!sre_parse` modules."
184192
msgstr ""
185193

186-
#: ../../deprecations/pending-removal-in-future.rst:83
194+
#: ../../deprecations/pending-removal-in-future.rst:87
187195
msgid ""
188196
":mod:`shutil`: :func:`~shutil.rmtree`'s *onerror* parameter is deprecated in "
189197
"Python 3.12; use the *onexc* parameter instead."
190198
msgstr ""
191199

192-
#: ../../deprecations/pending-removal-in-future.rst:86
200+
#: ../../deprecations/pending-removal-in-future.rst:90
193201
msgid ":mod:`ssl` options and protocols:"
194202
msgstr ""
195203

196-
#: ../../deprecations/pending-removal-in-future.rst:88
204+
#: ../../deprecations/pending-removal-in-future.rst:92
197205
msgid ":class:`ssl.SSLContext` without protocol argument is deprecated."
198206
msgstr ""
199207

200-
#: ../../deprecations/pending-removal-in-future.rst:89
208+
#: ../../deprecations/pending-removal-in-future.rst:93
201209
msgid ""
202210
":class:`ssl.SSLContext`: :meth:`~ssl.SSLContext.set_npn_protocols` and :meth:"
203211
"`!selected_npn_protocol` are deprecated: use ALPN instead."
204212
msgstr ""
205213

206-
#: ../../deprecations/pending-removal-in-future.rst:92
214+
#: ../../deprecations/pending-removal-in-future.rst:96
207215
msgid "``ssl.OP_NO_SSL*`` options"
208216
msgstr ""
209217

210-
#: ../../deprecations/pending-removal-in-future.rst:93
218+
#: ../../deprecations/pending-removal-in-future.rst:97
211219
msgid "``ssl.OP_NO_TLS*`` options"
212220
msgstr ""
213221

214-
#: ../../deprecations/pending-removal-in-future.rst:94
222+
#: ../../deprecations/pending-removal-in-future.rst:98
215223
msgid "``ssl.PROTOCOL_SSLv3``"
216224
msgstr ""
217225

218-
#: ../../deprecations/pending-removal-in-future.rst:95
226+
#: ../../deprecations/pending-removal-in-future.rst:99
219227
msgid "``ssl.PROTOCOL_TLS``"
220228
msgstr ""
221229

222-
#: ../../deprecations/pending-removal-in-future.rst:96
230+
#: ../../deprecations/pending-removal-in-future.rst:100
223231
msgid "``ssl.PROTOCOL_TLSv1``"
224232
msgstr ""
225233

226-
#: ../../deprecations/pending-removal-in-future.rst:97
234+
#: ../../deprecations/pending-removal-in-future.rst:101
227235
msgid "``ssl.PROTOCOL_TLSv1_1``"
228236
msgstr ""
229237

230-
#: ../../deprecations/pending-removal-in-future.rst:98
238+
#: ../../deprecations/pending-removal-in-future.rst:102
231239
msgid "``ssl.PROTOCOL_TLSv1_2``"
232240
msgstr ""
233241

234-
#: ../../deprecations/pending-removal-in-future.rst:99
242+
#: ../../deprecations/pending-removal-in-future.rst:103
235243
msgid "``ssl.TLSVersion.SSLv3``"
236244
msgstr ""
237245

238-
#: ../../deprecations/pending-removal-in-future.rst:100
246+
#: ../../deprecations/pending-removal-in-future.rst:104
239247
msgid "``ssl.TLSVersion.TLSv1``"
240248
msgstr ""
241249

242-
#: ../../deprecations/pending-removal-in-future.rst:101
250+
#: ../../deprecations/pending-removal-in-future.rst:105
243251
msgid "``ssl.TLSVersion.TLSv1_1``"
244252
msgstr ""
245253

246-
#: ../../deprecations/pending-removal-in-future.rst:103
254+
#: ../../deprecations/pending-removal-in-future.rst:107
247255
msgid ""
248256
":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and "
249257
"ignored."
250258
msgstr ""
251259

252-
#: ../../deprecations/pending-removal-in-future.rst:106
260+
#: ../../deprecations/pending-removal-in-future.rst:110
253261
msgid ":mod:`threading` methods:"
254262
msgstr ""
255263

256-
#: ../../deprecations/pending-removal-in-future.rst:108
264+
#: ../../deprecations/pending-removal-in-future.rst:112
257265
msgid ""
258266
":meth:`!threading.Condition.notifyAll`: use :meth:`~threading.Condition."
259267
"notify_all`."
260268
msgstr ""
261269

262-
#: ../../deprecations/pending-removal-in-future.rst:109
270+
#: ../../deprecations/pending-removal-in-future.rst:113
263271
msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`."
264272
msgstr ""
265273

266-
#: ../../deprecations/pending-removal-in-future.rst:110
274+
#: ../../deprecations/pending-removal-in-future.rst:114
267275
msgid ""
268276
":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use :"
269277
"attr:`threading.Thread.daemon` attribute."
270278
msgstr ""
271279

272-
#: ../../deprecations/pending-removal-in-future.rst:112
280+
#: ../../deprecations/pending-removal-in-future.rst:116
273281
msgid ""
274282
":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use :"
275283
"attr:`threading.Thread.name` attribute."
276284
msgstr ""
277285

278-
#: ../../deprecations/pending-removal-in-future.rst:114
286+
#: ../../deprecations/pending-removal-in-future.rst:118
279287
msgid ":meth:`!threading.currentThread`: use :meth:`threading.current_thread`."
280288
msgstr ""
281289

282-
#: ../../deprecations/pending-removal-in-future.rst:115
290+
#: ../../deprecations/pending-removal-in-future.rst:119
283291
msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`."
284292
msgstr ""
285293

286-
#: ../../deprecations/pending-removal-in-future.rst:117
294+
#: ../../deprecations/pending-removal-in-future.rst:121
287295
msgid ":class:`typing.Text` (:gh:`92332`)."
288296
msgstr ""
289297

290-
#: ../../deprecations/pending-removal-in-future.rst:119
298+
#: ../../deprecations/pending-removal-in-future.rst:123
291299
msgid ""
292300
":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a "
293301
"value that is not ``None`` from a test case."
294302
msgstr ""
295303

296-
#: ../../deprecations/pending-removal-in-future.rst:122
304+
#: ../../deprecations/pending-removal-in-future.rst:126
297305
msgid ""
298306
":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` "
299307
"instead"
300308
msgstr ""
301309

302-
#: ../../deprecations/pending-removal-in-future.rst:124
310+
#: ../../deprecations/pending-removal-in-future.rst:128
303311
msgid "``splitattr()``"
304312
msgstr ""
305313

306-
#: ../../deprecations/pending-removal-in-future.rst:125
314+
#: ../../deprecations/pending-removal-in-future.rst:129
307315
msgid "``splithost()``"
308316
msgstr ""
309317

310-
#: ../../deprecations/pending-removal-in-future.rst:126
318+
#: ../../deprecations/pending-removal-in-future.rst:130
311319
msgid "``splitnport()``"
312320
msgstr ""
313321

314-
#: ../../deprecations/pending-removal-in-future.rst:127
322+
#: ../../deprecations/pending-removal-in-future.rst:131
315323
msgid "``splitpasswd()``"
316324
msgstr ""
317325

318-
#: ../../deprecations/pending-removal-in-future.rst:128
326+
#: ../../deprecations/pending-removal-in-future.rst:132
319327
msgid "``splitport()``"
320328
msgstr ""
321329

322-
#: ../../deprecations/pending-removal-in-future.rst:129
330+
#: ../../deprecations/pending-removal-in-future.rst:133
323331
msgid "``splitquery()``"
324332
msgstr ""
325333

326-
#: ../../deprecations/pending-removal-in-future.rst:130
334+
#: ../../deprecations/pending-removal-in-future.rst:134
327335
msgid "``splittag()``"
328336
msgstr ""
329337

330-
#: ../../deprecations/pending-removal-in-future.rst:131
338+
#: ../../deprecations/pending-removal-in-future.rst:135
331339
msgid "``splittype()``"
332340
msgstr ""
333341

334-
#: ../../deprecations/pending-removal-in-future.rst:132
342+
#: ../../deprecations/pending-removal-in-future.rst:136
335343
msgid "``splituser()``"
336344
msgstr ""
337345

338-
#: ../../deprecations/pending-removal-in-future.rst:133
346+
#: ../../deprecations/pending-removal-in-future.rst:137
339347
msgid "``splitvalue()``"
340348
msgstr ""
341349

342-
#: ../../deprecations/pending-removal-in-future.rst:134
350+
#: ../../deprecations/pending-removal-in-future.rst:138
343351
msgid "``to_bytes()``"
344352
msgstr ""
345353

346-
#: ../../deprecations/pending-removal-in-future.rst:136
354+
#: ../../deprecations/pending-removal-in-future.rst:140
347355
msgid ""
348356
":mod:`urllib.request`: :class:`~urllib.request.URLopener` and :class:"
349357
"`~urllib.request.FancyURLopener` style of invoking requests is deprecated. "
350358
"Use newer :func:`~urllib.request.urlopen` functions and methods."
351359
msgstr ""
352360

353-
#: ../../deprecations/pending-removal-in-future.rst:140
361+
#: ../../deprecations/pending-removal-in-future.rst:144
354362
msgid ""
355363
":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial "
356364
"writes."
357365
msgstr ""
358366

359-
#: ../../deprecations/pending-removal-in-future.rst:143
367+
#: ../../deprecations/pending-removal-in-future.rst:147
360368
msgid ""
361369
":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`~xml."
362370
"etree.ElementTree.Element` is deprecated. In a future release it will always "
363371
"return ``True``. Prefer explicit ``len(elem)`` or ``elem is not None`` tests "
364372
"instead."
365373
msgstr ""
366374

367-
#: ../../deprecations/pending-removal-in-future.rst:148
375+
#: ../../deprecations/pending-removal-in-future.rst:152
368376
msgid ""
369377
":meth:`zipimport.zipimporter.load_module` is deprecated: use :meth:"
370378
"`~zipimport.zipimporter.exec_module` instead."

0 commit comments

Comments
 (0)