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

Skip to content

Commit 25e6bb0

Browse files
authored
Make merge of 3.9 (#1505)
1 parent f7ae379 commit 25e6bb0

Some content is hidden

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

56 files changed

+45877
-4429
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# from which we generated our po files. We use it here so when we
2222
# test build, we're building with the .rst files that generated our
2323
# .po files.
24-
CPYTHON_CURRENT_COMMIT := b30934e9afb0af3f8e2e5f0992445be775b3c630
24+
CPYTHON_CURRENT_COMMIT := bf353f3c2d937772a8cf30b15fd8eb7b82665ccb
2525

2626
CPYTHON_PATH := ../cpython/
2727

c-api/file.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2020-08-24 09:01+0200\n"
8+
"POT-Creation-Date: 2020-12-17 16:05+0100\n"
99
"PO-Revision-Date: 2018-10-18 09:48+0200\n"
1010
"Last-Translator: \n"
1111
"Language-Team: FRENCH <[email protected]>\n"
@@ -149,7 +149,13 @@ msgstr ""
149149
msgid "This function is safe to call before :c:func:`Py_Initialize`."
150150
msgstr ""
151151

152-
#: c-api/file.rst:93
152+
#: c-api/file.rst:86
153+
msgid ""
154+
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
155+
"arguments."
156+
msgstr ""
157+
158+
#: c-api/file.rst:95
153159
msgid ""
154160
"Write object *obj* to file object *p*. The only supported flag for *flags* "
155161
"is :const:`Py_PRINT_RAW`; if given, the :func:`str` of the object is written "
@@ -161,7 +167,7 @@ msgstr ""
161167
"l'objet est écrit à la place de l'attribut :func:`repr`. Retourne ``0`` en "
162168
"cas de succès ou ``-1`` en cas échec ; l'exception appropriée sera levée."
163169

164-
#: c-api/file.rst:101
170+
#: c-api/file.rst:103
165171
msgid ""
166172
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
167173
"failure; the appropriate exception will be set."

c-api/type.po

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2020-10-01 16:00+0200\n"
8+
"POT-Creation-Date: 2020-12-17 16:05+0100\n"
99
"PO-Revision-Date: 2018-02-15 00:33+0100\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
@@ -184,11 +184,12 @@ msgstr ""
184184

185185
#: c-api/type.rst:158
186186
msgid ""
187-
"If *bases* is ``NULL``, the *Py_tp_base* slot is used instead. If that also "
188-
"is ``NULL``, the new type derives from :class:`object`."
187+
"If *bases* is ``NULL``, the *Py_tp_bases* slot is used instead. If that also "
188+
"is ``NULL``, the *Py_tp_base* slot is used instead. If that also is "
189+
"``NULL``, the new type derives from :class:`object`."
189190
msgstr ""
190191

191-
#: c-api/type.rst:161
192+
#: c-api/type.rst:162
192193
msgid ""
193194
"The *module* argument can be used to record the module in which the new "
194195
"class is defined. It must be a module object or ``NULL``. If not ``NULL``, "
@@ -197,157 +198,157 @@ msgid ""
197198
"subclasses; it must be specified for each class individually."
198199
msgstr ""
199200

200-
#: c-api/type.rst:168
201+
#: c-api/type.rst:169
201202
msgid "This function calls :c:func:`PyType_Ready` on the new type."
202203
msgstr ""
203204

204-
#: c-api/type.rst:174
205+
#: c-api/type.rst:175
205206
msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``."
206207
msgstr ""
207208

208-
#: c-api/type.rst:180
209+
#: c-api/type.rst:181
209210
msgid "Equivalent to ``PyType_FromSpecWithBases(spec, NULL)``."
210211
msgstr ""
211212

212-
#: c-api/type.rst:184
213+
#: c-api/type.rst:185
213214
msgid "Structure defining a type's behavior."
214215
msgstr ""
215216

216-
#: c-api/type.rst:188
217+
#: c-api/type.rst:189
217218
msgid "Name of the type, used to set :c:member:`PyTypeObject.tp_name`."
218219
msgstr ""
219220

220-
#: c-api/type.rst:193
221+
#: c-api/type.rst:194
221222
msgid ""
222223
"Size of the instance in bytes, used to set :c:member:`PyTypeObject."
223224
"tp_basicsize` and :c:member:`PyTypeObject.tp_itemsize`."
224225
msgstr ""
225226

226-
#: c-api/type.rst:199
227+
#: c-api/type.rst:200
227228
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
228229
msgstr ""
229230

230-
#: c-api/type.rst:201
231+
#: c-api/type.rst:202
231232
msgid ""
232233
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
233234
"`PyType_FromSpecWithBases` sets it automatically."
234235
msgstr ""
235236

236-
#: c-api/type.rst:206
237+
#: c-api/type.rst:207
237238
msgid ""
238239
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
239240
"value ``{0, NULL}``."
240241
msgstr ""
241242

242-
#: c-api/type.rst:211
243+
#: c-api/type.rst:212
243244
msgid ""
244245
"Structure defining optional functionality of a type, containing a slot ID "
245246
"and a value pointer."
246247
msgstr ""
247248

248-
#: c-api/type.rst:216
249+
#: c-api/type.rst:217
249250
msgid "A slot ID."
250251
msgstr ""
251252

252-
#: c-api/type.rst:218
253+
#: c-api/type.rst:219
253254
msgid ""
254255
"Slot IDs are named like the field names of the structures :c:type:"
255256
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
256257
"type:`PyMappingMethods` and :c:type:`PyAsyncMethods` with an added ``Py_`` "
257258
"prefix. For example, use:"
258259
msgstr ""
259260

260-
#: c-api/type.rst:224
261+
#: c-api/type.rst:225
261262
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
262263
msgstr ""
263264

264-
#: c-api/type.rst:225
265+
#: c-api/type.rst:226
265266
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
266267
msgstr ""
267268

268-
#: c-api/type.rst:226
269+
#: c-api/type.rst:227
269270
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
270271
msgstr ""
271272

272-
#: c-api/type.rst:228
273+
#: c-api/type.rst:229
273274
msgid ""
274275
"The following fields cannot be set at all using :c:type:`PyType_Spec` and :c:"
275276
"type:`PyType_Slot`:"
276277
msgstr ""
277278

278-
#: c-api/type.rst:231
279+
#: c-api/type.rst:232
279280
msgid ":c:member:`~PyTypeObject.tp_dict`"
280281
msgstr ""
281282

282-
#: c-api/type.rst:232
283+
#: c-api/type.rst:233
283284
msgid ":c:member:`~PyTypeObject.tp_mro`"
284285
msgstr ""
285286

286-
#: c-api/type.rst:233
287+
#: c-api/type.rst:234
287288
msgid ":c:member:`~PyTypeObject.tp_cache`"
288289
msgstr ""
289290

290-
#: c-api/type.rst:234
291+
#: c-api/type.rst:235
291292
msgid ":c:member:`~PyTypeObject.tp_subclasses`"
292293
msgstr ""
293294

294-
#: c-api/type.rst:235
295+
#: c-api/type.rst:236
295296
msgid ":c:member:`~PyTypeObject.tp_weaklist`"
296297
msgstr ""
297298

298-
#: c-api/type.rst:236
299+
#: c-api/type.rst:237
299300
msgid ":c:member:`~PyTypeObject.tp_vectorcall`"
300301
msgstr ""
301302

302-
#: c-api/type.rst:237
303+
#: c-api/type.rst:238
303304
msgid ""
304305
":c:member:`~PyTypeObject.tp_weaklistoffset` (see :ref:`PyMemberDef "
305306
"<pymemberdef-offsets>`)"
306307
msgstr ""
307308

308-
#: c-api/type.rst:239
309+
#: c-api/type.rst:240
309310
msgid ""
310311
":c:member:`~PyTypeObject.tp_dictoffset` (see :ref:`PyMemberDef <pymemberdef-"
311312
"offsets>`)"
312313
msgstr ""
313314

314-
#: c-api/type.rst:241
315+
#: c-api/type.rst:242
315316
msgid ""
316317
":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef "
317318
"<pymemberdef-offsets>`)"
318319
msgstr ""
319320

320-
#: c-api/type.rst:244
321+
#: c-api/type.rst:245
321322
msgid ""
322323
"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:"
323324
"`PyType_Slot` under the limited API:"
324325
msgstr ""
325326

326-
#: c-api/type.rst:247
327+
#: c-api/type.rst:248
327328
msgid ":c:member:`~PyBufferProcs.bf_getbuffer`"
328329
msgstr ""
329330

330-
#: c-api/type.rst:248
331+
#: c-api/type.rst:249
331332
msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`"
332333
msgstr ""
333334

334-
#: c-api/type.rst:250
335+
#: c-api/type.rst:251
335336
msgid ""
336-
"Setting :c:data:`Py_tp_bases` may be problematic on some platforms. To avoid "
337-
"issues, use the *bases* argument of :py:func:`PyType_FromSpecWithBases` "
338-
"instead."
337+
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
338+
"some platforms. To avoid issues, use the *bases* argument of :py:func:"
339+
"`PyType_FromSpecWithBases` instead."
339340
msgstr ""
340341

341-
#: c-api/type.rst:256
342+
#: c-api/type.rst:258
342343
msgid "Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API."
343344
msgstr ""
344345

345-
#: c-api/type.rst:260
346+
#: c-api/type.rst:262
346347
msgid ""
347348
"The desired value of the slot. In most cases, this is a pointer to a "
348349
"function."
349350
msgstr ""
350351

351-
#: c-api/type.rst:263
352+
#: c-api/type.rst:265
352353
msgid "May not be ``NULL``."
353354
msgstr ""

0 commit comments

Comments
 (0)