Make merge of 3.9 (#1505)

This commit is contained in:
Julien Palard 2020-12-18 07:09:57 +01:00 committed by GitHub
commit 25e6bb0dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-24 09:01+0200\n"
"POT-Creation-Date: 2020-12-17 16:05+0100\n"
"PO-Revision-Date: 2018-10-18 09:48+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -149,7 +149,13 @@ msgstr ""
msgid "This function is safe to call before :c:func:`Py_Initialize`."
msgstr ""
#: c-api/file.rst:93
#: c-api/file.rst:86
msgid ""
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
"arguments."
msgstr ""
#: c-api/file.rst:95
msgid ""
"Write object *obj* to file object *p*. The only supported flag for *flags* "
"is :const:`Py_PRINT_RAW`; if given, the :func:`str` of the object is written "
@ -161,7 +167,7 @@ msgstr ""
"l'objet est écrit à la place de l'attribut :func:`repr`. Retourne ``0`` en "
"cas de succès ou ``-1`` en cas échec ; l'exception appropriée sera levée."
#: c-api/file.rst:101
#: c-api/file.rst:103
msgid ""
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
"failure; the appropriate exception will be set."

View file

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-01 16:00+0200\n"
"POT-Creation-Date: 2020-12-17 16:05+0100\n"
"PO-Revision-Date: 2018-02-15 00:33+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -184,11 +184,12 @@ msgstr ""
#: c-api/type.rst:158
msgid ""
"If *bases* is ``NULL``, the *Py_tp_base* slot is used instead. If that also "
"is ``NULL``, the new type derives from :class:`object`."
"If *bases* is ``NULL``, the *Py_tp_bases* slot is used instead. If that also "
"is ``NULL``, the *Py_tp_base* slot is used instead. If that also is "
"``NULL``, the new type derives from :class:`object`."
msgstr ""
#: c-api/type.rst:161
#: c-api/type.rst:162
msgid ""
"The *module* argument can be used to record the module in which the new "
"class is defined. It must be a module object or ``NULL``. If not ``NULL``, "
@ -197,59 +198,59 @@ msgid ""
"subclasses; it must be specified for each class individually."
msgstr ""
#: c-api/type.rst:168
#: c-api/type.rst:169
msgid "This function calls :c:func:`PyType_Ready` on the new type."
msgstr ""
#: c-api/type.rst:174
#: c-api/type.rst:175
msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``."
msgstr ""
#: c-api/type.rst:180
#: c-api/type.rst:181
msgid "Equivalent to ``PyType_FromSpecWithBases(spec, NULL)``."
msgstr ""
#: c-api/type.rst:184
#: c-api/type.rst:185
msgid "Structure defining a type's behavior."
msgstr ""
#: c-api/type.rst:188
#: c-api/type.rst:189
msgid "Name of the type, used to set :c:member:`PyTypeObject.tp_name`."
msgstr ""
#: c-api/type.rst:193
#: c-api/type.rst:194
msgid ""
"Size of the instance in bytes, used to set :c:member:`PyTypeObject."
"tp_basicsize` and :c:member:`PyTypeObject.tp_itemsize`."
msgstr ""
#: c-api/type.rst:199
#: c-api/type.rst:200
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
msgstr ""
#: c-api/type.rst:201
#: c-api/type.rst:202
msgid ""
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
"`PyType_FromSpecWithBases` sets it automatically."
msgstr ""
#: c-api/type.rst:206
#: c-api/type.rst:207
msgid ""
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
"value ``{0, NULL}``."
msgstr ""
#: c-api/type.rst:211
#: c-api/type.rst:212
msgid ""
"Structure defining optional functionality of a type, containing a slot ID "
"and a value pointer."
msgstr ""
#: c-api/type.rst:216
#: c-api/type.rst:217
msgid "A slot ID."
msgstr ""
#: c-api/type.rst:218
#: c-api/type.rst:219
msgid ""
"Slot IDs are named like the field names of the structures :c:type:"
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
@ -257,97 +258,97 @@ msgid ""
"prefix. For example, use:"
msgstr ""
#: c-api/type.rst:224
#: c-api/type.rst:225
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
msgstr ""
#: c-api/type.rst:225
#: c-api/type.rst:226
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
msgstr ""
#: c-api/type.rst:226
#: c-api/type.rst:227
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
msgstr ""
#: c-api/type.rst:228
#: c-api/type.rst:229
msgid ""
"The following fields cannot be set at all using :c:type:`PyType_Spec` and :c:"
"type:`PyType_Slot`:"
msgstr ""
#: c-api/type.rst:231
#: c-api/type.rst:232
msgid ":c:member:`~PyTypeObject.tp_dict`"
msgstr ""
#: c-api/type.rst:232
#: c-api/type.rst:233
msgid ":c:member:`~PyTypeObject.tp_mro`"
msgstr ""
#: c-api/type.rst:233
#: c-api/type.rst:234
msgid ":c:member:`~PyTypeObject.tp_cache`"
msgstr ""
#: c-api/type.rst:234
#: c-api/type.rst:235
msgid ":c:member:`~PyTypeObject.tp_subclasses`"
msgstr ""
#: c-api/type.rst:235
#: c-api/type.rst:236
msgid ":c:member:`~PyTypeObject.tp_weaklist`"
msgstr ""
#: c-api/type.rst:236
#: c-api/type.rst:237
msgid ":c:member:`~PyTypeObject.tp_vectorcall`"
msgstr ""
#: c-api/type.rst:237
#: c-api/type.rst:238
msgid ""
":c:member:`~PyTypeObject.tp_weaklistoffset` (see :ref:`PyMemberDef "
"<pymemberdef-offsets>`)"
msgstr ""
#: c-api/type.rst:239
#: c-api/type.rst:240
msgid ""
":c:member:`~PyTypeObject.tp_dictoffset` (see :ref:`PyMemberDef <pymemberdef-"
"offsets>`)"
msgstr ""
#: c-api/type.rst:241
#: c-api/type.rst:242
msgid ""
":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef "
"<pymemberdef-offsets>`)"
msgstr ""
#: c-api/type.rst:244
#: c-api/type.rst:245
msgid ""
"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:"
"`PyType_Slot` under the limited API:"
msgstr ""
#: c-api/type.rst:247
#: c-api/type.rst:248
msgid ":c:member:`~PyBufferProcs.bf_getbuffer`"
msgstr ""
#: c-api/type.rst:248
#: c-api/type.rst:249
msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`"
msgstr ""
#: c-api/type.rst:250
#: c-api/type.rst:251
msgid ""
"Setting :c:data:`Py_tp_bases` may be problematic on some platforms. To avoid "
"issues, use the *bases* argument of :py:func:`PyType_FromSpecWithBases` "
"instead."
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
"some platforms. To avoid issues, use the *bases* argument of :py:func:"
"`PyType_FromSpecWithBases` instead."
msgstr ""
#: c-api/type.rst:256
#: c-api/type.rst:258
msgid "Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API."
msgstr ""
#: c-api/type.rst:260
#: c-api/type.rst:262
msgid ""
"The desired value of the slot. In most cases, this is a pointer to a "
"function."
msgstr ""
#: c-api/type.rst:263
#: c-api/type.rst:265
msgid "May not be ``NULL``."
msgstr ""