1
0
Fork 0

make merge from cpython:25ce77dd2455abbb6e2c9e055bbc98954642fa7c (#987)

* make merge from cpython:25ce77dd2455abbb6e2c9e055bbc98954642fa7c

* Fixed silly fuzzies for CI

* More make merge from my PRs
This commit is contained in:
Jules Lasne (jlasne) 2019-11-15 23:57:16 +01:00 committed by GitHub
parent 8fa3780ebe
commit 3de5dcdad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
131 changed files with 5107 additions and 4437 deletions

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:14+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -114,7 +114,7 @@ msgstr "Sauf indication contraire, les tampons ne se terminent pas par NUL."
msgid ""
"Some formats require a read-only :term:`bytes-like object`, and set a "
"pointer instead of a buffer structure. They work by checking that the "
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is *NULL*, which "
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which "
"disallows mutable objects such as :class:`bytearray`."
msgstr ""
@ -196,9 +196,10 @@ msgid "``z`` (:class:`str` or ``None``) [const char \\*]"
msgstr "``z`` (:class:`str` ou ``None``) [``const char *``]"
#: ../Doc/c-api/arg.rst:101
#, fuzzy
msgid ""
"Like ``s``, but the Python object may also be ``None``, in which case the C "
"pointer is set to *NULL*."
"pointer is set to ``NULL``."
msgstr ""
"Comme ``s``, mais l'objet Python peut aussi être ``None``, auquel cas le "
"pointeur C devient *NULL*."
@ -210,10 +211,13 @@ msgstr ""
"``z*`` (:class:`str`, :term:`bytes-like object` ou ``None``) [``Py_buffer``]"
#: ../Doc/c-api/arg.rst:105
#, fuzzy
msgid ""
"Like ``s*``, but the Python object may also be ``None``, in which case the "
"``buf`` member of the :c:type:`Py_buffer` structure is set to *NULL*."
"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``."
msgstr ""
"Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le "
"pointeur :c:type:`Py_UNICODE` vaut *NULL*."
#: ../Doc/c-api/arg.rst:110
msgid ""
@ -222,9 +226,10 @@ msgid ""
msgstr ""
#: ../Doc/c-api/arg.rst:109
#, fuzzy
msgid ""
"Like ``s#``, but the Python object may also be ``None``, in which case the C "
"pointer is set to *NULL*."
"pointer is set to ``NULL``."
msgstr ""
"Comme ``s#``, mais l'objet Python peut également être ``None``, dans ce cas "
"le pointeur C est définie à *NULL*."
@ -330,9 +335,10 @@ msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
msgstr "``Z`` (:class:`str` ou ``None``) [``const Py_UNICODE *``]"
#: ../Doc/c-api/arg.rst:168
#, fuzzy
msgid ""
"Like ``u``, but the Python object may also be ``None``, in which case the :c:"
"type:`Py_UNICODE` pointer is set to *NULL*."
"type:`Py_UNICODE` pointer is set to ``NULL``."
msgstr ""
"Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le "
"pointeur :c:type:`Py_UNICODE` vaut *NULL*."
@ -342,9 +348,10 @@ msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
msgstr "``Z#`` (:class:`str` ou ``None``) [``const Py_UNICODE *``, ``int``]"
#: ../Doc/c-api/arg.rst:176
#, fuzzy
msgid ""
"Like ``u#``, but the Python object may also be ``None``, in which case the :"
"c:type:`Py_UNICODE` pointer is set to *NULL*."
"c:type:`Py_UNICODE` pointer is set to ``NULL``."
msgstr ""
"Comme ``u#``, mais l'objet Python peut également être ``None``, auquel cas "
"le pointeur :c:type:`Py_UNICODE` vaut *NULL*."
@ -386,7 +393,7 @@ msgstr ""
msgid ""
"This format requires two arguments. The first is only used as input, and "
"must be a :c:type:`const char\\*` which points to the name of an encoding as "
"a NUL-terminated string, or *NULL*, in which case ``'utf-8'`` encoding is "
"a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
"used. An exception is raised if the named encoding is not known to Python. "
"The second argument must be a :c:type:`char\\*\\*`; the value of the pointer "
"it references will be set to a buffer with the contents of the argument "
@ -432,8 +439,8 @@ msgstr ""
msgid ""
"It requires three arguments. The first is only used as input, and must be "
"a :c:type:`const char\\*` which points to the name of an encoding as a NUL-"
"terminated string, or *NULL*, in which case ``'utf-8'`` encoding is used. An "
"exception is raised if the named encoding is not known to Python. The "
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
"An exception is raised if the named encoding is not known to Python. The "
"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it "
"references will be set to a buffer with the contents of the argument text. "
"The text will be encoded in the encoding specified by the first argument. "
@ -447,8 +454,8 @@ msgstr "Il existe deux modes de fonctionnement :"
#: ../Doc/c-api/arg.rst:233
msgid ""
"If *\\*buffer* points a *NULL* pointer, the function will allocate a buffer "
"of the needed size, copy the encoded data into this buffer and set *"
"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a "
"buffer of the needed size, copy the encoded data into this buffer and set *"
"\\*buffer* to reference the newly allocated storage. The caller is "
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer "
"after usage."
@ -456,7 +463,7 @@ msgstr ""
#: ../Doc/c-api/arg.rst:238
msgid ""
"If *\\*buffer* points to a non-*NULL* pointer (an already allocated "
"If *\\*buffer* points to a non-``NULL`` pointer (an already allocated "
"buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and "
"interpret the initial value of *\\*buffer_length* as the buffer size. It "
"will then copy the encoded data into the buffer and NUL-terminate it. If "
@ -661,10 +668,11 @@ msgid "``O`` (object) [PyObject \\*]"
msgstr "``O`` (objet) [``PyObject *``]"
#: ../Doc/c-api/arg.rst:318
#, fuzzy
msgid ""
"Store a Python object (without any conversion) in a C object pointer. The C "
"program thus receives the actual object that was passed. The object's "
"reference count is not increased. The pointer stored is not *NULL*."
"reference count is not increased. The pointer stored is not ``NULL``."
msgstr ""
"Stocke un objet Python (sans aucune conversion) en un pointeur sur un objet "
"C. Ainsi, Le programme C reçoit l'objet réel qui a été passé. Le compteur de "
@ -711,7 +719,7 @@ msgid ""
"If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a "
"second time if the argument parsing eventually fails, giving the converter a "
"chance to release any memory that it had already allocated. In this second "
"call, the *object* parameter will be NULL; *address* will have the same "
"call, the *object* parameter will be ``NULL``; *address* will have the same "
"value as in the original call."
msgstr ""
@ -871,7 +879,7 @@ msgstr ""
#: ../Doc/c-api/arg.rst:438
msgid ""
"Parse the parameters of a function that takes both positional and keyword "
"parameters into local variables. The *keywords* argument is a *NULL*-"
"parameters into local variables. The *keywords* argument is a ``NULL``-"
"terminated array of keyword parameter names. Empty names denote :ref:"
"`positional-only parameters <positional-only_parameter>`. Returns true on "
"success; on failure, it returns false and raises the appropriate exception."
@ -945,8 +953,8 @@ msgstr "Construction des valeurs"
msgid ""
"Create a new value based on a format string similar to those accepted by "
"the :c:func:`PyArg_Parse\\*` family of functions and a sequence of values. "
"Returns the value or *NULL* in the case of an error; an exception will be "
"raised if *NULL* is returned."
"Returns the value or ``NULL`` in the case of an error; an exception will be "
"raised if ``NULL`` is returned."
msgstr ""
#: ../Doc/c-api/arg.rst:526
@ -991,7 +999,7 @@ msgstr "``s`` (:class:`str` ou ``None``) [``const char *``]"
#: ../Doc/c-api/arg.rst:549
msgid ""
"Convert a null-terminated C string to a Python :class:`str` object using "
"``'utf-8'`` encoding. If the C string pointer is *NULL*, ``None`` is used."
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used."
msgstr ""
#: ../Doc/c-api/arg.rst:555
@ -1001,7 +1009,7 @@ msgstr "``s#`` (:class:`str` ou ``None``) [``const char *``, ``int``]"
#: ../Doc/c-api/arg.rst:553
msgid ""
"Convert a C string and its length to a Python :class:`str` object using "
"``'utf-8'`` encoding. If the C string pointer is *NULL*, the length is "
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is "
"ignored and ``None`` is returned."
msgstr ""
@ -1012,7 +1020,7 @@ msgstr "``y`` (:class:`bytes`) [``const char *``]"
#: ../Doc/c-api/arg.rst:558
msgid ""
"This converts a C string to a Python :class:`bytes` object. If the C string "
"pointer is *NULL*, ``None`` is returned."
"pointer is ``NULL``, ``None`` is returned."
msgstr ""
#: ../Doc/c-api/arg.rst:563
@ -1022,7 +1030,7 @@ msgstr "``y#`` (:class:`bytes`) [``const char *, int``]"
#: ../Doc/c-api/arg.rst:562
msgid ""
"This converts a C string and its lengths to a Python object. If the C "
"string pointer is *NULL*, ``None`` is returned."
"string pointer is ``NULL``, ``None`` is returned."
msgstr ""
#: ../Doc/c-api/arg.rst:566 ../Doc/c-api/arg.rst:582
@ -1045,7 +1053,7 @@ msgstr "``u`` (:class:`str`) [``const wchar_t *``]"
msgid ""
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
"*NULL*, ``None`` is returned."
"``NULL``, ``None`` is returned."
msgstr ""
#: ../Doc/c-api/arg.rst:579
@ -1055,7 +1063,7 @@ msgstr "``u#`` (:class:`str`) [``const wchar_t *``, ``int``]"
#: ../Doc/c-api/arg.rst:577
msgid ""
"Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python "
"Unicode object. If the Unicode buffer pointer is *NULL*, the length is "
"Unicode object. If the Unicode buffer pointer is ``NULL``, the length is "
"ignored and ``None`` is returned."
msgstr ""
@ -1150,11 +1158,11 @@ msgstr ""
#: ../Doc/c-api/arg.rst:638
msgid ""
"Pass a Python object untouched (except for its reference count, which is "
"incremented by one). If the object passed in is a *NULL* pointer, it is "
"incremented by one). If the object passed in is a ``NULL`` pointer, it is "
"assumed that this was caused because the call producing the argument found "
"an error and set an exception. Therefore, :c:func:`Py_BuildValue` will "
"return *NULL* but won't raise an exception. If no exception has been raised "
"yet, :exc:`SystemError` is set."
"return ``NULL`` but won't raise an exception. If no exception has been "
"raised yet, :exc:`SystemError` is set."
msgstr ""
#: ../Doc/c-api/arg.rst:646
@ -1181,7 +1189,7 @@ msgid ""
"Convert *anything* to a Python object through a *converter* function. The "
"function is called with *anything* (which should be compatible with :c:type:"
"`void \\*`) as its argument and should return a \"new\" Python object, or "
"*NULL* if an error occurred."
"``NULL`` if an error occurred."
msgstr ""
#: ../Doc/c-api/arg.rst:660
@ -1214,7 +1222,7 @@ msgstr ""
#: ../Doc/c-api/arg.rst:670
msgid ""
"If there is an error in the format string, the :exc:`SystemError` exception "
"is set and *NULL* returned."
"is set and ``NULL`` returned."
msgstr ""
#: ../Doc/c-api/arg.rst:675

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:18+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -202,7 +202,7 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:104
msgid ""
"A new reference to the exporting object. The reference is owned by the "
"consumer and automatically decremented and set to *NULL* by :c:func:"
"consumer and automatically decremented and set to ``NULL`` by :c:func:"
"`PyBuffer_Release`. The field is the equivalent of the return value of any "
"standard C-API function."
msgstr ""
@ -211,7 +211,7 @@ msgstr ""
msgid ""
"As a special case, for *temporary* buffers that are wrapped by :c:func:"
"`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field is "
"*NULL*. In general, exporting objects MUST NOT use this scheme."
"``NULL``. In general, exporting objects MUST NOT use this scheme."
msgstr ""
#: ../Doc/c-api/buffer.rst:116
@ -239,15 +239,15 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:132
msgid ""
"Item size in bytes of a single element. Same as the value of :func:`struct."
"calcsize` called on non-NULL :c:member:`~Py_buffer.format` values."
"calcsize` called on non-``NULL`` :c:member:`~Py_buffer.format` values."
msgstr ""
#: ../Doc/c-api/buffer.rst:135
msgid ""
"Important exception: If a consumer requests a buffer without the :c:macro:"
"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to *NULL*, "
"but :c:member:`~Py_buffer.itemsize` still has the value for the original "
"format."
"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to "
"``NULL``, but :c:member:`~Py_buffer.itemsize` still has the value for the "
"original format."
msgstr ""
#: ../Doc/c-api/buffer.rst:140
@ -259,7 +259,7 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:144
msgid ""
"If :c:member:`~Py_buffer.shape` is *NULL* as a result of a :c:macro:"
"If :c:member:`~Py_buffer.shape` is ``NULL`` as a result of a :c:macro:"
"`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer must "
"disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == 1``."
msgstr ""
@ -267,8 +267,8 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:150
msgid ""
"A *NUL* terminated string in :mod:`struct` module style syntax describing "
"the contents of a single item. If this is *NULL*, ``\"B\"`` (unsigned bytes) "
"is assumed."
"the contents of a single item. If this is ``NULL``, ``\"B\"`` (unsigned "
"bytes) is assumed."
msgstr ""
#: ../Doc/c-api/buffer.rst:154
@ -280,7 +280,7 @@ msgid ""
"The number of dimensions the memory represents as an n-dimensional array. If "
"it is ``0``, :c:member:`~Py_buffer.buf` points to a single item representing "
"a scalar. In this case, :c:member:`~Py_buffer.shape`, :c:member:`~Py_buffer."
"strides` and :c:member:`~Py_buffer.suboffsets` MUST be *NULL*."
"strides` and :c:member:`~Py_buffer.suboffsets` MUST be ``NULL``."
msgstr ""
#: ../Doc/c-api/buffer.rst:163
@ -337,7 +337,7 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:201
msgid ""
"If all suboffsets are negative (i.e. no de-referencing is needed), then this "
"field must be NULL (the default value)."
"field must be ``NULL`` (the default value)."
msgstr ""
#: ../Doc/c-api/buffer.rst:204
@ -403,7 +403,7 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:250
msgid ""
"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be "
"filled in correctly. Otherwise, this field MUST be *NULL*."
"filled in correctly. Otherwise, this field MUST be ``NULL``."
msgstr ""
#: ../Doc/c-api/buffer.rst:254
@ -566,12 +566,12 @@ msgid ""
"If ``ndim == 0``, the memory location pointed to by :c:member:`~Py_buffer."
"buf` is interpreted as a scalar of size :c:member:`~Py_buffer.itemsize`. In "
"that case, both :c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer."
"strides` are *NULL*."
"strides` are ``NULL``."
msgstr ""
#: ../Doc/c-api/buffer.rst:354
msgid ""
"If :c:member:`~Py_buffer.strides` is *NULL*, the array is interpreted as a "
"If :c:member:`~Py_buffer.strides` is ``NULL``, the array is interpreted as a "
"standard n-dimensional C-array. Otherwise, the consumer must access an n-"
"dimensional array as follows:"
msgstr ""
@ -601,8 +601,8 @@ msgstr ""
#: ../Doc/c-api/buffer.rst:409
msgid ""
"Here is a function that returns a pointer to the element in an N-D array "
"pointed to by an N-dimensional index when there are both non-NULL strides "
"and suboffsets::"
"pointed to by an N-dimensional index when there are both non-``NULL`` "
"strides and suboffsets::"
msgstr ""
#: ../Doc/c-api/buffer.rst:428
@ -620,7 +620,7 @@ msgstr ""
msgid ""
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
"the exporter cannot provide a buffer of the exact type, it MUST raise :c:"
"data:`PyExc_BufferError`, set :c:member:`view->obj` to *NULL* and return "
"data:`PyExc_BufferError`, set :c:member:`view->obj` to ``NULL`` and return "
"``-1``."
msgstr ""
@ -717,12 +717,12 @@ msgstr ""
msgid ""
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set :c:member:`view-"
">obj` to *NULL* and return ``-1``;"
">obj` to ``NULL`` and return ``-1``;"
msgstr ""
#: ../Doc/c-api/buffer.rst:521
msgid ""
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, "
"*exporter* MUST be set to the exporting object and *flags* must be passed "
"unmodified. Otherwise, *exporter* MUST be NULL."
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:21+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -65,9 +65,10 @@ msgstr ""
"implémente le :ref:`protocole buffer <bufferobjects>`."
#: ../Doc/c-api/bytearray.rst:50
#, fuzzy
msgid ""
"Create a new bytearray object from *string* and its length, *len*. On "
"failure, *NULL* is returned."
"failure, ``NULL`` is returned."
msgstr ""
"Crée un nouvel objet ``bytearray`` à partir d'un objet *string* et de sa "
"longueur, *len*. En cas d'échec, *NULL* est renvoyé."
@ -80,15 +81,17 @@ msgstr ""
"avec le résultat."
#: ../Doc/c-api/bytearray.rst:61
msgid "Return the size of *bytearray* after checking for a *NULL* pointer."
#, fuzzy
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
msgstr ""
"Renvoie la taille de *bytearray* après vérification de la présence d'un "
"pointeur *NULL*."
#: ../Doc/c-api/bytearray.rst:66
#, fuzzy
msgid ""
"Return the contents of *bytearray* as a char array after checking for a "
"*NULL* pointer. The returned array always has an extra null byte appended."
"``NULL`` pointer. The returned array always has an extra null byte appended."
msgstr ""
"Renvoie le contenu de *bytearray* sous forme d'un tableau de caractères, en "
"vérifiant que ce n'est pas un pointeur *NULL*. Le tableau renvoyé se termine "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-07-03 11:50+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -49,15 +49,15 @@ msgstr ""
#: ../Doc/c-api/bytes.rst:39
msgid ""
"Return a new bytes object with a copy of the string *v* as value on success, "
"and *NULL* on failure. The parameter *v* must not be *NULL*; it will not be "
"checked."
"and ``NULL`` on failure. The parameter *v* must not be ``NULL``; it will "
"not be checked."
msgstr ""
#: ../Doc/c-api/bytes.rst:46
msgid ""
"Return a new bytes object with a copy of the string *v* as value and length "
"*len* on success, and *NULL* on failure. If *v* is *NULL*, the contents of "
"the bytes object are uninitialized."
"*len* on success, and ``NULL`` on failure. If *v* is ``NULL``, the contents "
"of the bytes object are uninitialized."
msgstr ""
#: ../Doc/c-api/bytes.rst:53
@ -258,7 +258,7 @@ msgid ""
"bytes. The data must not be modified in any way, unless the object was just "
"created using ``PyBytes_FromStringAndSize(NULL, size)``. It must not be "
"deallocated. If *o* is not a bytes object at all, :c:func:"
"`PyBytes_AsString` returns *NULL* and raises :exc:`TypeError`."
"`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`."
msgstr ""
#: ../Doc/c-api/bytes.rst:154
@ -273,8 +273,9 @@ msgstr ""
#: ../Doc/c-api/bytes.rst:162
msgid ""
"If *length* is *NULL*, the bytes object may not contain embedded null bytes; "
"if it does, the function returns ``-1`` and a :exc:`ValueError` is raised."
"If *length* is ``NULL``, the bytes object may not contain embedded null "
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
"raised."
msgstr ""
#: ../Doc/c-api/bytes.rst:166
@ -299,7 +300,7 @@ msgid ""
"appended to *bytes*; the caller will own the new reference. The reference "
"to the old value of *bytes* will be stolen. If the new object cannot be "
"created, the old reference to *bytes* will still be discarded and the value "
"of *\\*bytes* will be set to *NULL*; the appropriate exception will be set."
"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be set."
msgstr ""
#: ../Doc/c-api/bytes.rst:189
@ -319,6 +320,6 @@ msgid ""
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
"input value. If the reallocation fails, the original bytes object at *"
"\\*bytes* is deallocated, *\\*bytes* is set to *NULL*, :exc:`MemoryError` is "
"set, and ``-1`` is returned."
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
"is set, and ``-1`` is returned."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-10 11:27+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -52,23 +52,23 @@ msgstr ""
#: ../Doc/c-api/capsule.rst:42
msgid ""
"Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* "
"argument may not be *NULL*."
"argument may not be ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:45
msgid "On failure, set an exception and return *NULL*."
msgid "On failure, set an exception and return ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:47
msgid ""
"The *name* string may either be *NULL* or a pointer to a valid C string. If "
"non-*NULL*, this string must outlive the capsule. (Though it is permitted "
"to free it inside the *destructor*.)"
"The *name* string may either be ``NULL`` or a pointer to a valid C string. "
"If non-``NULL``, this string must outlive the capsule. (Though it is "
"permitted to free it inside the *destructor*.)"
msgstr ""
#: ../Doc/c-api/capsule.rst:51
msgid ""
"If the *destructor* argument is not *NULL*, it will be called with the "
"If the *destructor* argument is not ``NULL``, it will be called with the "
"capsule as its argument when it is destroyed."
msgstr ""
@ -82,39 +82,39 @@ msgstr ""
#: ../Doc/c-api/capsule.rst:61
msgid ""
"Retrieve the *pointer* stored in the capsule. On failure, set an exception "
"and return *NULL*."
"and return ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:64
msgid ""
"The *name* parameter must compare exactly to the name stored in the capsule. "
"If the name stored in the capsule is *NULL*, the *name* passed in must also "
"be *NULL*. Python uses the C function :c:func:`strcmp` to compare capsule "
"names."
"If the name stored in the capsule is ``NULL``, the *name* passed in must "
"also be ``NULL``. Python uses the C function :c:func:`strcmp` to compare "
"capsule names."
msgstr ""
#: ../Doc/c-api/capsule.rst:72
msgid ""
"Return the current destructor stored in the capsule. On failure, set an "
"exception and return *NULL*."
"exception and return ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:75
msgid ""
"It is legal for a capsule to have a *NULL* destructor. This makes a *NULL* "
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
"`PyErr_Occurred` to disambiguate."
"It is legal for a capsule to have a ``NULL`` destructor. This makes a "
"``NULL`` return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :"
"c:func:`PyErr_Occurred` to disambiguate."
msgstr ""
#: ../Doc/c-api/capsule.rst:82
msgid ""
"Return the current context stored in the capsule. On failure, set an "
"exception and return *NULL*."
"exception and return ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:85
msgid ""
"It is legal for a capsule to have a *NULL* context. This makes a *NULL* "
"It is legal for a capsule to have a ``NULL`` context. This makes a ``NULL`` "
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
"`PyErr_Occurred` to disambiguate."
msgstr ""
@ -122,13 +122,13 @@ msgstr ""
#: ../Doc/c-api/capsule.rst:92
msgid ""
"Return the current name stored in the capsule. On failure, set an exception "
"and return *NULL*."
"and return ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:95
msgid ""
"It is legal for a capsule to have a *NULL* name. This makes a *NULL* return "
"code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
"It is legal for a capsule to have a ``NULL`` name. This makes a ``NULL`` "
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
"`PyErr_Occurred` to disambiguate."
msgstr ""
@ -145,15 +145,15 @@ msgstr ""
#: ../Doc/c-api/capsule.rst:109
msgid ""
"Return the capsule's internal *pointer* on success. On failure, set an "
"exception and return *NULL*."
"exception and return ``NULL``."
msgstr ""
#: ../Doc/c-api/capsule.rst:115
msgid ""
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
"non-*NULL*, passes :c:func:`PyCapsule_CheckExact`, has a non-*NULL* pointer "
"stored in it, and its internal name matches the *name* parameter. (See :c:"
"func:`PyCapsule_GetPointer` for information on how capsule names are "
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
"pointer stored in it, and its internal name matches the *name* parameter. "
"(See :c:func:`PyCapsule_GetPointer` for information on how capsule names are "
"compared.)"
msgstr ""
@ -186,13 +186,13 @@ msgstr ""
#: ../Doc/c-api/capsule.rst:145
msgid ""
"Set the name inside *capsule* to *name*. If non-*NULL*, the name must "
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
"outlive the capsule. If the previous *name* stored in the capsule was not "
"*NULL*, no attempt is made to free it."
"``NULL``, no attempt is made to free it."
msgstr ""
#: ../Doc/c-api/capsule.rst:154
msgid ""
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
"*NULL*."
"``NULL``."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-23 16:48+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-05-09 10:14+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -50,15 +50,17 @@ msgid "The type object corresponding to cell objects."
msgstr "Type objet correspondant aux objets cellules."
#: ../Doc/c-api/cell.rst:30
msgid "Return true if *ob* is a cell object; *ob* must not be *NULL*."
#, fuzzy
msgid "Return true if *ob* is a cell object; *ob* must not be ``NULL``."
msgstr ""
"Renvoie ``True`` si *ob* est un objet cellule ; *ob* ne doit pas être à "
"*NULL*."
#: ../Doc/c-api/cell.rst:35
#, fuzzy
msgid ""
"Create and return a new cell object containing the value *ob*. The parameter "
"may be *NULL*."
"may be ``NULL``."
msgstr ""
"Crée et retourne un nouvel objet cellule contenant la valeur *ob*. Le "
"paramètre peut être mis à *NULL*."
@ -68,19 +70,21 @@ msgid "Return the contents of the cell *cell*."
msgstr "Renvoie le contenu de la cellule *cell*."
#: ../Doc/c-api/cell.rst:46
#, fuzzy
msgid ""
"Return the contents of the cell *cell*, but without checking that *cell* is "
"non-*NULL* and a cell object."
"non-``NULL`` and a cell object."
msgstr ""
"Renvoie le contenu de la cellule *cell*, mais sans vérifier si *cell* est "
"non *NULL* et sans vérifier si c'est un objet cellule."
#: ../Doc/c-api/cell.rst:52
#, fuzzy
msgid ""
"Set the contents of the cell object *cell* to *value*. This releases the "
"reference to any current content of the cell. *value* may be *NULL*. *cell* "
"must be non-*NULL*; if it is not a cell object, ``-1`` will be returned. On "
"success, ``0`` will be returned."
"reference to any current content of the cell. *value* may be ``NULL``. "
"*cell* must be non-``NULL``; if it is not a cell object, ``-1`` will be "
"returned. On success, ``0`` will be returned."
msgstr ""
"Définit le contenu de l'objet cellule à *value*. Cela libère la référence à "
"toute valeur de la cellule. *value* peut être fixé à *NULL*. *cell* ne doit "
@ -88,9 +92,10 @@ msgstr ""
"c'est un objet cellule, renvoie ``0``."
#: ../Doc/c-api/cell.rst:60
#, fuzzy
msgid ""
"Sets the value of the cell object *cell* to *value*. No reference counts "
"are adjusted, and no checks are made for safety; *cell* must be non-*NULL* "
"are adjusted, and no checks are made for safety; *cell* must be non-``NULL`` "
"and must be a cell object."
msgstr ""
"Définit la valeur de l'objet cellule à *value*. Pas de comptage de "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-02-15 00:30+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -64,20 +64,13 @@ msgstr ""
"c:func:`PyCode_New` peut vous lier directement à une version spécifique de "
"Python, le *bytecode* étant sujet à modifications."
#: ../Doc/c-api/code.rst:43
msgid ""
"Raises an :ref:`auditing event <auditing>` ``code.__new__`` with arguments "
"``code``, ``filename``, ``name``, ``argcount``, ``posonlyargcount``, "
"``kwonlyargcount``, ``nlocals``, ``stacksize``, ``flags``."
msgstr ""
#: ../Doc/c-api/code.rst:47
#: ../Doc/c-api/code.rst:45
msgid ""
"Similar to :c:func:`PyCode_New`, but with an extra \"posonlyargcount\" for "
"positonal-only arguments."
msgstr ""
#: ../Doc/c-api/code.rst:53
#: ../Doc/c-api/code.rst:51
msgid ""
"Return a new empty code object with the specified filename, function name, "
"and first line number. It is illegal to :func:`exec` or :func:`eval` the "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-21 09:48+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -42,7 +42,7 @@ msgstr ""
msgid ""
"*object* is passed through the encoder function found for the given "
"*encoding* using the error handling method defined by *errors*. *errors* "
"may be *NULL* to use the default method defined for the codec. Raises a :"
"may be ``NULL`` to use the default method defined for the codec. Raises a :"
"exc:`LookupError` if no encoder can be found."
msgstr ""
@ -54,7 +54,7 @@ msgstr ""
msgid ""
"*object* is passed through the decoder function found for the given "
"*encoding* using the error handling method defined by *errors*. *errors* "
"may be *NULL* to use the default method defined for the codec. Raises a :"
"may be ``NULL`` to use the default method defined for the codec. Raises a :"
"exc:`LookupError` if no encoder can be found."
msgstr ""
@ -67,7 +67,7 @@ msgid ""
"In the following functions, the *encoding* string is looked up converted to "
"all lower-case characters, which makes encodings looked up through this "
"mechanism effectively case-insensitive. If no codec is found, a :exc:"
"`KeyError` is set and *NULL* returned."
"`KeyError` is set and ``NULL`` returned."
msgstr ""
#: ../Doc/c-api/codec.rst:47
@ -132,8 +132,8 @@ msgstr ""
#: ../Doc/c-api/codec.rst:94
msgid ""
"Lookup the error handling callback function registered under *name*. As a "
"special case *NULL* can be passed, in which case the error handling callback "
"for \"strict\" will be returned."
"special case ``NULL`` can be passed, in which case the error handling "
"callback for \"strict\" will be returned."
msgstr ""
#: ../Doc/c-api/codec.rst:100

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-02-15 00:31+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -36,11 +36,13 @@ msgstr ""
"types d'objets Python."
#: ../Doc/c-api/concrete.rst:19
#, fuzzy
msgid ""
"While the functions described in this chapter carefully check the type of "
"the objects which are passed in, many of them do not check for *NULL* being "
"passed instead of a valid object. Allowing *NULL* to be passed in can cause "
"memory access violations and immediate termination of the interpreter."
"the objects which are passed in, many of them do not check for ``NULL`` "
"being passed instead of a valid object. Allowing ``NULL`` to be passed in "
"can cause memory access violations and immediate termination of the "
"interpreter."
msgstr ""
"Tandis que les fonctions décrites dans ce chapitre vérifient avec soin le "
"type des objets qui leur sont passés, beaucoup d'entre elles ne vérifient "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-12 18:59+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-08-03 23:47+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -67,19 +67,19 @@ msgstr "Macros pour vérifier les types :"
#: ../Doc/c-api/contextvars.rst:62
msgid ""
"Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be "
"*NULL*. This function always succeeds."
"``NULL``. This function always succeeds."
msgstr ""
#: ../Doc/c-api/contextvars.rst:67
msgid ""
"Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be "
"*NULL*. This function always succeeds."
"``NULL``. This function always succeeds."
msgstr ""
#: ../Doc/c-api/contextvars.rst:72
msgid ""
"Return true if *o* is of type :c:data:`PyContextToken_Type`. *o* must not be "
"*NULL*. This function always succeeds."
"``NULL``. This function always succeeds."
msgstr ""
#: ../Doc/c-api/contextvars.rst:76

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-11-29 16:06+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -58,7 +58,7 @@ msgstr ""
msgid ""
"If the platform doesn't have :c:func:`vsnprintf` and the buffer size needed "
"to avoid truncation exceeds *size* by more than 512 bytes, Python aborts "
"with a *Py_FatalError*."
"with a :c:func:`Py_FatalError`."
msgstr ""
#: ../Doc/c-api/conversion.rst:37
@ -150,39 +150,40 @@ msgstr ""
#: ../Doc/c-api/conversion.rst:98
msgid ""
"*flags* can be zero or more of the values *Py_DTSF_SIGN*, "
"*Py_DTSF_ADD_DOT_0*, or *Py_DTSF_ALT*, or-ed together:"
"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, "
"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:"
msgstr ""
#: ../Doc/c-api/conversion.rst:101
msgid ""
"*Py_DTSF_SIGN* means to always precede the returned string with a sign "
"``Py_DTSF_SIGN`` means to always precede the returned string with a sign "
"character, even if *val* is non-negative."
msgstr ""
#: ../Doc/c-api/conversion.rst:104
msgid ""
"*Py_DTSF_ADD_DOT_0* means to ensure that the returned string will not look "
"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look "
"like an integer."
msgstr ""
#: ../Doc/c-api/conversion.rst:107
msgid ""
"*Py_DTSF_ALT* means to apply \"alternate\" formatting rules. See the "
"``Py_DTSF_ALT`` means to apply \"alternate\" formatting rules. See the "
"documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details."
msgstr ""
#: ../Doc/c-api/conversion.rst:111
msgid ""
"If *ptype* is non-NULL, then the value it points to will be set to one of "
"*Py_DTST_FINITE*, *Py_DTST_INFINITE*, or *Py_DTST_NAN*, signifying that "
"*val* is a finite number, an infinite number, or not a number, respectively."
"If *ptype* is non-``NULL``, then the value it points to will be set to one "
"of ``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying "
"that *val* is a finite number, an infinite number, or not a number, "
"respectively."
msgstr ""
#: ../Doc/c-api/conversion.rst:115
msgid ""
"The return value is a pointer to *buffer* with the converted string or "
"*NULL* if the conversion failed. The caller is responsible for freeing the "
"``NULL`` if the conversion failed. The caller is responsible for freeing the "
"returned string by calling :c:func:`PyMem_Free`."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:24+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -35,16 +35,20 @@ msgid "The type object corresponding to coroutine objects."
msgstr "L'objet type correspondant aux objets coroutines."
#: ../Doc/c-api/coro.rst:26
msgid "Return true if *ob*'s type is *PyCoro_Type*; *ob* must not be *NULL*."
#, fuzzy
msgid ""
"Return true if *ob*'s type is :c:type:`PyCoro_Type`; *ob* must not be "
"``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type *PyCoro_Type*. *ob* ne doit pas être *NULL*."
#: ../Doc/c-api/coro.rst:31
#, fuzzy
msgid ""
"Create and return a new coroutine object based on the *frame* object, with "
"``__name__`` and ``__qualname__`` set to *name* and *qualname*. A reference "
"to *frame* is stolen by this function. The *frame* argument must not be "
"*NULL*."
"``NULL``."
msgstr ""
"Crée et renvoie un nouvel objet coroutine basé sur l'objet *frame*, avec "
"``__name__`` et ``__qualname__`` respectivement assignés de *name* et "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-23 16:48+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-05-31 10:15+0200\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -56,81 +56,91 @@ msgid "Type-check macros:"
msgstr "Macros pour vérifier les types :"
#: ../Doc/c-api/datetime.rst:30
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype "
"of :c:data:`PyDateTime_DateType`. *ob* must not be *NULL*."
"of :c:data:`PyDateTime_DateType`. *ob* must not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateType` ou un sous-"
"type de :c:data:`PyDateTime_DateType`. *ob* ne doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:36
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not "
"be *NULL*."
"be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateType`. *ob* ne doit "
"pas être *NULL*."
#: ../Doc/c-api/datetime.rst:42
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a "
"subtype of :c:data:`PyDateTime_DateTimeType`. *ob* must not be *NULL*."
"subtype of :c:data:`PyDateTime_DateTimeType`. *ob* must not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateTimeType` ou un "
"sous-type de :c:data:`PyDateTime_DateTimeType`. *ob* ne doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:48
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must "
"not be *NULL*."
"not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateTimeType`. *ob* ne "
"doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:54
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype "
"of :c:data:`PyDateTime_TimeType`. *ob* must not be *NULL*."
"of :c:data:`PyDateTime_TimeType`. *ob* must not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TimeType` ou un sous-"
"type de :c:data:`PyDateTime_TimeType`. *ob* ne doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:60
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not "
"be *NULL*."
"be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TimeType`. *ob* ne doit "
"pas être *NULL*."
#: ../Doc/c-api/datetime.rst:66
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype "
"of :c:data:`PyDateTime_DeltaType`. *ob* must not be *NULL*."
"of :c:data:`PyDateTime_DeltaType`. *ob* must not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DeltaType` ou un sous-"
"type de :c:data:`PyDateTime_DeltaType`. *ob* ne doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:72
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not "
"be *NULL*."
"be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DeltaType`. *ob* ne "
"doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:78
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype "
"of :c:data:`PyDateTime_TZInfoType`. *ob* must not be *NULL*."
"of :c:data:`PyDateTime_TZInfoType`. *ob* must not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TZInfoType` ou un sous-"
"type de :c:data:`PyDateTime_TZInfoType`. *ob* ne doit pas être *NULL*."
#: ../Doc/c-api/datetime.rst:84
#, fuzzy
msgid ""
"Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must "
"not be *NULL*."
"not be ``NULL``."
msgstr ""
"Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TZInfoType`. *ob* ne "
"doit pas être *NULL*."
@ -209,10 +219,11 @@ msgstr ""
"par l'argument *offset* et avec le nom de fuseau horaire *name*."
#: ../Doc/c-api/datetime.rst:145
#, fuzzy
msgid ""
"Macros to extract fields from date objects. The argument must be an "
"instance of :c:data:`PyDateTime_Date`, including subclasses (such as :c:data:"
"`PyDateTime_DateTime`). The argument must not be *NULL*, and the type is "
"`PyDateTime_DateTime`). The argument must not be ``NULL``, and the type is "
"not checked:"
msgstr ""
"Macros pour extraire les champs des objets *date*. L'argument doit être une "
@ -233,10 +244,11 @@ msgid "Return the day, as an int from 1 through 31."
msgstr "Renvoie le jour, sous forme d'entier allant de 1 à 31."
#: ../Doc/c-api/datetime.rst:165
#, fuzzy
msgid ""
"Macros to extract fields from datetime objects. The argument must be an "
"instance of :c:data:`PyDateTime_DateTime`, including subclasses. The "
"argument must not be *NULL*, and the type is not checked:"
"argument must not be ``NULL``, and the type is not checked:"
msgstr ""
"Macros pour extraire les champs des objets *datetime*. L'argument doit être "
"une instance de :c:data:`PyDateTime_DateTime` ou une sous-classe de celle-"
@ -259,20 +271,22 @@ msgid "Return the microsecond, as an int from 0 through 999999."
msgstr "Renvoie la microseconde, sous forme d'entier allant de 0 à 999999."
#: ../Doc/c-api/datetime.rst:189
#, fuzzy
msgid ""
"Macros to extract fields from time objects. The argument must be an "
"instance of :c:data:`PyDateTime_Time`, including subclasses. The argument "
"must not be *NULL*, and the type is not checked:"
"must not be ``NULL``, and the type is not checked:"
msgstr ""
"Macros pour extraire les champs des objets *time*. L'argument doit être une "
"instance de :c:data:`PyDateTime_Time` ou une sous-classe de celle-ci. "
"L'argument ne doit pas être *NULL*, et le type n'est pas vérifié :"
#: ../Doc/c-api/datetime.rst:213
#, fuzzy
msgid ""
"Macros to extract fields from time delta objects. The argument must be an "
"instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument "
"must not be *NULL*, and the type is not checked:"
"must not be ``NULL``, and the type is not checked:"
msgstr ""
"Macros pour extraire les champs des objets *time delta*. L'argument doit "
"être une instance de :c:data:`PyDateTime_Delta` ou une sous-classe de celle-"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-21 09:48+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-07-03 11:36+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -42,7 +42,7 @@ msgid ""
msgstr ""
#: ../Doc/c-api/dict.rst:36
msgid "Return a new empty dictionary, or *NULL* on failure."
msgid "Return a new empty dictionary, or ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/dict.rst:41
@ -96,8 +96,8 @@ msgstr ""
#: ../Doc/c-api/dict.rst:95
msgid ""
"Return the object from dictionary *p* which has a key *key*. Return *NULL* "
"if the key *key* is not present, but *without* setting an exception."
"Return the object from dictionary *p* which has a key *key*. Return "
"``NULL`` if the key *key* is not present, but *without* setting an exception."
msgstr ""
#: ../Doc/c-api/dict.rst:98
@ -110,8 +110,8 @@ msgstr ""
#: ../Doc/c-api/dict.rst:105
msgid ""
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
"Return *NULL* **with** an exception set if an exception occurred. Return "
"*NULL* **without** an exception set if the key wasn't present."
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
"``NULL`` **without** an exception set if the key wasn't present."
msgstr ""
#: ../Doc/c-api/dict.rst:113
@ -167,7 +167,7 @@ msgid ""
"true for each pair in the dictionary, and false once all pairs have been "
"reported. The parameters *pkey* and *pvalue* should either point to :c:type:"
"`PyObject\\*` variables that will be filled in with each key and value, "
"respectively, or may be *NULL*. Any references returned through them are "
"respectively, or may be ``NULL``. Any references returned through them are "
"borrowed. *ppos* should not be altered during iteration. Its value "
"represents offsets within the internal dictionary structure, and since the "
"structure is sparse, the offsets are not consecutive."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:24+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -27,7 +27,7 @@ msgid ""
"variable: there is a global indicator (per thread) of the last error that "
"occurred. Most C API functions don't clear this on success, but will set it "
"to indicate the cause of the error on failure. Most C API functions also "
"return an error indicator, usually *NULL* if they are supposed to return a "
"return an error indicator, usually ``NULL`` if they are supposed to return a "
"pointer, or ``-1`` if they return an integer (exception: the :c:func:`PyArg_"
"\\*` functions return ``1`` for success and ``0`` for failure)."
msgstr ""
@ -36,9 +36,9 @@ msgstr ""
msgid ""
"Concretely, the error indicator consists of three object pointers: the "
"exception's type, the exception's value, and the traceback object. Any of "
"those pointers can be NULL if non-set (although some combinations are "
"forbidden, for example you can't have a non-NULL traceback if the exception "
"type is NULL)."
"those pointers can be ``NULL`` if non-set (although some combinations are "
"forbidden, for example you can't have a non-``NULL`` traceback if the "
"exception type is ``NULL``)."
msgstr ""
#: ../Doc/c-api/exceptions.rst:26
@ -129,8 +129,8 @@ msgstr "Lever des exceptions"
#: ../Doc/c-api/exceptions.rst:93
msgid ""
"These functions help you set the current thread's error indicator. For "
"convenience, some of these functions will always return a NULL pointer for "
"use in a ``return`` statement."
"convenience, some of these functions will always return a ``NULL`` pointer "
"for use in a ``return`` statement."
msgstr ""
#: ../Doc/c-api/exceptions.rst:100
@ -150,7 +150,7 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:114
msgid ""
"This function sets the error indicator and returns *NULL*. *exception* "
"This function sets the error indicator and returns ``NULL``. *exception* "
"should be a Python exception class. The *format* and subsequent parameters "
"help format the error message; they have the same meaning and values as in :"
"c:func:`PyUnicode_FromFormat`. *format* is an ASCII-encoded string."
@ -176,8 +176,8 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:143
msgid ""
"This is a shorthand for ``PyErr_SetNone(PyExc_MemoryError)``; it returns "
"*NULL* so an object allocation function can write ``return PyErr_NoMemory();"
"`` when it runs out of memory."
"``NULL`` so an object allocation function can write ``return "
"PyErr_NoMemory();`` when it runs out of memory."
msgstr ""
#: ../Doc/c-api/exceptions.rst:152
@ -190,16 +190,16 @@ msgid ""
"Unix, when the :c:data:`errno` value is :const:`EINTR`, indicating an "
"interrupted system call, this calls :c:func:`PyErr_CheckSignals`, and if "
"that set the error indicator, leaves it set to that. The function always "
"returns *NULL*, so a wrapper function around a system call can write "
"returns ``NULL``, so a wrapper function around a system call can write "
"``return PyErr_SetFromErrno(type);`` when the system call returns an error."
msgstr ""
#: ../Doc/c-api/exceptions.rst:166
msgid ""
"Similar to :c:func:`PyErr_SetFromErrno`, with the additional behavior that "
"if *filenameObject* is not *NULL*, it is passed to the constructor of *type* "
"as a third parameter. In the case of :exc:`OSError` exception, this is used "
"to define the :attr:`filename` attribute of the exception instance."
"if *filenameObject* is not ``NULL``, it is passed to the constructor of "
"*type* as a third parameter. In the case of :exc:`OSError` exception, this "
"is used to define the :attr:`filename` attribute of the exception instance."
msgstr ""
#: ../Doc/c-api/exceptions.rst:175
@ -226,7 +226,7 @@ msgid ""
"first item is the *ierr* value and whose second item is the corresponding "
"error message (gotten from :c:func:`FormatMessage`), and then calls "
"``PyErr_SetObject(PyExc_WindowsError, object)``. This function always "
"returns *NULL*."
"returns ``NULL``."
msgstr ""
#: ../Doc/c-api/exceptions.rst:200 ../Doc/c-api/exceptions.rst:208
@ -325,7 +325,7 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:306
msgid ""
"Issue a warning message. The *category* argument is a warning category (see "
"below) or *NULL*; the *message* argument is a UTF-8 encoded string. "
"below) or ``NULL``; the *message* argument is a UTF-8 encoded string. "
"*stack_level* is a positive number giving a number of stack frames; the "
"warning will be issued from the currently executing line of code in that "
"stack frame. A *stack_level* of 1 is the function calling :c:func:"
@ -359,7 +359,7 @@ msgid ""
"Issue a warning message with explicit control over all warning attributes. "
"This is a straightforward wrapper around the Python function :func:`warnings."
"warn_explicit`, see there for more information. The *module* and *registry* "
"arguments may be set to *NULL* to get the default effect described there."
"arguments may be set to ``NULL`` to get the default effect described there."
msgstr ""
#: ../Doc/c-api/exceptions.rst:344
@ -390,9 +390,9 @@ msgstr ""
msgid ""
"Test whether the error indicator is set. If set, return the exception "
"*type* (the first argument to the last call to one of the :c:func:`PyErr_Set"
"\\*` functions or to :c:func:`PyErr_Restore`). If not set, return *NULL*. "
"You do not own a reference to the return value, so you do not need to :c:"
"func:`Py_DECREF` it."
"\\*` functions or to :c:func:`PyErr_Restore`). If not set, return "
"``NULL``. You do not own a reference to the return value, so you do not "
"need to :c:func:`Py_DECREF` it."
msgstr ""
#: ../Doc/c-api/exceptions.rst:379
@ -422,8 +422,8 @@ msgstr ""
msgid ""
"Retrieve the error indicator into three variables whose addresses are "
"passed. If the error indicator is not set, set all three variables to "
"*NULL*. If it is set, it will be cleared and you own a reference to each "
"object retrieved. The value and traceback object may be *NULL* even when "
"``NULL``. If it is set, it will be cleared and you own a reference to each "
"object retrieved. The value and traceback object may be ``NULL`` even when "
"the type object is not."
msgstr ""
@ -437,8 +437,8 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:424
msgid ""
"Set the error indicator from the three objects. If the error indicator is "
"already set, it is cleared first. If the objects are *NULL*, the error "
"indicator is cleared. Do not pass a *NULL* type and non-*NULL* value or "
"already set, it is cleared first. If the objects are ``NULL``, the error "
"indicator is cleared. Do not pass a ``NULL`` type and non-``NULL`` value or "
"traceback. The exception type should be a class. Do not pass an invalid "
"exception type or value. (Violating these rules will cause subtle problems "
"later.) This call takes away a reference to each object: you must own a "
@ -476,7 +476,7 @@ msgid ""
"Retrieve the exception info, as known from ``sys.exc_info()``. This refers "
"to an exception that was *already caught*, not to an exception that was "
"freshly raised. Returns new references for the three objects, any of which "
"may be *NULL*. Does not modify the exception info state."
"may be ``NULL``. Does not modify the exception info state."
msgstr ""
#: ../Doc/c-api/exceptions.rst:469
@ -492,7 +492,7 @@ msgid ""
"Set the exception info, as known from ``sys.exc_info()``. This refers to an "
"exception that was *already caught*, not to an exception that was freshly "
"raised. This function steals the references of the arguments. To clear the "
"exception state, pass *NULL* for all three arguments. For general rules "
"exception state, pass ``NULL`` for all three arguments. For general rules "
"about the three arguments, see :c:func:`PyErr_Restore`."
msgstr ""
@ -560,9 +560,9 @@ msgstr ""
msgid ""
"This utility function creates and returns a new exception class. The *name* "
"argument must be the name of the new exception, a C string of the form "
"``module.classname``. The *base* and *dict* arguments are normally *NULL*. "
"This creates a class object derived from :exc:`Exception` (accessible in C "
"as :c:data:`PyExc_Exception`)."
"``module.classname``. The *base* and *dict* arguments are normally "
"``NULL``. This creates a class object derived from :exc:`Exception` "
"(accessible in C as :c:data:`PyExc_Exception`)."
msgstr ""
#: ../Doc/c-api/exceptions.rst:556
@ -578,8 +578,8 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:565
msgid ""
"Same as :c:func:`PyErr_NewException`, except that the new exception class "
"can easily be given a docstring: If *doc* is non-*NULL*, it will be used as "
"the docstring for the exception class."
"can easily be given a docstring: If *doc* is non-``NULL``, it will be used "
"as the docstring for the exception class."
msgstr ""
#: ../Doc/c-api/exceptions.rst:573
@ -590,7 +590,7 @@ msgstr "Objets exception"
msgid ""
"Return the traceback associated with the exception as a new reference, as "
"accessible from Python through :attr:`__traceback__`. If there is no "
"traceback associated, this returns *NULL*."
"traceback associated, this returns ``NULL``."
msgstr ""
#: ../Doc/c-api/exceptions.rst:584
@ -604,13 +604,13 @@ msgid ""
"Return the context (another exception instance during whose handling *ex* "
"was raised) associated with the exception as a new reference, as accessible "
"from Python through :attr:`__context__`. If there is no context associated, "
"this returns *NULL*."
"this returns ``NULL``."
msgstr ""
#: ../Doc/c-api/exceptions.rst:598
msgid ""
"Set the context associated with the exception to *ctx*. Use *NULL* to clear "
"it. There is no type check to make sure that *ctx* is an exception "
"Set the context associated with the exception to *ctx*. Use ``NULL`` to "
"clear it. There is no type check to make sure that *ctx* is an exception "
"instance. This steals a reference to *ctx*."
msgstr ""
@ -623,9 +623,9 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:612
msgid ""
"Set the cause associated with the exception to *cause*. Use *NULL* to clear "
"it. There is no type check to make sure that *cause* is either an exception "
"instance or :const:`None`. This steals a reference to *cause*."
"Set the cause associated with the exception to *cause*. Use ``NULL`` to "
"clear it. There is no type check to make sure that *cause* is either an "
"exception instance or :const:`None`. This steals a reference to *cause*."
msgstr ""
#: ../Doc/c-api/exceptions.rst:616
@ -674,8 +674,8 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:658
msgid ""
"Get the *start* attribute of the given exception object and place it into *"
"\\*start*. *start* must not be *NULL*. Return ``0`` on success, ``-1`` on "
"failure."
"\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` "
"on failure."
msgstr ""
#: ../Doc/c-api/exceptions.rst:666
@ -687,7 +687,7 @@ msgstr ""
#: ../Doc/c-api/exceptions.rst:673
msgid ""
"Get the *end* attribute of the given exception object and place it into *"
"\\*end*. *end* must not be *NULL*. Return ``0`` on success, ``-1`` on "
"\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on "
"failure."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-18 09:48+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -42,11 +42,12 @@ msgstr ""
"`io` à la place."
#: ../Doc/c-api/file.rst:22
#, fuzzy
msgid ""
"Create a Python file object from the file descriptor of an already opened "
"file *fd*. The arguments *name*, *encoding*, *errors* and *newline* can be "
"*NULL* to use the defaults; *buffering* can be *-1* to use the default. "
"*name* is ignored and kept for backward compatibility. Return *NULL* on "
"``NULL`` to use the defaults; *buffering* can be *-1* to use the default. "
"*name* is ignored and kept for backward compatibility. Return ``NULL`` on "
"failure. For a more comprehensive description of the arguments, please refer "
"to the :func:`io.open` function documentation."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-01-14 15:30+0100\n"
"Last-Translator: ANTOINE FOURES <afoures@student.42.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -51,15 +51,18 @@ msgstr ""
"sous-type de :c:type:`PyFloatObject`."
#: ../Doc/c-api/float.rst:36
#, fuzzy
msgid ""
"Create a :c:type:`PyFloatObject` object based on the string value in *str*, "
"or *NULL* on failure."
"or ``NULL`` on failure."
msgstr ""
"Crée un objet :c:type:`PyFloatObject` à partir de la valeur de la chaîne de "
"caractères *str*, ou *NULL* en cas d'échec."
#: ../Doc/c-api/float.rst:42
msgid "Create a :c:type:`PyFloatObject` object from *v*, or *NULL* on failure."
#, fuzzy
msgid ""
"Create a :c:type:`PyFloatObject` object from *v*, or ``NULL`` on failure."
msgstr ""
"Crée un objet :c:type:`PyFloatObject` à partir de *v*, ou *NULL* en cas "
"d'échec."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -36,7 +36,7 @@ msgstr ""
#: ../Doc/c-api/function.rst:28
msgid ""
"Return true if *o* is a function object (has type :c:data:"
"`PyFunction_Type`). The parameter must not be *NULL*."
"`PyFunction_Type`). The parameter must not be ``NULL``."
msgstr ""
#: ../Doc/c-api/function.rst:34
@ -50,16 +50,16 @@ msgstr ""
msgid ""
"The function's docstring and name are retrieved from the code object. "
"*__module__* is retrieved from *globals*. The argument defaults, annotations "
"and closure are set to *NULL*. *__qualname__* is set to the same value as "
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
"the function's name."
msgstr ""
#: ../Doc/c-api/function.rst:44
msgid ""
"As :c:func:`PyFunction_New`, but also allows setting the function object's "
"``__qualname__`` attribute. *qualname* should be a unicode object or NULL; "
"if NULL, the ``__qualname__`` attribute is set to the same value as its "
"``__name__`` attribute."
"``__qualname__`` attribute. *qualname* should be a unicode object or "
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
"value as its ``__name__`` attribute."
msgstr ""
#: ../Doc/c-api/function.rst:54
@ -80,13 +80,13 @@ msgstr ""
#: ../Doc/c-api/function.rst:71
msgid ""
"Return the argument default values of the function object *op*. This can be "
"a tuple of arguments or *NULL*."
"a tuple of arguments or ``NULL``."
msgstr ""
#: ../Doc/c-api/function.rst:77
msgid ""
"Set the argument default values for the function object *op*. *defaults* "
"must be *Py_None* or a tuple."
"must be ``Py_None`` or a tuple."
msgstr ""
#: ../Doc/c-api/function.rst:80 ../Doc/c-api/function.rst:94
@ -97,23 +97,23 @@ msgstr ""
#: ../Doc/c-api/function.rst:85
msgid ""
"Return the closure associated with the function object *op*. This can be "
"*NULL* or a tuple of cell objects."
"``NULL`` or a tuple of cell objects."
msgstr ""
#: ../Doc/c-api/function.rst:91
msgid ""
"Set the closure associated with the function object *op*. *closure* must be "
"*Py_None* or a tuple of cell objects."
"``Py_None`` or a tuple of cell objects."
msgstr ""
#: ../Doc/c-api/function.rst:99
msgid ""
"Return the annotations of the function object *op*. This can be a mutable "
"dictionary or *NULL*."
"dictionary or ``NULL``."
msgstr ""
#: ../Doc/c-api/function.rst:105
msgid ""
"Set the annotations for the function object *op*. *annotations* must be a "
"dictionary or *Py_None*."
"dictionary or ``Py_None``."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -75,7 +75,7 @@ msgstr ""
#: ../Doc/c-api/gcsupport.rst:51
msgid ""
"Resize an object allocated by :c:func:`PyObject_NewVar`. Returns the "
"resized object or *NULL* on failure. *op* must not be tracked by the "
"resized object or ``NULL`` on failure. *op* must not be tracked by the "
"collector yet."
msgstr ""
@ -154,7 +154,7 @@ msgid ""
"Traversal function for a container object. Implementations must call the "
"*visit* function for each object directly contained by *self*, with the "
"parameters to *visit* being the contained object and the *arg* value passed "
"to the handler. The *visit* function must not be called with a *NULL* "
"to the handler. The *visit* function must not be called with a ``NULL`` "
"object argument. If *visit* returns a non-zero value that value should be "
"returned immediately."
msgstr ""
@ -169,7 +169,7 @@ msgstr ""
#: ../Doc/c-api/gcsupport.rst:124
msgid ""
"If *o* is not *NULL*, call the *visit* callback, with arguments *o* and "
"If *o* is not ``NULL``, call the *visit* callback, with arguments *o* and "
"*arg*. If *visit* returns a non-zero value, then return it. Using this "
"macro, :c:member:`~PyTypeObject.tp_traverse` handlers look like::"
msgstr ""
@ -177,7 +177,7 @@ msgstr ""
#: ../Doc/c-api/gcsupport.rst:137
msgid ""
"The :c:member:`~PyTypeObject.tp_clear` handler must be of the :c:type:"
"`inquiry` type, or *NULL* if the object is immutable."
"`inquiry` type, or ``NULL`` if the object is immutable."
msgstr ""
#: ../Doc/c-api/gcsupport.rst:143

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-27 19:40+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:24+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -40,33 +40,39 @@ msgid "The type object corresponding to generator objects."
msgstr "Le type objet correspondant aux objets générateurs."
#: ../Doc/c-api/gen.rst:25
msgid "Return true if *ob* is a generator object; *ob* must not be *NULL*."
#, fuzzy
msgid "Return true if *ob* is a generator object; *ob* must not be ``NULL``."
msgstr ""
"Renvoie ``True`` si *ob* est un objet générateur. *ob* ne doit pas être "
"*NULL*."
#: ../Doc/c-api/gen.rst:30
msgid "Return true if *ob*'s type is *PyGen_Type*; *ob* must not be *NULL*."
#, fuzzy
msgid ""
"Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be "
"``NULL``."
msgstr ""
"Renvoie ``True`` si le type de *ob* est *PyGen_Type*. *ob* ne doit pas être "
"*NULL*."
#: ../Doc/c-api/gen.rst:35
#, fuzzy
msgid ""
"Create and return a new generator object based on the *frame* object. A "
"reference to *frame* is stolen by this function. The argument must not be "
"*NULL*."
"``NULL``."
msgstr ""
"Crée et renvoie un nouvel objet générateur basé sur l'objet *frame*. Une "
"référence à *frame* est volée par cette fonction. L'argument ne doit pas "
"être *NULL*."
#: ../Doc/c-api/gen.rst:41
#, fuzzy
msgid ""
"Create and return a new generator object based on the *frame* object, with "
"``__name__`` and ``__qualname__`` set to *name* and *qualname*. A reference "
"to *frame* is stolen by this function. The *frame* argument must not be "
"*NULL*."
"``NULL``."
msgstr ""
"Crée et renvoie un nouvel objet générateur basé sur l'objet *frame*, avec "
"``__name__`` et ``__qualname__`` valant *name* et *qualname*. Une référence "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -21,7 +21,7 @@ msgstr "Importer des modules"
#: ../Doc/c-api/import.rst:16
msgid ""
"This is a simplified interface to :c:func:`PyImport_ImportModuleEx` below, "
"leaving the *globals* and *locals* arguments set to *NULL* and *level* set "
"leaving the *globals* and *locals* arguments set to ``NULL`` and *level* set "
"to 0. When the *name* argument contains a dot (when it specifies a "
"submodule of a package), the *fromlist* argument is set to the list "
"``['*']`` so that the return value is the named module rather than the top-"
@ -29,7 +29,7 @@ msgid ""
"this has an additional side effect when *name* in fact specifies a "
"subpackage instead of a submodule: the submodules specified in the package's "
"``__all__`` variable are loaded.) Return a new reference to the imported "
"module, or *NULL* with an exception set on failure. A failing import of a "
"module, or ``NULL`` with an exception set on failure. A failing import of a "
"module doesn't leave the module in :data:`sys.modules`."
msgstr ""
@ -58,7 +58,7 @@ msgstr ""
#: ../Doc/c-api/import.rst:49 ../Doc/c-api/import.rst:65
msgid ""
"The return value is a new reference to the imported module or top-level "
"package, or *NULL* with an exception set on failure. Like for :func:"
"package, or ``NULL`` with an exception set on failure. Like for :func:"
"`__import__`, the return value when a submodule of a package was requested "
"is normally the top-level package, unless a non-empty *fromlist* was given."
msgstr ""
@ -97,7 +97,7 @@ msgstr ""
#: ../Doc/c-api/import.rst:94
msgid ""
"Reload a module. Return a new reference to the reloaded module, or *NULL* "
"Reload a module. Return a new reference to the reloaded module, or ``NULL`` "
"with an exception set on failure (the module still exists in this case)."
msgstr ""
@ -106,7 +106,7 @@ msgid ""
"Return the module object corresponding to a module name. The *name* "
"argument may be of the form ``package.module``. First check the modules "
"dictionary if there's one there, and if not, create a new one and insert it "
"in the modules dictionary. Return *NULL* with an exception set on failure."
"in the modules dictionary. Return ``NULL`` with an exception set on failure."
msgstr ""
#: ../Doc/c-api/import.rst:107
@ -129,9 +129,9 @@ msgid ""
"Given a module name (possibly of the form ``package.module``) and a code "
"object read from a Python bytecode file or obtained from the built-in "
"function :func:`compile`, load the module. Return a new reference to the "
"module object, or *NULL* with an exception set if an error occurred. *name* "
"is removed from :attr:`sys.modules` in error cases, even if *name* was "
"already in :attr:`sys.modules` on entry to :c:func:"
"module object, or ``NULL`` with an exception set if an error occurred. "
"*name* is removed from :attr:`sys.modules` in error cases, even if *name* "
"was already in :attr:`sys.modules` on entry to :c:func:"
"`PyImport_ExecCodeModule`. Leaving incompletely initialized modules in :"
"attr:`sys.modules` is dangerous, as imports of such modules have no way to "
"know that the module object is an unknown (and probably damaged with respect "
@ -228,8 +228,8 @@ msgstr ""
#: ../Doc/c-api/import.rst:209
msgid ""
"Return the already imported module with the given name. If the module has "
"not been imported yet then returns NULL but does not set an error. Returns "
"NULL and sets an error if the lookup failed."
"not been imported yet then returns ``NULL`` but does not set an error. "
"Returns ``NULL`` and sets an error if the lookup failed."
msgstr ""
#: ../Doc/c-api/import.rst:217
@ -285,7 +285,7 @@ msgstr ""
#: ../Doc/c-api/import.rst:279
msgid ""
"This pointer is initialized to point to an array of :c:type:`struct _frozen` "
"records, terminated by one whose members are all *NULL* or zero. When a "
"records, terminated by one whose members are all ``NULL`` or zero. When a "
"frozen module is imported, it is searched in this table. Third-party code "
"could play tricks with this to provide a dynamically created collection of "
"frozen modules."
@ -314,7 +314,7 @@ msgstr ""
#: ../Doc/c-api/import.rst:312
msgid ""
"Add a collection of modules to the table of built-in modules. The *newtab* "
"array must end with a sentinel entry which contains *NULL* for the :attr:"
"array must end with a sentinel entry which contains ``NULL`` for the :attr:"
"`name` field; failure to provide the sentinel value can result in a memory "
"fault. Returns ``0`` on success or ``-1`` if insufficient memory could be "
"allocated to extend the internal table. In the event of failure, no modules "

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-09-04 11:42+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -172,8 +172,8 @@ msgstr ""
#: ../Doc/c-api/init_config.rst:64
msgid ""
"If *length* is non-zero, *items* must be non-NULL and all strings must be "
"non-NULL."
"If *length* is non-zero, *items* must be non-``NULL`` and all strings must "
"be non-``NULL``."
msgstr ""
#: ../Doc/c-api/init_config.rst:67
@ -832,7 +832,7 @@ msgid ":data:`sys.pycache_prefix`: ``.pyc`` cache prefix."
msgstr ""
#: ../Doc/c-api/init_config.rst:611
msgid "If NULL, :data:`sys.pycache_prefix` is set to ``None``."
msgid "If ``NULL``, :data:`sys.pycache_prefix` is set to ``None``."
msgstr ""
#: ../Doc/c-api/init_config.rst:615

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -190,7 +190,7 @@ msgstr ""
#: ../Doc/c-api/intro.rst:155
msgid ""
"Like ``getenv(s)``, but returns *NULL* if :option:`-E` was passed on the "
"Like ``getenv(s)``, but returns ``NULL`` if :option:`-E` was passed on the "
"command line (i.e. if ``Py_IgnoreEnvironmentFlag`` is set)."
msgstr ""
@ -468,7 +468,7 @@ msgid ""
"is made otherwise in a function's documentation. In general, when a "
"function encounters an error, it sets an exception, discards any object "
"references that it owns, and returns an error indicator. If not documented "
"otherwise, this indicator is either *NULL* or ``-1``, depending on the "
"otherwise, this indicator is either ``NULL`` or ``-1``, depending on the "
"function's return type. A few functions return a Boolean true/false result, "
"with false indicating an error. Very few functions return no explicit error "
"indicator or have an ambiguous return value, and require explicit testing "
@ -483,7 +483,7 @@ msgid ""
"of two states: an exception has occurred, or not. The function :c:func:"
"`PyErr_Occurred` can be used to check for this: it returns a borrowed "
"reference to the exception type object when an exception has occurred, and "
"*NULL* otherwise. There are a number of functions to set the exception "
"``NULL`` otherwise. There are a number of functions to set the exception "
"state: :c:func:`PyErr_SetString` is the most common (though not the most "
"general) function to set the exception state, and :c:func:`PyErr_Clear` "
"clears the exception state."
@ -492,7 +492,7 @@ msgstr ""
#: ../Doc/c-api/intro.rst:498
msgid ""
"The full exception state consists of three objects (all of which can be "
"*NULL*): the exception type, the corresponding exception value, and the "
"``NULL``): the exception type, the corresponding exception value, and the "
"traceback. These have the same meanings as the Python result of ``sys."
"exc_info()``; however, they are not the same: the Python objects represent "
"the last exception being handled by a Python :keyword:`try` ... :keyword:"
@ -545,10 +545,10 @@ msgid ""
"This example represents an endorsed use of the ``goto`` statement in C! It "
"illustrates the use of :c:func:`PyErr_ExceptionMatches` and :c:func:"
"`PyErr_Clear` to handle specific exceptions, and the use of :c:func:"
"`Py_XDECREF` to dispose of owned references that may be *NULL* (note the "
"`Py_XDECREF` to dispose of owned references that may be ``NULL`` (note the "
"``'X'`` in the name; :c:func:`Py_DECREF` would crash when confronted with a "
"*NULL* reference). It is important that the variables used to hold owned "
"references are initialized to *NULL* for this to work; likewise, the "
"``NULL`` reference). It is important that the variables used to hold owned "
"references are initialized to ``NULL`` for this to work; likewise, the "
"proposed return value is initialized to ``-1`` (failure) and only set to "
"success after the final call made is successful."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-02-15 00:33+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -27,11 +27,12 @@ msgid "Return true if the object *o* supports the iterator protocol."
msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
#: ../Doc/c-api/iter.rst:17
#, fuzzy
msgid ""
"Return the next value from the iteration *o*. The object must be an "
"iterator (it is up to the caller to check this). If there are no remaining "
"values, returns *NULL* with no exception set. If an error occurs while "
"retrieving the item, returns *NULL* and passes along the exception."
"values, returns ``NULL`` with no exception set. If an error occurs while "
"retrieving the item, returns ``NULL`` and passes along the exception."
msgstr ""
"Renvoie la valeur suivante d'une itération de *o*. L'objet doit être un "
"itérateur (c'est à l'appelant de faire cette vérification). Renvoie *NULL* "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -41,7 +41,7 @@ msgid ""
msgstr ""
#: ../Doc/c-api/list.rst:36
msgid "Return a new list of length *len* on success, or *NULL* on failure."
msgid "Return a new list of length *len* on success, or ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/list.rst:40
@ -66,7 +66,7 @@ msgstr ""
msgid ""
"Return the object at position *index* in the list pointed to by *list*. The "
"position must be non-negative; indexing from the end of the list is not "
"supported. If *index* is out of bounds (<0 or >=len(list)), return *NULL* "
"supported. If *index* is out of bounds (<0 or >=len(list)), return ``NULL`` "
"and set an :exc:`IndexError` exception."
msgstr ""
@ -76,58 +76,59 @@ msgstr ""
#: ../Doc/c-api/list.rst:74
msgid ""
"Set the item at index *index* in list to *item*. Return ``0`` on success or "
"``-1`` on failure."
"Set the item at index *index* in list to *item*. Return ``0`` on success. "
"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
"exception."
msgstr ""
#: ../Doc/c-api/list.rst:79
#: ../Doc/c-api/list.rst:80
msgid ""
"This function \"steals\" a reference to *item* and discards a reference to "
"an item already in the list at the affected position."
msgstr ""
#: ../Doc/c-api/list.rst:85
#: ../Doc/c-api/list.rst:86
msgid ""
"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
"normally only used to fill in new lists where there is no previous content."
msgstr ""
#: ../Doc/c-api/list.rst:90
#: ../Doc/c-api/list.rst:91
msgid ""
"This macro \"steals\" a reference to *item*, and, unlike :c:func:"
"`PyList_SetItem`, does *not* discard a reference to any item that is being "
"replaced; any reference in *list* at position *i* will be leaked."
msgstr ""
#: ../Doc/c-api/list.rst:98
#: ../Doc/c-api/list.rst:99
msgid ""
"Insert the item *item* into list *list* in front of index *index*. Return "
"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
"Analogous to ``list.insert(index, item)``."
msgstr ""
#: ../Doc/c-api/list.rst:105
#: ../Doc/c-api/list.rst:106
msgid ""
"Append the object *item* at the end of list *list*. Return ``0`` if "
"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
"to ``list.append(item)``."
msgstr ""
#: ../Doc/c-api/list.rst:112
#: ../Doc/c-api/list.rst:113
msgid ""
"Return a list of the objects in *list* containing the objects *between* "
"*low* and *high*. Return *NULL* and set an exception if unsuccessful. "
"Analogous to ``list[low:high]``. Negative indices, as when slicing from "
"Python, are not supported."
"*low* and *high*. Return ``NULL`` and set an exception if unsuccessful. "
"Analogous to ``list[low:high]``. Indexing from the end of the list is not "
"supported."
msgstr ""
#: ../Doc/c-api/list.rst:120
msgid ""
"Set the slice of *list* between *low* and *high* to the contents of "
"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
"be *NULL*, indicating the assignment of an empty list (slice deletion). "
"Return ``0`` on success, ``-1`` on failure. Negative indices, as when "
"slicing from Python, are not supported."
"be ``NULL``, indicating the assignment of an empty list (slice deletion). "
"Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
"list is not supported."
msgstr ""
#: ../Doc/c-api/list.rst:129

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -54,7 +54,7 @@ msgstr ""
#: ../Doc/c-api/long.rst:41
msgid ""
"Return a new :c:type:`PyLongObject` object from *v*, or *NULL* on failure."
"Return a new :c:type:`PyLongObject` object from *v*, or ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:43
@ -69,44 +69,44 @@ msgstr ""
#: ../Doc/c-api/long.rst:52
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`, "
"or *NULL* on failure."
"or ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:58
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or "
"*NULL* on failure."
"``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:64
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or "
"*NULL* on failure."
"``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:70
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or "
"*NULL* on failure."
"``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:76
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long "
"long`, or *NULL* on failure."
"long`, or ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:82
msgid ""
"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or "
"*NULL* on failure."
"``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/long.rst:88
msgid ""
"Return a new :c:type:`PyLongObject` based on the string value in *str*, "
"which is interpreted according to the radix in *base*. If *pend* is non-"
"*NULL*, *\\*pend* will point to the first character in *str* which follows "
"``NULL``, *\\*pend* will point to the first character in *str* which follows "
"the representation of the number. If *base* is ``0``, *str* is interpreted "
"using the :ref:`integers` definition; in this case, leading zeros in a non-"
"zero decimal number raises a :exc:`ValueError`. If *base* is not ``0``, it "
@ -333,5 +333,6 @@ msgid ""
msgstr ""
#: ../Doc/c-api/long.rst:339
msgid "Returns *NULL* on error. Use :c:func:`PyErr_Occurred` to disambiguate."
msgid ""
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-21 09:48+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -40,7 +40,7 @@ msgstr ""
#: ../Doc/c-api/mapping.rst:32
msgid ""
"Return element of *o* corresponding to the string *key* or *NULL* on "
"Return element of *o* corresponding to the string *key* or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o[key]``. See "
"also :c:func:`PyObject_GetItem`."
msgstr ""
@ -89,7 +89,7 @@ msgstr ""
#: ../Doc/c-api/mapping.rst:81
msgid ""
"On success, return a list of the keys in object *o*. On failure, return "
"*NULL*."
"``NULL``."
msgstr ""
#: ../Doc/c-api/mapping.rst:84 ../Doc/c-api/mapping.rst:93
@ -100,11 +100,11 @@ msgstr ""
#: ../Doc/c-api/mapping.rst:90
msgid ""
"On success, return a list of the values in object *o*. On failure, return "
"*NULL*."
"``NULL``."
msgstr ""
#: ../Doc/c-api/mapping.rst:99
msgid ""
"On success, return a list of the items in object *o*, where each item is a "
"tuple containing a key-value pair. On failure, return *NULL*."
"tuple containing a key-value pair. On failure, return ``NULL``."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-03 17:52+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -36,7 +36,7 @@ msgid ""
"The module supports two versions of the data format: version 0 is the "
"historical version, version 1 shares interned strings in the file, and upon "
"unmarshalling. Version 2 uses a binary format for floating point numbers. "
"*Py_MARSHAL_VERSION* indicates the current file format (currently 2)."
"``Py_MARSHAL_VERSION`` indicates the current file format (currently 2)."
msgstr ""
#: ../Doc/c-api/marshal.rst:24
@ -92,7 +92,7 @@ msgstr ""
#: ../Doc/c-api/marshal.rst:92
msgid ""
"On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
"or :exc:`TypeError`) and returns *NULL*."
"or :exc:`TypeError`) and returns ``NULL``."
msgstr ""
#: ../Doc/c-api/marshal.rst:75

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -128,28 +128,28 @@ msgstr ""
#: ../Doc/c-api/memory.rst:285
msgid ""
"Allocates *n* bytes and returns a pointer of type :c:type:`void\\*` to the "
"allocated memory, or *NULL* if the request fails."
"allocated memory, or ``NULL`` if the request fails."
msgstr ""
#: ../Doc/c-api/memory.rst:115
msgid ""
"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as "
"if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not have "
"been initialized in any way."
"Requesting zero bytes returns a distinct non-``NULL`` pointer if possible, "
"as if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not "
"have been initialized in any way."
msgstr ""
#: ../Doc/c-api/memory.rst:122 ../Doc/c-api/memory.rst:193
#: ../Doc/c-api/memory.rst:295
msgid ""
"Allocates *nelem* elements each whose size in bytes is *elsize* and returns "
"a pointer of type :c:type:`void\\*` to the allocated memory, or *NULL* if "
"a pointer of type :c:type:`void\\*` to the allocated memory, or ``NULL`` if "
"the request fails. The memory is initialized to zeros."
msgstr ""
#: ../Doc/c-api/memory.rst:126
msgid ""
"Requesting zero elements or elements of size zero bytes returns a distinct "
"non-*NULL* pointer if possible, as if ``PyMem_RawCalloc(1, 1)`` had been "
"non-``NULL`` pointer if possible, as if ``PyMem_RawCalloc(1, 1)`` had been "
"called instead."
msgstr ""
@ -162,21 +162,21 @@ msgstr ""
#: ../Doc/c-api/memory.rst:138
msgid ""
"If *p* is *NULL*, the call is equivalent to ``PyMem_RawMalloc(n)``; else if "
"*n* is equal to zero, the memory block is resized but is not freed, and the "
"returned pointer is non-*NULL*."
"If *p* is ``NULL``, the call is equivalent to ``PyMem_RawMalloc(n)``; else "
"if *n* is equal to zero, the memory block is resized but is not freed, and "
"the returned pointer is non-``NULL``."
msgstr ""
#: ../Doc/c-api/memory.rst:142
msgid ""
"Unless *p* is *NULL*, it must have been returned by a previous call to :c:"
"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:"
"func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or :c:func:"
"`PyMem_RawCalloc`."
msgstr ""
#: ../Doc/c-api/memory.rst:146
msgid ""
"If the request fails, :c:func:`PyMem_RawRealloc` returns *NULL* and *p* "
"If the request fails, :c:func:`PyMem_RawRealloc` returns ``NULL`` and *p* "
"remains a valid pointer to the previous memory area."
msgstr ""
@ -190,7 +190,7 @@ msgstr ""
#: ../Doc/c-api/memory.rst:157 ../Doc/c-api/memory.rst:227
#: ../Doc/c-api/memory.rst:329
msgid "If *p* is *NULL*, no operation is performed."
msgid "If *p* is ``NULL``, no operation is performed."
msgstr ""
#: ../Doc/c-api/memory.rst:163
@ -223,35 +223,35 @@ msgstr ""
#: ../Doc/c-api/memory.rst:186
msgid ""
"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as "
"if ``PyMem_Malloc(1)`` had been called instead. The memory will not have "
"Requesting zero bytes returns a distinct non-``NULL`` pointer if possible, "
"as if ``PyMem_Malloc(1)`` had been called instead. The memory will not have "
"been initialized in any way."
msgstr ""
#: ../Doc/c-api/memory.rst:197
msgid ""
"Requesting zero elements or elements of size zero bytes returns a distinct "
"non-*NULL* pointer if possible, as if ``PyMem_Calloc(1, 1)`` had been called "
"instead."
"non-``NULL`` pointer if possible, as if ``PyMem_Calloc(1, 1)`` had been "
"called instead."
msgstr ""
#: ../Doc/c-api/memory.rst:209
msgid ""
"If *p* is *NULL*, the call is equivalent to ``PyMem_Malloc(n)``; else if *n* "
"is equal to zero, the memory block is resized but is not freed, and the "
"returned pointer is non-*NULL*."
"If *p* is ``NULL``, the call is equivalent to ``PyMem_Malloc(n)``; else if "
"*n* is equal to zero, the memory block is resized but is not freed, and the "
"returned pointer is non-``NULL``."
msgstr ""
#: ../Doc/c-api/memory.rst:213
msgid ""
"Unless *p* is *NULL*, it must have been returned by a previous call to :c:"
"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:"
"func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`."
msgstr ""
#: ../Doc/c-api/memory.rst:216
msgid ""
"If the request fails, :c:func:`PyMem_Realloc` returns *NULL* and *p* remains "
"a valid pointer to the previous memory area."
"If the request fails, :c:func:`PyMem_Realloc` returns ``NULL`` and *p* "
"remains a valid pointer to the previous memory area."
msgstr ""
#: ../Doc/c-api/memory.rst:222
@ -279,8 +279,8 @@ msgstr ""
msgid ""
"Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n * "
"sizeof(TYPE))`` bytes. Returns a pointer cast to :c:type:`TYPE\\*`. On "
"return, *p* will be a pointer to the new memory area, or *NULL* in the event "
"of failure."
"return, *p* will be a pointer to the new memory area, or ``NULL`` in the "
"event of failure."
msgstr ""
#: ../Doc/c-api/memory.rst:247
@ -337,35 +337,35 @@ msgstr ""
#: ../Doc/c-api/memory.rst:288
msgid ""
"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as "
"if ``PyObject_Malloc(1)`` had been called instead. The memory will not have "
"been initialized in any way."
"Requesting zero bytes returns a distinct non-``NULL`` pointer if possible, "
"as if ``PyObject_Malloc(1)`` had been called instead. The memory will not "
"have been initialized in any way."
msgstr ""
#: ../Doc/c-api/memory.rst:299
msgid ""
"Requesting zero elements or elements of size zero bytes returns a distinct "
"non-*NULL* pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been "
"non-``NULL`` pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been "
"called instead."
msgstr ""
#: ../Doc/c-api/memory.rst:311
msgid ""
"If *p* is *NULL*, the call is equivalent to ``PyObject_Malloc(n)``; else if "
"*n* is equal to zero, the memory block is resized but is not freed, and the "
"returned pointer is non-*NULL*."
"If *p* is ``NULL``, the call is equivalent to ``PyObject_Malloc(n)``; else "
"if *n* is equal to zero, the memory block is resized but is not freed, and "
"the returned pointer is non-``NULL``."
msgstr ""
#: ../Doc/c-api/memory.rst:315
msgid ""
"Unless *p* is *NULL*, it must have been returned by a previous call to :c:"
"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:"
"func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:"
"`PyObject_Calloc`."
msgstr ""
#: ../Doc/c-api/memory.rst:318
msgid ""
"If the request fails, :c:func:`PyObject_Realloc` returns *NULL* and *p* "
"If the request fails, :c:func:`PyObject_Realloc` returns ``NULL`` and *p* "
"remains a valid pointer to the previous memory area."
msgstr ""
@ -607,8 +607,8 @@ msgstr ""
#: ../Doc/c-api/memory.rst:427
msgid ""
"The new allocator must return a distinct non-NULL pointer when requesting "
"zero bytes."
"The new allocator must return a distinct non-``NULL`` pointer when "
"requesting zero bytes."
msgstr ""
#: ../Doc/c-api/memory.rst:430

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -71,7 +71,7 @@ msgstr ""
#: ../Doc/c-api/memoryview.rst:59
msgid ""
"Return either a pointer to the exporting object that the memoryview is based "
"on or *NULL* if the memoryview has been created by one of the functions :c:"
"on or ``NULL`` if the memoryview has been created by one of the functions :c:"
"func:`PyMemoryView_FromMemory` or :c:func:`PyMemoryView_FromBuffer`. *mview* "
"**must** be a memoryview instance."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -34,7 +34,7 @@ msgstr ""
#: ../Doc/c-api/method.rst:23
msgid ""
"Return true if *o* is an instance method object (has type :c:data:"
"`PyInstanceMethod_Type`). The parameter must not be *NULL*."
"`PyInstanceMethod_Type`). The parameter must not be ``NULL``."
msgstr ""
#: ../Doc/c-api/method.rst:29
@ -74,14 +74,14 @@ msgstr ""
#: ../Doc/c-api/method.rst:66
msgid ""
"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). "
"The parameter must not be *NULL*."
"The parameter must not be ``NULL``."
msgstr ""
#: ../Doc/c-api/method.rst:72
msgid ""
"Return a new method object, with *func* being any callable object and *self* "
"the instance the method should be bound. *func* is the function that will be "
"called when the method is called. *self* must not be *NULL*."
"called when the method is called. *self* must not be ``NULL``."
msgstr ""
#: ../Doc/c-api/method.rst:79

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -58,7 +58,7 @@ msgid ""
"Return the dictionary object that implements *module*'s namespace; this "
"object is the same as the :attr:`~object.__dict__` attribute of the module "
"object. If *module* is not a module object (or a subtype of a module "
"object), :exc:`SystemError` is raised and *NULL* is returned."
"object), :exc:`SystemError` is raised and ``NULL`` is returned."
msgstr ""
#: ../Doc/c-api/module.rst:66
@ -71,7 +71,7 @@ msgstr ""
#: ../Doc/c-api/module.rst:77
msgid ""
"Return *module*'s :attr:`__name__` value. If the module does not provide "
"one, or if it is not a string, :exc:`SystemError` is raised and *NULL* is "
"one, or if it is not a string, :exc:`SystemError` is raised and ``NULL`` is "
"returned."
msgstr ""
@ -84,22 +84,22 @@ msgstr ""
#: ../Doc/c-api/module.rst:90
msgid ""
"Return the \"state\" of the module, that is, a pointer to the block of "
"memory allocated at module creation time, or *NULL*. See :c:member:"
"memory allocated at module creation time, or ``NULL``. See :c:member:"
"`PyModuleDef.m_size`."
msgstr ""
#: ../Doc/c-api/module.rst:97
msgid ""
"Return a pointer to the :c:type:`PyModuleDef` struct from which the module "
"was created, or *NULL* if the module wasn't created from a definition."
"was created, or ``NULL`` if the module wasn't created from a definition."
msgstr ""
#: ../Doc/c-api/module.rst:107
msgid ""
"Return the name of the file from which *module* was loaded using *module*'s :"
"attr:`__file__` attribute. If this is not defined, or if it is not a "
"unicode string, raise :exc:`SystemError` and return *NULL*; otherwise return "
"a reference to a Unicode object."
"unicode string, raise :exc:`SystemError` and return ``NULL``; otherwise "
"return a reference to a Unicode object."
msgstr ""
#: ../Doc/c-api/module.rst:117
@ -189,41 +189,41 @@ msgstr ""
#: ../Doc/c-api/module.rst:180
msgid ""
"A pointer to a table of module-level functions, described by :c:type:"
"`PyMethodDef` values. Can be *NULL* if no functions are present."
"`PyMethodDef` values. Can be ``NULL`` if no functions are present."
msgstr ""
#: ../Doc/c-api/module.rst:185
msgid ""
"An array of slot definitions for multi-phase initialization, terminated by a "
"``{0, NULL}`` entry. When using single-phase initialization, *m_slots* must "
"be *NULL*."
"be ``NULL``."
msgstr ""
#: ../Doc/c-api/module.rst:191
msgid ""
"Prior to version 3.5, this member was always set to *NULL*, and was defined "
"as:"
"Prior to version 3.5, this member was always set to ``NULL``, and was "
"defined as:"
msgstr ""
#: ../Doc/c-api/module.rst:198
msgid ""
"A traversal function to call during GC traversal of the module object, or "
"*NULL* if not needed. This function may be called before module state is "
"``NULL`` if not needed. This function may be called before module state is "
"allocated (:c:func:`PyModule_GetState()` may return `NULL`), and before the :"
"c:member:`Py_mod_exec` function is executed."
msgstr ""
#: ../Doc/c-api/module.rst:205
msgid ""
"A clear function to call during GC clearing of the module object, or *NULL* "
"if not needed. This function may be called before module state is allocated "
"(:c:func:`PyModule_GetState()` may return `NULL`), and before the :c:member:"
"`Py_mod_exec` function is executed."
"A clear function to call during GC clearing of the module object, or "
"``NULL`` if not needed. This function may be called before module state is "
"allocated (:c:func:`PyModule_GetState()` may return `NULL`), and before the :"
"c:member:`Py_mod_exec` function is executed."
msgstr ""
#: ../Doc/c-api/module.rst:212
msgid ""
"A function to call during deallocation of the module object, or *NULL* if "
"A function to call during deallocation of the module object, or ``NULL`` if "
"not needed. This function may be called before module state is allocated (:c:"
"func:`PyModule_GetState()` may return `NULL`), and before the :c:member:"
"`Py_mod_exec` function is executed."
@ -316,7 +316,7 @@ msgid ""
msgstr ""
#: ../Doc/c-api/module.rst:281
msgid "Returns *def* cast to ``PyObject*``, or *NULL* if an error occurred."
msgid "Returns *def* cast to ``PyObject*``, or ``NULL`` if an error occurred."
msgstr ""
#: ../Doc/c-api/module.rst:285
@ -351,7 +351,7 @@ msgstr ""
msgid ""
"The function receives a :py:class:`~importlib.machinery.ModuleSpec` "
"instance, as defined in :PEP:`451`, and the module definition. It should "
"return a new module object, or set an error and return *NULL*."
"return a new module object, or set an error and return ``NULL``."
msgstr ""
#: ../Doc/c-api/module.rst:316
@ -381,7 +381,7 @@ msgid ""
"There is no requirement for the returned object to be an instance of :c:type:"
"`PyModule_Type`. Any type can be used, as long as it supports setting and "
"getting import-related attributes. However, only ``PyModule_Type`` instances "
"may be returned if the ``PyModuleDef`` has non-*NULL* ``m_traverse``, "
"may be returned if the ``PyModuleDef`` has non-``NULL`` ``m_traverse``, "
"``m_clear``, ``m_free``; non-zero ``m_size``; or slots other than "
"``Py_mod_create``."
msgstr ""
@ -450,12 +450,12 @@ msgstr ""
#: ../Doc/c-api/module.rst:397
msgid ""
"Add the functions from the *NULL* terminated *functions* array to *module*. "
"Refer to the :c:type:`PyMethodDef` documentation for details on individual "
"entries (due to the lack of a shared module namespace, module level "
"\"functions\" implemented in C typically receive the module as their first "
"parameter, making them similar to instance methods on Python classes). This "
"function is called automatically when creating a module from "
"Add the functions from the ``NULL`` terminated *functions* array to "
"*module*. Refer to the :c:type:`PyMethodDef` documentation for details on "
"individual entries (due to the lack of a shared module namespace, module "
"level \"functions\" implemented in C typically receive the module as their "
"first parameter, making them similar to instance methods on Python classes). "
"This function is called automatically when creating a module from "
"``PyModuleDef``, using either ``PyModule_Create`` or "
"``PyModule_FromDefAndSpec``."
msgstr ""
@ -502,7 +502,7 @@ msgstr ""
msgid ""
"Add a string constant to *module* as *name*. This convenience function can "
"be used from the module's initialization function. The string *value* must "
"be *NULL*-terminated. Return ``-1`` on error, ``0`` on success."
"be ``NULL``-terminated. Return ``-1`` on error, ``0`` on success."
msgstr ""
#: ../Doc/c-api/module.rst:453
@ -541,7 +541,7 @@ msgid ""
"interpreter. This method requires that the module object has been attached "
"to the interpreter state with :c:func:`PyState_AddModule` beforehand. In "
"case the corresponding module object is not found or has not been attached "
"to the interpreter state yet, it returns *NULL*."
"to the interpreter state yet, it returns ``NULL``."
msgstr ""
#: ../Doc/c-api/module.rst:483
@ -555,7 +555,23 @@ msgstr ""
msgid "Only effective on modules created using single-phase initialization."
msgstr ""
#: ../Doc/c-api/module.rst:492
#: ../Doc/c-api/module.rst:488
msgid ""
"Removes the module object created from *def* from the interpreter state."
"Python calls ``PyState_AddModule`` automatically after importing a module, "
"so it is unnecessary (but harmless) to call it from module initialization "
"code. An explicit call is needed only if the module's own init code "
"subsequently calls ``PyState_FindModule``. The function is mainly intended "
"for implementing alternative import mechanisms (either by calling it "
"directly, or by referring to its implementation for details of the required "
"state updates)."
msgstr ""
#: ../Doc/c-api/module.rst:496
msgid "Return 0 on success or -1 on failure."
msgstr ""
#: ../Doc/c-api/module.rst:502
msgid ""
"Removes the module object created from *def* from the interpreter state. "
"Return 0 on success or -1 on failure."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -30,148 +30,148 @@ msgstr ""
#: ../Doc/c-api/number.rst:20
msgid ""
"Returns the result of adding *o1* and *o2*, or *NULL* on failure. This is "
"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. This is "
"the equivalent of the Python expression ``o1 + o2``."
msgstr ""
#: ../Doc/c-api/number.rst:26
msgid ""
"Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. "
"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. "
"This is the equivalent of the Python expression ``o1 - o2``."
msgstr ""
#: ../Doc/c-api/number.rst:32
msgid ""
"Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. This "
"is the equivalent of the Python expression ``o1 * o2``."
"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. "
"This is the equivalent of the Python expression ``o1 * o2``."
msgstr ""
#: ../Doc/c-api/number.rst:38
msgid ""
"Returns the result of matrix multiplication on *o1* and *o2*, or *NULL* on "
"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o1 @ o2``."
msgstr ""
#: ../Doc/c-api/number.rst:46
msgid ""
"Return the floor of *o1* divided by *o2*, or *NULL* on failure. This is "
"Return the floor of *o1* divided by *o2*, or ``NULL`` on failure. This is "
"equivalent to the \"classic\" division of integers."
msgstr ""
#: ../Doc/c-api/number.rst:52
msgid ""
"Return a reasonable approximation for the mathematical value of *o1* divided "
"by *o2*, or *NULL* on failure. The return value is \"approximate\" because "
"binary floating point numbers are approximate; it is not possible to "
"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" "
"because binary floating point numbers are approximate; it is not possible to "
"represent all real numbers in base two. This function can return a floating "
"point value when passed two integers."
msgstr ""
#: ../Doc/c-api/number.rst:61
msgid ""
"Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. This "
"is the equivalent of the Python expression ``o1 % o2``."
"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. "
"This is the equivalent of the Python expression ``o1 % o2``."
msgstr ""
#: ../Doc/c-api/number.rst:69
msgid ""
"See the built-in function :func:`divmod`. Returns *NULL* on failure. This "
"See the built-in function :func:`divmod`. Returns ``NULL`` on failure. This "
"is the equivalent of the Python expression ``divmod(o1, o2)``."
msgstr ""
#: ../Doc/c-api/number.rst:77
msgid ""
"See the built-in function :func:`pow`. Returns *NULL* on failure. This is "
"See the built-in function :func:`pow`. Returns ``NULL`` on failure. This is "
"the equivalent of the Python expression ``pow(o1, o2, o3)``, where *o3* is "
"optional. If *o3* is to be ignored, pass :c:data:`Py_None` in its place "
"(passing *NULL* for *o3* would cause an illegal memory access)."
"(passing ``NULL`` for *o3* would cause an illegal memory access)."
msgstr ""
#: ../Doc/c-api/number.rst:85
msgid ""
"Returns the negation of *o* on success, or *NULL* on failure. This is the "
"Returns the negation of *o* on success, or ``NULL`` on failure. This is the "
"equivalent of the Python expression ``-o``."
msgstr ""
#: ../Doc/c-api/number.rst:91
msgid ""
"Returns *o* on success, or *NULL* on failure. This is the equivalent of the "
"Python expression ``+o``."
"Returns *o* on success, or ``NULL`` on failure. This is the equivalent of "
"the Python expression ``+o``."
msgstr ""
#: ../Doc/c-api/number.rst:99
msgid ""
"Returns the absolute value of *o*, or *NULL* on failure. This is the "
"Returns the absolute value of *o*, or ``NULL`` on failure. This is the "
"equivalent of the Python expression ``abs(o)``."
msgstr ""
#: ../Doc/c-api/number.rst:105
msgid ""
"Returns the bitwise negation of *o* on success, or *NULL* on failure. This "
"is the equivalent of the Python expression ``~o``."
"Returns the bitwise negation of *o* on success, or ``NULL`` on failure. "
"This is the equivalent of the Python expression ``~o``."
msgstr ""
#: ../Doc/c-api/number.rst:111
msgid ""
"Returns the result of left shifting *o1* by *o2* on success, or *NULL* on "
"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o1 << o2``."
msgstr ""
#: ../Doc/c-api/number.rst:117
msgid ""
"Returns the result of right shifting *o1* by *o2* on success, or *NULL* on "
"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o1 >> o2``."
msgstr ""
#: ../Doc/c-api/number.rst:123
msgid ""
"Returns the \"bitwise and\" of *o1* and *o2* on success and *NULL* on "
"Returns the \"bitwise and\" of *o1* and *o2* on success and ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o1 & o2``."
msgstr ""
#: ../Doc/c-api/number.rst:129
msgid ""
"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or *NULL* "
"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL`` "
"on failure. This is the equivalent of the Python expression ``o1 ^ o2``."
msgstr ""
#: ../Doc/c-api/number.rst:135
msgid ""
"Returns the \"bitwise or\" of *o1* and *o2* on success, or *NULL* on "
"Returns the \"bitwise or\" of *o1* and *o2* on success, or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o1 | o2``."
msgstr ""
#: ../Doc/c-api/number.rst:141
msgid ""
"Returns the result of adding *o1* and *o2*, or *NULL* on failure. The "
"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. The "
"operation is done *in-place* when *o1* supports it. This is the equivalent "
"of the Python statement ``o1 += o2``."
msgstr ""
#: ../Doc/c-api/number.rst:148
msgid ""
"Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. The "
"operation is done *in-place* when *o1* supports it. This is the equivalent "
"of the Python statement ``o1 -= o2``."
"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. "
"The operation is done *in-place* when *o1* supports it. This is the "
"equivalent of the Python statement ``o1 -= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:155
msgid ""
"Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. The "
"operation is done *in-place* when *o1* supports it. This is the equivalent "
"of the Python statement ``o1 *= o2``."
"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. "
"The operation is done *in-place* when *o1* supports it. This is the "
"equivalent of the Python statement ``o1 *= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:162
msgid ""
"Returns the result of matrix multiplication on *o1* and *o2*, or *NULL* on "
"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 @= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:171
msgid ""
"Returns the mathematical floor of dividing *o1* by *o2*, or *NULL* on "
"Returns the mathematical floor of dividing *o1* by *o2*, or ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 //= o2``."
msgstr ""
@ -179,8 +179,8 @@ msgstr ""
#: ../Doc/c-api/number.rst:178
msgid ""
"Return a reasonable approximation for the mathematical value of *o1* divided "
"by *o2*, or *NULL* on failure. The return value is \"approximate\" because "
"binary floating point numbers are approximate; it is not possible to "
"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" "
"because binary floating point numbers are approximate; it is not possible to "
"represent all real numbers in base two. This function can return a floating "
"point value when passed two integers. The operation is done *in-place* when "
"*o1* supports it."
@ -188,71 +188,71 @@ msgstr ""
#: ../Doc/c-api/number.rst:187
msgid ""
"Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. The "
"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. The "
"operation is done *in-place* when *o1* supports it. This is the equivalent "
"of the Python statement ``o1 %= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:196
msgid ""
"See the built-in function :func:`pow`. Returns *NULL* on failure. The "
"See the built-in function :func:`pow`. Returns ``NULL`` on failure. The "
"operation is done *in-place* when *o1* supports it. This is the equivalent "
"of the Python statement ``o1 **= o2`` when o3 is :c:data:`Py_None`, or an in-"
"place variant of ``pow(o1, o2, o3)`` otherwise. If *o3* is to be ignored, "
"pass :c:data:`Py_None` in its place (passing *NULL* for *o3* would cause an "
"illegal memory access)."
"pass :c:data:`Py_None` in its place (passing ``NULL`` for *o3* would cause "
"an illegal memory access)."
msgstr ""
#: ../Doc/c-api/number.rst:205
msgid ""
"Returns the result of left shifting *o1* by *o2* on success, or *NULL* on "
"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 <<= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:212
msgid ""
"Returns the result of right shifting *o1* by *o2* on success, or *NULL* on "
"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 >>= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:219
msgid ""
"Returns the \"bitwise and\" of *o1* and *o2* on success and *NULL* on "
"Returns the \"bitwise and\" of *o1* and *o2* on success and ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 &= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:226
msgid ""
"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or *NULL* "
"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL`` "
"on failure. The operation is done *in-place* when *o1* supports it. This "
"is the equivalent of the Python statement ``o1 ^= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:233
msgid ""
"Returns the \"bitwise or\" of *o1* and *o2* on success, or *NULL* on "
"Returns the \"bitwise or\" of *o1* and *o2* on success, or ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 |= o2``."
msgstr ""
#: ../Doc/c-api/number.rst:242
msgid ""
"Returns the *o* converted to an integer object on success, or *NULL* on "
"Returns the *o* converted to an integer object on success, or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``int(o)``."
msgstr ""
#: ../Doc/c-api/number.rst:250
msgid ""
"Returns the *o* converted to a float object on success, or *NULL* on "
"Returns the *o* converted to a float object on success, or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``float(o)``."
msgstr ""
#: ../Doc/c-api/number.rst:256
msgid ""
"Returns the *o* converted to a Python int on success or *NULL* with a :exc:"
"Returns the *o* converted to a Python int on success or ``NULL`` with a :exc:"
"`TypeError` exception raised on failure."
msgstr ""
@ -276,9 +276,9 @@ msgid ""
"If *o* can be converted to a Python int but the attempt to convert to a "
"Py_ssize_t value would raise an :exc:`OverflowError`, then the *exc* "
"argument is the type of exception that will be raised (usually :exc:"
"`IndexError` or :exc:`OverflowError`). If *exc* is *NULL*, then the "
"exception is cleared and the value is clipped to *PY_SSIZE_T_MIN* for a "
"negative integer or *PY_SSIZE_T_MAX* for a positive integer."
"`IndexError` or :exc:`OverflowError`). If *exc* is ``NULL``, then the "
"exception is cleared and the value is clipped to ``PY_SSIZE_T_MIN`` for a "
"negative integer or ``PY_SSIZE_T_MAX`` for a positive integer."
msgstr ""
#: ../Doc/c-api/number.rst:284

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-08-16 22:56+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -76,20 +76,22 @@ msgid ""
msgstr ""
#: ../Doc/c-api/object.rst:55
#, fuzzy
msgid ""
"Retrieve an attribute named *attr_name* from object *o*. Returns the "
"attribute value on success, or *NULL* on failure. This is the equivalent of "
"the Python expression ``o.attr_name``."
"attribute value on success, or ``NULL`` on failure. This is the equivalent "
"of the Python expression ``o.attr_name``."
msgstr ""
"Récupère l'attribut nommé *attr_name* de l'objet *o*. Renvoie la valeur de "
"l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à "
"l'expression Python ``o.attr_name``."
#: ../Doc/c-api/object.rst:62
#, fuzzy
msgid ""
"Retrieve an attribute named *attr_name* from object *o*. Returns the "
"attribute value on success, or *NULL* on failure. This is the equivalent of "
"the Python expression ``o.attr_name``."
"attribute value on success, or ``NULL`` on failure. This is the equivalent "
"of the Python expression ``o.attr_name``."
msgstr ""
"Récupère un attribut nommé *attr_name* de l'objet *o*. Renvoie la valeur de "
"l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à "
@ -124,16 +126,18 @@ msgstr ""
"attr_name = v``."
#: ../Doc/c-api/object.rst:84
#, fuzzy
msgid ""
"If *v* is *NULL*, the attribute is deleted, however this feature is "
"If *v* is ``NULL``, the attribute is deleted, however this feature is "
"deprecated in favour of using :c:func:`PyObject_DelAttr`."
msgstr ""
"Si *v* est *NULL*, l'attribut est supprimé. Cette fonctionnalité est "
"obsolète,nous vous conseillons d'utiliser :c:func:`PyObject_DelAttr`."
#: ../Doc/c-api/object.rst:95
#, fuzzy
msgid ""
"If *v* is *NULL*, the attribute is deleted, however this feature is "
"If *v* is ``NULL``, the attribute is deleted, however this feature is "
"deprecated in favour of using :c:func:`PyObject_DelAttrString`."
msgstr ""
"Si *v* est *NULL*, l'attribut est supprimé. Cette fonctionnalité est "
@ -185,13 +189,14 @@ msgstr ""
"Cette implémentation n'autorise pas la suppression du dictionnaire."
#: ../Doc/c-api/object.rst:141
#, fuzzy
msgid ""
"Compare the values of *o1* and *o2* using the operation specified by *opid*, "
"which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, :const:"
"`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, ``<=``, "
"``==``, ``!=``, ``>``, or ``>=`` respectively. This is the equivalent of the "
"Python expression ``o1 op o2``, where ``op`` is the operator corresponding "
"to *opid*. Returns the value of the comparison on success, or *NULL* on "
"to *opid*. Returns the value of the comparison on success, or ``NULL`` on "
"failure."
msgstr ""
"Compare les valeurs de *o1* et *o2* en utilisant l'opération spécifiée par "
@ -229,10 +234,12 @@ msgstr ""
"renvoie toujours ``1`` pour :const:`Py_EQ` et ``0`` pour :const:`Py_NE`."
#: ../Doc/c-api/object.rst:167
#, fuzzy
msgid ""
"Compute a string representation of object *o*. Returns the string "
"representation on success, *NULL* on failure. This is the equivalent of the "
"Python expression ``repr(o)``. Called by the :func:`repr` built-in function."
"representation on success, ``NULL`` on failure. This is the equivalent of "
"the Python expression ``repr(o)``. Called by the :func:`repr` built-in "
"function."
msgstr ""
"Calcule une représentation en chaîne de caractères de l'objet *o*. Renvoie "
"la représentation en chaîne de caractères en cas de succès, *NULL* en cas "
@ -263,11 +270,12 @@ msgstr ""
"native :func:`ascii`."
#: ../Doc/c-api/object.rst:190
#, fuzzy
msgid ""
"Compute a string representation of object *o*. Returns the string "
"representation on success, *NULL* on failure. This is the equivalent of the "
"Python expression ``str(o)``. Called by the :func:`str` built-in function "
"and, therefore, by the :func:`print` function."
"representation on success, ``NULL`` on failure. This is the equivalent of "
"the Python expression ``str(o)``. Called by the :func:`str` built-in "
"function and, therefore, by the :func:`print` function."
msgstr ""
"Calcule une représentation en chaîne de caractères de l'objet *o*. Renvoie "
"la représentation en chaîne de caractères en cas de succès, *NULL* en cas "
@ -276,11 +284,13 @@ msgstr ""
"func:`print`."
#: ../Doc/c-api/object.rst:203
#, fuzzy
msgid ""
"Compute a bytes representation of object *o*. *NULL* is returned on failure "
"and a bytes object on success. This is equivalent to the Python expression "
"``bytes(o)``, when *o* is not an integer. Unlike ``bytes(o)``, a TypeError "
"is raised when *o* is an integer instead of a zero-initialized bytes object."
"Compute a bytes representation of object *o*. ``NULL`` is returned on "
"failure and a bytes object on success. This is equivalent to the Python "
"expression ``bytes(o)``, when *o* is not an integer. Unlike ``bytes(o)``, a "
"TypeError is raised when *o* is an integer instead of a zero-initialized "
"bytes object."
msgstr ""
"Calcule une représentation en octets de l'objet *o*. *NULL* est renvoyé en "
"cas d'échec, un objet séquence d'octets est renvoyé en cas de succès. Ceci "
@ -384,9 +394,10 @@ msgstr ""
"le tuple *args*, et des arguments nommés donnés par le dictionnaire *kwargs*."
#: ../Doc/c-api/object.rst:261
#, fuzzy
msgid ""
"*args* must not be *NULL*, use an empty tuple if no arguments are needed. If "
"no named arguments are needed, *kwargs* can be *NULL*."
"*args* must not be ``NULL``, use an empty tuple if no arguments are needed. "
"If no named arguments are needed, *kwargs* can be ``NULL``."
msgstr ""
"*args* ne doit pas être égal à *NULL*, utilisez un tuple vide si aucun "
"argument n'est nécessaire. Si aucun argument nommé n'est nécessaire, "
@ -396,9 +407,10 @@ msgstr ""
#: ../Doc/c-api/object.rst:288 ../Doc/c-api/object.rst:308
#: ../Doc/c-api/object.rst:327 ../Doc/c-api/object.rst:341
#: ../Doc/c-api/object.rst:365
#, fuzzy
msgid ""
"Return the result of the call on success, or raise an exception and return "
"*NULL* on failure."
"``NULL`` on failure."
msgstr ""
"Renvoie le résultat de l'appel en cas de succès, ou lève une exception et "
"renvoie *NULL* en cas d'échec."
@ -411,9 +423,10 @@ msgstr ""
"Ceci est l'équivalent de l'expression Python : ``callable(*args, **kwargs)``."
#: ../Doc/c-api/object.rst:273
#, fuzzy
msgid ""
"Call a callable Python object *callable*, with arguments given by the tuple "
"*args*. If no arguments are needed, then *args* can be *NULL*."
"*args*. If no arguments are needed, then *args* can be ``NULL``."
msgstr ""
"Appelle un objet Python appelable *callable*, avec des arguments donnés par "
"le tuple *args*. Si aucun argument n'est nécessaire, alors *args* peut être "
@ -424,11 +437,12 @@ msgid "This is the equivalent of the Python expression: ``callable(*args)``."
msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``."
#: ../Doc/c-api/object.rst:284
#, fuzzy
msgid ""
"Call a callable Python object *callable*, with a variable number of C "
"arguments. The C arguments are described using a :c:func:`Py_BuildValue` "
"style format string. The format can be *NULL*, indicating that no arguments "
"are provided."
"style format string. The format can be ``NULL``, indicating that no "
"arguments are provided."
msgstr ""
"Appelle un objet Python appelable, avec un nombre variable d'arguments C. "
"Les arguments C sont décrits par une chaîne de caractères de format de type :"
@ -453,7 +467,7 @@ msgid ""
msgstr ""
#: ../Doc/c-api/object.rst:306
msgid "The format can be *NULL*, indicating that no arguments are provided."
msgid "The format can be ``NULL``, indicating that no arguments are provided."
msgstr ""
#: ../Doc/c-api/object.rst:311
@ -473,11 +487,16 @@ msgid "The types of *name* and *format* were changed from ``char *``."
msgstr ""
#: ../Doc/c-api/object.rst:323
#, fuzzy
msgid ""
"Call a callable Python object *callable*, with a variable number of :c:type:"
"`PyObject\\*` arguments. The arguments are provided as a variable number of "
"parameters followed by *NULL*."
"parameters followed by ``NULL``."
msgstr ""
"Appelle un objet Python appelable, avec un nombre variable d'arguments C. "
"Les arguments C sont décrits par une chaîne de caractères de format de type :"
"c:func:`Py_BuildValue`. Le format peut être *NULL*, indiquant qu'aucun "
"argument n'est donné."
#: ../Doc/c-api/object.rst:330
msgid ""
@ -490,7 +509,7 @@ msgid ""
"Calls a method of the Python object *obj*, where the name of the method is "
"given as a Python string object in *name*. It is called with a variable "
"number of :c:type:`PyObject\\*` arguments. The arguments are provided as a "
"variable number of parameters followed by *NULL*."
"variable number of parameters followed by ``NULL``."
msgstr ""
#: ../Doc/c-api/object.rst:347
@ -512,10 +531,10 @@ msgstr ""
#: ../Doc/c-api/object.rst:357
msgid ""
"*kwnames* can be either NULL (no keyword arguments) or a tuple of keyword "
"names. In the latter case, the values of the keyword arguments are stored in "
"*args* after the positional arguments. The number of keyword arguments does "
"not influence *nargsf*."
"*kwnames* can be either ``NULL`` (no keyword arguments) or a tuple of "
"keyword names. In the latter case, the values of the keyword arguments are "
"stored in *args* after the positional arguments. The number of keyword "
"arguments does not influence *nargsf*."
msgstr ""
#: ../Doc/c-api/object.rst:362
@ -562,7 +581,7 @@ msgstr ""
#: ../Doc/c-api/object.rst:404
msgid ""
"Same as :c:func:`_PyObject_Vectorcall` except that the keyword arguments are "
"passed as a dictionary in *kwdict*. This may be *NULL* if there are no "
"passed as a dictionary in *kwdict*. This may be ``NULL`` if there are no "
"keyword arguments."
msgstr ""
@ -611,9 +630,9 @@ msgstr ""
#: ../Doc/c-api/object.rst:461
msgid ""
"When *o* is non-*NULL*, returns a type object corresponding to the object "
"When *o* is non-``NULL``, returns a type object corresponding to the object "
"type of object *o*. On failure, raises :exc:`SystemError` and returns "
"*NULL*. This is equivalent to the Python expression ``type(o)``. This "
"``NULL``. This is equivalent to the Python expression ``type(o)``. This "
"function increments the reference count of the return value. There's really "
"no reason to use this function instead of the common expression ``o-"
">ob_type``, which returns a pointer of type :c:type:`PyTypeObject\\*`, "
@ -623,7 +642,7 @@ msgstr ""
#: ../Doc/c-api/object.rst:472
msgid ""
"Return true if the object *o* is of type *type* or a subtype of *type*. "
"Both parameters must be non-*NULL*."
"Both parameters must be non-``NULL``."
msgstr ""
#: ../Doc/c-api/object.rst:481
@ -643,10 +662,14 @@ msgid ""
msgstr ""
#: ../Doc/c-api/object.rst:498
#, fuzzy
msgid ""
"Return element of *o* corresponding to the object *key* or *NULL* on "
"Return element of *o* corresponding to the object *key* or ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o[key]``."
msgstr ""
"Récupère un attribut nommé *attr_name* de l'objet *o*. Renvoie la valeur de "
"l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à "
"l'expression Python ``o.attr_name``."
#: ../Doc/c-api/object.rst:504
msgid ""
@ -665,9 +688,9 @@ msgstr ""
msgid ""
"This is equivalent to the Python expression ``dir(o)``, returning a "
"(possibly empty) list of strings appropriate for the object argument, or "
"*NULL* if there was an error. If the argument is *NULL*, this is like the "
"Python ``dir()``, returning the names of the current locals; in this case, "
"if no execution frame is active then *NULL* is returned but :c:func:"
"``NULL`` if there was an error. If the argument is ``NULL``, this is like "
"the Python ``dir()``, returning the names of the current locals; in this "
"case, if no execution frame is active then ``NULL`` is returned but :c:func:"
"`PyErr_Occurred` will return false."
msgstr ""
@ -675,6 +698,6 @@ msgstr ""
msgid ""
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
"iterator for the object argument, or the object itself if the object is "
"already an iterator. Raises :exc:`TypeError` and returns *NULL* if the "
"already an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the "
"object cannot be iterated."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -27,21 +27,22 @@ msgstr ""
#: ../Doc/c-api/refcounting.rst:16
msgid ""
"Increment the reference count for object *o*. The object must not be "
"*NULL*; if you aren't sure that it isn't *NULL*, use :c:func:`Py_XINCREF`."
"``NULL``; if you aren't sure that it isn't ``NULL``, use :c:func:"
"`Py_XINCREF`."
msgstr ""
#: ../Doc/c-api/refcounting.rst:22
msgid ""
"Increment the reference count for object *o*. The object may be *NULL*, in "
"which case the macro has no effect."
"Increment the reference count for object *o*. The object may be ``NULL``, "
"in which case the macro has no effect."
msgstr ""
#: ../Doc/c-api/refcounting.rst:28
msgid ""
"Decrement the reference count for object *o*. The object must not be "
"*NULL*; if you aren't sure that it isn't *NULL*, use :c:func:`Py_XDECREF`. "
"If the reference count reaches zero, the object's type's deallocation "
"function (which must not be *NULL*) is invoked."
"``NULL``; if you aren't sure that it isn't ``NULL``, use :c:func:"
"`Py_XDECREF`. If the reference count reaches zero, the object's type's "
"deallocation function (which must not be ``NULL``) is invoked."
msgstr ""
#: ../Doc/c-api/refcounting.rst:35
@ -59,19 +60,19 @@ msgstr ""
#: ../Doc/c-api/refcounting.rst:47
msgid ""
"Decrement the reference count for object *o*. The object may be *NULL*, in "
"which case the macro has no effect; otherwise the effect is the same as for :"
"c:func:`Py_DECREF`, and the same warning applies."
"Decrement the reference count for object *o*. The object may be ``NULL``, "
"in which case the macro has no effect; otherwise the effect is the same as "
"for :c:func:`Py_DECREF`, and the same warning applies."
msgstr ""
#: ../Doc/c-api/refcounting.rst:54
msgid ""
"Decrement the reference count for object *o*. The object may be *NULL*, in "
"which case the macro has no effect; otherwise the effect is the same as for :"
"c:func:`Py_DECREF`, except that the argument is also set to *NULL*. The "
"warning for :c:func:`Py_DECREF` does not apply with respect to the object "
"passed because the macro carefully uses a temporary variable and sets the "
"argument to *NULL* before decrementing its reference count."
"Decrement the reference count for object *o*. The object may be ``NULL``, "
"in which case the macro has no effect; otherwise the effect is the same as "
"for :c:func:`Py_DECREF`, except that the argument is also set to ``NULL``. "
"The warning for :c:func:`Py_DECREF` does not apply with respect to the "
"object passed because the macro carefully uses a temporary variable and sets "
"the argument to ``NULL`` before decrementing its reference count."
msgstr ""
#: ../Doc/c-api/refcounting.rst:61

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-02-26 12:01+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -28,24 +28,27 @@ msgstr ""
"*thread* indiqué par le *thread state*."
#: ../Doc/c-api/reflection.rst:16
#, fuzzy
msgid ""
"Return a dictionary of the local variables in the current execution frame, "
"or *NULL* if no frame is currently executing."
"or ``NULL`` if no frame is currently executing."
msgstr ""
"Renvoie un dictionnaire des variables locales de la *frame* en cours "
"d'exécution, ou *NULL* si aucune *frame* n'est en cours d'exécution."
#: ../Doc/c-api/reflection.rst:22
#, fuzzy
msgid ""
"Return a dictionary of the global variables in the current execution frame, "
"or *NULL* if no frame is currently executing."
"or ``NULL`` if no frame is currently executing."
msgstr ""
"Renvoie un dictionnaire des variables globales de la *frame* en cours "
"d'exécution ou *NULL* si aucune *frame* n'est en cours d'exécution."
#: ../Doc/c-api/reflection.rst:28
#, fuzzy
msgid ""
"Return the current thread state's frame, which is *NULL* if no frame is "
"Return the current thread state's frame, which is ``NULL`` if no frame is "
"currently executing."
msgstr ""
"Renvoie la *frame* actuelle selon le *thread state*, qui est *NULL* si "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -35,40 +35,41 @@ msgstr ""
#: ../Doc/c-api/sequence.rst:29
msgid ""
"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure. "
"This is the equivalent of the Python expression ``o1 + o2``."
"Return the concatenation of *o1* and *o2* on success, and ``NULL`` on "
"failure. This is the equivalent of the Python expression ``o1 + o2``."
msgstr ""
#: ../Doc/c-api/sequence.rst:35
msgid ""
"Return the result of repeating sequence object *o* *count* times, or *NULL* "
"on failure. This is the equivalent of the Python expression ``o * count``."
"Return the result of repeating sequence object *o* *count* times, or "
"``NULL`` on failure. This is the equivalent of the Python expression ``o * "
"count``."
msgstr ""
#: ../Doc/c-api/sequence.rst:41
msgid ""
"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure. "
"The operation is done *in-place* when *o1* supports it. This is the "
"equivalent of the Python expression ``o1 += o2``."
"Return the concatenation of *o1* and *o2* on success, and ``NULL`` on "
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python expression ``o1 += o2``."
msgstr ""
#: ../Doc/c-api/sequence.rst:48
msgid ""
"Return the result of repeating sequence object *o* *count* times, or *NULL* "
"on failure. The operation is done *in-place* when *o* supports it. This is "
"the equivalent of the Python expression ``o *= count``."
"Return the result of repeating sequence object *o* *count* times, or "
"``NULL`` on failure. The operation is done *in-place* when *o* supports "
"it. This is the equivalent of the Python expression ``o *= count``."
msgstr ""
#: ../Doc/c-api/sequence.rst:55
msgid ""
"Return the *i*\\ th element of *o*, or *NULL* on failure. This is the "
"Return the *i*\\ th element of *o*, or ``NULL`` on failure. This is the "
"equivalent of the Python expression ``o[i]``."
msgstr ""
#: ../Doc/c-api/sequence.rst:61
msgid ""
"Return the slice of sequence object *o* between *i1* and *i2*, or *NULL* on "
"failure. This is the equivalent of the Python expression ``o[i1:i2]``."
"Return the slice of sequence object *o* between *i1* and *i2*, or ``NULL`` "
"on failure. This is the equivalent of the Python expression ``o[i1:i2]``."
msgstr ""
#: ../Doc/c-api/sequence.rst:67
@ -81,8 +82,8 @@ msgstr ""
#: ../Doc/c-api/sequence.rst:72
msgid ""
"If *v* is *NULL*, the element is deleted, however this feature is deprecated "
"in favour of using :c:func:`PySequence_DelItem`."
"If *v* is ``NULL``, the element is deleted, however this feature is "
"deprecated in favour of using :c:func:`PySequence_DelItem`."
msgstr ""
#: ../Doc/c-api/sequence.rst:78
@ -126,14 +127,14 @@ msgstr ""
#: ../Doc/c-api/sequence.rst:116
msgid ""
"Return a list object with the same contents as the sequence or iterable *o*, "
"or *NULL* on failure. The returned list is guaranteed to be new. This is "
"or ``NULL`` on failure. The returned list is guaranteed to be new. This is "
"equivalent to the Python expression ``list(o)``."
msgstr ""
#: ../Doc/c-api/sequence.rst:125
msgid ""
"Return a tuple object with the same contents as the sequence or iterable "
"*o*, or *NULL* on failure. If *o* is a tuple, a new reference will be "
"*o*, or ``NULL`` on failure. If *o* is a tuple, a new reference will be "
"returned, otherwise a tuple will be constructed with the appropriate "
"contents. This is equivalent to the Python expression ``tuple(o)``."
msgstr ""
@ -143,7 +144,7 @@ msgid ""
"Return the sequence or iterable *o* as an object usable by the other "
"``PySequence_Fast*`` family of functions. If the object is not a sequence or "
"iterable, raises :exc:`TypeError` with *m* as the message text. Returns "
"*NULL* on failure."
"``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/sequence.rst:138
@ -162,7 +163,7 @@ msgstr ""
#: ../Doc/c-api/sequence.rst:148
msgid ""
"Returns the length of *o*, assuming that *o* was returned by :c:func:"
"`PySequence_Fast` and that *o* is not *NULL*. The size can also be gotten "
"`PySequence_Fast` and that *o* is not ``NULL``. The size can also be gotten "
"by calling :c:func:`PySequence_Size` on *o*, but :c:func:"
"`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a list or "
"tuple."
@ -171,13 +172,13 @@ msgstr ""
#: ../Doc/c-api/sequence.rst:157
msgid ""
"Return the *i*\\ th element of *o*, assuming that *o* was returned by :c:"
"func:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds."
"func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within bounds."
msgstr ""
#: ../Doc/c-api/sequence.rst:163
msgid ""
"Return the underlying array of PyObject pointers. Assumes that *o* was "
"returned by :c:func:`PySequence_Fast` and *o* is not *NULL*."
"returned by :c:func:`PySequence_Fast` and *o* is not ``NULL``."
msgstr ""
#: ../Doc/c-api/sequence.rst:166
@ -189,7 +190,7 @@ msgstr ""
#: ../Doc/c-api/sequence.rst:173
msgid ""
"Return the *i*\\ th element of *o* or *NULL* on failure. Faster form of :c:"
"Return the *i*\\ th element of *o* or ``NULL`` on failure. Faster form of :c:"
"func:`PySequence_GetItem` but without checking that :c:func:"
"`PySequence_Check` on *o* is true and without adjustment for negative "
"indices."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -94,18 +94,18 @@ msgstr ""
#: ../Doc/c-api/set.rst:82
msgid ""
"Return a new :class:`set` containing objects returned by the *iterable*. "
"The *iterable* may be *NULL* to create a new empty set. Return the new set "
"on success or *NULL* on failure. Raise :exc:`TypeError` if *iterable* is "
"not actually iterable. The constructor is also useful for copying a set "
"The *iterable* may be ``NULL`` to create a new empty set. Return the new "
"set on success or ``NULL`` on failure. Raise :exc:`TypeError` if *iterable* "
"is not actually iterable. The constructor is also useful for copying a set "
"(``c=set(s)``)."
msgstr ""
#: ../Doc/c-api/set.rst:91
msgid ""
"Return a new :class:`frozenset` containing objects returned by the "
"*iterable*. The *iterable* may be *NULL* to create a new empty frozenset. "
"Return the new set on success or *NULL* on failure. Raise :exc:`TypeError` "
"if *iterable* is not actually iterable."
"*iterable*. The *iterable* may be ``NULL`` to create a new empty frozenset. "
"Return the new set on success or ``NULL`` on failure. Raise :exc:"
"`TypeError` if *iterable* is not actually iterable."
msgstr ""
#: ../Doc/c-api/set.rst:97
@ -166,9 +166,9 @@ msgstr ""
#: ../Doc/c-api/set.rst:151
msgid ""
"Return a new reference to an arbitrary object in the *set*, and removes the "
"object from the *set*. Return *NULL* on failure. Raise :exc:`KeyError` if "
"the set is empty. Raise a :exc:`SystemError` if *set* is not an instance of :"
"class:`set` or its subtype."
"object from the *set*. Return ``NULL`` on failure. Raise :exc:`KeyError` "
"if the set is empty. Raise a :exc:`SystemError` if *set* is not an instance "
"of :class:`set` or its subtype."
msgstr ""
#: ../Doc/c-api/set.rst:159

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -25,16 +25,16 @@ msgid ""
msgstr ""
#: ../Doc/c-api/slice.rst:17
msgid "Return true if *ob* is a slice object; *ob* must not be *NULL*."
msgid "Return true if *ob* is a slice object; *ob* must not be ``NULL``."
msgstr ""
#: ../Doc/c-api/slice.rst:22
msgid ""
"Return a new slice object with the given values. The *start*, *stop*, and "
"*step* parameters are used as the values of the slice object attributes of "
"the same names. Any of the values may be *NULL*, in which case the ``None`` "
"will be used for the corresponding attribute. Return *NULL* if the new "
"object could not be allocated."
"the same names. Any of the values may be ``NULL``, in which case the "
"``None`` will be used for the corresponding attribute. Return ``NULL`` if "
"the new object could not be allocated."
msgstr ""
#: ../Doc/c-api/slice.rst:31

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-19 22:32+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -110,9 +110,10 @@ msgstr ""
msgid ""
"Type of the functions used to implement most Python callables in C. "
"Functions of this type take two :c:type:`PyObject\\*` parameters and return "
"one such value. If the return value is *NULL*, an exception shall have been "
"set. If not *NULL*, the return value is interpreted as the return value of "
"the function as exposed in Python. The function must return a new reference."
"one such value. If the return value is ``NULL``, an exception shall have "
"been set. If not ``NULL``, the return value is interpreted as the return "
"value of the function as exposed in Python. The function must return a new "
"reference."
msgstr ""
#: ../Doc/c-api/structures.rst:117
@ -240,8 +241,8 @@ msgstr ""
msgid ""
"Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. "
"The function expects three parameters: *self*, *args*, *kwargs* where "
"*kwargs* is a dictionary of all the keyword arguments or possibly *NULL* if "
"there are no keyword arguments. The parameters are typically processed "
"*kwargs* is a dictionary of all the keyword arguments or possibly ``NULL`` "
"if there are no keyword arguments. The parameters are typically processed "
"using :c:func:`PyArg_ParseTupleAndKeywords`."
msgstr ""
@ -264,9 +265,9 @@ msgid ""
"methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword arguments "
"are passed the same way as in the vectorcall protocol: there is an "
"additional fourth :c:type:`PyObject\\*` parameter which is a tuple "
"representing the names of the keyword arguments or possibly *NULL* if there "
"are no keywords. The values of the keyword arguments are stored in the "
"*args* array, after the positional arguments."
"representing the names of the keyword arguments or possibly ``NULL`` if "
"there are no keywords. The values of the keyword arguments are stored in "
"the *args* array, after the positional arguments."
msgstr ""
#: ../Doc/c-api/structures.rst:217
@ -275,7 +276,7 @@ msgid ""
"if they are listed with the :const:`METH_NOARGS` flag. They need to be of "
"type :c:type:`PyCFunction`. The first parameter is typically named *self* "
"and will hold a reference to the module or object instance. In all cases "
"the second parameter will be *NULL*."
"the second parameter will be ``NULL``."
msgstr ""
#: ../Doc/c-api/structures.rst:226
@ -304,7 +305,7 @@ msgstr ""
#: ../Doc/c-api/structures.rst:252
msgid ""
"The method will be passed *NULL* as the first parameter rather than an "
"The method will be passed ``NULL`` as the first parameter rather than an "
"instance of the type. This is used to create *static methods*, similar to "
"what is created when using the :func:`staticmethod` built-in function."
msgstr ""
@ -514,7 +515,7 @@ msgstr ""
#: ../Doc/c-api/structures.rst:325
msgid ""
":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:"
"`T_OBJECT` returns ``None`` if the member is *NULL* and :c:macro:"
"`T_OBJECT` returns ``None`` if the member is ``NULL`` and :c:macro:"
"`T_OBJECT_EX` raises an :exc:`AttributeError`. Try to use :c:macro:"
"`T_OBJECT_EX` over :c:macro:`T_OBJECT` because :c:macro:`T_OBJECT_EX` "
"handles use of the :keyword:`del` statement on that attribute more correctly "
@ -527,7 +528,7 @@ msgid ""
"for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:"
"macro:`READONLY`. :c:macro:`T_STRING` data is interpreted as UTF-8. Only :c:"
"macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` members can be deleted. (They "
"are set to *NULL*)."
"are set to ``NULL``)."
msgstr ""
#: ../Doc/c-api/structures.rst:341
@ -599,7 +600,7 @@ msgstr ""
#: ../Doc/c-api/structures.rst:367
msgid ""
"It should return a new reference on success or *NULL* with a set exception "
"It should return a new reference on success or ``NULL`` with a set exception "
"on failure."
msgstr ""
@ -612,6 +613,6 @@ msgstr ""
#: ../Doc/c-api/structures.rst:375
msgid ""
"In case the attribute should be deleted the second parameter is *NULL*. "
"In case the attribute should be deleted the second parameter is ``NULL``. "
"Should return ``0`` on success or ``-1`` with a set exception on failure."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 23:53+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -34,7 +34,7 @@ msgid ""
"deemed interactive. This is the case for files for which "
"``isatty(fileno(fp))`` is true. If the global flag :c:data:"
"`Py_InteractiveFlag` is true, this function also returns true if the "
"*filename* pointer is *NULL* or if the name is equal to one of the strings "
"*filename* pointer is ``NULL`` or if the name is equal to one of the strings "
"``'<stdin>'`` or ``'???'``."
msgstr ""
@ -46,7 +46,14 @@ msgid ""
"defined."
msgstr ""
#: ../Doc/c-api/sys.rst:41
#: ../Doc/c-api/sys.rst:37
msgid ""
"The C :c:func:`fork` call should only be made from the :ref:`\"main\" thread "
"<fork-and-threads>` (of the :ref:`\"main\" interpreter <sub-interpreter-"
"support>`). The same is true for ``PyOS_BeforeFork()``."
msgstr ""
#: ../Doc/c-api/sys.rst:47
msgid ""
"Function to update some internal state after a process fork. This should be "
"called from the parent process after calling :c:func:`fork` or any similar "
@ -55,7 +62,14 @@ msgid ""
"defined."
msgstr ""
#: ../Doc/c-api/sys.rst:52
#: ../Doc/c-api/sys.rst:54
msgid ""
"The C :c:func:`fork` call should only be made from the :ref:`\"main\" thread "
"<fork-and-threads>` (of the :ref:`\"main\" interpreter <sub-interpreter-"
"support>`). The same is true for ``PyOS_AfterFork_Parent()``."
msgstr ""
#: ../Doc/c-api/sys.rst:64
msgid ""
"Function to update internal interpreter state after a process fork. This "
"must be called from the child process after calling :c:func:`fork`, or any "
@ -64,14 +78,21 @@ msgid ""
"systems where :c:func:`fork` is defined."
msgstr ""
#: ../Doc/c-api/sys.rst:61
#: ../Doc/c-api/sys.rst:71
msgid ""
"The C :c:func:`fork` call should only be made from the :ref:`\"main\" thread "
"<fork-and-threads>` (of the :ref:`\"main\" interpreter <sub-interpreter-"
"support>`). The same is true for ``PyOS_AfterFork_Child()``."
msgstr ""
#: ../Doc/c-api/sys.rst:79
msgid ""
":func:`os.register_at_fork` allows registering custom Python functions to be "
"called by :c:func:`PyOS_BeforeFork()`, :c:func:`PyOS_AfterFork_Parent` and :"
"c:func:`PyOS_AfterFork_Child`."
msgstr ""
#: ../Doc/c-api/sys.rst:68
#: ../Doc/c-api/sys.rst:86
msgid ""
"Function to update some internal state after a process fork; this should be "
"called in the new process if the Python interpreter will continue to be "
@ -79,11 +100,11 @@ msgid ""
"not need to be called."
msgstr ""
#: ../Doc/c-api/sys.rst:73
#: ../Doc/c-api/sys.rst:91
msgid "This function is superseded by :c:func:`PyOS_AfterFork_Child()`."
msgstr ""
#: ../Doc/c-api/sys.rst:79
#: ../Doc/c-api/sys.rst:97
msgid ""
"Return true when the interpreter runs out of stack space. This is a "
"reliable check, but is only available when :const:`USE_STACKCHECK` is "
@ -92,7 +113,7 @@ msgid ""
"change the definition in your own code."
msgstr ""
#: ../Doc/c-api/sys.rst:88
#: ../Doc/c-api/sys.rst:106
msgid ""
"Return the current signal handler for signal *i*. This is a thin wrapper "
"around either :c:func:`sigaction` or :c:func:`signal`. Do not call those "
@ -100,7 +121,7 @@ msgid ""
"type:`void (\\*)(int)`."
msgstr ""
#: ../Doc/c-api/sys.rst:96
#: ../Doc/c-api/sys.rst:114
msgid ""
"Set the signal handler for signal *i* to be *h*; return the old signal "
"handler. This is a thin wrapper around either :c:func:`sigaction` or :c:func:"
@ -108,7 +129,7 @@ msgid ""
"`PyOS_sighandler_t` is a typedef alias for :c:type:`void (\\*)(int)`."
msgstr ""
#: ../Doc/c-api/sys.rst:103
#: ../Doc/c-api/sys.rst:121
msgid ""
"Decode a byte string from the locale encoding with the :ref:`surrogateescape "
"error handler <surrogateescape>`: undecodable bytes are decoded as "
@ -117,116 +138,116 @@ msgid ""
"handler instead of decoding them."
msgstr ""
#: ../Doc/c-api/sys.rst:109 ../Doc/c-api/sys.rst:155
#: ../Doc/c-api/sys.rst:127 ../Doc/c-api/sys.rst:173
msgid "Encoding, highest priority to lowest priority:"
msgstr ""
#: ../Doc/c-api/sys.rst:111 ../Doc/c-api/sys.rst:157
#: ../Doc/c-api/sys.rst:129 ../Doc/c-api/sys.rst:175
msgid "``UTF-8`` on macOS, Android, and VxWorks;"
msgstr ""
#: ../Doc/c-api/sys.rst:112 ../Doc/c-api/sys.rst:158
#: ../Doc/c-api/sys.rst:130 ../Doc/c-api/sys.rst:176
msgid ""
"``UTF-8`` on Windows if :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero;"
msgstr ""
#: ../Doc/c-api/sys.rst:113 ../Doc/c-api/sys.rst:159
#: ../Doc/c-api/sys.rst:131 ../Doc/c-api/sys.rst:177
msgid "``UTF-8`` if the Python UTF-8 mode is enabled;"
msgstr ""
#: ../Doc/c-api/sys.rst:114 ../Doc/c-api/sys.rst:160
#: ../Doc/c-api/sys.rst:132 ../Doc/c-api/sys.rst:178
msgid ""
"``ASCII`` if the ``LC_CTYPE`` locale is ``\"C\"``, ``nl_langinfo(CODESET)`` "
"returns the ``ASCII`` encoding (or an alias), and :c:func:`mbstowcs` and :c:"
"func:`wcstombs` functions uses the ``ISO-8859-1`` encoding."
msgstr ""
#: ../Doc/c-api/sys.rst:118 ../Doc/c-api/sys.rst:164
#: ../Doc/c-api/sys.rst:136 ../Doc/c-api/sys.rst:182
msgid "the current locale encoding."
msgstr ""
#: ../Doc/c-api/sys.rst:120
#: ../Doc/c-api/sys.rst:138
msgid ""
"Return a pointer to a newly allocated wide character string, use :c:func:"
"`PyMem_RawFree` to free the memory. If size is not ``NULL``, write the "
"number of wide characters excluding the null character into ``*size``"
msgstr ""
#: ../Doc/c-api/sys.rst:124
#: ../Doc/c-api/sys.rst:142
msgid ""
"Return ``NULL`` on decoding error or memory allocation error. If *size* is "
"not ``NULL``, ``*size`` is set to ``(size_t)-1`` on memory error or set to "
"``(size_t)-2`` on decoding error."
msgstr ""
#: ../Doc/c-api/sys.rst:128
#: ../Doc/c-api/sys.rst:146
msgid ""
"Decoding errors should never happen, unless there is a bug in the C library."
msgstr ""
#: ../Doc/c-api/sys.rst:131
#: ../Doc/c-api/sys.rst:149
msgid ""
"Use the :c:func:`Py_EncodeLocale` function to encode the character string "
"back to a byte string."
msgstr ""
#: ../Doc/c-api/sys.rst:136
#: ../Doc/c-api/sys.rst:154
msgid ""
"The :c:func:`PyUnicode_DecodeFSDefaultAndSize` and :c:func:"
"`PyUnicode_DecodeLocaleAndSize` functions."
msgstr ""
#: ../Doc/c-api/sys.rst:141 ../Doc/c-api/sys.rst:185
#: ../Doc/c-api/sys.rst:159 ../Doc/c-api/sys.rst:203
msgid "The function now uses the UTF-8 encoding in the UTF-8 mode."
msgstr ""
#: ../Doc/c-api/sys.rst:144 ../Doc/c-api/sys.rst:188
#: ../Doc/c-api/sys.rst:162 ../Doc/c-api/sys.rst:206
msgid ""
"The function now uses the UTF-8 encoding on Windows if :c:data:"
"`Py_LegacyWindowsFSEncodingFlag` is zero;"
msgstr ""
#: ../Doc/c-api/sys.rst:151
#: ../Doc/c-api/sys.rst:169
msgid ""
"Encode a wide character string to the locale encoding with the :ref:"
"`surrogateescape error handler <surrogateescape>`: surrogate characters in "
"the range U+DC80..U+DCFF are converted to bytes 0x80..0xFF."
msgstr ""
#: ../Doc/c-api/sys.rst:166
#: ../Doc/c-api/sys.rst:184
msgid "The function uses the UTF-8 encoding in the Python UTF-8 mode."
msgstr ""
#: ../Doc/c-api/sys.rst:168
#: ../Doc/c-api/sys.rst:186
msgid ""
"Return a pointer to a newly allocated byte string, use :c:func:`PyMem_Free` "
"to free the memory. Return ``NULL`` on encoding error or memory allocation "
"error"
msgstr ""
#: ../Doc/c-api/sys.rst:172
#: ../Doc/c-api/sys.rst:190
msgid ""
"If error_pos is not ``NULL``, ``*error_pos`` is set to ``(size_t)-1`` on "
"success, or set to the index of the invalid character on encoding error."
msgstr ""
#: ../Doc/c-api/sys.rst:175
#: ../Doc/c-api/sys.rst:193
msgid ""
"Use the :c:func:`Py_DecodeLocale` function to decode the bytes string back "
"to a wide character string."
msgstr ""
#: ../Doc/c-api/sys.rst:180
#: ../Doc/c-api/sys.rst:198
msgid ""
"The :c:func:`PyUnicode_EncodeFSDefault` and :c:func:`PyUnicode_EncodeLocale` "
"functions."
msgstr ""
#: ../Doc/c-api/sys.rst:196
#: ../Doc/c-api/sys.rst:214
msgid "System Functions"
msgstr ""
#: ../Doc/c-api/sys.rst:198
#: ../Doc/c-api/sys.rst:216
msgid ""
"These are utility functions that make functionality from the :mod:`sys` "
"module accessible to C code. They all work with the current interpreter "
@ -234,36 +255,36 @@ msgid ""
"state structure."
msgstr ""
#: ../Doc/c-api/sys.rst:204
#: ../Doc/c-api/sys.rst:222
msgid ""
"Return the object *name* from the :mod:`sys` module or *NULL* if it does not "
"exist, without setting an exception."
"Return the object *name* from the :mod:`sys` module or ``NULL`` if it does "
"not exist, without setting an exception."
msgstr ""
#: ../Doc/c-api/sys.rst:209
#: ../Doc/c-api/sys.rst:227
msgid ""
"Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which "
"Set *name* in the :mod:`sys` module to *v* unless *v* is ``NULL``, in which "
"case *name* is deleted from the sys module. Returns ``0`` on success, ``-1`` "
"on error."
msgstr ""
#: ../Doc/c-api/sys.rst:215
#: ../Doc/c-api/sys.rst:233
msgid ""
"Reset :data:`sys.warnoptions` to an empty list. This function may be called "
"prior to :c:func:`Py_Initialize`."
msgstr ""
#: ../Doc/c-api/sys.rst:220
#: ../Doc/c-api/sys.rst:238
msgid ""
"Append *s* to :data:`sys.warnoptions`. This function must be called prior "
"to :c:func:`Py_Initialize` in order to affect the warnings filter list."
msgstr ""
#: ../Doc/c-api/sys.rst:225
#: ../Doc/c-api/sys.rst:243
msgid "Append *unicode* to :data:`sys.warnoptions`."
msgstr ""
#: ../Doc/c-api/sys.rst:227
#: ../Doc/c-api/sys.rst:245
msgid ""
"Note: this function is not currently usable from outside the CPython "
"implementation, as it must be called prior to the implicit import of :mod:"
@ -272,20 +293,20 @@ msgid ""
"Unicode objects."
msgstr ""
#: ../Doc/c-api/sys.rst:235
#: ../Doc/c-api/sys.rst:253
msgid ""
"Set :data:`sys.path` to a list object of paths found in *path* which should "
"be a list of paths separated with the platform's search path delimiter (``:"
"`` on Unix, ``;`` on Windows)."
msgstr ""
#: ../Doc/c-api/sys.rst:241
#: ../Doc/c-api/sys.rst:259
msgid ""
"Write the output string described by *format* to :data:`sys.stdout`. No "
"exceptions are raised, even if truncation occurs (see below)."
msgstr ""
#: ../Doc/c-api/sys.rst:244
#: ../Doc/c-api/sys.rst:262
msgid ""
"*format* should limit the total size of the formatted output string to 1000 "
"bytes or less -- after 1000 bytes, the output string is truncated. In "
@ -296,51 +317,51 @@ msgid ""
"of digits for very large numbers."
msgstr ""
#: ../Doc/c-api/sys.rst:252
#: ../Doc/c-api/sys.rst:270
msgid ""
"If a problem occurs, or :data:`sys.stdout` is unset, the formatted message "
"is written to the real (C level) *stdout*."
msgstr ""
#: ../Doc/c-api/sys.rst:257
#: ../Doc/c-api/sys.rst:275
msgid ""
"As :c:func:`PySys_WriteStdout`, but write to :data:`sys.stderr` or *stderr* "
"instead."
msgstr ""
#: ../Doc/c-api/sys.rst:262
#: ../Doc/c-api/sys.rst:280
msgid ""
"Function similar to PySys_WriteStdout() but format the message using :c:func:"
"`PyUnicode_FromFormatV` and don't truncate the message to an arbitrary "
"length."
msgstr ""
#: ../Doc/c-api/sys.rst:270
#: ../Doc/c-api/sys.rst:288
msgid ""
"As :c:func:`PySys_FormatStdout`, but write to :data:`sys.stderr` or *stderr* "
"instead."
msgstr ""
#: ../Doc/c-api/sys.rst:277
#: ../Doc/c-api/sys.rst:295
msgid ""
"Parse *s* as a set of :option:`-X` options and add them to the current "
"options mapping as returned by :c:func:`PySys_GetXOptions`. This function "
"may be called prior to :c:func:`Py_Initialize`."
msgstr ""
#: ../Doc/c-api/sys.rst:285
#: ../Doc/c-api/sys.rst:303
msgid ""
"Return the current dictionary of :option:`-X` options, similarly to :data:"
"`sys._xoptions`. On error, *NULL* is returned and an exception is set."
"`sys._xoptions`. On error, ``NULL`` is returned and an exception is set."
msgstr ""
#: ../Doc/c-api/sys.rst:294
#: ../Doc/c-api/sys.rst:312
msgid ""
"Raises an auditing event with any active hooks. Returns zero for success and "
"non-zero with an exception set on failure."
msgstr ""
#: ../Doc/c-api/sys.rst:297
#: ../Doc/c-api/sys.rst:315
msgid ""
"If any hooks have been added, *format* and other arguments will be used to "
"construct a tuple to pass. Apart from ``N``, the same format characters as "
@ -351,11 +372,11 @@ msgid ""
"leaks.)"
msgstr ""
#: ../Doc/c-api/sys.rst:305
#: ../Doc/c-api/sys.rst:323
msgid ":func:`sys.audit` performs the same function from Python code."
msgstr ""
#: ../Doc/c-api/sys.rst:312
#: ../Doc/c-api/sys.rst:330
msgid ""
"Adds to the collection of active auditing hooks. Returns zero for success "
"and non-zero on failure. If the runtime has been initialized, also sets an "
@ -363,7 +384,7 @@ msgid ""
"interpreters created by the runtime."
msgstr ""
#: ../Doc/c-api/sys.rst:317
#: ../Doc/c-api/sys.rst:335
msgid ""
"This function is safe to call before :c:func:`Py_Initialize`. When called "
"after runtime initialization, existing audit hooks are notified and may "
@ -371,7 +392,7 @@ msgid ""
"`Exception` (other errors will not be silenced)."
msgstr ""
#: ../Doc/c-api/sys.rst:322
#: ../Doc/c-api/sys.rst:340
msgid ""
"The hook function is of type :c:type:`int (*)(const char *event, PyObject "
"*args, void *userData)`, where *args* is guaranteed to be a :c:type:"
@ -379,25 +400,41 @@ msgid ""
"Python interpreter that raised the event."
msgstr ""
#: ../Doc/c-api/sys.rst:327
#: ../Doc/c-api/sys.rst:345
msgid ""
"The *userData* pointer is passed into the hook function. Since hook "
"functions may be called from different runtimes, this pointer should not "
"refer directly to Python state."
msgstr ""
#: ../Doc/c-api/sys.rst:331
#: ../Doc/c-api/sys.rst:349
msgid ""
"See :pep:`578` for a detailed description of auditing. Functions in the "
"runtime and standard library that raise events include the details in each "
"function's documentation."
"function's documentation and listed in the :ref:`audit events table <audit-"
"events>`."
msgstr ""
#: ../Doc/c-api/sys.rst:341
#: ../Doc/c-api/sys.rst:None
msgid ""
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
"arguments."
msgstr ""
#: ../Doc/c-api/sys.rst:356
msgid ""
"If the interpreter is initialized, this function raises a auditing event "
"``sys.addaudithook`` with no arguments. If any existing hooks raise an "
"exception derived from :class:`Exception`, the new hook will not be added "
"and the exception is cleared. As a result, callers cannot assume that their "
"hook has been added unless they control all existing hooks."
msgstr ""
#: ../Doc/c-api/sys.rst:368
msgid "Process Control"
msgstr ""
#: ../Doc/c-api/sys.rst:348
#: ../Doc/c-api/sys.rst:375
msgid ""
"Print a fatal error message and kill the process. No cleanup is performed. "
"This function should only be invoked when a condition is detected that would "
@ -407,18 +444,18 @@ msgid ""
"file:`core` file."
msgstr ""
#: ../Doc/c-api/sys.rst:362
#: ../Doc/c-api/sys.rst:389
msgid ""
"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls "
"the standard C library function ``exit(status)``. If :c:func:"
"`Py_FinalizeEx` indicates an error, the exit status is set to 120."
msgstr ""
#: ../Doc/c-api/sys.rst:366
#: ../Doc/c-api/sys.rst:393
msgid "Errors from finalization no longer ignored."
msgstr ""
#: ../Doc/c-api/sys.rst:376
#: ../Doc/c-api/sys.rst:403
msgid ""
"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The "
"cleanup function will be called with no arguments and should return no "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -41,12 +41,12 @@ msgid ""
msgstr ""
#: ../Doc/c-api/tuple.rst:36
msgid "Return a new tuple object of size *len*, or *NULL* on failure."
msgid "Return a new tuple object of size *len*, or ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/tuple.rst:41
msgid ""
"Return a new tuple object of size *n*, or *NULL* on failure. The tuple "
"Return a new tuple object of size *n*, or ``NULL`` on failure. The tuple "
"values are initialized to the subsequent *n* C arguments pointing to Python "
"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
"``Py_BuildValue(\"(OO)\", a, b)``."
@ -58,14 +58,14 @@ msgstr ""
#: ../Doc/c-api/tuple.rst:53
msgid ""
"Return the size of the tuple *p*, which must be non-*NULL* and point to a "
"Return the size of the tuple *p*, which must be non-``NULL`` and point to a "
"tuple; no error checking is performed."
msgstr ""
#: ../Doc/c-api/tuple.rst:59
msgid ""
"Return the object at position *pos* in the tuple pointed to by *p*. If "
"*pos* is out of bounds, return *NULL* and sets an :exc:`IndexError` "
"*pos* is out of bounds, return ``NULL`` and set an :exc:`IndexError` "
"exception."
msgstr ""
@ -75,28 +75,38 @@ msgstr ""
#: ../Doc/c-api/tuple.rst:70
msgid ""
"Take a slice of the tuple pointed to by *p* from *low* to *high* and return "
"it as a new tuple."
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
"``NULL`` on failure. This is the equivalent of the Python expression "
"``p[low:high]``. Indexing from the end of the list is not supported."
msgstr ""
#: ../Doc/c-api/tuple.rst:76
#: ../Doc/c-api/tuple.rst:77
msgid ""
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
"by *p*. Return ``0`` on success."
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
"and set an :exc:`IndexError` exception."
msgstr ""
#: ../Doc/c-api/tuple.rst:81 ../Doc/c-api/tuple.rst:91
#: ../Doc/c-api/tuple.rst:209 ../Doc/c-api/tuple.rst:218
msgid "This function \"steals\" a reference to *o*."
#: ../Doc/c-api/tuple.rst:83
msgid ""
"This function \"steals\" a reference to *o* and discards a reference to an "
"item already in the tuple at the affected position."
msgstr ""
#: ../Doc/c-api/tuple.rst:86
#: ../Doc/c-api/tuple.rst:89
msgid ""
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
"*only* be used to fill in brand new tuples."
msgstr ""
#: ../Doc/c-api/tuple.rst:96
#: ../Doc/c-api/tuple.rst:94
msgid ""
"This macro \"steals\" a reference to *o*, and, unlike :c:func:"
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
"replaced; any reference in the tuple at position *pos* will be leaked."
msgstr ""
#: ../Doc/c-api/tuple.rst:102
msgid ""
"Can be used to resize a tuple. *newsize* will be the new length of the "
"tuple. Because tuples are *supposed* to be immutable, this should only be "
@ -107,19 +117,19 @@ msgid ""
"Client code should never assume that the resulting value of ``*p`` will be "
"the same as before calling this function. If the object referenced by ``*p`` "
"is replaced, the original ``*p`` is destroyed. On failure, returns ``-1`` "
"and sets ``*p`` to *NULL*, and raises :exc:`MemoryError` or :exc:"
"and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` or :exc:"
"`SystemError`."
msgstr ""
#: ../Doc/c-api/tuple.rst:110
#: ../Doc/c-api/tuple.rst:116
msgid "Clear the free list. Return the total number of freed items."
msgstr ""
#: ../Doc/c-api/tuple.rst:114
#: ../Doc/c-api/tuple.rst:120
msgid "Struct Sequence Objects"
msgstr ""
#: ../Doc/c-api/tuple.rst:116
#: ../Doc/c-api/tuple.rst:122
msgid ""
"Struct sequence objects are the C equivalent of :func:`~collections."
"namedtuple` objects, i.e. a sequence whose items can also be accessed "
@ -127,85 +137,85 @@ msgid ""
"specific struct sequence type."
msgstr ""
#: ../Doc/c-api/tuple.rst:123
#: ../Doc/c-api/tuple.rst:129
msgid ""
"Create a new struct sequence type from the data in *desc*, described below. "
"Instances of the resulting type can be created with :c:func:"
"`PyStructSequence_New`."
msgstr ""
#: ../Doc/c-api/tuple.rst:129
#: ../Doc/c-api/tuple.rst:135
msgid "Initializes a struct sequence type *type* from *desc* in place."
msgstr ""
#: ../Doc/c-api/tuple.rst:134
#: ../Doc/c-api/tuple.rst:140
msgid ""
"The same as ``PyStructSequence_InitType``, but returns ``0`` on success and "
"``-1`` on failure."
msgstr ""
#: ../Doc/c-api/tuple.rst:142
#: ../Doc/c-api/tuple.rst:148
msgid "Contains the meta information of a struct sequence type to create."
msgstr ""
#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
msgid "Field"
msgstr ""
#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
msgid "C Type"
msgstr "Type C"
#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
msgid "Meaning"
msgstr "Signification"
#: ../Doc/c-api/tuple.rst:147 ../Doc/c-api/tuple.rst:170
#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:176
msgid "``name``"
msgstr "``name``"
#: ../Doc/c-api/tuple.rst:147 ../Doc/c-api/tuple.rst:149
#: ../Doc/c-api/tuple.rst:170 ../Doc/c-api/tuple.rst:175
#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:155
#: ../Doc/c-api/tuple.rst:176 ../Doc/c-api/tuple.rst:181
msgid "``const char *``"
msgstr ""
#: ../Doc/c-api/tuple.rst:147
#: ../Doc/c-api/tuple.rst:153
msgid "name of the struct sequence type"
msgstr ""
#: ../Doc/c-api/tuple.rst:149 ../Doc/c-api/tuple.rst:175
#: ../Doc/c-api/tuple.rst:155 ../Doc/c-api/tuple.rst:181
msgid "``doc``"
msgstr ""
#: ../Doc/c-api/tuple.rst:149
msgid "pointer to docstring for the type or NULL to omit"
#: ../Doc/c-api/tuple.rst:155
msgid "pointer to docstring for the type or ``NULL`` to omit"
msgstr ""
#: ../Doc/c-api/tuple.rst:152
#: ../Doc/c-api/tuple.rst:158
msgid "``fields``"
msgstr ""
#: ../Doc/c-api/tuple.rst:152
#: ../Doc/c-api/tuple.rst:158
msgid "``PyStructSequence_Field *``"
msgstr "``PyStructSequence_Field *``"
#: ../Doc/c-api/tuple.rst:152
msgid "pointer to *NULL*-terminated array with field names of the new type"
#: ../Doc/c-api/tuple.rst:158
msgid "pointer to ``NULL``-terminated array with field names of the new type"
msgstr ""
#: ../Doc/c-api/tuple.rst:155
#: ../Doc/c-api/tuple.rst:161
msgid "``n_in_sequence``"
msgstr "``n_in_sequence``"
#: ../Doc/c-api/tuple.rst:155
#: ../Doc/c-api/tuple.rst:161
msgid "``int``"
msgstr "``int``"
#: ../Doc/c-api/tuple.rst:155
#: ../Doc/c-api/tuple.rst:161
msgid "number of fields visible to the Python side (if used as tuple)"
msgstr ""
#: ../Doc/c-api/tuple.rst:162
#: ../Doc/c-api/tuple.rst:168
msgid ""
"Describes a field of a struct sequence. As a struct sequence is modeled as a "
"tuple, all fields are typed as :c:type:`PyObject\\*`. The index in the :"
@ -213,43 +223,47 @@ msgid ""
"field of the struct sequence is described."
msgstr ""
#: ../Doc/c-api/tuple.rst:170
#: ../Doc/c-api/tuple.rst:176
msgid ""
"name for the field or *NULL* to end the list of named fields, set to "
"PyStructSequence_UnnamedField to leave unnamed"
msgstr ""
#: ../Doc/c-api/tuple.rst:175
msgid "field docstring or *NULL* to omit"
"name for the field or ``NULL`` to end the list of named fields, set to :c:"
"data:`PyStructSequence_UnnamedField` to leave unnamed"
msgstr ""
#: ../Doc/c-api/tuple.rst:181
msgid "field docstring or ``NULL`` to omit"
msgstr ""
#: ../Doc/c-api/tuple.rst:187
msgid "Special value for a field name to leave it unnamed."
msgstr ""
#: ../Doc/c-api/tuple.rst:186
#: ../Doc/c-api/tuple.rst:192
msgid ""
"Creates an instance of *type*, which must have been created with :c:func:"
"`PyStructSequence_NewType`."
msgstr ""
#: ../Doc/c-api/tuple.rst:192
#: ../Doc/c-api/tuple.rst:198
msgid ""
"Return the object at position *pos* in the struct sequence pointed to by "
"*p*. No bounds checking is performed."
msgstr ""
#: ../Doc/c-api/tuple.rst:198
#: ../Doc/c-api/tuple.rst:204
msgid "Macro equivalent of :c:func:`PyStructSequence_GetItem`."
msgstr ""
#: ../Doc/c-api/tuple.rst:203
#: ../Doc/c-api/tuple.rst:209
msgid ""
"Sets the field at index *pos* of the struct sequence *p* to value *o*. "
"Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand "
"new instances."
msgstr ""
#: ../Doc/c-api/tuple.rst:214
#: ../Doc/c-api/tuple.rst:215 ../Doc/c-api/tuple.rst:224
msgid "This function \"steals\" a reference to *o*."
msgstr ""
#: ../Doc/c-api/tuple.rst:220
msgid "Macro equivalent of :c:func:`PyStructSequence_SetItem`."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+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"
@ -90,7 +90,7 @@ msgstr ""
msgid ""
"Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type "
"object. Use Python's default memory allocation mechanism to allocate a new "
"instance and initialize all its contents to *NULL*."
"instance and initialize all its contents to ``NULL``."
msgstr ""
#: ../Doc/c-api/type.rst:88
@ -111,9 +111,9 @@ msgstr ""
#: ../Doc/c-api/type.rst:100
msgid ""
"Return the function pointer stored in the given slot. If the result is "
"*NULL*, this indicates that either the slot is *NULL*, or that the function "
"was called with invalid parameters. Callers will typically cast the result "
"pointer into the appropriate function type."
"``NULL``, this indicates that either the slot is ``NULL``, or that the "
"function was called with invalid parameters. Callers will typically cast the "
"result pointer into the appropriate function type."
msgstr ""
#: ../Doc/c-api/type.rst:106
@ -149,8 +149,8 @@ msgstr ""
#: ../Doc/c-api/type.rst:127
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_base* slot is used instead. If that also "
"is ``NULL``, the new type derives from :class:`object`."
msgstr ""
#: ../Doc/c-api/type.rst:130
@ -223,7 +223,8 @@ msgstr ""
#: ../Doc/c-api/type.rst:184
msgid ""
"The following fields cannot be set using *PyType_Spec* and *PyType_Slot*:"
"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:"
"`PyType_Slot`:"
msgstr ""
#: ../Doc/c-api/type.rst:186
@ -280,5 +281,5 @@ msgid ""
msgstr ""
#: ../Doc/c-api/type.rst:206
msgid "May not be *NULL*."
msgid "May not be ``NULL``."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -587,7 +587,7 @@ msgid ""
"A slot name in parentheses indicates it is (effectively) deprecated. Names "
"in angle brackets should be treated as read-only. Names in square brackets "
"are for internal use only. \"<R>\" (as a prefix) means the field is required "
"(must be non-*NULL*)."
"(must be non-``NULL``)."
msgstr ""
#: ../Doc/c-api/typeobj.rst:163
@ -603,7 +603,7 @@ msgid "**\"T\"**: set on :c:type:`PyType_Type`"
msgstr ""
#: ../Doc/c-api/typeobj.rst:169
msgid "**\"D\"**: default (if slot is set to *NULL*)"
msgid "**\"D\"**: default (if slot is set to ``NULL``)"
msgstr ""
#: ../Doc/c-api/typeobj.rst:179
@ -1154,9 +1154,9 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:493
msgid ""
"These fields are only present when the macro ``Py_TRACE_REFS`` is defined. "
"Their initialization to *NULL* is taken care of by the "
"Their initialization to ``NULL`` is taken care of by the "
"``PyObject_HEAD_INIT`` macro. For statically allocated objects, these "
"fields always remain *NULL*. For dynamically allocated objects, these two "
"fields always remain ``NULL``. For dynamically allocated objects, these two "
"fields are used to link the object into a doubly-linked list of *all* live "
"objects on the heap. This could be used for various debugging purposes; "
"currently the only use is to print the objects that are still alive at the "
@ -1220,7 +1220,7 @@ msgid ""
"normally be ``&PyType_Type``. However, for dynamically loadable extension "
"modules that must be usable on Windows (at least), the compiler complains "
"that this is not a valid initializer. Therefore, the convention is to pass "
"*NULL* to the ``PyObject_HEAD_INIT`` macro and to initialize this field "
"``NULL`` to the ``PyObject_HEAD_INIT`` macro and to initialize this field "
"explicitly at the start of the module's initialization function, before "
"doing anything else. This is typically done like this::"
msgstr ""
@ -1228,7 +1228,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:533
msgid ""
"This should be done before any instances of the type are created. :c:func:"
"`PyType_Ready` checks if :attr:`ob_type` is *NULL*, and if so, initializes "
"`PyType_Ready` checks if :attr:`ob_type` is ``NULL``, and if so, initializes "
"it to the :attr:`ob_type` field of the base class. :c:func:`PyType_Ready` "
"will not change this field if it is non-zero."
msgstr ""
@ -1261,7 +1261,7 @@ msgstr "Objets type"
#: ../Doc/c-api/typeobj.rst:559
msgid ""
"Each slot has a section describing inheritance. If :c:func:`PyType_Ready` "
"may set a value when the field is set to *NULL* then there will also be a "
"may set a value when the field is set to ``NULL`` then there will also be a "
"\"Default\" section. (Note that many fields set on :c:type:"
"`PyBaseObject_Type` and :c:type:`PyType_Type` effectively act as defaults.)"
msgstr ""
@ -1305,7 +1305,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:589
msgid ""
"This field must not be *NULL*. It is the only required field in :c:func:"
"This field must not be ``NULL``. It is the only required field in :c:func:"
"`PyTypeObject` (other than potentially :c:member:`~PyTypeObject."
"tp_itemsize`)."
msgstr ""
@ -1363,7 +1363,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:634
msgid ""
"For any type with variable-length instances, this field must not be *NULL*."
"For any type with variable-length instances, this field must not be ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:638
@ -1478,7 +1478,7 @@ msgid ""
"This field is inherited by subtypes together with :c:member:`~PyTypeObject."
"tp_call`: a subtype inherits :c:member:`~PyTypeObject.tp_vectorcall_offset` "
"from its base type when the subtypes :c:member:`~PyTypeObject.tp_call` is "
"NULL."
"``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:745
@ -1509,7 +1509,7 @@ msgid ""
"tp_getattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` "
"and :c:member:`~PyTypeObject.tp_getattro` from its base type when the "
"subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject."
"tp_getattro` are both *NULL*."
"tp_getattro` are both ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:768 ../Doc/c-api/typeobj.rst:964
@ -1535,7 +1535,7 @@ msgid ""
"tp_setattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` "
"and :c:member:`~PyTypeObject.tp_setattro` from its base type when the "
"subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject."
"tp_setattro` are both *NULL*."
"tp_setattro` are both ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:785
@ -1675,13 +1675,13 @@ msgid ""
"tp_richcompare`: a subtype inherits both of :c:member:`~PyTypeObject."
"tp_richcompare` and :c:member:`~PyTypeObject.tp_hash`, when the subtype's :c:"
"member:`~PyTypeObject.tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` "
"are both *NULL*."
"are both ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:902
msgid ""
"An optional pointer to a function that implements calling the object. This "
"should be *NULL* if the object is not callable. The signature is the same "
"should be ``NULL`` if the object is not callable. The signature is the same "
"as for :c:func:`PyObject_Call`::"
msgstr ""
@ -1733,7 +1733,7 @@ msgid ""
"tp_getattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` "
"and :c:member:`~PyTypeObject.tp_getattro` from its base type when the "
"subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject."
"tp_getattro` are both *NULL*."
"tp_getattro` are both ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:959
@ -1746,7 +1746,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:970
msgid ""
"In addition, setting *value* to *NULL* to delete an attribute must be "
"In addition, setting *value* to ``NULL`` to delete an attribute must be "
"supported. It is usually convenient to set this field to :c:func:"
"`PyObject_GenericSetAttr`, which implements the normal way of setting object "
"attributes."
@ -1758,7 +1758,7 @@ msgid ""
"tp_setattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` "
"and :c:member:`~PyTypeObject.tp_setattro` from its base type when the "
"subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject."
"tp_setattro` are both *NULL*."
"tp_setattro` are both ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:985
@ -1787,7 +1787,7 @@ msgid ""
"tp_as_sequence`, :c:member:`~PyTypeObject.tp_as_mapping`, and :c:member:"
"`~PyTypeObject.tp_as_buffer`) that were historically not always present are "
"valid; if such a flag bit is clear, the type fields it guards must not be "
"accessed and must be considered to have a zero or *NULL* value instead."
"accessed and must be considered to have a zero or ``NULL`` value instead."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1012
@ -1802,7 +1802,7 @@ msgid ""
"and :c:member:`~PyTypeObject.tp_clear` fields, i.e. if the :const:"
"`Py_TPFLAGS_HAVE_GC` flag bit is clear in the subtype and the :c:member:"
"`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` fields in "
"the subtype exist and have *NULL* values."
"the subtype exist and have ``NULL`` values."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1027
@ -1882,7 +1882,7 @@ msgid ""
"attr:`tp_traverse` and :attr:`tp_clear` fields, i.e. if the :const:"
"`Py_TPFLAGS_HAVE_GC` flag bit is clear in the subtype and the :attr:"
"`tp_traverse` and :attr:`tp_clear` fields in the subtype exist and have "
"*NULL* values."
"``NULL`` values."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1106
@ -1958,7 +1958,7 @@ msgstr ""
msgid ""
"This bit is set on *static* subtypes if ``tp_flags`` is not overridden: a "
"subtype inherits ``_Py_TPFLAGS_HAVE_VECTORCALL`` from its base type when the "
"subtypes :c:member:`~PyTypeObject.tp_call` is NULL and the subtype's "
"subtypes :c:member:`~PyTypeObject.tp_call` is ``NULL`` and the subtype's "
"``Py_TPFLAGS_HEAPTYPE`` is not set."
msgstr ""
@ -2011,7 +2011,7 @@ msgstr ""
msgid ""
"Note that :c:func:`Py_VISIT` is called only on those members that can "
"participate in reference cycles. Although there is also a ``self->key`` "
"member, it can only be *NULL* or a Python string and therefore cannot be "
"member, it can only be ``NULL`` or a Python string and therefore cannot be "
"part of a reference cycle."
msgstr ""
@ -2063,7 +2063,7 @@ msgstr ""
msgid ""
"Implementations of :c:member:`~PyTypeObject.tp_clear` should drop the "
"instance's references to those of its members that may be Python objects, "
"and set its pointers to those members to *NULL*, as in the following "
"and set its pointers to those members to ``NULL``, as in the following "
"example::"
msgstr ""
@ -2071,15 +2071,15 @@ msgstr ""
msgid ""
"The :c:func:`Py_CLEAR` macro should be used, because clearing references is "
"delicate: the reference to the contained object must not be decremented "
"until after the pointer to the contained object is set to *NULL*. This is "
"until after the pointer to the contained object is set to ``NULL``. This is "
"because decrementing the reference count may cause the contained object to "
"become trash, triggering a chain of reclamation activity that may include "
"invoking arbitrary Python code (due to finalizers, or weakref callbacks, "
"associated with the contained object). If it's possible for such code to "
"reference *self* again, it's important that the pointer to the contained "
"object be *NULL* at that time, so that *self* knows the contained object can "
"no longer be used. The :c:func:`Py_CLEAR` macro performs the operations in "
"a safe order."
"object be ``NULL`` at that time, so that *self* knows the contained object "
"can no longer be used. The :c:func:`Py_CLEAR` macro performs the operations "
"in a safe order."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1297
@ -2115,7 +2115,7 @@ msgstr ""
msgid ""
"The function should return the result of the comparison (usually ``Py_True`` "
"or ``Py_False``). If the comparison is undefined, it must return "
"``Py_NotImplemented``, if another error occurred it must return *NULL* and "
"``Py_NotImplemented``, if another error occurred it must return ``NULL`` and "
"set an exception condition."
msgstr ""
@ -2199,7 +2199,7 @@ msgid "The return value's reference count is properly incremented."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1361
msgid "On error, sets an exception and returns *NULL* from the function."
msgid "On error, sets an exception and returns ``NULL`` from the function."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1369
@ -2207,7 +2207,7 @@ msgid ""
"This field is inherited by subtypes together with :c:member:`~PyTypeObject."
"tp_hash`: a subtype inherits :c:member:`~PyTypeObject.tp_richcompare` and :c:"
"member:`~PyTypeObject.tp_hash` when the subtype's :c:member:`~PyTypeObject."
"tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both *NULL*."
"tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1376
@ -2225,7 +2225,7 @@ msgid ""
"weak reference list head (ignoring the GC header, if present); this offset "
"is used by :c:func:`PyObject_ClearWeakRefs` and the :c:func:`PyWeakref_\\*` "
"functions. The instance structure needs to include a field of type :c:type:"
"`PyObject\\*` which is initialized to *NULL*."
"`PyObject\\*` which is initialized to ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1392
@ -2286,10 +2286,10 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1439
msgid ""
"When the iterator is exhausted, it must return *NULL*; a :exc:"
"When the iterator is exhausted, it must return ``NULL``; a :exc:"
"`StopIteration` exception may or may not be set. When another error occurs, "
"it must return *NULL* too. Its presence signals that the instances of this "
"type are iterators."
"it must return ``NULL`` too. Its presence signals that the instances of "
"this type are iterators."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1444
@ -2305,7 +2305,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1457
msgid ""
"An optional pointer to a static *NULL*-terminated array of :c:type:"
"An optional pointer to a static ``NULL``-terminated array of :c:type:"
"`PyMethodDef` structures, declaring regular methods of this type."
msgstr ""
@ -2323,7 +2323,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1471
msgid ""
"An optional pointer to a static *NULL*-terminated array of :c:type:"
"An optional pointer to a static ``NULL``-terminated array of :c:type:"
"`PyMemberDef` structures, declaring regular data members (fields or slots) "
"of instances of this type."
msgstr ""
@ -2342,7 +2342,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1486
msgid ""
"An optional pointer to a static *NULL*-terminated array of :c:type:"
"An optional pointer to a static ``NULL``-terminated array of :c:type:"
"`PyGetSetDef` structures, declaring computed attributes of instances of this "
"type."
msgstr ""
@ -2405,7 +2405,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1536
msgid ""
"This field should normally be initialized to *NULL* before PyType_Ready is "
"This field should normally be initialized to ``NULL`` before PyType_Ready is "
"called; it may also be initialized to a dictionary containing initial "
"attributes for the type. Once :c:func:`PyType_Ready` has initialized the "
"type, extra attributes for the type may be added to this dictionary only if "
@ -2420,8 +2420,8 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1549
msgid ""
"If this field is *NULL*, :c:func:`PyType_Ready` will assign a new dictionary "
"to it."
"If this field is ``NULL``, :c:func:`PyType_Ready` will assign a new "
"dictionary to it."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1554
@ -2447,7 +2447,7 @@ msgid ""
msgstr ""
#: ../Doc/c-api/typeobj.rst:1582
msgid "The *value* argument is set to *NULL* to delete the value."
msgid "The *value* argument is set to ``NULL`` to delete the value."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1593
@ -2530,8 +2530,8 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1647
msgid ""
"This slot has no default. For static types, if the field is *NULL* then no :"
"attr:`__dict__` gets created for instances."
"This slot has no default. For static types, if the field is ``NULL`` then "
"no :attr:`__dict__` gets created for instances."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1653
@ -2555,7 +2555,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1668
msgid ""
"The :c:member:`~PyTypeObject.tp_init` function, if not *NULL*, is called "
"The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called "
"when an instance is created normally by calling its type, after the type's :"
"c:member:`~PyTypeObject.tp_new` function has returned an instance of the "
"type. If the :c:member:`~PyTypeObject.tp_new` function returns an instance "
@ -2624,14 +2624,14 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1734
msgid ""
"This field is inherited by subtypes, except it is not inherited by static "
"types whose :c:member:`~PyTypeObject.tp_base` is *NULL* or "
"types whose :c:member:`~PyTypeObject.tp_base` is ``NULL`` or "
"``&PyBaseObject_Type``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1739
msgid ""
"For static types this field has no default. This means if the slot is "
"defined as *NULL*, the type cannot be called to create new instances; "
"defined as ``NULL``, the type cannot be called to create new instances; "
"presumably there is some other way to create instances, like a factory "
"function."
msgstr ""
@ -2689,7 +2689,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1791
msgid ""
"This slot has no default. If this field is *NULL*, :const:"
"This slot has no default. If this field is ``NULL``, :const:"
"`Py_TPFLAGS_HAVE_GC` is used as the functional equivalent."
msgstr ""
@ -2699,8 +2699,8 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1799
msgid ""
"This is set for types created by a class statement. It should be *NULL* for "
"statically defined types."
"This is set for types created by a class statement. It should be ``NULL`` "
"for statically defined types."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1804 ../Doc/c-api/typeobj.rst:1825
@ -2858,9 +2858,9 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:1958
msgid ""
"Also, since *PyTypeObject* is not part of the :ref:`stable ABI <stable>`, "
"any extension modules using static types must be compiled for a specific "
"Python minor version."
"Also, since :c:type:`PyTypeObject` is not part of the :ref:`stable ABI "
"<stable>`, any extension modules using static types must be compiled for a "
"specific Python minor version."
msgstr ""
#: ../Doc/c-api/typeobj.rst:1962
@ -2897,14 +2897,14 @@ msgid ""
"implement the necessary conversions (at least one of the operands is an "
"instance of the defined type). If the operation is not defined for the "
"given operands, binary and ternary functions must return "
"``Py_NotImplemented``, if another error occurred they must return *NULL* and "
"set an exception."
"``Py_NotImplemented``, if another error occurred they must return ``NULL`` "
"and set an exception."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2042
msgid ""
"The :c:data:`nb_reserved` field should always be *NULL*. It was previously "
"called :c:data:`nb_long`, and was renamed in Python 3.0.1."
"The :c:data:`nb_reserved` field should always be ``NULL``. It was "
"previously called :c:data:`nb_long`, and was renamed in Python 3.0.1."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2087
@ -2920,8 +2920,8 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:2099
msgid ""
"This function is used by :c:func:`PyMapping_Size` and :c:func:"
"`PyObject_Size`, and has the same signature. This slot may be set to *NULL* "
"if the object has no defined length."
"`PyObject_Size`, and has the same signature. This slot may be set to "
"``NULL`` if the object has no defined length."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2105
@ -2929,7 +2929,7 @@ msgid ""
"This function is used by :c:func:`PyObject_GetItem` and :c:func:"
"`PySequence_GetSlice`, and has the same signature as :c:func:`!"
"PyObject_GetItem`. This slot must be filled for the :c:func:"
"`PyMapping_Check` function to return ``1``, it can be *NULL* otherwise."
"`PyMapping_Check` function to return ``1``, it can be ``NULL`` otherwise."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2113
@ -2937,8 +2937,8 @@ msgid ""
"This function is used by :c:func:`PyObject_SetItem`, :c:func:"
"`PyObject_DelItem`, :c:func:`PyObject_SetSlice` and :c:func:"
"`PyObject_DelSlice`. It has the same signature as :c:func:`!"
"PyObject_SetItem`, but *v* can also be set to *NULL* to delete an item. If "
"this slot is *NULL*, the object does not support item assignment and "
"PyObject_SetItem`, but *v* can also be set to ``NULL`` to delete an item. "
"If this slot is ``NULL``, the object does not support item assignment and "
"deletion."
msgstr ""
@ -2980,14 +2980,14 @@ msgid ""
"signature. It is also used by :c:func:`PyObject_GetItem`, after trying the "
"subscription via the :c:member:`~PyMappingMethods.mp_subscript` slot. This "
"slot must be filled for the :c:func:`PySequence_Check` function to return "
"``1``, it can be *NULL* otherwise."
"``1``, it can be ``NULL`` otherwise."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2161
msgid ""
"Negative indexes are handled as follows: if the :attr:`sq_length` slot is "
"filled, it is called and the sequence length is used to compute a positive "
"index which is passed to :attr:`sq_item`. If :attr:`sq_length` is *NULL*, "
"index which is passed to :attr:`sq_item`. If :attr:`sq_length` is ``NULL``, "
"the index is passed as is to the function."
msgstr ""
@ -2997,13 +2997,13 @@ msgid ""
"signature. It is also used by :c:func:`PyObject_SetItem` and :c:func:"
"`PyObject_DelItem`, after trying the item assignment and deletion via the :c:"
"member:`~PyMappingMethods.mp_ass_subscript` slot. This slot may be left to "
"*NULL* if the object does not support item assignment and deletion."
"``NULL`` if the object does not support item assignment and deletion."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2177
msgid ""
"This function may be used by :c:func:`PySequence_Contains` and has the same "
"signature. This slot may be left to *NULL*, in this case :c:func:`!"
"signature. This slot may be left to ``NULL``, in this case :c:func:`!"
"PySequence_Contains` simply traverses the sequence until it finds a match."
msgstr ""
@ -3011,20 +3011,20 @@ msgstr ""
msgid ""
"This function is used by :c:func:`PySequence_InPlaceConcat` and has the same "
"signature. It should modify its first operand, and return it. This slot "
"may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceConcat` will "
"fall back to :c:func:`PySequence_Concat`. It is also used by the augmented "
"assignment ``+=``, after trying numeric in-place addition via the :c:member:"
"`~PyNumberMethods.nb_inplace_add` slot."
"may be left to ``NULL``, in this case :c:func:`!PySequence_InPlaceConcat` "
"will fall back to :c:func:`PySequence_Concat`. It is also used by the "
"augmented assignment ``+=``, after trying numeric in-place addition via the :"
"c:member:`~PyNumberMethods.nb_inplace_add` slot."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2193
msgid ""
"This function is used by :c:func:`PySequence_InPlaceRepeat` and has the same "
"signature. It should modify its first operand, and return it. This slot "
"may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceRepeat` will "
"fall back to :c:func:`PySequence_Repeat`. It is also used by the augmented "
"assignment ``*=``, after trying numeric in-place multiplication via the :c:"
"member:`~PyNumberMethods.nb_inplace_multiply` slot."
"may be left to ``NULL``, in this case :c:func:`!PySequence_InPlaceRepeat` "
"will fall back to :c:func:`PySequence_Repeat`. It is also used by the "
"augmented assignment ``*=``, after trying numeric in-place multiplication "
"via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2204
@ -3054,7 +3054,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:2226
msgid ""
"Check if the request can be met. If not, raise :c:data:`PyExc_BufferError`, "
"set :c:data:`view->obj` to *NULL* and return ``-1``."
"set :c:data:`view->obj` to ``NULL`` and return ``-1``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2229
@ -3125,7 +3125,7 @@ msgstr ""
msgid ""
"Handle a request to release the resources of the buffer. If no resources "
"need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be "
"*NULL*. Otherwise, a standard implementation of this function will take "
"``NULL``. Otherwise, a standard implementation of this function will take "
"these optional steps:"
msgstr ""
@ -3176,7 +3176,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:2327
msgid ""
"This slot may be set to *NULL* if an object is not an :term:`awaitable`."
"This slot may be set to ``NULL`` if an object is not an :term:`awaitable`."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2335
@ -3186,14 +3186,14 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:2337
msgid ""
"This slot may be set to *NULL* if an object does not implement asynchronous "
"iteration protocol."
"This slot may be set to ``NULL`` if an object does not implement "
"asynchronous iteration protocol."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2346
msgid ""
"Must return an :term:`awaitable` object. See :meth:`__anext__` for details. "
"This slot may be set to *NULL*."
"This slot may be set to ``NULL``."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2353
@ -3254,7 +3254,7 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:2402 ../Doc/c-api/typeobj.rst:2413
msgid ""
"Set the value of the named attribute for the object. The value argument is "
"set to *NULL* to delete the attribute."
"set to ``NULL`` to delete the attribute."
msgstr ""
#: ../Doc/c-api/typeobj.rst:2409

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 12:27+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -233,8 +233,8 @@ msgstr ""
msgid ""
"This macro is now inefficient -- because in many cases the :c:type:"
"`Py_UNICODE` representation does not exist and needs to be created -- and "
"can fail (return *NULL* with an exception set). Try to port the code to use "
"the new :c:func:`PyUnicode_nBYTE_DATA` macros or use :c:func:"
"can fail (return ``NULL`` with an exception set). Try to port the code to "
"use the new :c:func:`PyUnicode_nBYTE_DATA` macros or use :c:func:"
"`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`."
msgstr ""
@ -410,15 +410,15 @@ msgstr ""
msgid ""
"Create a Unicode object from the char buffer *u*. The bytes will be "
"interpreted as being UTF-8 encoded. The buffer is copied into the new "
"object. If the buffer is not *NULL*, the return value might be a shared "
"object. If the buffer is not ``NULL``, the return value might be a shared "
"object, i.e. modification of the data is not allowed."
msgstr ""
#: ../Doc/c-api/unicode.rst:419
msgid ""
"If *u* is *NULL*, this function behaves like :c:func:`PyUnicode_FromUnicode` "
"with the buffer set to *NULL*. This usage is deprecated in favor of :c:func:"
"`PyUnicode_New`."
"If *u* is ``NULL``, this function behaves like :c:func:"
"`PyUnicode_FromUnicode` with the buffer set to ``NULL``. This usage is "
"deprecated in favor of :c:func:`PyUnicode_New`."
msgstr ""
#: ../Doc/c-api/unicode.rst:426
@ -663,9 +663,9 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:509
msgid ""
"A Unicode object (which may be *NULL*) and a null-terminated C character "
"A Unicode object (which may be ``NULL``) and a null-terminated C character "
"array as a second parameter (which will be used, if the first parameter is "
"*NULL*)."
"``NULL``)."
msgstr ""
#: ../Doc/c-api/unicode.rst:516
@ -694,9 +694,9 @@ msgstr ""
msgid ""
"The width formatter unit is number of characters rather than bytes. The "
"precision formatter unit is number of bytes for ``\"%s\"`` and ``\"%V\"`` "
"(if the ``PyObject*`` argument is NULL), and a number of characters for ``"
"\"%A\"``, ``\"%U\"``, ``\"%S\"``, ``\"%R\"`` and ``\"%V\"`` (if the "
"``PyObject*`` argument is not NULL)."
"(if the ``PyObject*`` argument is ``NULL``), and a number of characters for "
"``\"%A\"``, ``\"%U\"``, ``\"%S\"``, ``\"%R\"`` and ``\"%V\"`` (if the "
"``PyObject*`` argument is not ``NULL``)."
msgstr ""
#: ../Doc/c-api/unicode.rst:533
@ -733,7 +733,7 @@ msgstr ""
msgid ""
":class:`bytes`, :class:`bytearray` and other :term:`bytes-like objects "
"<bytes-like object>` are decoded according to the given *encoding* and using "
"the error handling defined by *errors*. Both can be *NULL* to have the "
"the error handling defined by *errors*. Both can be ``NULL`` to have the "
"interface use the default values (see :ref:`builtincodecs` for details)."
msgstr ""
@ -745,8 +745,8 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:567
msgid ""
"The API returns *NULL* if there was an error. The caller is responsible for "
"decref'ing the returned objects."
"The API returns ``NULL`` if there was an error. The caller is responsible "
"for decref'ing the returned objects."
msgstr ""
#: ../Doc/c-api/unicode.rst:573
@ -809,7 +809,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:642
msgid ""
"Copy the string *u* into a UCS4 buffer, including a null character, if "
"*copy_null* is set. Returns *NULL* and sets an exception on error (in "
"*copy_null* is set. Returns ``NULL`` and sets an exception on error (in "
"particular, a :exc:`SystemError` if *buflen* is smaller than the length of "
"*u*). *buffer* is returned on success."
msgstr ""
@ -817,8 +817,9 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:652
msgid ""
"Copy the string *u* into a new UCS4 buffer that is allocated using :c:func:"
"`PyMem_Malloc`. If this fails, *NULL* is returned with a :exc:`MemoryError` "
"set. The returned buffer always has an extra null code point appended."
"`PyMem_Malloc`. If this fails, ``NULL`` is returned with a :exc:"
"`MemoryError` set. The returned buffer always has an extra null code point "
"appended."
msgstr ""
#: ../Doc/c-api/unicode.rst:661
@ -836,21 +837,21 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:672
msgid ""
"Create a Unicode object from the Py_UNICODE buffer *u* of the given size. "
"*u* may be *NULL* which causes the contents to be undefined. It is the "
"*u* may be ``NULL`` which causes the contents to be undefined. It is the "
"user's responsibility to fill in the needed data. The buffer is copied into "
"the new object."
msgstr ""
#: ../Doc/c-api/unicode.rst:677
msgid ""
"If the buffer is not *NULL*, the return value might be a shared object. "
"If the buffer is not ``NULL``, the return value might be a shared object. "
"Therefore, modification of the resulting Unicode object is only allowed when "
"*u* is *NULL*."
"*u* is ``NULL``."
msgstr ""
#: ../Doc/c-api/unicode.rst:681
msgid ""
"If the buffer is *NULL*, :c:func:`PyUnicode_READY` must be called once the "
"If the buffer is ``NULL``, :c:func:`PyUnicode_READY` must be called once the "
"string content has been filled before using any of the access macros such "
"as :c:func:`PyUnicode_KIND`."
msgstr ""
@ -864,7 +865,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:691
msgid ""
"Return a read-only pointer to the Unicode object's internal :c:type:"
"`Py_UNICODE` buffer, or *NULL* on error. This will create the :c:type:"
"`Py_UNICODE` buffer, or ``NULL`` on error. This will create the :c:type:"
"`Py_UNICODE*` representation of the object if it is not yet available. The "
"buffer is always terminated with an extra null code point. Note that the "
"resulting :c:type:`Py_UNICODE` string may also contain embedded null code "
@ -882,7 +883,7 @@ msgstr ""
msgid ""
"Create a Unicode object by replacing all decimal digits in :c:type:"
"`Py_UNICODE` buffer of the given *size* by ASCII digits 0--9 according to "
"their decimal value. Return *NULL* if an exception occurs."
"their decimal value. Return ``NULL`` if an exception occurs."
msgstr ""
#: ../Doc/c-api/unicode.rst:713
@ -897,7 +898,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:724
msgid ""
"Create a copy of a Unicode string ending with a null code point. Return "
"*NULL* and raise a :exc:`MemoryError` exception on memory allocation "
"``NULL`` and raise a :exc:`MemoryError` exception on memory allocation "
"failure, otherwise return a new allocated buffer (use :c:func:`PyMem_Free` "
"to free the buffer). Note that the resulting :c:type:`Py_UNICODE*` string "
"may contain embedded null code points, which would cause the string to be "
@ -1113,7 +1114,7 @@ msgstr ""
msgid ""
"Create a Unicode object from the :c:type:`wchar_t` buffer *w* of the given "
"*size*. Passing ``-1`` as the *size* indicates that the function must itself "
"compute the length, using wcslen. Return *NULL* on failure."
"compute the length, using wcslen. Return ``NULL`` on failure."
msgstr ""
#: ../Doc/c-api/unicode.rst:940
@ -1132,24 +1133,25 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:953
msgid ""
"Convert the Unicode object to a wide character string. The output string "
"always ends with a null character. If *size* is not *NULL*, write the number "
"of wide characters (excluding the trailing null termination character) into *"
"\\*size*. Note that the resulting :c:type:`wchar_t` string might contain "
"null characters, which would cause the string to be truncated when used with "
"most C functions. If *size* is *NULL* and the :c:type:`wchar_t*` string "
"contains null characters a :exc:`ValueError` is raised."
"always ends with a null character. If *size* is not ``NULL``, write the "
"number of wide characters (excluding the trailing null termination "
"character) into *\\*size*. Note that the resulting :c:type:`wchar_t` string "
"might contain null characters, which would cause the string to be truncated "
"when used with most C functions. If *size* is ``NULL`` and the :c:type:"
"`wchar_t*` string contains null characters a :exc:`ValueError` is raised."
msgstr ""
#: ../Doc/c-api/unicode.rst:961
msgid ""
"Returns a buffer allocated by :c:func:`PyMem_Alloc` (use :c:func:"
"`PyMem_Free` to free it) on success. On error, returns *NULL* and *\\*size* "
"is undefined. Raises a :exc:`MemoryError` if memory allocation is failed."
"`PyMem_Free` to free it) on success. On error, returns ``NULL`` and *"
"\\*size* is undefined. Raises a :exc:`MemoryError` if memory allocation is "
"failed."
msgstr ""
#: ../Doc/c-api/unicode.rst:968
msgid ""
"Raises a :exc:`ValueError` if *size* is *NULL* and the :c:type:`wchar_t*` "
"Raises a :exc:`ValueError` if *size* is ``NULL`` and the :c:type:`wchar_t*` "
"string contains null characters."
msgstr ""
@ -1172,7 +1174,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:985
msgid ""
"Setting encoding to *NULL* causes the default encoding to be used which is "
"Setting encoding to ``NULL`` causes the default encoding to be used which is "
"ASCII. The file system calls should use :c:func:`PyUnicode_FSConverter` for "
"encoding file names. This uses the variable :c:data:"
"`Py_FileSystemDefaultEncoding` internally. This variable should be treated "
@ -1183,7 +1185,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:993
msgid ""
"Error handling is set by errors which may also be set to *NULL* meaning to "
"Error handling is set by errors which may also be set to ``NULL`` meaning to "
"use the default handling defined for the codec. Default error handling for "
"all built-in codecs is \"strict\" (:exc:`ValueError` is raised)."
msgstr ""
@ -1207,7 +1209,7 @@ msgid ""
"Create a Unicode object by decoding *size* bytes of the encoded string *s*. "
"*encoding* and *errors* have the same meaning as the parameters of the same "
"name in the :func:`str` built-in function. The codec to be used is looked "
"up using the Python codec registry. Return *NULL* if an exception was "
"up using the Python codec registry. Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
@ -1216,8 +1218,8 @@ msgid ""
"Encode a Unicode object and return the result as Python bytes object. "
"*encoding* and *errors* have the same meaning as the parameters of the same "
"name in the Unicode :meth:`~str.encode` method. The codec to be used is "
"looked up using the Python codec registry. Return *NULL* if an exception was "
"raised by the codec."
"looked up using the Python codec registry. Return ``NULL`` if an exception "
"was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1030
@ -1226,7 +1228,7 @@ msgid ""
"Python bytes object. *encoding* and *errors* have the same meaning as the "
"parameters of the same name in the Unicode :meth:`~str.encode` method. The "
"codec to be used is looked up using the Python codec registry. Return "
"*NULL* if an exception was raised by the codec."
"``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1038 ../Doc/c-api/unicode.rst:1295
@ -1246,21 +1248,21 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1049
msgid ""
"Create a Unicode object by decoding *size* bytes of the UTF-8 encoded string "
"*s*. Return *NULL* if an exception was raised by the codec."
"*s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1056
msgid ""
"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF8`. If "
"*consumed* is not *NULL*, trailing incomplete UTF-8 byte sequences will not "
"be treated as an error. Those bytes will not be decoded and the number of "
"bytes that have been decoded will be stored in *consumed*."
"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If "
"*consumed* is not ``NULL``, trailing incomplete UTF-8 byte sequences will "
"not be treated as an error. Those bytes will not be decoded and the number "
"of bytes that have been decoded will be stored in *consumed*."
msgstr ""
#: ../Doc/c-api/unicode.rst:1064
msgid ""
"Encode a Unicode object using UTF-8 and return the result as Python bytes "
"object. Error handling is \"strict\". Return *NULL* if an exception was "
"object. Error handling is \"strict\". Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
@ -1268,14 +1270,14 @@ msgstr ""
msgid ""
"Return a pointer to the UTF-8 encoding of the Unicode object, and store the "
"size of the encoded representation (in bytes) in *size*. The *size* "
"argument can be *NULL*; in this case no size will be stored. The returned "
"argument can be ``NULL``; in this case no size will be stored. The returned "
"buffer always has an extra null byte appended (not included in *size*), "
"regardless of whether there are any other null code points."
msgstr ""
#: ../Doc/c-api/unicode.rst:1077
msgid ""
"In the case of an error, *NULL* is returned with an exception set and no "
"In the case of an error, ``NULL`` is returned with an exception set and no "
"*size* is stored."
msgstr ""
@ -1297,8 +1299,8 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1102
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* using UTF-8 "
"and return a Python bytes object. Return *NULL* if an exception was raised "
"by the codec."
"and return a Python bytes object. Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1109
@ -1319,13 +1321,13 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1121
msgid ""
"Decode *size* bytes from a UTF-32 encoded buffer string and return the "
"corresponding Unicode object. *errors* (if non-*NULL*) defines the error "
"corresponding Unicode object. *errors* (if non-``NULL``) defines the error "
"handling. It defaults to \"strict\"."
msgstr ""
#: ../Doc/c-api/unicode.rst:1125 ../Doc/c-api/unicode.rst:1198
msgid ""
"If *byteorder* is non-*NULL*, the decoder starts decoding using the given "
"If *byteorder* is non-``NULL``, the decoder starts decoding using the given "
"byte order::"
msgstr ""
@ -1344,18 +1346,18 @@ msgid ""
msgstr ""
#: ../Doc/c-api/unicode.rst:1140 ../Doc/c-api/unicode.rst:1214
msgid "If *byteorder* is *NULL*, the codec starts in native order mode."
msgid "If *byteorder* is ``NULL``, the codec starts in native order mode."
msgstr ""
#: ../Doc/c-api/unicode.rst:1142 ../Doc/c-api/unicode.rst:1178
#: ../Doc/c-api/unicode.rst:1216 ../Doc/c-api/unicode.rst:1253
msgid "Return *NULL* if an exception was raised by the codec."
msgid "Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1148
msgid ""
"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF32`. If "
"*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeUTF32Stateful` will not "
"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF32`. If "
"*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF32Stateful` will not "
"treat trailing incomplete UTF-32 byte sequences (such as a number of bytes "
"not divisible by four) as an error. Those bytes will not be decoded and the "
"number of bytes that have been decoded will be stored in *consumed*."
@ -1365,7 +1367,7 @@ msgstr ""
msgid ""
"Return a Python byte string using the UTF-32 encoding in native byte order. "
"The string always starts with a BOM mark. Error handling is \"strict\". "
"Return *NULL* if an exception was raised by the codec."
"Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1165
@ -1382,7 +1384,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1175
msgid ""
"If *Py_UNICODE_WIDE* is not defined, surrogate pairs will be output as a "
"If ``Py_UNICODE_WIDE`` is not defined, surrogate pairs will be output as a "
"single code point."
msgstr ""
@ -1403,7 +1405,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1194
msgid ""
"Decode *size* bytes from a UTF-16 encoded buffer string and return the "
"corresponding Unicode object. *errors* (if non-*NULL*) defines the error "
"corresponding Unicode object. *errors* (if non-``NULL``) defines the error "
"handling. It defaults to \"strict\"."
msgstr ""
@ -1418,8 +1420,8 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1222
msgid ""
"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF16`. If "
"*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeUTF16Stateful` will not "
"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF16`. If "
"*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF16Stateful` will not "
"treat trailing incomplete UTF-16 byte sequences (such as an odd number of "
"bytes or a split surrogate pair) as an error. Those bytes will not be "
"decoded and the number of bytes that have been decoded will be stored in "
@ -1430,7 +1432,7 @@ msgstr ""
msgid ""
"Return a Python byte string using the UTF-16 encoding in native byte order. "
"The string always starts with a BOM mark. Error handling is \"strict\". "
"Return *NULL* if an exception was raised by the codec."
"Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1239
@ -1441,8 +1443,8 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1249
msgid ""
"If *Py_UNICODE_WIDE* is defined, a single :c:type:`Py_UNICODE` value may get "
"represented as a surrogate pair. If it is not defined, each :c:type:"
"If ``Py_UNICODE_WIDE`` is defined, a single :c:type:`Py_UNICODE` value may "
"get represented as a surrogate pair. If it is not defined, each :c:type:"
"`Py_UNICODE` values is interpreted as a UCS-2 character."
msgstr ""
@ -1463,13 +1465,13 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1268
msgid ""
"Create a Unicode object by decoding *size* bytes of the UTF-7 encoded string "
"*s*. Return *NULL* if an exception was raised by the codec."
"*s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1275
msgid ""
"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF7`. If "
"*consumed* is not *NULL*, trailing incomplete UTF-7 base-64 sections will "
"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF7`. If "
"*consumed* is not ``NULL``, trailing incomplete UTF-7 base-64 sections will "
"not be treated as an error. Those bytes will not be decoded and the number "
"of bytes that have been decoded will be stored in *consumed*."
msgstr ""
@ -1477,7 +1479,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1284
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given size using UTF-7 and "
"return a Python bytes object. Return *NULL* if an exception was raised by "
"return a Python bytes object. Return ``NULL`` if an exception was raised by "
"the codec."
msgstr ""
@ -1500,21 +1502,21 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1307
msgid ""
"Create a Unicode object by decoding *size* bytes of the Unicode-Escape "
"encoded string *s*. Return *NULL* if an exception was raised by the codec."
"encoded string *s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1313
msgid ""
"Encode a Unicode object using Unicode-Escape and return the result as a "
"bytes object. Error handling is \"strict\". Return *NULL* if an exception "
"was raised by the codec."
"bytes object. Error handling is \"strict\". Return ``NULL`` if an "
"exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1320
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Unicode-"
"Escape and return a bytes object. Return *NULL* if an exception was raised "
"by the codec."
"Escape and return a bytes object. Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1325
@ -1534,21 +1536,21 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1337
msgid ""
"Create a Unicode object by decoding *size* bytes of the Raw-Unicode-Escape "
"encoded string *s*. Return *NULL* if an exception was raised by the codec."
"encoded string *s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1343
msgid ""
"Encode a Unicode object using Raw-Unicode-Escape and return the result as a "
"bytes object. Error handling is \"strict\". Return *NULL* if an exception "
"was raised by the codec."
"bytes object. Error handling is \"strict\". Return ``NULL`` if an "
"exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1351
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-"
"Escape and return a bytes object. Return *NULL* if an exception was raised "
"by the codec."
"Escape and return a bytes object. Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1357
@ -1571,20 +1573,20 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1369
msgid ""
"Create a Unicode object by decoding *size* bytes of the Latin-1 encoded "
"string *s*. Return *NULL* if an exception was raised by the codec."
"string *s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1375
msgid ""
"Encode a Unicode object using Latin-1 and return the result as Python bytes "
"object. Error handling is \"strict\". Return *NULL* if an exception was "
"object. Error handling is \"strict\". Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1382
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Latin-1 and "
"return a Python bytes object. Return *NULL* if an exception was raised by "
"return a Python bytes object. Return ``NULL`` if an exception was raised by "
"the codec."
msgstr ""
@ -1607,20 +1609,20 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1401
msgid ""
"Create a Unicode object by decoding *size* bytes of the ASCII encoded string "
"*s*. Return *NULL* if an exception was raised by the codec."
"*s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1407
msgid ""
"Encode a Unicode object using ASCII and return the result as Python bytes "
"object. Error handling is \"strict\". Return *NULL* if an exception was "
"object. Error handling is \"strict\". Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1414
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given *size* using ASCII and "
"return a Python bytes object. Return *NULL* if an exception was raised by "
"return a Python bytes object. Return ``NULL`` if an exception was raised by "
"the codec."
msgstr ""
@ -1651,13 +1653,13 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1438
msgid ""
"Create a Unicode object by decoding *size* bytes of the encoded string *s* "
"using the given *mapping* object. Return *NULL* if an exception was raised "
"by the codec."
"using the given *mapping* object. Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1442
msgid ""
"If *mapping* is *NULL*, Latin-1 decoding will be applied. Else *mapping* "
"If *mapping* is ``NULL``, Latin-1 decoding will be applied. Else *mapping* "
"must map bytes ordinals (integers in the range from 0 to 255) to Unicode "
"strings, integers (which are then interpreted as Unicode ordinals) or "
"``None``. Unmapped data bytes -- ones which cause a :exc:`LookupError`, as "
@ -1668,7 +1670,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1453
msgid ""
"Encode a Unicode object using the given *mapping* object and return the "
"result as a bytes object. Error handling is \"strict\". Return *NULL* if "
"result as a bytes object. Error handling is \"strict\". Return ``NULL`` if "
"an exception was raised by the codec."
msgstr ""
@ -1683,8 +1685,8 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1466
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given *size* using the given "
"*mapping* object and return the result as a bytes object. Return *NULL* if "
"an exception was raised by the codec."
"*mapping* object and return the result as a bytes object. Return ``NULL`` "
"if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1473
@ -1700,7 +1702,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1481
msgid ""
"Translate a Unicode object using the given *mapping* object and return the "
"resulting Unicode object. Return *NULL* if an exception was raised by the "
"resulting Unicode object. Return ``NULL`` if an exception was raised by the "
"codec."
msgstr ""
@ -1716,7 +1718,7 @@ msgstr ""
msgid ""
"Translate a :c:type:`Py_UNICODE` buffer of the given *size* by applying a "
"character *mapping* table to it and return the resulting Unicode object. "
"Return *NULL* when an exception was raised by the codec."
"Return ``NULL`` when an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1501
@ -1741,13 +1743,13 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1514
msgid ""
"Create a Unicode object by decoding *size* bytes of the MBCS encoded string "
"*s*. Return *NULL* if an exception was raised by the codec."
"*s*. Return ``NULL`` if an exception was raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1521
msgid ""
"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeMBCS`. If "
"*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeMBCSStateful` will not "
"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeMBCS`. If "
"*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeMBCSStateful` will not "
"decode trailing lead byte and the number of bytes that have been decoded "
"will be stored in *consumed*."
msgstr ""
@ -1755,21 +1757,21 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1529
msgid ""
"Encode a Unicode object using MBCS and return the result as Python bytes "
"object. Error handling is \"strict\". Return *NULL* if an exception was "
"object. Error handling is \"strict\". Return ``NULL`` if an exception was "
"raised by the codec."
msgstr ""
#: ../Doc/c-api/unicode.rst:1536
msgid ""
"Encode the Unicode object using the specified code page and return a Python "
"bytes object. Return *NULL* if an exception was raised by the codec. Use :c:"
"data:`CP_ACP` code page to get the MBCS encoder."
"bytes object. Return ``NULL`` if an exception was raised by the codec. Use :"
"c:data:`CP_ACP` code page to get the MBCS encoder."
msgstr ""
#: ../Doc/c-api/unicode.rst:1545
msgid ""
"Encode the :c:type:`Py_UNICODE` buffer of the given *size* using MBCS and "
"return a Python bytes object. Return *NULL* if an exception was raised by "
"return a Python bytes object. Return ``NULL`` if an exception was raised by "
"the codec."
msgstr ""
@ -1796,7 +1798,7 @@ msgid ""
msgstr ""
#: ../Doc/c-api/unicode.rst:1568
msgid "They all return *NULL* or ``-1`` if an exception occurs."
msgid "They all return ``NULL`` or ``-1`` if an exception occurs."
msgstr ""
#: ../Doc/c-api/unicode.rst:1573
@ -1805,7 +1807,7 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1578
msgid ""
"Split a string giving a list of Unicode strings. If *sep* is *NULL*, "
"Split a string giving a list of Unicode strings. If *sep* is ``NULL``, "
"splitting will be done at all whitespace substrings. Otherwise, splits "
"occur at the given separator. At most *maxsplit* splits will be done. If "
"negative, no limit is set. Separators are not included in the resulting "
@ -1840,8 +1842,8 @@ msgstr ""
#: ../Doc/c-api/unicode.rst:1604
msgid ""
"*errors* has the usual meaning for codecs. It may be *NULL* which indicates "
"to use the default error handling."
"*errors* has the usual meaning for codecs. It may be ``NULL`` which "
"indicates to use the default error handling."
msgstr ""
#: ../Doc/c-api/unicode.rst:1610

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -72,7 +72,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:54
msgid ""
"This is a simplified interface to :c:func:`PyRun_AnyFileExFlags` below, "
"leaving *closeit* set to ``0`` and *flags* set to *NULL*."
"leaving *closeit* set to ``0`` and *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:60
@ -84,7 +84,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:66
msgid ""
"This is a simplified interface to :c:func:`PyRun_AnyFileExFlags` below, "
"leaving the *flags* argument set to *NULL*."
"leaving the *flags* argument set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:72
@ -93,14 +93,14 @@ msgid ""
"terminal input or Unix pseudo-terminal), return the value of :c:func:"
"`PyRun_InteractiveLoop`, otherwise return the result of :c:func:"
"`PyRun_SimpleFile`. *filename* is decoded from the filesystem encoding (:"
"func:`sys.getfilesystemencoding`). If *filename* is *NULL*, this function "
"func:`sys.getfilesystemencoding`). If *filename* is ``NULL``, this function "
"uses ``\"???\"`` as the filename."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:82
msgid ""
"This is a simplified interface to :c:func:`PyRun_SimpleStringFlags` below, "
"leaving the *PyCompilerFlags\\** argument set to NULL."
"leaving the :c:type:`PyCompilerFlags`\\* argument set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:88
@ -122,13 +122,13 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:101
msgid ""
"This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, "
"leaving *closeit* set to ``0`` and *flags* set to *NULL*."
"leaving *closeit* set to ``0`` and *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:107
msgid ""
"This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, "
"leaving *flags* set to *NULL*."
"leaving *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:113
@ -150,7 +150,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:126
msgid ""
"This is a simplified interface to :c:func:`PyRun_InteractiveOneFlags` below, "
"leaving *flags* set to *NULL*."
"leaving *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:132
@ -173,7 +173,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:146
msgid ""
"This is a simplified interface to :c:func:`PyRun_InteractiveLoopFlags` "
"below, leaving *flags* set to *NULL*."
"below, leaving *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:152
@ -200,7 +200,7 @@ msgid ""
"Can be set to point to a function with the prototype ``char *func(FILE "
"*stdin, FILE *stdout, char *prompt)``, overriding the default function used "
"to read a single line of input at the interpreter's prompt. The function is "
"expected to output the string *prompt* if it's not *NULL*, and then read a "
"expected to output the string *prompt* if it's not ``NULL``, and then read a "
"line of input from the provided standard input file, returning the resulting "
"string. For example, The :mod:`readline` module sets this hook to provide "
"line-editing and tab-completion features."
@ -209,7 +209,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:181
msgid ""
"The result must be a string allocated by :c:func:`PyMem_RawMalloc` or :c:"
"func:`PyMem_RawRealloc`, or *NULL* if an error occurred."
"func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:184
@ -223,14 +223,14 @@ msgstr ""
msgid ""
"This is a simplified interface to :c:func:"
"`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to "
"*NULL* and *flags* set to ``0``."
"``NULL`` and *flags* set to ``0``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:199
msgid ""
"This is a simplified interface to :c:func:"
"`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to "
"*NULL*."
"``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:206
@ -257,7 +257,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:227
msgid ""
"This is a simplified interface to :c:func:`PyRun_StringFlags` below, leaving "
"*flags* set to *NULL*."
"*flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:233
@ -271,20 +271,20 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:239
msgid ""
"Returns the result of executing the code as a Python object, or *NULL* if an "
"exception was raised."
"Returns the result of executing the code as a Python object, or ``NULL`` if "
"an exception was raised."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:245
msgid ""
"This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving "
"*closeit* set to ``0`` and *flags* set to *NULL*."
"*closeit* set to ``0`` and *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:251
msgid ""
"This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving "
"*flags* set to *NULL*."
"*flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:257
@ -305,7 +305,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:272
msgid ""
"This is a simplified interface to :c:func:`Py_CompileStringFlags` below, "
"leaving *flags* set to *NULL*."
"leaving *flags* set to ``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:278
@ -322,7 +322,7 @@ msgid ""
"`Py_eval_input`, :const:`Py_file_input`, or :const:`Py_single_input`. The "
"filename specified by *filename* is used to construct the code object and "
"may appear in tracebacks or :exc:`SyntaxError` exception messages. This "
"returns *NULL* if the code cannot be parsed or compiled."
"returns ``NULL`` if the code cannot be parsed or compiled."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:292
@ -344,7 +344,7 @@ msgstr ""
msgid ""
"This is a simplified interface to :c:func:`PyEval_EvalCodeEx`, with just the "
"code object, and global and local variables. The other arguments are set to "
"*NULL*."
"``NULL``."
msgstr ""
#: ../Doc/c-api/veryhigh.rst:317
@ -422,7 +422,7 @@ msgstr ""
#: ../Doc/c-api/veryhigh.rst:389
msgid ""
"Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated "
"Whenever ``PyCompilerFlags *flags`` is ``NULL``, :attr:`cf_flags` is treated "
"as equal to ``0``, and any modification due to ``from __future__ import`` is "
"discarded."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-11 12:59+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-03-29 14:17+0100\n"
"Last-Translator: Andy Kwok <andy.kwok.work@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -44,15 +44,16 @@ msgid "Return true if *ob* is a proxy object."
msgstr "Retourne vrai si *ob* est un objet proxy"
#: ../Doc/c-api/weakref.rst:31
#, fuzzy
msgid ""
"Return a weak reference object for the object *ob*. This will always return "
"a new reference, but is not guaranteed to create a new object; an existing "
"reference object may be returned. The second parameter, *callback*, can be "
"a callable object that receives notification when *ob* is garbage collected; "
"it should accept a single parameter, which will be the weak reference object "
"itself. *callback* may also be ``None`` or *NULL*. If *ob* is not a weakly-"
"referencable object, or if *callback* is not callable, ``None``, or *NULL*, "
"this will return *NULL* and raise :exc:`TypeError`."
"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
"weakly-referencable object, or if *callback* is not callable, ``None``, or "
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
msgstr ""
"Retourne un objet de référence faible pour l'objet *ob*. Elle renvoie "
"toujours une nouvelle référence, mais cela ne signifie pas qu'un nouvel "
@ -66,15 +67,16 @@ msgstr ""
"*NULL* et lève une :exc:`TypeError`."
#: ../Doc/c-api/weakref.rst:43
#, fuzzy
msgid ""
"Return a weak reference proxy object for the object *ob*. This will always "
"return a new reference, but is not guaranteed to create a new object; an "
"existing proxy object may be returned. The second parameter, *callback*, "
"can be a callable object that receives notification when *ob* is garbage "
"collected; it should accept a single parameter, which will be the weak "
"reference object itself. *callback* may also be ``None`` or *NULL*. If *ob* "
"is not a weakly-referencable object, or if *callback* is not callable, "
"``None``, or *NULL*, this will return *NULL* and raise :exc:`TypeError`."
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
"*ob* is not a weakly-referencable object, or if *callback* is not callable, "
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
msgstr ""
"Retourne un objet mandataire à référence faible pour l'objet *ob*. Ceci "
"renvoie toujours une nouvelle référence, mais ne garantit pas la création "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-23 16:48+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-05-23 20:39+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -85,12 +85,13 @@ msgstr ""
"Python"
#: ../Doc/distributing/index.rst:37
#, fuzzy
msgid ""
"the `Python Packaging Authority <https://www.pypa.io/>`__ are the group of "
"developers and documentation authors responsible for the maintenance and "
"evolution of the standard packaging tools and the associated metadata and "
"file format standards. They maintain a variety of tools, documentation and "
"issue trackers on both `GitHub <https://github.com/pypa>`__ and `BitBucket "
"issue trackers on both `GitHub <https://github.com/pypa>`__ and `Bitbucket "
"<https://bitbucket.org/pypa/>`__."
msgstr ""
"le `Python Packaging Authority <https://www.pypa.io>`__ est le groupe de "
@ -300,8 +301,9 @@ msgid "check the Python Packaging Index to see if the name is already in use"
msgstr "vérifiez dans le *Python Packaging Index* si le nom est déjà utilisé"
#: ../Doc/distributing/index.rst:151
#, fuzzy
msgid ""
"check popular hosting sites like GitHub, BitBucket, etc to see if there is "
"check popular hosting sites like GitHub, Bitbucket, etc to see if there is "
"already a project with that name"
msgstr ""
"vérifiez sur quelques sites d'hébergement populaires tels que GitHub, "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-23 16:48+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-04 16:18+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -304,8 +304,9 @@ msgstr ""
"d'arguments. L'appel à la fonction Python est alors effectué avec ::"
#: ../Doc/extending/embedding.rst:199
#, fuzzy
msgid ""
"Upon return of the function, ``pValue`` is either *NULL* or it contains a "
"Upon return of the function, ``pValue`` is either ``NULL`` or it contains a "
"reference to the return value of the function. Be sure to release the "
"reference after examining the value."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-10-30 00:03+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -210,12 +210,13 @@ msgstr ""
"converties. Nous en verront plus, plus tard."
#: ../Doc/extending/extending.rst:116
#, fuzzy
msgid ""
":c:func:`PyArg_ParseTuple` returns true (nonzero) if all arguments have the "
"right type and its components have been stored in the variables whose "
"addresses are passed. It returns false (zero) if an invalid argument list "
"was passed. In the latter case it also raises an appropriate exception so "
"the calling function can return *NULL* immediately (as we saw in the "
"the calling function can return ``NULL`` immediately (as we saw in the "
"example)."
msgstr ""
":c:func:`PyArg_ParseTuple` renvoie vrai (pas zéro) si tous les arguments ont "
@ -230,11 +231,12 @@ msgid "Intermezzo: Errors and Exceptions"
msgstr "Intermezzo: Les erreurs et exceptions"
#: ../Doc/extending/extending.rst:128
#, fuzzy
msgid ""
"An important convention throughout the Python interpreter is the following: "
"when a function fails, it should set an exception condition and return an "
"error value (usually a *NULL* pointer). Exceptions are stored in a static "
"global variable inside the interpreter; if this variable is *NULL* no "
"error value (usually a ``NULL`` pointer). Exceptions are stored in a static "
"global variable inside the interpreter; if this variable is ``NULL`` no "
"exception has occurred. A second global variable stores the \"associated "
"value\" of the exception (the second argument to :keyword:`raise`). A third "
"variable contains the stack traceback in case the error originated in Python "
@ -294,12 +296,13 @@ msgstr ""
"func:`Py_INCREF` aux objets transmis à ces fonctions."
#: ../Doc/extending/extending.rst:154
#, fuzzy
msgid ""
"You can test non-destructively whether an exception has been set with :c:"
"func:`PyErr_Occurred`. This returns the current exception object, or *NULL* "
"if no exception has occurred. You normally don't need to call :c:func:"
"`PyErr_Occurred` to see whether an error occurred in a function call, since "
"you should be able to tell from the return value."
"func:`PyErr_Occurred`. This returns the current exception object, or "
"``NULL`` if no exception has occurred. You normally don't need to call :c:"
"func:`PyErr_Occurred` to see whether an error occurred in a function call, "
"since you should be able to tell from the return value."
msgstr ""
"Vous pouvez tester de manière non destructive si une exception a été levée "
"avec :c:func:`PyErr_Occurred`. Cela renvoie l'objet exception actuel, ou "
@ -309,13 +312,14 @@ msgstr ""
"de le déterminer à partir de la valeur de retour."
#: ../Doc/extending/extending.rst:160
#, fuzzy
msgid ""
"When a function *f* that calls another function *g* detects that the latter "
"fails, *f* should itself return an error value (usually *NULL* or ``-1``). "
"It should *not* call one of the :c:func:`PyErr_\\*` functions --- one has "
"already been called by *g*. *f*'s caller is then supposed to also return an "
"error indication to *its* caller, again *without* calling :c:func:`PyErr_"
"\\*`, and so on --- the most detailed cause of the error was already "
"fails, *f* should itself return an error value (usually ``NULL`` or "
"``-1``). It should *not* call one of the :c:func:`PyErr_\\*` functions --- "
"one has already been called by *g*. *f*'s caller is then supposed to also "
"return an error indication to *its* caller, again *without* calling :c:func:"
"`PyErr_\\*`, and so on --- the most detailed cause of the error was already "
"reported by the function that first detected it. Once the error reaches the "
"Python interpreter's main loop, this aborts the currently executing Python "
"code and tries to find an exception handler specified by the Python "
@ -441,11 +445,12 @@ msgstr ""
"`PyInit_spam`) avec un objet exception ::"
#: ../Doc/extending/extending.rst:235
#, fuzzy
msgid ""
"Note that the Python name for the exception object is :exc:`spam.error`. "
"The :c:func:`PyErr_NewException` function may create a class with the base "
"class being :exc:`Exception` (unless another class is passed in instead of "
"*NULL*), described in :ref:`bltin-exceptions`."
"``NULL``), described in :ref:`bltin-exceptions`."
msgstr ""
"Notez que le nom de exception, côté Python, est :exc:`spam.error`. La "
"fonction :c:func:`PyErr_NewException` peut créer une classe héritant de :exc:"
@ -499,8 +504,9 @@ msgstr ""
"capable de comprendre cette affirmation ::"
#: ../Doc/extending/extending.rst:281
#, fuzzy
msgid ""
"It returns *NULL* (the error indicator for functions returning object "
"It returns ``NULL`` (the error indicator for functions returning object "
"pointers) if an error is detected in the argument list, relying on the "
"exception set by :c:func:`PyArg_ParseTuple`. Otherwise the string value of "
"the argument has been copied to the local variable :c:data:`command`. This "
@ -556,10 +562,11 @@ msgstr ""
"implémentée par la macro :c:macro:`Py_RETURN_NONE`) ::"
#: ../Doc/extending/extending.rst:310
#, fuzzy
msgid ""
":c:data:`Py_None` is the C name for the special Python object ``None``. It "
"is a genuine Python object rather than a *NULL* pointer, which means \"error"
"\" in most contexts, as we have seen."
"is a genuine Python object rather than a ``NULL`` pointer, which means "
"\"error\" in most contexts, as we have seen."
msgstr ""
":c:data:`Py_None` est le nom C pour l'objet spécial Python ``None``. C'est "
"un authentique objet Python plutôt qu'un pointeur *NULL*, qui signifie "
@ -649,9 +656,9 @@ msgid ""
"upon the table (an array of :c:type:`PyMethodDef` structures) found in the "
"module definition. :c:func:`PyModule_Create` returns a pointer to the module "
"object that it creates. It may abort with a fatal error for certain errors, "
"or return *NULL* if the module could not be initialized satisfactorily. The "
"init function must return the module object to its caller, so that it then "
"gets inserted into ``sys.modules``."
"or return ``NULL`` if the module could not be initialized satisfactorily. "
"The init function must return the module object to its caller, so that it "
"then gets inserted into ``sys.modules``."
msgstr ""
#: ../Doc/extending/extending.rst:383
@ -770,8 +777,8 @@ msgstr ""
#: ../Doc/extending/extending.rst:528
msgid ""
"The macros :c:func:`Py_XINCREF` and :c:func:`Py_XDECREF` increment/decrement "
"the reference count of an object and are safe in the presence of *NULL* "
"pointers (but note that *temp* will not be *NULL* in this context). More "
"the reference count of an object and are safe in the presence of ``NULL`` "
"pointers (but note that *temp* will not be ``NULL`` in this context). More "
"info on them in section :ref:`refcounts`."
msgstr ""
@ -781,8 +788,8 @@ msgid ""
"`PyObject_CallObject`. This function has two arguments, both pointers to "
"arbitrary Python objects: the Python function, and the argument list. The "
"argument list must always be a tuple object, whose length is the number of "
"arguments. To call the Python function with no arguments, pass in NULL, or "
"an empty tuple; to call it with one argument, pass a singleton tuple. :c:"
"arguments. To call the Python function with no arguments, pass in ``NULL``, "
"or an empty tuple; to call it with one argument, pass a singleton tuple. :c:"
"func:`Py_BuildValue` returns a tuple when its format string consists of zero "
"or more format codes between parentheses. For example::"
msgstr ""
@ -808,7 +815,7 @@ msgstr ""
#: ../Doc/extending/extending.rst:568
msgid ""
"Before you do this, however, it is important to check that the return value "
"isn't *NULL*. If it is, the Python function terminated by raising an "
"isn't ``NULL``. If it is, the Python function terminated by raising an "
"exception. If the C code that called :c:func:`PyObject_CallObject` is called "
"from Python, it should now return an error indication to its Python caller, "
"so the interpreter can print a stack trace, or the calling Python code can "
@ -895,10 +902,11 @@ msgid ""
"The *arg* and *format* parameters are identical to those of the :c:func:"
"`PyArg_ParseTuple` function. The *kwdict* parameter is the dictionary of "
"keywords received as the third parameter from the Python runtime. The "
"*kwlist* parameter is a *NULL*-terminated list of strings which identify the "
"parameters; the names are matched with the type information from *format* "
"from left to right. On success, :c:func:`PyArg_ParseTupleAndKeywords` "
"returns true, otherwise it returns false and raises an appropriate exception."
"*kwlist* parameter is a ``NULL``-terminated list of strings which identify "
"the parameters; the names are matched with the type information from "
"*format* from left to right. On success, :c:func:"
"`PyArg_ParseTupleAndKeywords` returns true, otherwise it returns false and "
"raises an appropriate exception."
msgstr ""
#: ../Doc/extending/extending.rst:733
@ -1251,48 +1259,48 @@ msgstr ""
#: ../Doc/extending/extending.rst:1086
msgid ""
"In general, functions that take object references as arguments do not expect "
"you to pass them *NULL* pointers, and will dump core (or cause later core "
"you to pass them ``NULL`` pointers, and will dump core (or cause later core "
"dumps) if you do so. Functions that return object references generally "
"return *NULL* only to indicate that an exception occurred. The reason for "
"not testing for *NULL* arguments is that functions often pass the objects "
"return ``NULL`` only to indicate that an exception occurred. The reason for "
"not testing for ``NULL`` arguments is that functions often pass the objects "
"they receive on to other function --- if each function were to test for "
"*NULL*, there would be a lot of redundant tests and the code would run more "
"slowly."
"``NULL``, there would be a lot of redundant tests and the code would run "
"more slowly."
msgstr ""
#: ../Doc/extending/extending.rst:1094
msgid ""
"It is better to test for *NULL* only at the \"source:\" when a pointer that "
"may be *NULL* is received, for example, from :c:func:`malloc` or from a "
"function that may raise an exception."
"It is better to test for ``NULL`` only at the \"source:\" when a pointer "
"that may be ``NULL`` is received, for example, from :c:func:`malloc` or from "
"a function that may raise an exception."
msgstr ""
#: ../Doc/extending/extending.rst:1098
msgid ""
"The macros :c:func:`Py_INCREF` and :c:func:`Py_DECREF` do not check for "
"*NULL* pointers --- however, their variants :c:func:`Py_XINCREF` and :c:func:"
"`Py_XDECREF` do."
"``NULL`` pointers --- however, their variants :c:func:`Py_XINCREF` and :c:"
"func:`Py_XDECREF` do."
msgstr ""
#: ../Doc/extending/extending.rst:1102
msgid ""
"The macros for checking for a particular object type (``Pytype_Check()``) "
"don't check for *NULL* pointers --- again, there is much code that calls "
"don't check for ``NULL`` pointers --- again, there is much code that calls "
"several of these in a row to test an object against various different "
"expected types, and this would generate redundant tests. There are no "
"variants with *NULL* checking."
"variants with ``NULL`` checking."
msgstr ""
#: ../Doc/extending/extending.rst:1108
msgid ""
"The C function calling mechanism guarantees that the argument list passed to "
"C functions (``args`` in the examples) is never *NULL* --- in fact it "
"C functions (``args`` in the examples) is never ``NULL`` --- in fact it "
"guarantees that it is always a tuple [#]_."
msgstr ""
#: ../Doc/extending/extending.rst:1112
msgid ""
"It is a severe error to ever let a *NULL* pointer \"escape\" to the Python "
"It is a severe error to ever let a ``NULL`` pointer \"escape\" to the Python "
"user."
msgstr ""
@ -1380,7 +1388,7 @@ msgstr ""
msgid ""
"Whichever method you choose, it's important to name your Capsules properly. "
"The function :c:func:`PyCapsule_New` takes a name parameter (:c:type:`const "
"char \\*`); you're permitted to pass in a *NULL* name, but we strongly "
"char \\*`); you're permitted to pass in a ``NULL`` name, but we strongly "
"encourage you to specify a name. Properly named Capsules provide a degree "
"of runtime type-safety; there is no feasible way to tell one unnamed Capsule "
"from another."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -178,7 +178,7 @@ msgid ""
"needs to be a function which can retrieve attributes (if any are defined), "
"and another to set attributes (if setting attributes is allowed). Removing "
"an attribute is a special case, for which the new value passed to the "
"handler is *NULL*."
"handler is ``NULL``."
msgstr ""
#: ../Doc/extending/newtypes.rst:196
@ -235,10 +235,10 @@ msgid ""
"the type object to create :term:`descriptor`\\s which are placed in the "
"dictionary of the type object. Each descriptor controls access to one "
"attribute of the instance object. Each of the tables is optional; if all "
"three are *NULL*, instances of the type will only have attributes that are "
"three are ``NULL``, instances of the type will only have attributes that are "
"inherited from their base type, and should leave the :c:member:"
"`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fields "
"*NULL* as well, allowing the base type to handle attributes."
"``NULL`` as well, allowing the base type to handle attributes."
msgstr ""
#: ../Doc/extending/newtypes.rst:241
@ -247,7 +247,7 @@ msgstr ""
#: ../Doc/extending/newtypes.rst:247
msgid ""
"If :c:member:`~PyTypeObject.tp_methods` is not *NULL*, it must refer to an "
"If :c:member:`~PyTypeObject.tp_methods` is not ``NULL``, it must refer to an "
"array of :c:type:`PyMethodDef` structures. Each entry in the table is an "
"instance of this structure::"
msgstr ""
@ -257,7 +257,7 @@ msgid ""
"One entry should be defined for each method provided by the type; no entries "
"are needed for methods inherited from a base type. One additional entry is "
"needed at the end; it is a sentinel that marks the end of the array. The :"
"attr:`ml_name` field of the sentinel must be *NULL*."
"attr:`ml_name` field of the sentinel must be ``NULL``."
msgstr ""
#: ../Doc/extending/newtypes.rst:263
@ -338,7 +338,7 @@ msgstr ""
#: ../Doc/extending/newtypes.rst:309
msgid ""
"As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry "
"with a :attr:`name` value of *NULL* is required."
"with a :attr:`name` value of ``NULL`` is required."
msgstr ""
#: ../Doc/extending/newtypes.rst:323
@ -372,9 +372,9 @@ msgid ""
"The :c:member:`~PyTypeObject.tp_setattr` handler is called when the :meth:"
"`__setattr__` or :meth:`__delattr__` method of a class instance would be "
"called. When an attribute should be deleted, the third parameter will be "
"*NULL*. Here is an example that simply raises an exception; if this were "
"``NULL``. Here is an example that simply raises an exception; if this were "
"really all you wanted, the :c:member:`~PyTypeObject.tp_setattr` handler "
"should be set to *NULL*. ::"
"should be set to ``NULL``. ::"
msgstr ""
#: ../Doc/extending/newtypes.rst:367
@ -397,7 +397,7 @@ msgid ""
"respect to the specified operator and return ``Py_True`` or ``Py_False`` if "
"the comparison is successful, ``Py_NotImplemented`` to indicate that "
"comparison is not implemented and the other object's comparison method "
"should be tried, or *NULL* if an exception was set."
"should be tried, or ``NULL`` if an exception was set."
msgstr ""
#: ../Doc/extending/newtypes.rst:386
@ -427,7 +427,7 @@ msgid ""
"newer protocols there are additional slots in the main type object, with a "
"flag bit being set to indicate that the slots are present and should be "
"checked by the interpreter. (The flag bit does not indicate that the slot "
"values are non-*NULL*. The flag may be set to indicate the presence of a "
"values are non-``NULL``. The flag may be set to indicate the presence of a "
"slot, but a slot may still be unfilled.) ::"
msgstr ""
@ -483,9 +483,9 @@ msgstr ""
#: ../Doc/extending/newtypes.rst:480
msgid ""
"*kwds* is a dictionary of keyword arguments that were passed. If this is non-"
"*NULL* and you support keyword arguments, use :c:func:"
"``NULL`` and you support keyword arguments, use :c:func:"
"`PyArg_ParseTupleAndKeywords` to extract the arguments. If you do not want "
"to support keyword arguments and this is non-*NULL*, raise a :exc:"
"to support keyword arguments and this is non-``NULL``, raise a :exc:"
"`TypeError` with a message saying that keyword arguments are not supported."
msgstr ""
@ -498,9 +498,10 @@ msgid ""
"These functions provide support for the iterator protocol. Both handlers "
"take exactly one parameter, the instance for which they are being called, "
"and return a new reference. In the case of an error, they should set an "
"exception and return *NULL*. :c:member:`~PyTypeObject.tp_iter` corresponds "
"to the Python :meth:`__iter__` method, while :c:member:`~PyTypeObject."
"tp_iternext` corresponds to the Python :meth:`~iterator.__next__` method."
"exception and return ``NULL``. :c:member:`~PyTypeObject.tp_iter` "
"corresponds to the Python :meth:`__iter__` method, while :c:member:"
"`~PyTypeObject.tp_iternext` corresponds to the Python :meth:`~iterator."
"__next__` method."
msgstr ""
#: ../Doc/extending/newtypes.rst:519
@ -533,10 +534,11 @@ msgid ""
"iterator. Its :c:member:`~PyTypeObject.tp_iternext` handler should return a "
"new reference to the next object in the iteration, if there is one. If the "
"iteration has reached the end, :c:member:`~PyTypeObject.tp_iternext` may "
"return *NULL* without setting an exception, or it may set :exc:"
"`StopIteration` *in addition* to returning *NULL*; avoiding the exception "
"return ``NULL`` without setting an exception, or it may set :exc:"
"`StopIteration` *in addition* to returning ``NULL``; avoiding the exception "
"can yield slightly better performance. If an actual error occurs, :c:member:"
"`~PyTypeObject.tp_iternext` should always set an exception and return *NULL*."
"`~PyTypeObject.tp_iternext` should always set an exception and return "
"``NULL``."
msgstr ""
#: ../Doc/extending/newtypes.rst:547
@ -564,7 +566,7 @@ msgstr ""
msgid ""
"Include a :c:type:`PyObject\\*` field in the C object structure dedicated to "
"the weak reference mechanism. The object's constructor should leave it "
"*NULL* (which is automatic when using the default :c:member:`~PyTypeObject."
"``NULL`` (which is automatic when using the default :c:member:`~PyTypeObject."
"tp_alloc`)."
msgstr ""
@ -589,7 +591,7 @@ msgstr ""
msgid ""
"The only further addition is that ``tp_dealloc`` needs to clear any weak "
"references (by calling :c:func:`PyObject_ClearWeakRefs`) if the field is non-"
"*NULL*::"
"``NULL``::"
msgstr ""
#: ../Doc/extending/newtypes.rst:599

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-06-17 10:15+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -216,7 +216,7 @@ msgstr ""
msgid ""
"This initializes the :class:`Custom` type, filling in a number of members to "
"the appropriate default values, including :attr:`ob_type` that we initially "
"set to *NULL*. ::"
"set to ``NULL``. ::"
msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:189
@ -312,12 +312,12 @@ msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:276
msgid ""
"This method first clears the reference counts of the two Python attributes. :"
"c:func:`Py_XDECREF` correctly handles the case where its argument is *NULL* "
"(which might happen here if ``tp_new`` failed midway). It then calls the :c:"
"member:`~PyTypeObject.tp_free` member of the object's type (computed by "
"``Py_TYPE(self)``) to free the object's memory. Note that the object's type "
"might not be :class:`CustomType`, because the object may be an instance of a "
"subclass."
"c:func:`Py_XDECREF` correctly handles the case where its argument is "
"``NULL`` (which might happen here if ``tp_new`` failed midway). It then "
"calls the :c:member:`~PyTypeObject.tp_free` member of the object's type "
"(computed by ``Py_TYPE(self)``) to free the object's memory. Note that the "
"object's type might not be :class:`CustomType`, because the object may be an "
"instance of a subclass."
msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:285
@ -347,7 +347,7 @@ msgid ""
"indeed many extension types will simply reuse :c:func:`PyType_GenericNew` as "
"done in the first version of the ``Custom`` type above. In this case, we "
"use the ``tp_new`` handler to initialize the ``first`` and ``last`` "
"attributes to non-*NULL* default values."
"attributes to non-``NULL`` default values."
msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:327
@ -375,7 +375,7 @@ msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:343
msgid ""
"Since memory allocation may fail, we must check the :c:member:`~PyTypeObject."
"tp_alloc` result against *NULL* before proceeding."
"tp_alloc` result against ``NULL`` before proceeding."
msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:347
@ -486,8 +486,8 @@ msgid ""
"the types of objects that can be assigned to the Python attributes. We "
"expect the first and last names to be strings, but any Python objects can be "
"assigned. Further, the attributes can be deleted, setting the C pointers to "
"*NULL*. Even though we can make sure the members are initialized to non-"
"*NULL* values, the members can be set to *NULL* if the attributes are "
"``NULL``. Even though we can make sure the members are initialized to non-"
"``NULL`` values, the members can be set to ``NULL`` if the attributes are "
"deleted."
msgstr ""
@ -510,8 +510,8 @@ msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:491
msgid ""
"Note that we have to check for the possibility that our :attr:`first` and :"
"attr:`last` members are *NULL*. This is because they can be deleted, in "
"which case they are set to *NULL*. It would be better to prevent deletion "
"attr:`last` members are ``NULL``. This is because they can be deleted, in "
"which case they are set to ``NULL``. It would be better to prevent deletion "
"of these attributes and to restrict the attribute values to be strings. "
"We'll see how to do that in the next section."
msgstr ""
@ -584,7 +584,7 @@ msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:586
msgid ""
"The setter function is passed the :class:`Custom` object, the new value, and "
"the closure. The new value may be *NULL*, in which case the attribute is "
"the closure. The new value may be ``NULL``, in which case the attribute is "
"being deleted. In our setter, we raise an error if the attribute is deleted "
"or if its new value is not a string."
msgstr ""
@ -601,7 +601,7 @@ msgstr ""
msgid ""
"The last item in a :c:type:`PyGetSetDef` structure is the \"closure\" "
"mentioned above. In this case, we aren't using a closure, so we just pass "
"*NULL*."
"``NULL``."
msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:608
@ -617,7 +617,7 @@ msgstr ""
#: ../Doc/extending/newtypes_tutorial.rst:645
msgid ""
"With these changes, we can assure that the ``first`` and ``last`` members "
"are never *NULL* so we can remove checks for *NULL* values in almost all "
"are never ``NULL`` so we can remove checks for ``NULL`` values in almost all "
"cases. This means that most of the :c:func:`Py_XDECREF` calls can be "
"converted to :c:func:`Py_DECREF` calls. The only place we can't change "
"these calls is in the ``tp_dealloc`` implementation, where there is the "
@ -706,7 +706,7 @@ msgid ""
"Notice the use of the :c:func:`Py_CLEAR` macro. It is the recommended and "
"safe way to clear data attributes of arbitrary types while decrementing "
"their reference counts. If you were to call :c:func:`Py_XDECREF` instead on "
"the attribute before setting it to *NULL*, there is a possibility that the "
"the attribute before setting it to ``NULL``, there is a possibility that the "
"attribute's destructor would call back into code that reads the attribute "
"again (*especially* if there is a reference cycle)."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-23 16:48+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-02-15 00:37+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -170,8 +170,9 @@ msgstr ""
"c'est pourquoi il ne faut pas utiliser la fonction C :c:func:`strlen`."
#: ../Doc/faq/extending.rst:92
#, fuzzy
msgid ""
"To test the type of an object, first make sure it isn't *NULL*, and then "
"To test the type of an object, first make sure it isn't ``NULL``, and then "
"use :c:func:`PyBytes_Check`, :c:func:`PyTuple_Check`, :c:func:"
"`PyList_Check`, etc."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-03-26 17:29+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1839,7 +1839,7 @@ msgstr ""
msgid ""
"None of these take parameters. For the first three, return -1 to indicate "
"error. For ``DecodeFSDefault``, the return type is ``const char *``; return "
"a NULL pointer to indicate an error."
"a ``NULL`` pointer to indicate an error."
msgstr ""
#: ../Doc/howto/clinic.rst:1076

View File

@ -5,14 +5,14 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-21 09:48+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-10-30 00:11+0100\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: \n"
"X-Generator: Poedit 2.2.3\n"
#: ../Doc/howto/functional.rst:3

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-09-04 11:44+0200\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -125,12 +125,13 @@ msgstr ""
"paquets sous licence ouverte disponibles pour tous les utilisateurs Python."
#: ../Doc/installing/index.rst:50
#, fuzzy
msgid ""
"the `Python Packaging Authority <https://www.pypa.io/>`__ is the group of "
"developers and documentation authors responsible for the maintenance and "
"evolution of the standard packaging tools and the associated metadata and "
"file format standards. They maintain a variety of tools, documentation, and "
"issue trackers on both `GitHub <https://github.com/pypa>`__ and `BitBucket "
"issue trackers on both `GitHub <https://github.com/pypa>`__ and `Bitbucket "
"<https://bitbucket.org/pypa/>`__."
msgstr ""
"l'`Autorité des Paquets Python <https://www.pypa.io/>`__ est le groupe de "

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -18,76 +18,80 @@ msgstr ""
msgid "Exceptions"
msgstr "Exceptions"
#: ../Doc/library/asyncio-exceptions.rst:13
msgid "The operation has exceeded the given deadline."
#: ../Doc/library/asyncio-exceptions.rst:10
msgid "**Source code:** :source:`Lib/asyncio/exceptions.py`"
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:16
msgid "The operation has exceeded the given deadline."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:19
msgid ""
"This exception is different from the builtin :exc:`TimeoutError` exception."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:22
#: ../Doc/library/asyncio-exceptions.rst:25
msgid "The operation has been cancelled."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:24
#: ../Doc/library/asyncio-exceptions.rst:27
msgid ""
"This exception can be caught to perform custom operations when asyncio Tasks "
"are cancelled. In almost all situations the exception must be re-raised."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:30
#: ../Doc/library/asyncio-exceptions.rst:33
msgid ":exc:`CancelledError` is now a subclass of :class:`BaseException`."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:35
#: ../Doc/library/asyncio-exceptions.rst:38
msgid "Invalid internal state of :class:`Task` or :class:`Future`."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:37
#: ../Doc/library/asyncio-exceptions.rst:40
msgid ""
"Can be raised in situations like setting a result value for a *Future* "
"object that already has a result value set."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:43
#: ../Doc/library/asyncio-exceptions.rst:46
msgid ""
"The \"sendfile\" syscall is not available for the given socket or file type."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:46
#: ../Doc/library/asyncio-exceptions.rst:49
msgid "A subclass of :exc:`RuntimeError`."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:51
#: ../Doc/library/asyncio-exceptions.rst:54
msgid "The requested read operation did not complete fully."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:53
#: ../Doc/library/asyncio-exceptions.rst:56
msgid "Raised by the :ref:`asyncio stream APIs<asyncio-streams>`."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:55
#: ../Doc/library/asyncio-exceptions.rst:58
msgid "This exception is a subclass of :exc:`EOFError`."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:59
#: ../Doc/library/asyncio-exceptions.rst:62
msgid "The total number (:class:`int`) of expected bytes."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:63
#: ../Doc/library/asyncio-exceptions.rst:66
msgid "A string of :class:`bytes` read before the end of stream was reached."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:68
#: ../Doc/library/asyncio-exceptions.rst:71
msgid "Reached the buffer size limit while looking for a separator."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:70
#: ../Doc/library/asyncio-exceptions.rst:73
msgid "Raised by the :ref:`asyncio stream APIs <asyncio-streams>`."
msgstr ""
#: ../Doc/library/asyncio-exceptions.rst:74
#: ../Doc/library/asyncio-exceptions.rst:77
msgid "The total number of to be consumed bytes."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -20,98 +20,104 @@ msgstr "Futurs"
#: ../Doc/library/asyncio-future.rst:10
msgid ""
"**Source code:** :source:`Lib/asyncio/futures.py`, :source:`Lib/asyncio/"
"base_futures.py`"
msgstr ""
#: ../Doc/library/asyncio-future.rst:15
msgid ""
"*Future* objects are used to bridge **low-level callback-based code** with "
"high-level async/await code."
msgstr ""
#: ../Doc/library/asyncio-future.rst:15
#: ../Doc/library/asyncio-future.rst:20
msgid "Future Functions"
msgstr ""
#: ../Doc/library/asyncio-future.rst:19
#: ../Doc/library/asyncio-future.rst:24
msgid "Return ``True`` if *obj* is either of:"
msgstr ""
#: ../Doc/library/asyncio-future.rst:21
#: ../Doc/library/asyncio-future.rst:26
msgid "an instance of :class:`asyncio.Future`,"
msgstr ""
#: ../Doc/library/asyncio-future.rst:22
#: ../Doc/library/asyncio-future.rst:27
msgid "an instance of :class:`asyncio.Task`,"
msgstr ""
#: ../Doc/library/asyncio-future.rst:23
#: ../Doc/library/asyncio-future.rst:28
msgid "a Future-like object with a ``_asyncio_future_blocking`` attribute."
msgstr ""
#: ../Doc/library/asyncio-future.rst:31
#: ../Doc/library/asyncio-future.rst:36
msgid "Return:"
msgstr ""
#: ../Doc/library/asyncio-future.rst:33
#: ../Doc/library/asyncio-future.rst:38
msgid ""
"*obj* argument as is, if *obj* is a :class:`Future`, a :class:`Task`, or a "
"Future-like object (:func:`isfuture` is used for the test.)"
msgstr ""
#: ../Doc/library/asyncio-future.rst:37
#: ../Doc/library/asyncio-future.rst:42
msgid ""
"a :class:`Task` object wrapping *obj*, if *obj* is a coroutine (:func:"
"`iscoroutine` is used for the test); in this case the coroutine will be "
"scheduled by ``ensure_future()``."
msgstr ""
#: ../Doc/library/asyncio-future.rst:42
#: ../Doc/library/asyncio-future.rst:47
msgid ""
"a :class:`Task` object that would await on *obj*, if *obj* is an awaitable (:"
"func:`inspect.isawaitable` is used for the test.)"
msgstr ""
#: ../Doc/library/asyncio-future.rst:45
#: ../Doc/library/asyncio-future.rst:50
msgid "If *obj* is neither of the above a :exc:`TypeError` is raised."
msgstr ""
#: ../Doc/library/asyncio-future.rst:49
#: ../Doc/library/asyncio-future.rst:54
msgid ""
"See also the :func:`create_task` function which is the preferred way for "
"creating new Tasks."
msgstr ""
#: ../Doc/library/asyncio-future.rst:52
#: ../Doc/library/asyncio-future.rst:57
msgid "The function accepts any :term:`awaitable` object."
msgstr "La fonction accepte n'importe quel objet :term:`awaitable`."
#: ../Doc/library/asyncio-future.rst:58
#: ../Doc/library/asyncio-future.rst:63
msgid ""
"Wrap a :class:`concurrent.futures.Future` object in a :class:`asyncio."
"Future` object."
msgstr ""
#: ../Doc/library/asyncio-future.rst:63
#: ../Doc/library/asyncio-future.rst:68
msgid "Future Object"
msgstr ""
#: ../Doc/library/asyncio-future.rst:67
#: ../Doc/library/asyncio-future.rst:72
msgid ""
"A Future represents an eventual result of an asynchronous operation. Not "
"thread-safe."
msgstr ""
#: ../Doc/library/asyncio-future.rst:70
#: ../Doc/library/asyncio-future.rst:75
msgid ""
"Future is an :term:`awaitable` object. Coroutines can await on Future "
"objects until they either have a result or an exception set, or until they "
"are cancelled."
msgstr ""
#: ../Doc/library/asyncio-future.rst:74
#: ../Doc/library/asyncio-future.rst:79
msgid ""
"Typically Futures are used to enable low-level callback-based code (e.g. in "
"protocols implemented using asyncio :ref:`transports <asyncio-transports-"
"protocols>`) to interoperate with high-level async/await code."
msgstr ""
#: ../Doc/library/asyncio-future.rst:79
#: ../Doc/library/asyncio-future.rst:84
msgid ""
"The rule of thumb is to never expose Future objects in user-facing APIs, and "
"the recommended way to create a Future object is to call :meth:`loop."
@ -119,182 +125,182 @@ msgid ""
"their own optimized implementations of a Future object."
msgstr ""
#: ../Doc/library/asyncio-future.rst:85
#: ../Doc/library/asyncio-future.rst:90
msgid "Added support for the :mod:`contextvars` module."
msgstr "Ajout du support du module :mod:`contextvars`."
#: ../Doc/library/asyncio-future.rst:90
#: ../Doc/library/asyncio-future.rst:95
msgid "Return the result of the Future."
msgstr ""
#: ../Doc/library/asyncio-future.rst:92
#: ../Doc/library/asyncio-future.rst:97
msgid ""
"If the Future is *done* and has a result set by the :meth:`set_result` "
"method, the result value is returned."
msgstr ""
#: ../Doc/library/asyncio-future.rst:95
#: ../Doc/library/asyncio-future.rst:100
msgid ""
"If the Future is *done* and has an exception set by the :meth:"
"`set_exception` method, this method raises the exception."
msgstr ""
#: ../Doc/library/asyncio-future.rst:98 ../Doc/library/asyncio-future.rst:183
#: ../Doc/library/asyncio-future.rst:103 ../Doc/library/asyncio-future.rst:188
msgid ""
"If the Future has been *cancelled*, this method raises a :exc:"
"`CancelledError` exception."
msgstr ""
#: ../Doc/library/asyncio-future.rst:101
#: ../Doc/library/asyncio-future.rst:106
msgid ""
"If the Future's result isn't yet available, this method raises a :exc:"
"`InvalidStateError` exception."
msgstr ""
#: ../Doc/library/asyncio-future.rst:106
#: ../Doc/library/asyncio-future.rst:111
msgid "Mark the Future as *done* and set its result."
msgstr ""
#: ../Doc/library/asyncio-future.rst:108 ../Doc/library/asyncio-future.rst:115
#: ../Doc/library/asyncio-future.rst:113 ../Doc/library/asyncio-future.rst:120
msgid ""
"Raises a :exc:`InvalidStateError` error if the Future is already *done*."
msgstr ""
#: ../Doc/library/asyncio-future.rst:113
#: ../Doc/library/asyncio-future.rst:118
msgid "Mark the Future as *done* and set an exception."
msgstr ""
#: ../Doc/library/asyncio-future.rst:120
#: ../Doc/library/asyncio-future.rst:125
msgid "Return ``True`` if the Future is *done*."
msgstr ""
#: ../Doc/library/asyncio-future.rst:122
#: ../Doc/library/asyncio-future.rst:127
msgid ""
"A Future is *done* if it was *cancelled* or if it has a result or an "
"exception set with :meth:`set_result` or :meth:`set_exception` calls."
msgstr ""
#: ../Doc/library/asyncio-future.rst:128
#: ../Doc/library/asyncio-future.rst:133
msgid "Return ``True`` if the Future was *cancelled*."
msgstr ""
#: ../Doc/library/asyncio-future.rst:130
#: ../Doc/library/asyncio-future.rst:135
msgid ""
"The method is usually used to check if a Future is not *cancelled* before "
"setting a result or an exception for it::"
msgstr ""
#: ../Doc/library/asyncio-future.rst:138
#: ../Doc/library/asyncio-future.rst:143
msgid "Add a callback to be run when the Future is *done*."
msgstr ""
#: ../Doc/library/asyncio-future.rst:140
#: ../Doc/library/asyncio-future.rst:145
msgid "The *callback* is called with the Future object as its only argument."
msgstr ""
#: ../Doc/library/asyncio-future.rst:143
#: ../Doc/library/asyncio-future.rst:148
msgid ""
"If the Future is already *done* when this method is called, the callback is "
"scheduled with :meth:`loop.call_soon`."
msgstr ""
#: ../Doc/library/asyncio-future.rst:146
#: ../Doc/library/asyncio-future.rst:151
msgid ""
"An optional keyword-only *context* argument allows specifying a custom :"
"class:`contextvars.Context` for the *callback* to run in. The current "
"context is used when no *context* is provided."
msgstr ""
#: ../Doc/library/asyncio-future.rst:150
#: ../Doc/library/asyncio-future.rst:155
msgid ""
":func:`functools.partial` can be used to pass parameters to the callback, e."
"g.::"
msgstr ""
#: ../Doc/library/asyncio-future.rst:157
#: ../Doc/library/asyncio-future.rst:162
msgid ""
"The *context* keyword-only parameter was added. See :pep:`567` for more "
"details."
msgstr ""
#: ../Doc/library/asyncio-future.rst:163
#: ../Doc/library/asyncio-future.rst:168
msgid "Remove *callback* from the callbacks list."
msgstr "Retire *callback* de la liste de fonctions de rappel."
#: ../Doc/library/asyncio-future.rst:165
#: ../Doc/library/asyncio-future.rst:170
msgid ""
"Returns the number of callbacks removed, which is typically 1, unless a "
"callback was added more than once."
msgstr ""
#: ../Doc/library/asyncio-future.rst:170
#: ../Doc/library/asyncio-future.rst:175
msgid "Cancel the Future and schedule callbacks."
msgstr ""
#: ../Doc/library/asyncio-future.rst:172
#: ../Doc/library/asyncio-future.rst:177
msgid ""
"If the Future is already *done* or *cancelled*, return ``False``. Otherwise, "
"change the Future's state to *cancelled*, schedule the callbacks, and return "
"``True``."
msgstr ""
#: ../Doc/library/asyncio-future.rst:178
#: ../Doc/library/asyncio-future.rst:183
msgid "Return the exception that was set on this Future."
msgstr ""
#: ../Doc/library/asyncio-future.rst:180
#: ../Doc/library/asyncio-future.rst:185
msgid ""
"The exception (or ``None`` if no exception was set) is returned only if the "
"Future is *done*."
msgstr ""
#: ../Doc/library/asyncio-future.rst:186
#: ../Doc/library/asyncio-future.rst:191
msgid ""
"If the Future isn't *done* yet, this method raises an :exc:"
"`InvalidStateError` exception."
msgstr ""
#: ../Doc/library/asyncio-future.rst:191
#: ../Doc/library/asyncio-future.rst:196
msgid "Return the event loop the Future object is bound to."
msgstr ""
#: ../Doc/library/asyncio-future.rst:198
#: ../Doc/library/asyncio-future.rst:203
msgid ""
"This example creates a Future object, creates and schedules an asynchronous "
"Task to set result for the Future, and waits until the Future has a result::"
msgstr ""
#: ../Doc/library/asyncio-future.rst:233
#: ../Doc/library/asyncio-future.rst:238
msgid ""
"The Future object was designed to mimic :class:`concurrent.futures.Future`. "
"Key differences include:"
msgstr ""
#: ../Doc/library/asyncio-future.rst:236
#: ../Doc/library/asyncio-future.rst:241
msgid ""
"unlike asyncio Futures, :class:`concurrent.futures.Future` instances cannot "
"be awaited."
msgstr ""
#: ../Doc/library/asyncio-future.rst:239
#: ../Doc/library/asyncio-future.rst:244
msgid ""
":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` do not "
"accept the *timeout* argument."
msgstr ""
#: ../Doc/library/asyncio-future.rst:242
#: ../Doc/library/asyncio-future.rst:247
msgid ""
":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` raise an :"
"exc:`InvalidStateError` exception when the Future is not *done*."
msgstr ""
#: ../Doc/library/asyncio-future.rst:246
#: ../Doc/library/asyncio-future.rst:251
msgid ""
"Callbacks registered with :meth:`asyncio.Future.add_done_callback` are not "
"called immediately. They are scheduled with :meth:`loop.call_soon` instead."
msgstr ""
#: ../Doc/library/asyncio-future.rst:250
#: ../Doc/library/asyncio-future.rst:255
msgid ""
"asyncio Future is not compatible with the :func:`concurrent.futures.wait` "
"and :func:`concurrent.futures.as_completed` functions."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -39,66 +39,72 @@ msgstr ""
msgid "Windows"
msgstr "Windows"
#: ../Doc/library/asyncio-platforms.rst:28
#: ../Doc/library/asyncio-platforms.rst:26
msgid ""
"**Source code:** :source:`Lib/asyncio/proactor_events.py`, :source:`Lib/"
"asyncio/windows_events.py`, :source:`Lib/asyncio/windows_utils.py`"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:34
msgid "On Windows, :class:`ProactorEventLoop` is now the default event loop."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:30
#: ../Doc/library/asyncio-platforms.rst:36
msgid "All event loops on Windows do not support the following methods:"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:32
#: ../Doc/library/asyncio-platforms.rst:38
msgid ""
":meth:`loop.create_unix_connection` and :meth:`loop.create_unix_server` are "
"not supported. The :data:`socket.AF_UNIX` socket family is specific to Unix."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:36
#: ../Doc/library/asyncio-platforms.rst:42
msgid ""
":meth:`loop.add_signal_handler` and :meth:`loop.remove_signal_handler` are "
"not supported."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:39
#: ../Doc/library/asyncio-platforms.rst:45
msgid ":class:`SelectorEventLoop` has the following limitations:"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:41
#: ../Doc/library/asyncio-platforms.rst:47
msgid ""
":class:`~selectors.SelectSelector` is used to wait on socket events: it "
"supports sockets and is limited to 512 sockets."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:44
#: ../Doc/library/asyncio-platforms.rst:50
msgid ""
":meth:`loop.add_reader` and :meth:`loop.add_writer` only accept socket "
"handles (e.g. pipe file descriptors are not supported)."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:47
#: ../Doc/library/asyncio-platforms.rst:53
msgid ""
"Pipes are not supported, so the :meth:`loop.connect_read_pipe` and :meth:"
"`loop.connect_write_pipe` methods are not implemented."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:50
#: ../Doc/library/asyncio-platforms.rst:56
msgid ""
":ref:`Subprocesses <asyncio-subprocess>` are not supported, i.e. :meth:`loop."
"subprocess_exec` and :meth:`loop.subprocess_shell` methods are not "
"implemented."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:54
#: ../Doc/library/asyncio-platforms.rst:60
msgid ":class:`ProactorEventLoop` has the following limitations:"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:56
#: ../Doc/library/asyncio-platforms.rst:62
msgid ""
"The :meth:`loop.add_reader` and :meth:`loop.add_writer` methods are not "
"supported."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:59
#: ../Doc/library/asyncio-platforms.rst:65
msgid ""
"The resolution of the monotonic clock on Windows is usually around 15.6 "
"msec. The best resolution is 0.5 msec. The resolution depends on the "
@ -106,36 +112,36 @@ msgid ""
"High_Precision_Event_Timer>`_) and on the Windows configuration."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:69
#: ../Doc/library/asyncio-platforms.rst:75
msgid "Subprocess Support on Windows"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:71
#: ../Doc/library/asyncio-platforms.rst:77
msgid ""
"On Windows, the default event loop :class:`ProactorEventLoop` supports "
"subprocesses, whereas :class:`SelectorEventLoop` does not."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:74
#: ../Doc/library/asyncio-platforms.rst:80
msgid ""
"The :meth:`policy.set_child_watcher() <AbstractEventLoopPolicy."
"set_child_watcher>` function is also not supported, as :class:"
"`ProactorEventLoop` has a different mechanism to watch child processes."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:81
#: ../Doc/library/asyncio-platforms.rst:87
msgid "macOS"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:83
#: ../Doc/library/asyncio-platforms.rst:89
msgid "Modern macOS versions are fully supported."
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:86
#: ../Doc/library/asyncio-platforms.rst:92
msgid "macOS <= 10.8"
msgstr ""
#: ../Doc/library/asyncio-platforms.rst:87
#: ../Doc/library/asyncio-platforms.rst:93
msgid ""
"On macOS 10.6, 10.7 and 10.8, the default event loop uses :class:`selectors."
"KqueueSelector`, which does not support character devices on these "

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-13 17:37+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -19,85 +19,89 @@ msgid "Queues"
msgstr ""
#: ../Doc/library/asyncio-queue.rst:9
msgid "**Source code:** :source:`Lib/asyncio/queues.py`"
msgstr ""
#: ../Doc/library/asyncio-queue.rst:13
msgid ""
"asyncio queues are designed to be similar to classes of the :mod:`queue` "
"module. Although asyncio queues are not thread-safe, they are designed to "
"be used specifically in async/await code."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:13
#: ../Doc/library/asyncio-queue.rst:17
msgid ""
"Note that methods of asyncio queues don't have a *timeout* parameter; use :"
"func:`asyncio.wait_for` function to do queue operations with a timeout."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:17
#: ../Doc/library/asyncio-queue.rst:21
msgid "See also the `Examples`_ section below."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:20
#: ../Doc/library/asyncio-queue.rst:24
msgid "Queue"
msgstr ""
#: ../Doc/library/asyncio-queue.rst:24
#: ../Doc/library/asyncio-queue.rst:28
msgid "A first in, first out (FIFO) queue."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:26
#: ../Doc/library/asyncio-queue.rst:30
msgid ""
"If *maxsize* is less than or equal to zero, the queue size is infinite. If "
"it is an integer greater than ``0``, then ``await put()`` blocks when the "
"queue reaches *maxsize* until an item is removed by :meth:`get`."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:31
#: ../Doc/library/asyncio-queue.rst:35
msgid ""
"Unlike the standard library threading :mod:`queue`, the size of the queue is "
"always known and can be returned by calling the :meth:`qsize` method."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:38
#: ../Doc/library/asyncio-queue.rst:42
msgid "The *loop* parameter."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:39
#: ../Doc/library/asyncio-queue.rst:43
msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:43
#: ../Doc/library/asyncio-queue.rst:47
msgid "Number of items allowed in the queue."
msgstr "Nombre d'éléments autorisés dans la queue."
#: ../Doc/library/asyncio-queue.rst:47
#: ../Doc/library/asyncio-queue.rst:51
msgid "Return ``True`` if the queue is empty, ``False`` otherwise."
msgstr "Renvoie ``True`` si la queue est vide, ``False`` sinon."
#: ../Doc/library/asyncio-queue.rst:51
#: ../Doc/library/asyncio-queue.rst:55
msgid "Return ``True`` if there are :attr:`maxsize` items in the queue."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:53
#: ../Doc/library/asyncio-queue.rst:57
msgid ""
"If the queue was initialized with ``maxsize=0`` (the default), then :meth:"
"`full()` never returns ``True``."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:58
#: ../Doc/library/asyncio-queue.rst:62
msgid ""
"Remove and return an item from the queue. If queue is empty, wait until an "
"item is available."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:63
#: ../Doc/library/asyncio-queue.rst:67
msgid ""
"Return an item if one is immediately available, else raise :exc:`QueueEmpty`."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:68
#: ../Doc/library/asyncio-queue.rst:72
msgid "Block until all items in the queue have been received and processed."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:70
#: ../Doc/library/asyncio-queue.rst:74
msgid ""
"The count of unfinished tasks goes up whenever an item is added to the "
"queue. The count goes down whenever a consumer coroutine calls :meth:"
@ -106,93 +110,93 @@ msgid ""
"unblocks."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:78
#: ../Doc/library/asyncio-queue.rst:82
msgid ""
"Put an item into the queue. If the queue is full, wait until a free slot is "
"available before adding the item."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:83
#: ../Doc/library/asyncio-queue.rst:87
msgid "Put an item into the queue without blocking."
msgstr "Ajoute un élément dans la queue sans bloquer."
#: ../Doc/library/asyncio-queue.rst:85
#: ../Doc/library/asyncio-queue.rst:89
msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:89
#: ../Doc/library/asyncio-queue.rst:93
msgid "Return the number of items in the queue."
msgstr "Renvoie le nombre d'éléments dans la queue."
#: ../Doc/library/asyncio-queue.rst:93
#: ../Doc/library/asyncio-queue.rst:97
msgid "Indicate that a formerly enqueued task is complete."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:95
#: ../Doc/library/asyncio-queue.rst:99
msgid ""
"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a task, a "
"subsequent call to :meth:`task_done` tells the queue that the processing on "
"the task is complete."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:99
#: ../Doc/library/asyncio-queue.rst:103
msgid ""
"If a :meth:`join` is currently blocking, it will resume when all items have "
"been processed (meaning that a :meth:`task_done` call was received for every "
"item that had been :meth:`~Queue.put` into the queue)."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:104
#: ../Doc/library/asyncio-queue.rst:108
msgid ""
"Raises :exc:`ValueError` if called more times than there were items placed "
"in the queue."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:109
#: ../Doc/library/asyncio-queue.rst:113
msgid "Priority Queue"
msgstr "File de priorité"
#: ../Doc/library/asyncio-queue.rst:113
#: ../Doc/library/asyncio-queue.rst:117
msgid ""
"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
"first)."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:116
#: ../Doc/library/asyncio-queue.rst:120
msgid "Entries are typically tuples of the form ``(priority_number, data)``."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:121
#: ../Doc/library/asyncio-queue.rst:125
msgid "LIFO Queue"
msgstr ""
#: ../Doc/library/asyncio-queue.rst:125
#: ../Doc/library/asyncio-queue.rst:129
msgid ""
"A variant of :class:`Queue` that retrieves most recently added entries first "
"(last in, first out)."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:130
#: ../Doc/library/asyncio-queue.rst:134
msgid "Exceptions"
msgstr "Exceptions"
#: ../Doc/library/asyncio-queue.rst:134
#: ../Doc/library/asyncio-queue.rst:138
msgid ""
"This exception is raised when the :meth:`~Queue.get_nowait` method is called "
"on an empty queue."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:140
#: ../Doc/library/asyncio-queue.rst:144
msgid ""
"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
"queue that has reached its *maxsize*."
msgstr ""
#: ../Doc/library/asyncio-queue.rst:145
#: ../Doc/library/asyncio-queue.rst:149
msgid "Examples"
msgstr "Exemples"
#: ../Doc/library/asyncio-queue.rst:149
#: ../Doc/library/asyncio-queue.rst:153
msgid ""
"Queues can be used to distribute workload between several concurrent tasks::"
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-09-06 13:48+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -19,69 +19,73 @@ msgid "Streams"
msgstr "Streams"
#: ../Doc/library/asyncio-stream.rst:9
msgid "**Source code:** :source:`Lib/asyncio/streams.py`"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:13
msgid ""
"Streams are high-level async/await-ready primitives to work with network "
"connections. Streams allow sending and receiving data without using "
"callbacks or low-level protocols and transports."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:15
#: ../Doc/library/asyncio-stream.rst:19
msgid "Here is an example of a TCP echo client written using asyncio streams::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:38
#: ../Doc/library/asyncio-stream.rst:42
msgid "See also the `Examples`_ section below."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:42
#: ../Doc/library/asyncio-stream.rst:46
msgid "Stream Functions"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:43
#: ../Doc/library/asyncio-stream.rst:47
msgid ""
"The following top-level asyncio functions can be used to create and work "
"with streams:"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:52
#: ../Doc/library/asyncio-stream.rst:56
msgid ""
"Establish a network connection and return a pair of ``(reader, writer)`` "
"objects."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:55
#: ../Doc/library/asyncio-stream.rst:59
msgid ""
"The returned *reader* and *writer* objects are instances of :class:"
"`StreamReader` and :class:`StreamWriter` classes."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:58
#: ../Doc/library/asyncio-stream.rst:62
msgid ""
"The *loop* argument is optional and can always be determined automatically "
"when this function is awaited from a coroutine."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:61 ../Doc/library/asyncio-stream.rst:94
#: ../Doc/library/asyncio-stream.rst:65 ../Doc/library/asyncio-stream.rst:98
msgid ""
"*limit* determines the buffer size limit used by the returned :class:"
"`StreamReader` instance. By default the *limit* is set to 64 KiB."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:65
#: ../Doc/library/asyncio-stream.rst:69
msgid ""
"The rest of the arguments are passed directly to :meth:`loop."
"create_connection`."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:70 ../Doc/library/asyncio-stream.rst:123
#: ../Doc/library/asyncio-stream.rst:74 ../Doc/library/asyncio-stream.rst:127
msgid "The *ssl_handshake_timeout* parameter."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:80
#: ../Doc/library/asyncio-stream.rst:84
msgid "Start a socket server."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:82
#: ../Doc/library/asyncio-stream.rst:86
msgid ""
"The *client_connected_cb* callback is called whenever a new client "
"connection is established. It receives a ``(reader, writer)`` pair as two "
@ -89,143 +93,143 @@ msgid ""
"classes."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:87
#: ../Doc/library/asyncio-stream.rst:91
msgid ""
"*client_connected_cb* can be a plain callable or a :ref:`coroutine function "
"<coroutine>`; if it is a coroutine function, it will be automatically "
"scheduled as a :class:`Task`."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:91
#: ../Doc/library/asyncio-stream.rst:95
msgid ""
"The *loop* argument is optional and can always be determined automatically "
"when this method is awaited from a coroutine."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:98
#: ../Doc/library/asyncio-stream.rst:102
msgid ""
"The rest of the arguments are passed directly to :meth:`loop.create_server`."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:103 ../Doc/library/asyncio-stream.rst:145
#: ../Doc/library/asyncio-stream.rst:107 ../Doc/library/asyncio-stream.rst:149
msgid "The *ssl_handshake_timeout* and *start_serving* parameters."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:107
#: ../Doc/library/asyncio-stream.rst:111
msgid "Unix Sockets"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:112
#: ../Doc/library/asyncio-stream.rst:116
msgid ""
"Establish a Unix socket connection and return a pair of ``(reader, writer)``."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:115
#: ../Doc/library/asyncio-stream.rst:119
msgid "Similar to :func:`open_connection` but operates on Unix sockets."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:117
#: ../Doc/library/asyncio-stream.rst:121
msgid "See also the documentation of :meth:`loop.create_unix_connection`."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:120 ../Doc/library/asyncio-stream.rst:142
#: ../Doc/library/asyncio-stream.rst:124 ../Doc/library/asyncio-stream.rst:146
msgid ":ref:`Availability <availability>`: Unix."
msgstr ":ref:`Disponibilité <availability>` : Unix."
#: ../Doc/library/asyncio-stream.rst:127
#: ../Doc/library/asyncio-stream.rst:131
msgid "The *path* parameter can now be a :term:`path-like object`"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:135
#: ../Doc/library/asyncio-stream.rst:139
msgid "Start a Unix socket server."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:137
#: ../Doc/library/asyncio-stream.rst:141
msgid "Similar to :func:`start_server` but works with Unix sockets."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:139
#: ../Doc/library/asyncio-stream.rst:143
msgid "See also the documentation of :meth:`loop.create_unix_server`."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:149
#: ../Doc/library/asyncio-stream.rst:153
msgid "The *path* parameter can now be a :term:`path-like object`."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:153
#: ../Doc/library/asyncio-stream.rst:157
msgid "StreamReader"
msgstr "StreamReader"
#: ../Doc/library/asyncio-stream.rst:157
#: ../Doc/library/asyncio-stream.rst:161
msgid ""
"Represents a reader object that provides APIs to read data from the IO "
"stream."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:160
#: ../Doc/library/asyncio-stream.rst:164
msgid ""
"It is not recommended to instantiate *StreamReader* objects directly; use :"
"func:`open_connection` and :func:`start_server` instead."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:166
#: ../Doc/library/asyncio-stream.rst:170
msgid ""
"Read up to *n* bytes. If *n* is not provided, or set to ``-1``, read until "
"EOF and return all read bytes."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:169
#: ../Doc/library/asyncio-stream.rst:173
msgid ""
"If EOF was received and the internal buffer is empty, return an empty "
"``bytes`` object."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:174
#: ../Doc/library/asyncio-stream.rst:178
msgid ""
"Read one line, where \"line\" is a sequence of bytes ending with ``\\n``."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:177
#: ../Doc/library/asyncio-stream.rst:181
msgid ""
"If EOF is received and ``\\n`` was not found, the method returns partially "
"read data."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:180
#: ../Doc/library/asyncio-stream.rst:184
msgid ""
"If EOF is received and the internal buffer is empty, return an empty "
"``bytes`` object."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:185
#: ../Doc/library/asyncio-stream.rst:189
msgid "Read exactly *n* bytes."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:187
#: ../Doc/library/asyncio-stream.rst:191
msgid ""
"Raise an :exc:`IncompleteReadError` if EOF is reached before *n* can be "
"read. Use the :attr:`IncompleteReadError.partial` attribute to get the "
"partially read data."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:193
#: ../Doc/library/asyncio-stream.rst:197
msgid "Read data from the stream until *separator* is found."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:195
#: ../Doc/library/asyncio-stream.rst:199
msgid ""
"On success, the data and separator will be removed from the internal buffer "
"(consumed). Returned data will include the separator at the end."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:199
#: ../Doc/library/asyncio-stream.rst:203
msgid ""
"If the amount of data read exceeds the configured stream limit, a :exc:"
"`LimitOverrunError` exception is raised, and the data is left in the "
"internal buffer and can be read again."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:203
#: ../Doc/library/asyncio-stream.rst:207
msgid ""
"If EOF is reached before the complete separator is found, an :exc:"
"`IncompleteReadError` exception is raised, and the internal buffer is "
@ -233,77 +237,77 @@ msgid ""
"portion of the separator."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:212
#: ../Doc/library/asyncio-stream.rst:216
msgid "Return ``True`` if the buffer is empty and :meth:`feed_eof` was called."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:217
#: ../Doc/library/asyncio-stream.rst:221
msgid "StreamWriter"
msgstr "StreamWriter"
#: ../Doc/library/asyncio-stream.rst:221
#: ../Doc/library/asyncio-stream.rst:225
msgid ""
"Represents a writer object that provides APIs to write data to the IO stream."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:224
#: ../Doc/library/asyncio-stream.rst:228
msgid ""
"It is not recommended to instantiate *StreamWriter* objects directly; use :"
"func:`open_connection` and :func:`start_server` instead."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:230
#: ../Doc/library/asyncio-stream.rst:234
msgid ""
"The method attempts to write the *data* to the underlying socket "
"immediately. If that fails, the data is queued in an internal write buffer "
"until it can be sent."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:234 ../Doc/library/asyncio-stream.rst:246
#: ../Doc/library/asyncio-stream.rst:238 ../Doc/library/asyncio-stream.rst:250
msgid "The method should be used along with the ``drain()`` method::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:241
#: ../Doc/library/asyncio-stream.rst:245
msgid ""
"The method writes a list (or any iterable) of bytes to the underlying socket "
"immediately. If that fails, the data is queued in an internal write buffer "
"until it can be sent."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:253
#: ../Doc/library/asyncio-stream.rst:257
msgid "The method closes the stream and the underlying socket."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:255
#: ../Doc/library/asyncio-stream.rst:259
msgid "The method should be used along with the ``wait_closed()`` method::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:262
#: ../Doc/library/asyncio-stream.rst:266
msgid ""
"Return *True* if the underlying transport supports the :meth:`write_eof` "
"method, *False* otherwise."
"Return ``True`` if the underlying transport supports the :meth:`write_eof` "
"method, ``False`` otherwise."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:267
#: ../Doc/library/asyncio-stream.rst:271
msgid ""
"Close the write end of the stream after the buffered write data is flushed."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:272
#: ../Doc/library/asyncio-stream.rst:276
msgid "Return the underlying asyncio transport."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:276
#: ../Doc/library/asyncio-stream.rst:280
msgid ""
"Access optional transport information; see :meth:`BaseTransport."
"get_extra_info` for details."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:281
#: ../Doc/library/asyncio-stream.rst:285
msgid "Wait until it is appropriate to resume writing to the stream. Example::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:287
#: ../Doc/library/asyncio-stream.rst:291
msgid ""
"This is a flow control method that interacts with the underlying IO write "
"buffer. When the size of the buffer reaches the high watermark, *drain()* "
@ -312,90 +316,90 @@ msgid ""
"`drain` returns immediately."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:296
#: ../Doc/library/asyncio-stream.rst:300
msgid ""
"Return ``True`` if the stream is closed or in the process of being closed."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:303
#: ../Doc/library/asyncio-stream.rst:307
msgid "Wait until the stream is closed."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:305
#: ../Doc/library/asyncio-stream.rst:309
msgid ""
"Should be called after :meth:`close` to wait until the underlying connection "
"is closed."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:312
#: ../Doc/library/asyncio-stream.rst:316
msgid "Examples"
msgstr "Exemples"
#: ../Doc/library/asyncio-stream.rst:317
#: ../Doc/library/asyncio-stream.rst:321
msgid "TCP echo client using streams"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:319
#: ../Doc/library/asyncio-stream.rst:323
msgid "TCP echo client using the :func:`asyncio.open_connection` function::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:341
#: ../Doc/library/asyncio-stream.rst:345
msgid ""
"The :ref:`TCP echo client protocol "
"<asyncio_example_tcp_echo_client_protocol>` example uses the low-level :meth:"
"`loop.create_connection` method."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:348
#: ../Doc/library/asyncio-stream.rst:352
msgid "TCP echo server using streams"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:350
#: ../Doc/library/asyncio-stream.rst:354
msgid "TCP echo server using the :func:`asyncio.start_server` function::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:383
#: ../Doc/library/asyncio-stream.rst:387
msgid ""
"The :ref:`TCP echo server protocol "
"<asyncio_example_tcp_echo_server_protocol>` example uses the :meth:`loop."
"create_server` method."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:388
#: ../Doc/library/asyncio-stream.rst:392
msgid "Get HTTP headers"
msgstr "Récupère les en-têtes HTTP"
#: ../Doc/library/asyncio-stream.rst:390
#: ../Doc/library/asyncio-stream.rst:394
msgid ""
"Simple example querying HTTP headers of the URL passed on the command line::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:428
#: ../Doc/library/asyncio-stream.rst:432
msgid "Usage::"
msgstr "Utilisation ::"
#: ../Doc/library/asyncio-stream.rst:432
#: ../Doc/library/asyncio-stream.rst:436
msgid "or with HTTPS::"
msgstr "ou avec HTTPS ::"
#: ../Doc/library/asyncio-stream.rst:440
#: ../Doc/library/asyncio-stream.rst:444
msgid "Register an open socket to wait for data using streams"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:442
#: ../Doc/library/asyncio-stream.rst:446
msgid ""
"Coroutine waiting until a socket receives data using the :func:"
"`open_connection` function::"
msgstr ""
#: ../Doc/library/asyncio-stream.rst:476
#: ../Doc/library/asyncio-stream.rst:480
msgid ""
"The :ref:`register an open socket to wait for data using a protocol "
"<asyncio_example_create_connection>` example uses a low-level protocol and "
"the :meth:`loop.create_connection` method."
msgstr ""
#: ../Doc/library/asyncio-stream.rst:480
#: ../Doc/library/asyncio-stream.rst:484
msgid ""
"The :ref:`watch a file descriptor for read events "
"<asyncio_example_watch_fd>` example uses the low-level :meth:`loop."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-15 00:37+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -20,21 +20,27 @@ msgstr "Sous-processus"
#: ../Doc/library/asyncio-subprocess.rst:9
msgid ""
"**Source code:** :source:`Lib/asyncio/subprocess.py`, :source:`Lib/asyncio/"
"base_subprocess.py`"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:14
msgid ""
"This section describes high-level async/await asyncio APIs to create and "
"manage subprocesses."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:14
#: ../Doc/library/asyncio-subprocess.rst:19
msgid ""
"Here's an example of how asyncio can run a shell command and obtain its "
"result::"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:35
#: ../Doc/library/asyncio-subprocess.rst:40
msgid "will print::"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:41
#: ../Doc/library/asyncio-subprocess.rst:46
msgid ""
"Because all asyncio subprocess functions are asynchronous and asyncio "
"provides many tools to work with such functions, it is easy to execute and "
@ -42,52 +48,52 @@ msgid ""
"the above example to run several commands simultaneously::"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:53
#: ../Doc/library/asyncio-subprocess.rst:58
msgid "See also the `Examples`_ subsection."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:57
#: ../Doc/library/asyncio-subprocess.rst:62
msgid "Creating Subprocesses"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:63
#: ../Doc/library/asyncio-subprocess.rst:68
msgid "Create a subprocess."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:65
#: ../Doc/library/asyncio-subprocess.rst:84
#: ../Doc/library/asyncio-subprocess.rst:70
#: ../Doc/library/asyncio-subprocess.rst:89
msgid ""
"The *limit* argument sets the buffer limit for :class:`StreamReader` "
"wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` (if :attr:"
"`subprocess.PIPE` is passed to *stdout* and *stderr* arguments)."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:69
#: ../Doc/library/asyncio-subprocess.rst:88
#: ../Doc/library/asyncio-subprocess.rst:74
#: ../Doc/library/asyncio-subprocess.rst:93
msgid "Return a :class:`~asyncio.subprocess.Process` instance."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:71
#: ../Doc/library/asyncio-subprocess.rst:76
msgid ""
"See the documentation of :meth:`loop.subprocess_exec` for other parameters."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:76
#: ../Doc/library/asyncio-subprocess.rst:104
#: ../Doc/library/asyncio-subprocess.rst:81
#: ../Doc/library/asyncio-subprocess.rst:109
#, fuzzy
msgid "The *loop* parameter."
msgstr "Autres paramètres :"
#: ../Doc/library/asyncio-subprocess.rst:82
#: ../Doc/library/asyncio-subprocess.rst:87
msgid "Run the *cmd* shell command."
msgstr "Exécute la commande *cmd* dans un *shell*."
#: ../Doc/library/asyncio-subprocess.rst:90
#: ../Doc/library/asyncio-subprocess.rst:95
msgid ""
"See the documentation of :meth:`loop.subprocess_shell` for other parameters."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:95
#: ../Doc/library/asyncio-subprocess.rst:100
msgid ""
"It is the application's responsibility to ensure that all whitespace and "
"special characters are quoted appropriately to avoid `shell injection "
@ -97,7 +103,7 @@ msgid ""
"be used to construct shell commands."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:108
#: ../Doc/library/asyncio-subprocess.rst:113
msgid ""
"The default asyncio event loop implementation on **Windows** does not "
"support subprocesses. Subprocesses are available for Windows if a :class:"
@ -105,7 +111,7 @@ msgid ""
"<asyncio-windows-subprocess>` for details."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:116
#: ../Doc/library/asyncio-subprocess.rst:121
msgid ""
"asyncio also has the following *low-level* APIs to work with subprocesses: :"
"meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :meth:`loop."
@ -114,22 +120,22 @@ msgid ""
"Protocols <asyncio-subprocess-protocols>`."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:124
#: ../Doc/library/asyncio-subprocess.rst:129
msgid "Constants"
msgstr "Constantes"
#: ../Doc/library/asyncio-subprocess.rst:128
#: ../Doc/library/asyncio-subprocess.rst:133
msgid "Can be passed to the *stdin*, *stdout* or *stderr* parameters."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:130
#: ../Doc/library/asyncio-subprocess.rst:135
msgid ""
"If *PIPE* is passed to *stdin* argument, the :attr:`Process.stdin <asyncio."
"subprocess.Process.stdin>` attribute will point to a :class:`StreamWriter` "
"instance."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:134
#: ../Doc/library/asyncio-subprocess.rst:139
msgid ""
"If *PIPE* is passed to *stdout* or *stderr* arguments, the :attr:`Process."
"stdout <asyncio.subprocess.Process.stdout>` and :attr:`Process.stderr "
@ -137,24 +143,24 @@ msgid ""
"`StreamReader` instances."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:141
#: ../Doc/library/asyncio-subprocess.rst:146
msgid ""
"Special value that can be used as the *stderr* argument and indicates that "
"standard error should be redirected into standard output."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:146
#: ../Doc/library/asyncio-subprocess.rst:151
msgid ""
"Special value that can be used as the *stdin*, *stdout* or *stderr* argument "
"to process creation functions. It indicates that the special file :data:`os."
"devnull` will be used for the corresponding subprocess stream."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:152
#: ../Doc/library/asyncio-subprocess.rst:157
msgid "Interacting with Subprocesses"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:154
#: ../Doc/library/asyncio-subprocess.rst:159
msgid ""
"Both :func:`create_subprocess_exec` and :func:`create_subprocess_shell` "
"functions return instances of the *Process* class. *Process* is a high-"
@ -162,61 +168,61 @@ msgid ""
"their completion."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:161
#: ../Doc/library/asyncio-subprocess.rst:166
msgid ""
"An object that wraps OS processes created by the :func:"
"`create_subprocess_exec` and :func:`create_subprocess_shell` functions."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:165
#: ../Doc/library/asyncio-subprocess.rst:170
msgid ""
"This class is designed to have a similar API to the :class:`subprocess."
"Popen` class, but there are some notable differences:"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:169
#: ../Doc/library/asyncio-subprocess.rst:174
msgid ""
"unlike Popen, Process instances do not have an equivalent to the :meth:"
"`~subprocess.Popen.poll` method;"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:172
#: ../Doc/library/asyncio-subprocess.rst:177
msgid ""
"the :meth:`~asyncio.subprocess.Process.communicate` and :meth:`~asyncio."
"subprocess.Process.wait` methods don't have a *timeout* parameter: use the :"
"func:`wait_for` function;"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:176
#: ../Doc/library/asyncio-subprocess.rst:181
msgid ""
"the :meth:`Process.wait() <asyncio.subprocess.Process.wait>` method is "
"asynchronous, whereas :meth:`subprocess.Popen.wait` method is implemented as "
"a blocking busy loop;"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:180
#: ../Doc/library/asyncio-subprocess.rst:185
msgid "the *universal_newlines* parameter is not supported."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:182
#: ../Doc/library/asyncio-subprocess.rst:187
msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:184
#: ../Doc/library/asyncio-subprocess.rst:189
msgid ""
"See also the :ref:`Subprocess and Threads <asyncio-subprocess-threads>` "
"section."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:189
#: ../Doc/library/asyncio-subprocess.rst:194
msgid "Wait for the child process to terminate."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:191
#: ../Doc/library/asyncio-subprocess.rst:196
msgid "Set and return the :attr:`returncode` attribute."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:195
#: ../Doc/library/asyncio-subprocess.rst:200
msgid ""
"This method can deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and "
"the child process generates so much output that it blocks waiting for the OS "
@ -224,33 +230,33 @@ msgid ""
"using pipes to avoid this condition."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:203
#: ../Doc/library/asyncio-subprocess.rst:208
msgid "Interact with process:"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:205
#: ../Doc/library/asyncio-subprocess.rst:210
msgid "send data to *stdin* (if *input* is not ``None``);"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:206
#: ../Doc/library/asyncio-subprocess.rst:211
msgid "read data from *stdout* and *stderr*, until EOF is reached;"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:207
#: ../Doc/library/asyncio-subprocess.rst:212
msgid "wait for process to terminate."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:209
#: ../Doc/library/asyncio-subprocess.rst:214
msgid ""
"The optional *input* argument is the data (:class:`bytes` object) that will "
"be sent to the child process."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:212
#: ../Doc/library/asyncio-subprocess.rst:217
msgid "Return a tuple ``(stdout_data, stderr_data)``."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:214
#: ../Doc/library/asyncio-subprocess.rst:219
msgid ""
"If either :exc:`BrokenPipeError` or :exc:`ConnectionResetError` exception is "
"raised when writing *input* into *stdin*, the exception is ignored. This "
@ -258,7 +264,7 @@ msgid ""
"*stdin*."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:219
#: ../Doc/library/asyncio-subprocess.rst:224
msgid ""
"If it is desired to send data to the process' *stdin*, the process needs to "
"be created with ``stdin=PIPE``. Similarly, to get anything other than "
@ -266,7 +272,7 @@ msgid ""
"``stdout=PIPE`` and/or ``stderr=PIPE`` arguments."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:225
#: ../Doc/library/asyncio-subprocess.rst:230
msgid ""
"Note, that the data read is buffered in memory, so do not use this method if "
"the data size is large or unlimited."
@ -274,22 +280,22 @@ msgstr ""
"Notez que les données lues sont mises en cache en mémoire, donc n'utilisez "
"pas cette méthode si la taille des données est importante voire illimitée."
#: ../Doc/library/asyncio-subprocess.rst:230
#: ../Doc/library/asyncio-subprocess.rst:235
msgid "Sends the signal *signal* to the child process."
msgstr "Envoie le signal *signal* au sous-processus."
#: ../Doc/library/asyncio-subprocess.rst:234
#: ../Doc/library/asyncio-subprocess.rst:239
msgid ""
"On Windows, :py:data:`SIGTERM` is an alias for :meth:`terminate`. "
"``CTRL_C_EVENT`` and ``CTRL_BREAK_EVENT`` can be sent to processes started "
"with a *creationflags* parameter which includes ``CREATE_NEW_PROCESS_GROUP``."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:241
#: ../Doc/library/asyncio-subprocess.rst:246
msgid "Stop the child process."
msgstr "Arrête le sous-processus."
#: ../Doc/library/asyncio-subprocess.rst:243
#: ../Doc/library/asyncio-subprocess.rst:248
msgid ""
"On POSIX systems this method sends :py:data:`signal.SIGTERM` to the child "
"process."
@ -297,44 +303,44 @@ msgstr ""
"Sur les systèmes POSIX, cette méthode envoie un :py:data:`signal.SIGTERM` au "
"sous-processus."
#: ../Doc/library/asyncio-subprocess.rst:246
#: ../Doc/library/asyncio-subprocess.rst:251
msgid ""
"On Windows the Win32 API function :c:func:`TerminateProcess` is called to "
"stop the child process."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:251
#: ../Doc/library/asyncio-subprocess.rst:256
msgid "Kill the child."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:253
#: ../Doc/library/asyncio-subprocess.rst:258
msgid ""
"On POSIX systems this method sends :py:data:`SIGKILL` to the child process."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:256
#: ../Doc/library/asyncio-subprocess.rst:261
msgid "On Windows this method is an alias for :meth:`terminate`."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:260
#: ../Doc/library/asyncio-subprocess.rst:265
msgid ""
"Standard input stream (:class:`StreamWriter`) or ``None`` if the process was "
"created with ``stdin=None``."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:265
#: ../Doc/library/asyncio-subprocess.rst:270
msgid ""
"Standard output stream (:class:`StreamReader`) or ``None`` if the process "
"was created with ``stdout=None``."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:270
#: ../Doc/library/asyncio-subprocess.rst:275
msgid ""
"Standard error stream (:class:`StreamReader`) or ``None`` if the process was "
"created with ``stderr=None``."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:275
#: ../Doc/library/asyncio-subprocess.rst:280
msgid ""
"Use the :meth:`communicate` method rather than :attr:`process.stdin.write() "
"<stdin>`, :attr:`await process.stdout.read() <stdout>` or :attr:`await "
@ -342,25 +348,25 @@ msgid ""
"reading or writing and blocking the child process."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:284
#: ../Doc/library/asyncio-subprocess.rst:289
msgid "Process identification number (PID)."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:286
#: ../Doc/library/asyncio-subprocess.rst:291
msgid ""
"Note that for processes created by the :func:`create_subprocess_shell` "
"function, this attribute is the PID of the spawned shell."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:291
#: ../Doc/library/asyncio-subprocess.rst:296
msgid "Return code of the process when it exits."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:293
#: ../Doc/library/asyncio-subprocess.rst:298
msgid "A ``None`` value indicates that the process has not terminated yet."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:295
#: ../Doc/library/asyncio-subprocess.rst:300
msgid ""
"A negative value ``-N`` indicates that the child was terminated by signal "
"``N`` (POSIX only)."
@ -368,69 +374,69 @@ msgstr ""
"Une valeur négative ``-N`` indique que le sous-processus a été terminé par "
"un signal ``N`` (seulement sur les systèmes *POSIX*)."
#: ../Doc/library/asyncio-subprocess.rst:302
#: ../Doc/library/asyncio-subprocess.rst:307
msgid "Subprocess and Threads"
msgstr "Sous-processus et fils d'exécution"
#: ../Doc/library/asyncio-subprocess.rst:304
#: ../Doc/library/asyncio-subprocess.rst:309
msgid ""
"Standard asyncio event loop supports running subprocesses from different "
"threads by default."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:307
#: ../Doc/library/asyncio-subprocess.rst:312
msgid ""
"On Windows subprocesses are provided by :class:`ProactorEventLoop` only "
"(default), :class:`SelectorEventLoop` has no subprocess support."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:310
#: ../Doc/library/asyncio-subprocess.rst:315
msgid ""
"On UNIX *child watchers* are used for subprocess finish waiting, see :ref:"
"`asyncio-watchers` for more info."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:316
#: ../Doc/library/asyncio-subprocess.rst:321
msgid ""
"UNIX switched to use :class:`ThreadedChildWatcher` for spawning subprocesses "
"from different threads without any limitation."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:319
#: ../Doc/library/asyncio-subprocess.rst:324
msgid ""
"Spawning a subprocess with *inactive* current child watcher raises :exc:"
"`RuntimeError`."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:322
#: ../Doc/library/asyncio-subprocess.rst:327
msgid ""
"Note that alternative event loop implementations might have own limitations; "
"please refer to their documentation."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:327
#: ../Doc/library/asyncio-subprocess.rst:332
msgid ""
"The :ref:`Concurrency and multithreading in asyncio <asyncio-"
"multithreading>` section."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:332
#: ../Doc/library/asyncio-subprocess.rst:337
msgid "Examples"
msgstr "Exemples"
#: ../Doc/library/asyncio-subprocess.rst:334
#: ../Doc/library/asyncio-subprocess.rst:339
msgid ""
"An example using the :class:`~asyncio.subprocess.Process` class to control a "
"subprocess and the :class:`StreamReader` class to read from its standard "
"output."
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:340
#: ../Doc/library/asyncio-subprocess.rst:345
msgid ""
"The subprocess is created by the :func:`create_subprocess_exec` function::"
msgstr ""
#: ../Doc/library/asyncio-subprocess.rst:367
#: ../Doc/library/asyncio-subprocess.rst:372
msgid ""
"See also the :ref:`same example <asyncio_example_subprocess_proto>` written "
"using low-level APIs."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-10-15 00:46+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -19,130 +19,134 @@ msgid "Synchronization Primitives"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:9
msgid "**Source code:** :source:`Lib/asyncio/locks.py`"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:13
msgid ""
"asyncio synchronization primitives are designed to be similar to those of "
"the :mod:`threading` module with two important caveats:"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:12
#: ../Doc/library/asyncio-sync.rst:16
msgid ""
"asyncio primitives are not thread-safe, therefore they should not be used "
"for OS thread synchronization (use :mod:`threading` for that);"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:16
#: ../Doc/library/asyncio-sync.rst:20
msgid ""
"methods of these synchronization primitives do not accept the *timeout* "
"argument; use the :func:`asyncio.wait_for` function to perform operations "
"with timeouts."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:20
#: ../Doc/library/asyncio-sync.rst:24
msgid "asyncio has the following basic synchronization primitives:"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:22
#: ../Doc/library/asyncio-sync.rst:26
msgid ":class:`Lock`"
msgstr ":class:`Lock`"
#: ../Doc/library/asyncio-sync.rst:23
#: ../Doc/library/asyncio-sync.rst:27
msgid ":class:`Event`"
msgstr ":class:`Event`"
#: ../Doc/library/asyncio-sync.rst:24
#: ../Doc/library/asyncio-sync.rst:28
msgid ":class:`Condition`"
msgstr ":class:`Condition`"
#: ../Doc/library/asyncio-sync.rst:25
#: ../Doc/library/asyncio-sync.rst:29
msgid ":class:`Semaphore`"
msgstr ":class:`Semaphore`"
#: ../Doc/library/asyncio-sync.rst:26
#: ../Doc/library/asyncio-sync.rst:30
msgid ":class:`BoundedSemaphore`"
msgstr ":class:`BoundedSemaphore`"
#: ../Doc/library/asyncio-sync.rst:33
#: ../Doc/library/asyncio-sync.rst:37
msgid "Lock"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:37
#: ../Doc/library/asyncio-sync.rst:41
msgid "Implements a mutex lock for asyncio tasks. Not thread-safe."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:39
#: ../Doc/library/asyncio-sync.rst:43
msgid ""
"An asyncio lock can be used to guarantee exclusive access to a shared "
"resource."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:42
#: ../Doc/library/asyncio-sync.rst:46
msgid "The preferred way to use a Lock is an :keyword:`async with` statement::"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:51 ../Doc/library/asyncio-sync.rst:196
#: ../Doc/library/asyncio-sync.rst:296
#: ../Doc/library/asyncio-sync.rst:55 ../Doc/library/asyncio-sync.rst:200
#: ../Doc/library/asyncio-sync.rst:300
msgid "which is equivalent to::"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:64 ../Doc/library/asyncio-sync.rst:110
#: ../Doc/library/asyncio-sync.rst:186 ../Doc/library/asyncio-sync.rst:286
#: ../Doc/library/asyncio-sync.rst:341
#: ../Doc/library/asyncio-sync.rst:68 ../Doc/library/asyncio-sync.rst:114
#: ../Doc/library/asyncio-sync.rst:190 ../Doc/library/asyncio-sync.rst:290
#: ../Doc/library/asyncio-sync.rst:345
msgid "The *loop* parameter."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:67
#: ../Doc/library/asyncio-sync.rst:71
msgid "Acquire the lock."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:69
#: ../Doc/library/asyncio-sync.rst:73
msgid ""
"This method waits until the lock is *unlocked*, sets it to *locked* and "
"returns ``True``."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:72
#: ../Doc/library/asyncio-sync.rst:76
msgid ""
"When more than one coroutine is blocked in :meth:`acquire` waiting for the "
"lock to be unlocked, only one coroutine eventually proceeds."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:76
#: ../Doc/library/asyncio-sync.rst:80
msgid ""
"Acquiring a lock is *fair*: the coroutine that proceeds will be the first "
"coroutine that started waiting on the lock."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:81
#: ../Doc/library/asyncio-sync.rst:85
msgid "Release the lock."
msgstr "Libère un verrou."
#: ../Doc/library/asyncio-sync.rst:83
#: ../Doc/library/asyncio-sync.rst:87
msgid "When the lock is *locked*, reset it to *unlocked* and return."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:85
#: ../Doc/library/asyncio-sync.rst:89
msgid "If the lock is *unlocked*, a :exc:`RuntimeError` is raised."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:89
#: ../Doc/library/asyncio-sync.rst:93
msgid "Return ``True`` if the lock is *locked*."
msgstr "Donne ``True`` si le verrou est verrouillé."
#: ../Doc/library/asyncio-sync.rst:93
#: ../Doc/library/asyncio-sync.rst:97
msgid "Event"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:97
#: ../Doc/library/asyncio-sync.rst:101
msgid "An event object. Not thread-safe."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:99
#: ../Doc/library/asyncio-sync.rst:103
msgid ""
"An asyncio event can be used to notify multiple asyncio tasks that some "
"event has happened."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:102
#: ../Doc/library/asyncio-sync.rst:106
msgid ""
"An Event object manages an internal flag that can be set to *true* with the :"
"meth:`set` method and reset to *false* with the :meth:`clear` method. The :"
@ -150,57 +154,57 @@ msgid ""
"to *false* initially."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:113
#: ../Doc/library/asyncio-sync.rst:117
msgid "Example::"
msgstr "Exemple ::"
#: ../Doc/library/asyncio-sync.rst:138
#: ../Doc/library/asyncio-sync.rst:142
msgid "Wait until the event is set."
msgstr "Attend que l'évènement ait une valeur."
#: ../Doc/library/asyncio-sync.rst:140
#: ../Doc/library/asyncio-sync.rst:144
msgid ""
"If the event is set, return ``True`` immediately. Otherwise block until "
"another task calls :meth:`set`."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:145
#: ../Doc/library/asyncio-sync.rst:149
msgid "Set the event."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:147
#: ../Doc/library/asyncio-sync.rst:151
msgid "All tasks waiting for event to be set will be immediately awakened."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:152
#: ../Doc/library/asyncio-sync.rst:156
msgid "Clear (unset) the event."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:154
#: ../Doc/library/asyncio-sync.rst:158
msgid ""
"Tasks awaiting on :meth:`wait` will now block until the :meth:`set` method "
"is called again."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:159
#: ../Doc/library/asyncio-sync.rst:163
msgid "Return ``True`` if the event is set."
msgstr "Renvoie ``True`` si l'évènement a une valeur."
#: ../Doc/library/asyncio-sync.rst:163
#: ../Doc/library/asyncio-sync.rst:167
msgid "Condition"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:167
#: ../Doc/library/asyncio-sync.rst:171
msgid "A Condition object. Not thread-safe."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:169
#: ../Doc/library/asyncio-sync.rst:173
msgid ""
"An asyncio condition primitive can be used by a task to wait for some event "
"to happen and then get exclusive access to a shared resource."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:173
#: ../Doc/library/asyncio-sync.rst:177
msgid ""
"In essence, a Condition object combines the functionality of an :class:"
"`Event` and a :class:`Lock`. It is possible to have multiple Condition "
@ -209,96 +213,96 @@ msgid ""
"that shared resource."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:179
#: ../Doc/library/asyncio-sync.rst:183
msgid ""
"The optional *lock* argument must be a :class:`Lock` object or ``None``. In "
"the latter case a new Lock object is created automatically."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:187
#: ../Doc/library/asyncio-sync.rst:191
msgid ""
"The preferred way to use a Condition is an :keyword:`async with` statement::"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:209
#: ../Doc/library/asyncio-sync.rst:213
msgid "Acquire the underlying lock."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:211
#: ../Doc/library/asyncio-sync.rst:215
msgid ""
"This method waits until the underlying lock is *unlocked*, sets it to "
"*locked* and returns ``True``."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:216
#: ../Doc/library/asyncio-sync.rst:220
msgid ""
"Wake up at most *n* tasks (1 by default) waiting on this condition. The "
"method is no-op if no tasks are waiting."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:219 ../Doc/library/asyncio-sync.rst:234
#: ../Doc/library/asyncio-sync.rst:223 ../Doc/library/asyncio-sync.rst:238
msgid ""
"The lock must be acquired before this method is called and released shortly "
"after. If called with an *unlocked* lock a :exc:`RuntimeError` error is "
"raised."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:225
#: ../Doc/library/asyncio-sync.rst:229
msgid "Return ``True`` if the underlying lock is acquired."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:229
#: ../Doc/library/asyncio-sync.rst:233
msgid "Wake up all tasks waiting on this condition."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:231
#: ../Doc/library/asyncio-sync.rst:235
msgid "This method acts like :meth:`notify`, but wakes up all waiting tasks."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:240
#: ../Doc/library/asyncio-sync.rst:244
msgid "Release the underlying lock."
msgstr "Libère le verrou sous-jacent."
#: ../Doc/library/asyncio-sync.rst:242
#: ../Doc/library/asyncio-sync.rst:246
msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:247
#: ../Doc/library/asyncio-sync.rst:251
msgid "Wait until notified."
msgstr "Attends d'être notifié."
#: ../Doc/library/asyncio-sync.rst:249
#: ../Doc/library/asyncio-sync.rst:253
msgid ""
"If the calling task has not acquired the lock when this method is called, a :"
"exc:`RuntimeError` is raised."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:252
#: ../Doc/library/asyncio-sync.rst:256
msgid ""
"This method releases the underlying lock, and then blocks until it is "
"awakened by a :meth:`notify` or :meth:`notify_all` call. Once awakened, the "
"Condition re-acquires its lock and this method returns ``True``."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:259
#: ../Doc/library/asyncio-sync.rst:263
msgid "Wait until a predicate becomes *true*."
msgstr "Attends jusqu'à ce qu'un prédicat devienne vrai."
#: ../Doc/library/asyncio-sync.rst:261
#: ../Doc/library/asyncio-sync.rst:265
msgid ""
"The predicate must be a callable which result will be interpreted as a "
"boolean value. The final value is the return value."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:267
#: ../Doc/library/asyncio-sync.rst:271
msgid "Semaphore"
msgstr "Sémaphore"
#: ../Doc/library/asyncio-sync.rst:271
#: ../Doc/library/asyncio-sync.rst:275
msgid "A Semaphore object. Not thread-safe."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:273
#: ../Doc/library/asyncio-sync.rst:277
msgid ""
"A semaphore manages an internal counter which is decremented by each :meth:"
"`acquire` call and incremented by each :meth:`release` call. The counter can "
@ -306,61 +310,61 @@ msgid ""
"waiting until some task calls :meth:`release`."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:279
#: ../Doc/library/asyncio-sync.rst:283
msgid ""
"The optional *value* argument gives the initial value for the internal "
"counter (``1`` by default). If the given value is less than ``0`` a :exc:"
"`ValueError` is raised."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:287
#: ../Doc/library/asyncio-sync.rst:291
msgid ""
"The preferred way to use a Semaphore is an :keyword:`async with` statement::"
msgstr ""
#: ../Doc/library/asyncio-sync.rst:309
#: ../Doc/library/asyncio-sync.rst:313
msgid "Acquire a semaphore."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:311
#: ../Doc/library/asyncio-sync.rst:315
msgid ""
"If the internal counter is greater than zero, decrement it by one and return "
"``True`` immediately. If it is zero, wait until a :meth:`release` is called "
"and return ``True``."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:317
#: ../Doc/library/asyncio-sync.rst:321
msgid "Returns ``True`` if semaphore can not be acquired immediately."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:321
#: ../Doc/library/asyncio-sync.rst:325
msgid ""
"Release a semaphore, incrementing the internal counter by one. Can wake up a "
"task waiting to acquire the semaphore."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:324
#: ../Doc/library/asyncio-sync.rst:328
msgid ""
"Unlike :class:`BoundedSemaphore`, :class:`Semaphore` allows making more "
"``release()`` calls than ``acquire()`` calls."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:329
#: ../Doc/library/asyncio-sync.rst:333
msgid "BoundedSemaphore"
msgstr "BoundedSemaphore"
#: ../Doc/library/asyncio-sync.rst:333
#: ../Doc/library/asyncio-sync.rst:337
msgid "A bounded semaphore object. Not thread-safe."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:335
#: ../Doc/library/asyncio-sync.rst:339
msgid ""
"Bounded Semaphore is a version of :class:`Semaphore` that raises a :exc:"
"`ValueError` in :meth:`~Semaphore.release` if it increases the internal "
"counter above the initial *value*."
msgstr ""
#: ../Doc/library/asyncio-sync.rst:348
#: ../Doc/library/asyncio-sync.rst:352
msgid ""
"Acquiring a lock using ``await lock`` or ``yield from lock`` and/or :keyword:"
"`with` statement (``with await lock``, ``with (yield from lock)``) is "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-05-23 20:05+0200\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -32,10 +32,12 @@ msgid "Coroutines"
msgstr "Coroutines"
#: ../Doc/library/asyncio-task.rst:21
#, fuzzy
msgid ""
"Coroutines declared with async/await syntax is the preferred way of writing "
"asyncio applications. For example, the following snippet of code (requires "
"Python 3.7+) prints \"hello\", waits 1 second, and then prints \"world\"::"
":term:`Coroutines <coroutine>` declared with the async/await syntax is the "
"preferred way of writing asyncio applications. For example, the following "
"snippet of code (requires Python 3.7+) prints \"hello\", waits 1 second, and "
"then prints \"world\"::"
msgstr ""
"Il est recommandé d'utiliser la syntaxe *async* / *await* pour développer "
"des programmes *asyncio*. Par exemple, le morceau de code suivant "
@ -265,16 +267,22 @@ msgstr ""
"fin. Elle doit être utilisée comme point d'entrée principal des programmes "
"*asyncio* et ne doit être idéalement appelée qu'une seule fois."
#: ../Doc/library/asyncio-task.rst:230 ../Doc/library/asyncio-task.rst:350
#: ../Doc/library/asyncio-task.rst:459 ../Doc/library/asyncio-task.rst:589
#: ../Doc/library/asyncio-task.rst:230 ../Doc/library/asyncio-task.rst:354
#: ../Doc/library/asyncio-task.rst:463 ../Doc/library/asyncio-task.rst:593
msgid "Example::"
msgstr "Exemple ::"
#: ../Doc/library/asyncio-task.rst:242
msgid ""
"The source code for ``asyncio.run()`` can be found in :source:`Lib/asyncio/"
"runners.py`."
msgstr ""
#: ../Doc/library/asyncio-task.rst:246
msgid "Creating Tasks"
msgstr "Création de tâches"
#: ../Doc/library/asyncio-task.rst:246
#: ../Doc/library/asyncio-task.rst:250
msgid ""
"Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task` and "
"schedule its execution. Return the Task object."
@ -282,13 +290,13 @@ msgstr ""
"Encapsule la :ref:`coroutine <coroutine>` *coro* dans une tâche et la "
"planifie pour exécution. Renvoie l'objet :class:`Task`."
#: ../Doc/library/asyncio-task.rst:249
#: ../Doc/library/asyncio-task.rst:253
msgid ""
"If *name* is not ``None``, it is set as the name of the task using :meth:"
"`Task.set_name`."
msgstr ""
#: ../Doc/library/asyncio-task.rst:252
#: ../Doc/library/asyncio-task.rst:256
msgid ""
"The task is executed in the loop returned by :func:`get_running_loop`, :exc:"
"`RuntimeError` is raised if there is no running loop in current thread."
@ -297,7 +305,7 @@ msgstr ""
"`get_running_loop` ; :exc:`RuntimeError` est levée s'il n'y a pas de boucle "
"en cours d'exécution dans le fil actuel."
#: ../Doc/library/asyncio-task.rst:256
#: ../Doc/library/asyncio-task.rst:260
msgid ""
"This function has been **added in Python 3.7**. Prior to Python 3.7, the "
"low-level :func:`asyncio.ensure_future` function can be used instead::"
@ -306,19 +314,19 @@ msgstr ""
"antérieures à la 3.7, la fonction de bas-niveau :func:`asyncio."
"ensure_future` peut-être utilisée ::"
#: ../Doc/library/asyncio-task.rst:273 ../Doc/library/asyncio-task.rst:712
#: ../Doc/library/asyncio-task.rst:277 ../Doc/library/asyncio-task.rst:716
msgid "Added the ``name`` parameter."
msgstr ""
#: ../Doc/library/asyncio-task.rst:278
#: ../Doc/library/asyncio-task.rst:282
msgid "Sleeping"
msgstr "Attente"
#: ../Doc/library/asyncio-task.rst:282
#: ../Doc/library/asyncio-task.rst:286
msgid "Block for *delay* seconds."
msgstr "Attend pendant *delay* secondes."
#: ../Doc/library/asyncio-task.rst:284
#: ../Doc/library/asyncio-task.rst:288
msgid ""
"If *result* is provided, it is returned to the caller when the coroutine "
"completes."
@ -326,32 +334,32 @@ msgstr ""
"Si *result* est spécifié, il est renvoyé à l'appelant quand la coroutine se "
"termine."
#: ../Doc/library/asyncio-task.rst:287
#: ../Doc/library/asyncio-task.rst:291
msgid ""
"``sleep()`` always suspends the current task, allowing other tasks to run."
msgstr ""
"``sleep()`` suspend systématiquement la tâche courante, ce qui permet aux "
"autres tâches de s'exécuter."
#: ../Doc/library/asyncio-task.rst:292 ../Doc/library/asyncio-task.rst:347
#: ../Doc/library/asyncio-task.rst:426 ../Doc/library/asyncio-task.rst:456
#: ../Doc/library/asyncio-task.rst:541 ../Doc/library/asyncio-task.rst:588
#: ../Doc/library/asyncio-task.rst:717
#: ../Doc/library/asyncio-task.rst:296 ../Doc/library/asyncio-task.rst:351
#: ../Doc/library/asyncio-task.rst:430 ../Doc/library/asyncio-task.rst:460
#: ../Doc/library/asyncio-task.rst:545 ../Doc/library/asyncio-task.rst:592
#: ../Doc/library/asyncio-task.rst:721
msgid "The *loop* parameter."
msgstr ""
#: ../Doc/library/asyncio-task.rst:295
#: ../Doc/library/asyncio-task.rst:299
msgid ""
"Example of coroutine displaying the current date every second for 5 seconds::"
msgstr ""
"Exemple d'une coroutine affichant la date toutes les secondes pendant 5 "
"secondes ::"
#: ../Doc/library/asyncio-task.rst:314
#: ../Doc/library/asyncio-task.rst:318
msgid "Running Tasks Concurrently"
msgstr "Exécution de tâches de manière concurrente"
#: ../Doc/library/asyncio-task.rst:318
#: ../Doc/library/asyncio-task.rst:322
msgid ""
"Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* sequence "
"*concurrently*."
@ -359,7 +367,7 @@ msgstr ""
"Exécute les objets :ref:`awaitable <asyncio-awaitables>` de la séquence "
"*aws*, *de manière concurrente*."
#: ../Doc/library/asyncio-task.rst:321
#: ../Doc/library/asyncio-task.rst:325
msgid ""
"If any awaitable in *aws* is a coroutine, it is automatically scheduled as a "
"Task."
@ -367,7 +375,7 @@ msgstr ""
"Si un *awaitable* de *aws* est une coroutine, celui-ci est automatiquement "
"planifié comme une tâche."
#: ../Doc/library/asyncio-task.rst:324
#: ../Doc/library/asyncio-task.rst:328
msgid ""
"If all awaitables are completed successfully, the result is an aggregate "
"list of returned values. The order of result values corresponds to the "
@ -377,7 +385,7 @@ msgstr ""
"des valeurs renvoyées. L'ordre de cette liste correspond à l'ordre des "
"*awaitables* dans *aws*."
#: ../Doc/library/asyncio-task.rst:328
#: ../Doc/library/asyncio-task.rst:332
msgid ""
"If *return_exceptions* is ``False`` (default), the first raised exception is "
"immediately propagated to the task that awaits on ``gather()``. Other "
@ -389,7 +397,7 @@ msgstr ""
"``gather()``. Les autres *awaitables* dans la séquence *aws* **ne sont pas "
"annulés** et poursuivent leur exécution."
#: ../Doc/library/asyncio-task.rst:333
#: ../Doc/library/asyncio-task.rst:337
msgid ""
"If *return_exceptions* is ``True``, exceptions are treated the same as "
"successful results, and aggregated in the result list."
@ -398,7 +406,7 @@ msgstr ""
"même manière que les exécutions normales, et incluses dans la liste des "
"résultats."
#: ../Doc/library/asyncio-task.rst:336
#: ../Doc/library/asyncio-task.rst:340
msgid ""
"If ``gather()`` is *cancelled*, all submitted awaitables (that have not "
"completed yet) are also *cancelled*."
@ -406,7 +414,7 @@ msgstr ""
"Si ``gather()`` est *annulé*, tous les *awaitables* en cours (ceux qui n'ont "
"pas encore fini de s'exécuter) sont également *annulés*."
#: ../Doc/library/asyncio-task.rst:339
#: ../Doc/library/asyncio-task.rst:343
msgid ""
"If any Task or Future from the *aws* sequence is *cancelled*, it is treated "
"as if it raised :exc:`CancelledError` -- the ``gather()`` call is **not** "
@ -419,7 +427,7 @@ msgstr ""
"l'annulation d'une tâche ou d'un futur entraîne l'annulation des autres "
"tâches ou futurs."
#: ../Doc/library/asyncio-task.rst:384
#: ../Doc/library/asyncio-task.rst:388
msgid ""
"If the *gather* itself is cancelled, the cancellation is propagated "
"regardless of *return_exceptions*."
@ -427,11 +435,11 @@ msgstr ""
"Si *gather* est lui-même annulé, l'annulation est propagée indépendamment de "
"*return_exceptions*."
#: ../Doc/library/asyncio-task.rst:390
#: ../Doc/library/asyncio-task.rst:394
msgid "Shielding From Cancellation"
msgstr "Protection contre l'annulation"
#: ../Doc/library/asyncio-task.rst:394
#: ../Doc/library/asyncio-task.rst:398
msgid ""
"Protect an :ref:`awaitable object <asyncio-awaitables>` from being :meth:"
"`cancelled <Task.cancel>`."
@ -439,21 +447,21 @@ msgstr ""
"Empêche qu'un objet :ref:`awaitable <asyncio-awaitables>` puisse être :meth:"
"`annulé <Task.cancel>`."
#: ../Doc/library/asyncio-task.rst:397 ../Doc/library/asyncio-task.rst:437
#: ../Doc/library/asyncio-task.rst:401 ../Doc/library/asyncio-task.rst:441
msgid "If *aw* is a coroutine it is automatically scheduled as a Task."
msgstr ""
"Si *aw* est une coroutine, elle est planifiée automatiquement comme une "
"tâche."
#: ../Doc/library/asyncio-task.rst:399
#: ../Doc/library/asyncio-task.rst:403
msgid "The statement::"
msgstr "L'instruction ::"
#: ../Doc/library/asyncio-task.rst:403
#: ../Doc/library/asyncio-task.rst:407
msgid "is equivalent to::"
msgstr "est équivalente à ::"
#: ../Doc/library/asyncio-task.rst:407
#: ../Doc/library/asyncio-task.rst:411
msgid ""
"*except* that if the coroutine containing it is cancelled, the Task running "
"in ``something()`` is not cancelled. From the point of view of "
@ -467,7 +475,7 @@ msgstr ""
"est bien annulé, donc l'expression *await* lève bien une :exc:"
"`CancelledError`."
#: ../Doc/library/asyncio-task.rst:413
#: ../Doc/library/asyncio-task.rst:417
msgid ""
"If ``something()`` is cancelled by other means (i.e. from within itself) "
"that would also cancel ``shield()``."
@ -475,7 +483,7 @@ msgstr ""
"Si ``something()`` est annulée d'une autre façon (*i.e.* depuis elle-même) "
"ceci annule également ``shield()``."
#: ../Doc/library/asyncio-task.rst:416
#: ../Doc/library/asyncio-task.rst:420
msgid ""
"If it is desired to completely ignore cancellation (not recommended) the "
"``shield()`` function should be combined with a try/except clause, as "
@ -485,11 +493,11 @@ msgstr ""
"``shield()`` peut être combinée à une clause *try* / *except*, comme dans le "
"code ci-dessous ::"
#: ../Doc/library/asyncio-task.rst:430
#: ../Doc/library/asyncio-task.rst:434
msgid "Timeouts"
msgstr "Délais d'attente"
#: ../Doc/library/asyncio-task.rst:434
#: ../Doc/library/asyncio-task.rst:438
msgid ""
"Wait for the *aw* :ref:`awaitable <asyncio-awaitables>` to complete with a "
"timeout."
@ -497,7 +505,7 @@ msgstr ""
"Attend la fin de l':ref:`awaitable <asyncio-awaitables>` *aw* avec délai "
"d'attente."
#: ../Doc/library/asyncio-task.rst:439
#: ../Doc/library/asyncio-task.rst:443
msgid ""
"*timeout* can either be ``None`` or a float or int number of seconds to wait "
"for. If *timeout* is ``None``, block until the future completes."
@ -506,7 +514,7 @@ msgstr ""
"décimal) d'attente. Si *timeout* vaut ``None``, la fonction s'interrompt "
"jusqu'à ce que le futur s'achève."
#: ../Doc/library/asyncio-task.rst:443
#: ../Doc/library/asyncio-task.rst:447
msgid ""
"If a timeout occurs, it cancels the task and raises :exc:`asyncio."
"TimeoutError`."
@ -514,7 +522,7 @@ msgstr ""
"Si le délai d'attente maximal est dépassé, la tâche est annulée et "
"l'exception :exc:`asyncio.TimeoutError` est levée."
#: ../Doc/library/asyncio-task.rst:446
#: ../Doc/library/asyncio-task.rst:450
msgid ""
"To avoid the task :meth:`cancellation <Task.cancel>`, wrap it in :func:"
"`shield`."
@ -522,7 +530,7 @@ msgstr ""
"Pour empêcher :meth:`l'annulation <Task.cancel>` de la tâche, il est "
"nécessaire de l'encapsuler dans une fonction :func:`shield`."
#: ../Doc/library/asyncio-task.rst:449
#: ../Doc/library/asyncio-task.rst:453
msgid ""
"The function will wait until the future is actually cancelled, so the total "
"wait time may exceed the *timeout*."
@ -530,11 +538,11 @@ msgstr ""
"Cette fonction attend que le futur soit réellement annulé, donc le temps "
"d'attente total peut être supérieur à *timeout*."
#: ../Doc/library/asyncio-task.rst:452
#: ../Doc/library/asyncio-task.rst:456
msgid "If the wait is cancelled, the future *aw* is also cancelled."
msgstr "Si l'attente est annulée, le futur *aw* est également annulé."
#: ../Doc/library/asyncio-task.rst:479
#: ../Doc/library/asyncio-task.rst:483
msgid ""
"When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be "
"cancelled. Previously, it raised :exc:`asyncio.TimeoutError` immediately."
@ -543,11 +551,11 @@ msgstr ""
"``wait_for`` attend que *aw* soit annulée. Auparavant, l'exception :exc:"
"`asyncio.TimeoutError` était immédiatement levée."
#: ../Doc/library/asyncio-task.rst:486
#: ../Doc/library/asyncio-task.rst:490
msgid "Waiting Primitives"
msgstr "Primitives d'attente"
#: ../Doc/library/asyncio-task.rst:491
#: ../Doc/library/asyncio-task.rst:495
msgid ""
"Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* set "
"concurrently and block until the condition specified by *return_when*."
@ -556,15 +564,15 @@ msgstr ""
"*aws* de manière concurrente, et s'interrompt jusqu'à ce que la condition "
"décrite dans *return_when* soit vraie."
#: ../Doc/library/asyncio-task.rst:495
#: ../Doc/library/asyncio-task.rst:499
msgid "Returns two sets of Tasks/Futures: ``(done, pending)``."
msgstr "Renvoie deux ensembles de *Tasks* / *Futures* : ``(done, pending)``."
#: ../Doc/library/asyncio-task.rst:497
#: ../Doc/library/asyncio-task.rst:501
msgid "Usage::"
msgstr "Utilisation ::"
#: ../Doc/library/asyncio-task.rst:501
#: ../Doc/library/asyncio-task.rst:505
msgid ""
"*timeout* (a float or int), if specified, can be used to control the maximum "
"number of seconds to wait before returning."
@ -572,7 +580,7 @@ msgstr ""
"*timeout* (entier ou décimal), si précisé, peut-être utilisé pour contrôler "
"le nombre maximal de secondes d'attente avant de se terminer."
#: ../Doc/library/asyncio-task.rst:504
#: ../Doc/library/asyncio-task.rst:508
msgid ""
"Note that this function does not raise :exc:`asyncio.TimeoutError`. Futures "
"or Tasks that aren't done when the timeout occurs are simply returned in the "
@ -582,7 +590,7 @@ msgstr ""
"tâches qui ne sont pas finis quand le délai d'attente maximal est dépassé "
"sont tout simplement renvoyés dans le second ensemble."
#: ../Doc/library/asyncio-task.rst:508
#: ../Doc/library/asyncio-task.rst:512
msgid ""
"*return_when* indicates when this function should return. It must be one of "
"the following constants:"
@ -590,28 +598,28 @@ msgstr ""
"*return_when* indique quand la fonction doit se terminer. Il peut prendre "
"les valeurs suivantes :"
#: ../Doc/library/asyncio-task.rst:514
#: ../Doc/library/asyncio-task.rst:518
msgid "Constant"
msgstr "Constante"
#: ../Doc/library/asyncio-task.rst:514
#: ../Doc/library/asyncio-task.rst:518
msgid "Description"
msgstr "Description"
#: ../Doc/library/asyncio-task.rst:516
#: ../Doc/library/asyncio-task.rst:520
msgid ":const:`FIRST_COMPLETED`"
msgstr ":const:`FIRST_COMPLETED`"
#: ../Doc/library/asyncio-task.rst:516
#: ../Doc/library/asyncio-task.rst:520
msgid "The function will return when any future finishes or is cancelled."
msgstr ""
"La fonction se termine lorsque n'importe quel futur se termine ou est annulé."
#: ../Doc/library/asyncio-task.rst:519
#: ../Doc/library/asyncio-task.rst:523
msgid ":const:`FIRST_EXCEPTION`"
msgstr ":const:`FIRST_EXCEPTION`"
#: ../Doc/library/asyncio-task.rst:519
#: ../Doc/library/asyncio-task.rst:523
msgid ""
"The function will return when any future finishes by raising an exception. "
"If no future raises an exception then it is equivalent to :const:"
@ -621,16 +629,16 @@ msgstr ""
"exception. Si aucun *futur* ne lève d'exception, équivaut à :const:"
"`ALL_COMPLETED`."
#: ../Doc/library/asyncio-task.rst:525
#: ../Doc/library/asyncio-task.rst:529
msgid ":const:`ALL_COMPLETED`"
msgstr ":const:`ALL_COMPLETED`"
#: ../Doc/library/asyncio-task.rst:525
#: ../Doc/library/asyncio-task.rst:529
msgid "The function will return when all futures finish or are cancelled."
msgstr ""
"La fonction se termine lorsque les *futurs* sont tous finis ou annulés."
#: ../Doc/library/asyncio-task.rst:529
#: ../Doc/library/asyncio-task.rst:533
msgid ""
"Unlike :func:`~asyncio.wait_for`, ``wait()`` does not cancel the futures "
"when a timeout occurs."
@ -638,7 +646,7 @@ msgstr ""
"À la différence de :func:`~asyncio.wait_for`, ``wait()`` n'annule pas les "
"futurs quand le délai d'attente est dépassé."
#: ../Doc/library/asyncio-task.rst:534
#: ../Doc/library/asyncio-task.rst:538
msgid ""
"If any awaitable in *aws* is a coroutine, it is automatically scheduled as a "
"Task. Passing coroutines objects to ``wait()`` directly is deprecated as it "
@ -649,7 +657,7 @@ msgstr ""
"``wait()`` est obsolète, car ceci conduisait :ref:`à un comportement portant "
"à confusion <asyncio_example_wait_coroutine>`."
#: ../Doc/library/asyncio-task.rst:546
#: ../Doc/library/asyncio-task.rst:550
msgid ""
"``wait()`` schedules coroutines as Tasks automatically and later returns "
"those implicitly created Task objects in ``(done, pending)`` sets. "
@ -659,15 +667,15 @@ msgstr ""
"renvoie les objets *Task* ainsi créés dans les ensembles ``(done, "
"pending)``. Le code suivant ne fonctionne donc pas comme voulu ::"
#: ../Doc/library/asyncio-task.rst:559
#: ../Doc/library/asyncio-task.rst:563
msgid "Here is how the above snippet can be fixed::"
msgstr "Voici comment corriger le morceau de code ci-dessus ::"
#: ../Doc/library/asyncio-task.rst:572
#: ../Doc/library/asyncio-task.rst:576
msgid "Passing coroutine objects to ``wait()`` directly is deprecated."
msgstr "Passer directement des objets coroutines à ``wait()`` est obsolète."
#: ../Doc/library/asyncio-task.rst:578
#: ../Doc/library/asyncio-task.rst:582
msgid ""
"Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* set "
"concurrently. Return an iterator of :class:`Future` objects. Each Future "
@ -679,7 +687,7 @@ msgstr ""
"`Future`. Chaque objet *futur* renvoyé représente le résultat le plus récent "
"de l'ensemble des *awaitables* restants."
#: ../Doc/library/asyncio-task.rst:583
#: ../Doc/library/asyncio-task.rst:587
msgid ""
"Raises :exc:`asyncio.TimeoutError` if the timeout occurs before all Futures "
"are done."
@ -687,18 +695,18 @@ msgstr ""
"Lève une exception :exc:`asyncio.TimeoutError` si le délai d'attente est "
"dépassé avant que tous les futurs ne soient achevés."
#: ../Doc/library/asyncio-task.rst:597
#: ../Doc/library/asyncio-task.rst:601
msgid "Scheduling From Other Threads"
msgstr "Planification depuis d'autres fils d'exécution"
#: ../Doc/library/asyncio-task.rst:601
#: ../Doc/library/asyncio-task.rst:605
msgid "Submit a coroutine to the given event loop. Thread-safe."
msgstr ""
"Enregistre une coroutine dans la boucle d'exécution actuelle. Cette "
"opération est compatible avec les programmes à multiples fils d'exécution "
"(*thread-safe*)."
#: ../Doc/library/asyncio-task.rst:603
#: ../Doc/library/asyncio-task.rst:607
msgid ""
"Return a :class:`concurrent.futures.Future` to wait for the result from "
"another OS thread."
@ -706,7 +714,7 @@ msgstr ""
"Renvoie un :class:`concurrent.futures.Future` pour attendre le résultat d'un "
"autre fil d'exécution du système d'exploitation."
#: ../Doc/library/asyncio-task.rst:606
#: ../Doc/library/asyncio-task.rst:610
msgid ""
"This function is meant to be called from a different OS thread than the one "
"where the event loop is running. Example::"
@ -714,7 +722,7 @@ msgstr ""
"Cette fonction est faite pour être appelée par un fil d'exécution distinct "
"de celui dans laquelle la boucle d'événement s'exécute. Exemple ::"
#: ../Doc/library/asyncio-task.rst:618
#: ../Doc/library/asyncio-task.rst:622
msgid ""
"If an exception is raised in the coroutine, the returned Future will be "
"notified. It can also be used to cancel the task in the event loop::"
@ -723,7 +731,7 @@ msgstr ""
"averti. Elle peut également être utilisée pour annuler la tâche de la boucle "
"d'événement ::"
#: ../Doc/library/asyncio-task.rst:632
#: ../Doc/library/asyncio-task.rst:636
msgid ""
"See the :ref:`concurrency and multithreading <asyncio-multithreading>` "
"section of the documentation."
@ -731,7 +739,7 @@ msgstr ""
"Voir la section :ref:`exécution concurrente et multi-fils d'exécution "
"<asyncio-multithreading>` de la documentation."
#: ../Doc/library/asyncio-task.rst:635
#: ../Doc/library/asyncio-task.rst:639
msgid ""
"Unlike other asyncio functions this function requires the *loop* argument to "
"be passed explicitly."
@ -739,11 +747,11 @@ msgstr ""
"À la différence des autres fonction d'*asyncio*, cette fonction requiert que "
"*loop* soit passé de manière explicite."
#: ../Doc/library/asyncio-task.rst:642
#: ../Doc/library/asyncio-task.rst:646
msgid "Introspection"
msgstr "Introspection"
#: ../Doc/library/asyncio-task.rst:647
#: ../Doc/library/asyncio-task.rst:651
msgid ""
"Return the currently running :class:`Task` instance, or ``None`` if no task "
"is running."
@ -751,7 +759,7 @@ msgstr ""
"Renvoie l'instance de la :class:`Task` en cours d'exécution, ou ``None`` "
"s'il n'y a pas de tâche en cours."
#: ../Doc/library/asyncio-task.rst:650
#: ../Doc/library/asyncio-task.rst:654
msgid ""
"If *loop* is ``None`` :func:`get_running_loop` is used to get the current "
"loop."
@ -759,13 +767,13 @@ msgstr ""
"Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer "
"la boucle en cours d'exécution."
#: ../Doc/library/asyncio-task.rst:658
#: ../Doc/library/asyncio-task.rst:662
msgid "Return a set of not yet finished :class:`Task` objects run by the loop."
msgstr ""
"Renvoie l'ensemble des :class:`Task` non terminés en cours d'exécution dans "
"la boucle."
#: ../Doc/library/asyncio-task.rst:661
#: ../Doc/library/asyncio-task.rst:665
msgid ""
"If *loop* is ``None``, :func:`get_running_loop` is used for getting current "
"loop."
@ -773,11 +781,11 @@ msgstr ""
"Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer "
"la boucle en cours d'exécution."
#: ../Doc/library/asyncio-task.rst:668
#: ../Doc/library/asyncio-task.rst:672
msgid "Task Object"
msgstr "Objets *Task*"
#: ../Doc/library/asyncio-task.rst:672
#: ../Doc/library/asyncio-task.rst:676
msgid ""
"A :class:`Future-like <Future>` object that runs a Python :ref:`coroutine "
"<coroutine>`. Not thread-safe."
@ -786,7 +794,7 @@ msgstr ""
"`coroutine <coroutine>` Python. Cet objet n'est pas utilisable dans des "
"programmes à fils d'exécution multiples."
#: ../Doc/library/asyncio-task.rst:675
#: ../Doc/library/asyncio-task.rst:679
msgid ""
"Tasks are used to run coroutines in event loops. If a coroutine awaits on a "
"Future, the Task suspends the execution of the coroutine and waits for the "
@ -798,7 +806,7 @@ msgstr ""
"attend la fin de ce *futur*. Quand celui-ci est terminé, l'exécution de la "
"coroutine encapsulée reprend."
#: ../Doc/library/asyncio-task.rst:681
#: ../Doc/library/asyncio-task.rst:685
msgid ""
"Event loops use cooperative scheduling: an event loop runs one Task at a "
"time. While a Task awaits for the completion of a Future, the event loop "
@ -809,7 +817,7 @@ msgstr ""
"futur, la boucle d'événement exécute d'autres tâches, des fonctions de "
"rappel, ou effectue des opérations d'entrées-sorties."
#: ../Doc/library/asyncio-task.rst:686
#: ../Doc/library/asyncio-task.rst:690
msgid ""
"Use the high-level :func:`asyncio.create_task` function to create Tasks, or "
"the low-level :meth:`loop.create_task` or :func:`ensure_future` functions. "
@ -820,7 +828,7 @@ msgstr ""
"créer des tâches. Il est déconseillé d'instancier manuellement des objets "
"*Task*."
#: ../Doc/library/asyncio-task.rst:691
#: ../Doc/library/asyncio-task.rst:695
msgid ""
"To cancel a running Task use the :meth:`cancel` method. Calling it will "
"cause the Task to throw a :exc:`CancelledError` exception into the wrapped "
@ -832,7 +840,7 @@ msgstr ""
"`CancelledError` dans la coroutine encapsulée. Si la coroutine attendait un "
"*futur* au moment de l'annulation, celui-ci est annulé."
#: ../Doc/library/asyncio-task.rst:696
#: ../Doc/library/asyncio-task.rst:700
msgid ""
":meth:`cancelled` can be used to check if the Task was cancelled. The method "
"returns ``True`` if the wrapped coroutine did not suppress the :exc:"
@ -842,7 +850,7 @@ msgstr ""
"Elle renvoie ``True`` si la coroutine encapsulée n'a pas ignoré l'exception :"
"exc:`CancelledError` et a bien été annulée."
#: ../Doc/library/asyncio-task.rst:701
#: ../Doc/library/asyncio-task.rst:705
msgid ""
":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except :"
"meth:`Future.set_result` and :meth:`Future.set_exception`."
@ -850,7 +858,7 @@ msgstr ""
":class:`asyncio.Task` hérite de :class:`Future`, de toute son API, à "
"l'exception de :meth:`Future.set_result` et de :meth:`Future.set_exception`."
#: ../Doc/library/asyncio-task.rst:705
#: ../Doc/library/asyncio-task.rst:709
msgid ""
"Tasks support the :mod:`contextvars` module. When a Task is created it "
"copies the current context and later runs its coroutine in the copied "
@ -860,15 +868,15 @@ msgstr ""
"tâche effectue une copie du contexte actuel et exécutera ses coroutines dans "
"cette copie."
#: ../Doc/library/asyncio-task.rst:709
#: ../Doc/library/asyncio-task.rst:713
msgid "Added support for the :mod:`contextvars` module."
msgstr "Ajout du support du module :mod:`contextvars`."
#: ../Doc/library/asyncio-task.rst:720
#: ../Doc/library/asyncio-task.rst:724
msgid "Request the Task to be cancelled."
msgstr "Demande l'annulation d'une tâche."
#: ../Doc/library/asyncio-task.rst:722
#: ../Doc/library/asyncio-task.rst:726
msgid ""
"This arranges for a :exc:`CancelledError` exception to be thrown into the "
"wrapped coroutine on the next cycle of the event loop."
@ -877,7 +885,7 @@ msgstr ""
"encapsulée. L'exception sera levée au prochain cycle de la boucle "
"d'exécution."
#: ../Doc/library/asyncio-task.rst:725
#: ../Doc/library/asyncio-task.rst:729
msgid ""
"The coroutine then has a chance to clean up or even deny the request by "
"suppressing the exception with a :keyword:`try` ... ... ``except "
@ -893,7 +901,7 @@ msgstr ""
"annulée, bien qu'ignorer totalement une annulation ne soit ni une pratique "
"courante, ni encouragé."
#: ../Doc/library/asyncio-task.rst:735
#: ../Doc/library/asyncio-task.rst:739
msgid ""
"The following example illustrates how coroutines can intercept the "
"cancellation request::"
@ -901,11 +909,11 @@ msgstr ""
"L'exemple ci-dessous illustre comment une coroutine peut intercepter une "
"requête d'annulation ::"
#: ../Doc/library/asyncio-task.rst:774
#: ../Doc/library/asyncio-task.rst:778
msgid "Return ``True`` if the Task is *cancelled*."
msgstr "Renvoie ``True`` si la tâche est *annulée*."
#: ../Doc/library/asyncio-task.rst:776
#: ../Doc/library/asyncio-task.rst:780
msgid ""
"The Task is *cancelled* when the cancellation was requested with :meth:"
"`cancel` and the wrapped coroutine propagated the :exc:`CancelledError` "
@ -915,11 +923,11 @@ msgstr ""
"et la coroutine encapsulée a propagé l'exception :exc:`CancelledError` qui a "
"été levée en son sein."
#: ../Doc/library/asyncio-task.rst:782
#: ../Doc/library/asyncio-task.rst:786
msgid "Return ``True`` if the Task is *done*."
msgstr "Renvoie ``True`` si la tâche est *achevée*."
#: ../Doc/library/asyncio-task.rst:784
#: ../Doc/library/asyncio-task.rst:788
msgid ""
"A Task is *done* when the wrapped coroutine either returned a value, raised "
"an exception, or the Task was cancelled."
@ -927,11 +935,11 @@ msgstr ""
"Une tâche est dite *achevée* quand la coroutine encapsulée a soit renvoyé "
"une valeur, soit levé une exception, ou que la tâche a été annulée."
#: ../Doc/library/asyncio-task.rst:789
#: ../Doc/library/asyncio-task.rst:793
msgid "Return the result of the Task."
msgstr "Renvoie le résultat de la tâche."
#: ../Doc/library/asyncio-task.rst:791
#: ../Doc/library/asyncio-task.rst:795
msgid ""
"If the Task is *done*, the result of the wrapped coroutine is returned (or "
"if the coroutine raised an exception, that exception is re-raised.)"
@ -940,7 +948,7 @@ msgstr ""
"renvoyé (sinon, dans le cas où la coroutine a levé une exception, cette "
"exception est de nouveau levée)."
#: ../Doc/library/asyncio-task.rst:795 ../Doc/library/asyncio-task.rst:809
#: ../Doc/library/asyncio-task.rst:799 ../Doc/library/asyncio-task.rst:813
msgid ""
"If the Task has been *cancelled*, this method raises a :exc:`CancelledError` "
"exception."
@ -948,7 +956,7 @@ msgstr ""
"Si la tâche a été *annulée*, cette méthode lève une exception :exc:"
"`CancelledError`."
#: ../Doc/library/asyncio-task.rst:798
#: ../Doc/library/asyncio-task.rst:802
msgid ""
"If the Task's result isn't yet available, this method raises a :exc:"
"`InvalidStateError` exception."
@ -956,11 +964,11 @@ msgstr ""
"Si le résultat de la tâche n'est pas encore disponible, cette méthode lève "
"une exception :exc:`InvalidStateError`."
#: ../Doc/library/asyncio-task.rst:803
#: ../Doc/library/asyncio-task.rst:807
msgid "Return the exception of the Task."
msgstr "Renvoie l'exception de la tâche."
#: ../Doc/library/asyncio-task.rst:805
#: ../Doc/library/asyncio-task.rst:809
msgid ""
"If the wrapped coroutine raised an exception that exception is returned. If "
"the wrapped coroutine returned normally this method returns ``None``."
@ -968,7 +976,7 @@ msgstr ""
"Si la coroutine encapsulée lève une exception, cette exception est renvoyée. "
"Si la coroutine s'est exécutée normalement, cette méthode renvoie ``None``."
#: ../Doc/library/asyncio-task.rst:812
#: ../Doc/library/asyncio-task.rst:816
msgid ""
"If the Task isn't *done* yet, this method raises an :exc:`InvalidStateError` "
"exception."
@ -976,30 +984,30 @@ msgstr ""
"Si la tâche n'est pas encore *achevée*, cette méthode lève une exception :"
"exc:`InvalidStateError`."
#: ../Doc/library/asyncio-task.rst:817
#: ../Doc/library/asyncio-task.rst:821
msgid "Add a callback to be run when the Task is *done*."
msgstr ""
"Ajoute une fonction de rappel qui sera exécutée quand la tâche sera "
"*achevée*."
#: ../Doc/library/asyncio-task.rst:819 ../Doc/library/asyncio-task.rst:828
#: ../Doc/library/asyncio-task.rst:823 ../Doc/library/asyncio-task.rst:832
msgid "This method should only be used in low-level callback-based code."
msgstr ""
"Cette méthode ne doit être utilisée que dans du code basé sur les fonctions "
"de rappel de bas-niveau."
#: ../Doc/library/asyncio-task.rst:821
#: ../Doc/library/asyncio-task.rst:825
msgid ""
"See the documentation of :meth:`Future.add_done_callback` for more details."
msgstr ""
"Se référer à la documentation de :meth:`Future.add_done_callback` pour plus "
"de détails."
#: ../Doc/library/asyncio-task.rst:826
#: ../Doc/library/asyncio-task.rst:830
msgid "Remove *callback* from the callbacks list."
msgstr "Retire *callback* de la liste de fonctions de rappel."
#: ../Doc/library/asyncio-task.rst:830
#: ../Doc/library/asyncio-task.rst:834
msgid ""
"See the documentation of :meth:`Future.remove_done_callback` for more "
"details."
@ -1007,11 +1015,11 @@ msgstr ""
"Se référer à la documentation de :meth:`Future.remove_done_callback` pour "
"plus de détails."
#: ../Doc/library/asyncio-task.rst:835
#: ../Doc/library/asyncio-task.rst:839
msgid "Return the list of stack frames for this Task."
msgstr "Renvoie une liste représentant la pile d'appels de la tâche."
#: ../Doc/library/asyncio-task.rst:837
#: ../Doc/library/asyncio-task.rst:841
msgid ""
"If the wrapped coroutine is not done, this returns the stack where it is "
"suspended. If the coroutine has completed successfully or was cancelled, "
@ -1024,15 +1032,15 @@ msgstr ""
"renvoie une liste vide. Si la coroutine a été terminée par une exception, "
"ceci renvoie la pile d'erreurs."
#: ../Doc/library/asyncio-task.rst:843
#: ../Doc/library/asyncio-task.rst:847
msgid "The frames are always ordered from oldest to newest."
msgstr "La pile est toujours affichée de l'appelant à l'appelé."
#: ../Doc/library/asyncio-task.rst:845
#: ../Doc/library/asyncio-task.rst:849
msgid "Only one stack frame is returned for a suspended coroutine."
msgstr "Une seule ligne est renvoyée si la coroutine est suspendue."
#: ../Doc/library/asyncio-task.rst:847
#: ../Doc/library/asyncio-task.rst:851
msgid ""
"The optional *limit* argument sets the maximum number of frames to return; "
"by default all available frames are returned. The ordering of the returned "
@ -1046,11 +1054,11 @@ msgstr ""
"renvoyés, si la pile est une pile d'erreurs, ce sont les appels les plus "
"anciens qui le sont (dans un souci de cohérence avec le module *traceback*)."
#: ../Doc/library/asyncio-task.rst:856
#: ../Doc/library/asyncio-task.rst:860
msgid "Print the stack or traceback for this Task."
msgstr "Affiche la pile d'appels ou d'erreurs de la tâche."
#: ../Doc/library/asyncio-task.rst:858
#: ../Doc/library/asyncio-task.rst:862
msgid ""
"This produces output similar to that of the traceback module for the frames "
"retrieved by :meth:`get_stack`."
@ -1058,11 +1066,11 @@ msgstr ""
"Le format de sortie des appels produits par :meth:`get_stack` est similaire "
"à celui du module *traceback*. "
#: ../Doc/library/asyncio-task.rst:861
#: ../Doc/library/asyncio-task.rst:865
msgid "The *limit* argument is passed to :meth:`get_stack` directly."
msgstr "Le paramètre *limit* est directement passé à :meth:`get_stack`."
#: ../Doc/library/asyncio-task.rst:863
#: ../Doc/library/asyncio-task.rst:867
msgid ""
"The *file* argument is an I/O stream to which the output is written; by "
"default output is written to :data:`sys.stderr`."
@ -1070,43 +1078,43 @@ msgstr ""
"Le paramètre *file* est un flux d'entrées-sorties sur lequel le résultat est "
"écrit ; par défaut, :data:`sys.stderr`."
#: ../Doc/library/asyncio-task.rst:868
#: ../Doc/library/asyncio-task.rst:872
#, fuzzy
msgid "Return the coroutine object wrapped by the :class:`Task`."
msgstr "Renvoie l'exception de la tâche."
#: ../Doc/library/asyncio-task.rst:874
#: ../Doc/library/asyncio-task.rst:878
#, fuzzy
msgid "Return the name of the Task."
msgstr "Renvoie le résultat de la tâche."
#: ../Doc/library/asyncio-task.rst:876
#: ../Doc/library/asyncio-task.rst:880
msgid ""
"If no name has been explicitly assigned to the Task, the default asyncio "
"Task implementation generates a default name during instantiation."
msgstr ""
#: ../Doc/library/asyncio-task.rst:884
#: ../Doc/library/asyncio-task.rst:888
#, fuzzy
msgid "Set the name of the Task."
msgstr "Renvoie le résultat de la tâche."
#: ../Doc/library/asyncio-task.rst:886
#: ../Doc/library/asyncio-task.rst:890
msgid ""
"The *value* argument can be any object, which is then converted to a string."
msgstr ""
#: ../Doc/library/asyncio-task.rst:889
#: ../Doc/library/asyncio-task.rst:893
msgid ""
"In the default Task implementation, the name will be visible in the :func:"
"`repr` output of a task object."
msgstr ""
#: ../Doc/library/asyncio-task.rst:896
#: ../Doc/library/asyncio-task.rst:900
msgid "Return a set of all tasks for an event loop."
msgstr "Renvoie l'ensemble des tâches d'une boucle d'évènements."
#: ../Doc/library/asyncio-task.rst:898
#: ../Doc/library/asyncio-task.rst:902
msgid ""
"By default all tasks for the current event loop are returned. If *loop* is "
"``None``, the :func:`get_event_loop` function is used to get the current "
@ -1116,7 +1124,7 @@ msgstr ""
"renvoyées. Si *loop* vaut ``None``, la fonction :func:`get_event_loop` est "
"appelée pour récupérer la boucle d'exécution actuelle."
#: ../Doc/library/asyncio-task.rst:904
#: ../Doc/library/asyncio-task.rst:908
#, fuzzy
msgid ""
"Do not call this as a task method. Use the :func:`asyncio.all_tasks` "
@ -1125,11 +1133,11 @@ msgstr ""
"Cette méthode est **obsolète** et sera supprimée en Python 3.9. Utilisez la "
"fonction :func:`asyncio.all_tasks` à la place."
#: ../Doc/library/asyncio-task.rst:909
#: ../Doc/library/asyncio-task.rst:913
msgid "Return the currently running task or ``None``."
msgstr "Renvoie la tâche en cours d'exécution ou ``None``."
#: ../Doc/library/asyncio-task.rst:911
#: ../Doc/library/asyncio-task.rst:915
msgid ""
"If *loop* is ``None``, the :func:`get_event_loop` function is used to get "
"the current loop."
@ -1137,7 +1145,7 @@ msgstr ""
"Si *loop* vaut ``None``, la fonction :func:`get_event_loop` est utilisée "
"pour récupérer la boucle d'exécution actuelle."
#: ../Doc/library/asyncio-task.rst:916
#: ../Doc/library/asyncio-task.rst:920
#, fuzzy
msgid ""
"Do not call this as a task method. Use the :func:`asyncio.current_task` "
@ -1146,11 +1154,11 @@ msgstr ""
"Cette méthode est **obsolète** et sera supprimée en Python 3.9. Utilisez la "
"fonction :func:`asyncio.current_task` à la place."
#: ../Doc/library/asyncio-task.rst:923
#: ../Doc/library/asyncio-task.rst:927
msgid "Generator-based Coroutines"
msgstr "Coroutines basées sur des générateurs"
#: ../Doc/library/asyncio-task.rst:927
#: ../Doc/library/asyncio-task.rst:931
msgid ""
"Support for generator-based coroutines is **deprecated** and is scheduled "
"for removal in Python 3.10."
@ -1158,7 +1166,7 @@ msgstr ""
"Les coroutines basées sur des générateurs sont **obsolètes** et il est prévu "
"de les supprimer en Python 3.10."
#: ../Doc/library/asyncio-task.rst:930
#: ../Doc/library/asyncio-task.rst:934
msgid ""
"Generator-based coroutines predate async/await syntax. They are Python "
"generators that use ``yield from`` expressions to await on Futures and other "
@ -1168,7 +1176,7 @@ msgstr ""
"*async* / *await*. Il existe des générateurs Python qui utilisent les "
"expressions ``yield from`` pour attendre des *futurs* et autres coroutines."
#: ../Doc/library/asyncio-task.rst:934
#: ../Doc/library/asyncio-task.rst:938
msgid ""
"Generator-based coroutines should be decorated with :func:`@asyncio."
"coroutine <asyncio.coroutine>`, although this is not enforced."
@ -1177,11 +1185,11 @@ msgstr ""
"`@asyncio.coroutine <asyncio.coroutine>`, même si ce n'est pas vérifié par "
"l'interpréteur."
#: ../Doc/library/asyncio-task.rst:941
#: ../Doc/library/asyncio-task.rst:945
msgid "Decorator to mark generator-based coroutines."
msgstr "Décorateur pour coroutines basées sur des générateurs."
#: ../Doc/library/asyncio-task.rst:943
#: ../Doc/library/asyncio-task.rst:947
msgid ""
"This decorator enables legacy generator-based coroutines to be compatible "
"with async/await code::"
@ -1189,21 +1197,21 @@ msgstr ""
"Ce décorateur rend compatibles les coroutines basées sur des générateurs "
"avec le code *async* / *await* ::"
#: ../Doc/library/asyncio-task.rst:953
#: ../Doc/library/asyncio-task.rst:957
msgid "This decorator should not be used for :keyword:`async def` coroutines."
msgstr ""
"Ce décorateur ne doit pas être utilisé avec des coroutines :keyword:`async "
"def`."
#: ../Doc/library/asyncio-task.rst:958
#: ../Doc/library/asyncio-task.rst:962
msgid "Use :keyword:`async def` instead."
msgstr ""
#: ../Doc/library/asyncio-task.rst:962
#: ../Doc/library/asyncio-task.rst:966
msgid "Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`."
msgstr "Renvoie ``True`` si *obj* est un :ref:`objet coroutine <coroutine>`."
#: ../Doc/library/asyncio-task.rst:964
#: ../Doc/library/asyncio-task.rst:968
msgid ""
"This method is different from :func:`inspect.iscoroutine` because it returns "
"``True`` for generator-based coroutines."
@ -1211,12 +1219,12 @@ msgstr ""
"Cette méthode est différente de :func:`inspect.iscoroutine` car elle renvoie "
"``True`` pour des coroutines basées sur des générateurs."
#: ../Doc/library/asyncio-task.rst:969
#: ../Doc/library/asyncio-task.rst:973
msgid "Return ``True`` if *func* is a :ref:`coroutine function <coroutine>`."
msgstr ""
"Renvoie ``True`` si *func* est une :ref:`fonction coroutine <coroutine>`."
#: ../Doc/library/asyncio-task.rst:972
#: ../Doc/library/asyncio-task.rst:976
msgid ""
"This method is different from :func:`inspect.iscoroutinefunction` because it "
"returns ``True`` for generator-based coroutine functions decorated with :"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-03 13:15+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-12-16 16:19+0100\n"
"Last-Translator: Antoine Wecxsteen\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -135,8 +135,10 @@ msgstr ""
msgid "Reference"
msgstr "Sommaire"
#~ msgid "**Source code:** :source:`Lib/asyncio/`"
#~ msgstr "**Code source :** :source:`Lib/asyncio/`"
#: ../Doc/library/asyncio.rst:96
#, fuzzy
msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`."
msgstr "**Code source :** :source:`Lib/asyncio/`"
#~ msgid ""
#~ "This module provides infrastructure for writing single-threaded "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-07-29 19:07+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -153,8 +153,8 @@ msgstr ""
#: ../Doc/library/ctypes.rst:155
msgid ""
"This example calls both functions with a NULL pointer (``None`` should be "
"used as the NULL pointer)::"
"This example calls both functions with a ``NULL`` pointer (``None`` should "
"be used as the ``NULL`` pointer)::"
msgstr ""
#: ../Doc/library/ctypes.rst:166
@ -1029,7 +1029,7 @@ msgstr ""
#: ../Doc/library/ctypes.rst:1085
msgid ""
"This pointer is initialized to point to an array of :c:type:`struct _frozen` "
"records, terminated by one whose members are all *NULL* or zero. When a "
"records, terminated by one whose members are all ``NULL`` or zero. When a "
"frozen module is imported, it is searched in this table. Third-party code "
"could play tricks with this to provide a dynamically created collection of "
"frozen modules."
@ -1053,7 +1053,7 @@ msgid ""
"we can iterate over it, but we just have to make sure that our loop "
"terminates, because pointers have no size. Sooner or later it would probably "
"crash with an access violation or whatever, so it's better to break out of "
"the loop when we hit the NULL entry::"
"the loop when we hit the ``NULL`` entry::"
msgstr ""
#: ../Doc/library/ctypes.rst:1127

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-12-24 14:53+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -287,8 +287,9 @@ msgstr ""
"comportement est un hachage basé sur les id)."
#: ../Doc/library/dataclasses.rst:156
#, fuzzy
msgid ""
"``frozen``: If true (the default is False), assigning to fields will "
"``frozen``: If true (the default is ``False``), assigning to fields will "
"generate an exception. This emulates read-only frozen instances. If :meth:"
"`__setattr__` or :meth:`__delattr__` is defined in the class, then :exc:"
"`TypeError` is raised. See the discussion below."
@ -551,8 +552,8 @@ msgstr ""
#: ../Doc/library/dataclasses.rst:389
msgid ""
"Returns True if its parameter is a dataclass or an instance of one, "
"otherwise returns False."
"Return ``True`` if its parameter is a dataclass or an instance of one, "
"otherwise return ``False``."
msgstr ""
#: ../Doc/library/dataclasses.rst:392

View File

@ -5,14 +5,14 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-10-31 11:32+0100\n"
"Last-Translator: Cléo Buck <cleo.buck@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: Cléo Buck <cleo.buck@gmail.com>\n"
"X-Generator: Poedit 2.0.6\n"
#: ../Doc/library/debug.rst:3

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -388,15 +388,15 @@ msgstr ""
#: ../Doc/library/difflib.rst:341
msgid ""
"Return true for ignorable lines. The line *line* is ignorable if *line* is "
"blank or contains a single ``'#'``, otherwise it is not ignorable. Used as "
"a default for parameter *linejunk* in :func:`ndiff` in older versions."
"Return ``True`` for ignorable lines. The line *line* is ignorable if *line* "
"is blank or contains a single ``'#'``, otherwise it is not ignorable. Used "
"as a default for parameter *linejunk* in :func:`ndiff` in older versions."
msgstr ""
#: ../Doc/library/difflib.rst:348
msgid ""
"Return true for ignorable characters. The character *ch* is ignorable if "
"*ch* is a space or tab, otherwise it is not ignorable. Used as a default "
"Return ``True`` for ignorable characters. The character *ch* is ignorable "
"if *ch* is a space or tab, otherwise it is not ignorable. Used as a default "
"for parameter *charjunk* in :func:`ndiff`."
msgstr ""
@ -426,7 +426,7 @@ msgid ""
"Optional argument *isjunk* must be ``None`` (the default) or a one-argument "
"function that takes a sequence element and returns true if and only if the "
"element is \"junk\" and should be ignored. Passing ``None`` for *isjunk* is "
"equivalent to passing ``lambda x: 0``; in other words, no elements are "
"equivalent to passing ``lambda x: False``; in other words, no elements are "
"ignored. For example, pass::"
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1710,8 +1710,8 @@ msgid ""
"A class used to check the whether the actual output from a doctest example "
"matches the expected output. :class:`OutputChecker` defines two methods: :"
"meth:`check_output`, which compares a given pair of outputs, and returns "
"true if they match; and :meth:`output_difference`, which returns a string "
"describing the differences between two outputs."
"``True`` if they match; and :meth:`output_difference`, which returns a "
"string describing the differences between two outputs."
msgstr ""
#: ../Doc/library/doctest.rst:1537

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 22:10+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -361,9 +361,9 @@ msgstr ""
#: ../Doc/library/email.compat32-message.rst:311
msgid ""
"Return true if the message object has a field named *name*. Matching is done "
"case-insensitively and *name* should not include the trailing colon. Used "
"for the ``in`` operator, e.g.::"
"Return ``True`` if the message object has a field named *name*. Matching is "
"done case-insensitively and *name* should not include the trailing colon. "
"Used for the ``in`` operator, e.g.::"
msgstr ""
#: ../Doc/library/email.compat32-message.rst:321

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-17 10:39+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -143,7 +143,8 @@ msgid ""
":class:`MultipartInvariantViolationDefect` -- A message claimed to be a :"
"mimetype:`multipart`, but no subparts were found. Note that when a message "
"has this defect, its :meth:`~email.message.Message.is_multipart` method may "
"return false even though its content type claims to be :mimetype:`multipart`."
"return ``False`` even though its content type claims to be :mimetype:"
"`multipart`."
msgstr ""
#: ../Doc/library/email.errors.rst:104

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -222,9 +222,9 @@ msgstr ""
#: ../Doc/library/email.message.rst:181
msgid ""
"Return true if the message object has a field named *name*. Matching is done "
"without regard to case and *name* does not include the trailing colon. Used "
"for the ``in`` operator. For example::"
"Return ``True`` if the message object has a field named *name*. Matching is "
"done without regard to case and *name* does not include the trailing colon. "
"Used for the ``in`` operator. For example::"
msgstr ""
#: ../Doc/library/email.message.rst:191

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-17 21:38+0100\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -132,8 +132,8 @@ msgid ""
"directly to :func:`time.mktime`, and the tenth is the offset of the date's "
"timezone from UTC (which is the official term for Greenwich Mean Time) "
"[#]_. If the input string has no timezone, the last element of the tuple "
"returned is ``None``. Note that indexes 6, 7, and 8 of the result tuple are "
"not usable."
"returned is ``0``, which represents UTC. Note that indexes 6, 7, and 8 of "
"the result tuple are not usable."
msgstr ""
#: ../Doc/library/email.utils.rst:126

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -145,14 +145,14 @@ msgstr ""
#: ../Doc/library/fileinput.rst:112
msgid ""
"Returns true if the line just read is the first line of its file, otherwise "
"returns false."
"Return ``True`` if the line just read is the first line of its file, "
"otherwise return ``False``."
msgstr ""
#: ../Doc/library/fileinput.rst:118
msgid ""
"Returns true if the last line was read from ``sys.stdin``, otherwise returns "
"false."
"Return ``True`` if the last line was read from ``sys.stdin``, otherwise "
"return ``False``."
msgstr ""
#: ../Doc/library/fileinput.rst:124

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-06-01 23:07+0200\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -513,12 +513,13 @@ msgstr ""
"Voir aussi :ref:`binaryseq`, :ref:`typebytes`, et :ref:`bytes-methods`."
#: ../Doc/library/functions.rst:183
#, fuzzy
msgid ""
"Return :const:`True` if the *object* argument appears callable, :const:"
"`False` if not. If this returns true, it is still possible that a call "
"fails, but if it is false, calling *object* will never succeed. Note that "
"classes are callable (calling a class returns a new instance); instances are "
"callable if their class has a :meth:`__call__` method."
"`False` if not. If this returns ``True``, it is still possible that a call "
"fails, but if it is ``False``, calling *object* will never succeed. Note "
"that classes are callable (calling a class returns a new instance); "
"instances are callable if their class has a :meth:`__call__` method."
msgstr ""
"Donne :const:`True` si l'argument *object* semble être appelable, sinon :"
"const:`False`. Lorsqu'elle donne vrai, il reste une éventualité pour qu'un "
@ -1593,14 +1594,15 @@ msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined."
msgstr ""
#: ../Doc/library/functions.rst:841
#, fuzzy
msgid ""
"Return true if the *object* argument is an instance of the *classinfo* "
"Return ``True`` if the *object* argument is an instance of the *classinfo* "
"argument, or of a (direct, indirect or :term:`virtual <abstract base "
"class>`) subclass thereof. If *object* is not an object of the given type, "
"the function always returns false. If *classinfo* is a tuple of type objects "
"(or recursively, other such tuples), return true if *object* is an instance "
"of any of the types. If *classinfo* is not a type or tuple of types and such "
"tuples, a :exc:`TypeError` exception is raised."
"the function always returns ``False``. If *classinfo* is a tuple of type "
"objects (or recursively, other such tuples), return ``True`` if *object* is "
"an instance of any of the types. If *classinfo* is not a type or tuple of "
"types and such tuples, a :exc:`TypeError` exception is raised."
msgstr ""
"Donne ``True`` si *object* est une instance de *classinfo*, ou d'une de ses "
"classes filles, directe, indirecte, ou :term:`virtuelle <abstract base "
@ -1612,8 +1614,9 @@ msgstr ""
"levée."
#: ../Doc/library/functions.rst:853
#, fuzzy
msgid ""
"Return true if *class* is a subclass (direct, indirect or :term:`virtual "
"Return ``True`` if *class* is a subclass (direct, indirect or :term:`virtual "
"<abstract base class>`) of *classinfo*. A class is considered a subclass of "
"itself. *classinfo* may be a tuple of class objects, in which case every "
"entry in *classinfo* will be checked. In any other case, a :exc:`TypeError` "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -45,7 +45,7 @@ msgid "Disable automatic garbage collection."
msgstr ""
#: ../Doc/library/gc.rst:38
msgid "Returns true if automatic collection is enabled."
msgid "Return ``True`` if automatic collection is enabled."
msgstr ""
#: ../Doc/library/gc.rst:43
@ -222,7 +222,7 @@ msgid ""
"A list of objects which the collector found to be unreachable but could not "
"be freed (uncollectable objects). Starting with Python 3.4, this list "
"should be empty most of the time, except when using instances of C extension "
"types with a non-NULL ``tp_del`` slot."
"types with a non-``NULL`` ``tp_del`` slot."
msgstr ""
#: ../Doc/library/gc.rst:217

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -31,21 +31,25 @@ msgid ""
"Return a new hmac object. *key* is a bytes or bytearray object giving the "
"secret key. If *msg* is present, the method call ``update(msg)`` is made. "
"*digestmod* is the digest name, digest constructor or module for the HMAC "
"object to use. It supports any name suitable to :func:`hashlib.new`."
"object to use. It may be any name suitable to :func:`hashlib.new`. Despite "
"its argument position, it is required."
msgstr ""
#: ../Doc/library/hmac.rst:24
#: ../Doc/library/hmac.rst:25
msgid ""
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
"name of a hash algorithm."
msgstr ""
#: ../Doc/library/hmac.rst:30
msgid "MD5 as implicit default digest for *digestmod* is deprecated."
#: ../Doc/library/hmac.rst:33
msgid ""
"MD5 as implicit default digest for *digestmod* is deprecated. The digestmod "
"parameter is now required. Pass it as a keyword argument to avoid "
"awkwardness when you do not have an initial msg."
msgstr ""
#: ../Doc/library/hmac.rst:35
#: ../Doc/library/hmac.rst:38
msgid ""
"Return digest of *msg* for given secret *key* and *digest*. The function is "
"equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C "
@ -54,29 +58,29 @@ msgid ""
"`~hmac.new`."
msgstr ""
#: ../Doc/library/hmac.rst:41
#: ../Doc/library/hmac.rst:44
msgid ""
"CPython implementation detail, the optimized C implementation is only used "
"when *digest* is a string and name of a digest algorithm, which is supported "
"by OpenSSL."
msgstr ""
#: ../Doc/library/hmac.rst:48
#: ../Doc/library/hmac.rst:51
msgid "An HMAC object has the following methods:"
msgstr ""
#: ../Doc/library/hmac.rst:52
#: ../Doc/library/hmac.rst:55
msgid ""
"Update the hmac object with *msg*. Repeated calls are equivalent to a "
"single call with the concatenation of all the arguments: ``m.update(a); m."
"update(b)`` is equivalent to ``m.update(a + b)``."
msgstr ""
#: ../Doc/library/hmac.rst:56
#: ../Doc/library/hmac.rst:59
msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`."
msgstr ""
#: ../Doc/library/hmac.rst:62
#: ../Doc/library/hmac.rst:65
msgid ""
"Return the digest of the bytes passed to the :meth:`update` method so far. "
"This bytes object will be the same length as the *digest_size* of the digest "
@ -84,7 +88,7 @@ msgid ""
"bytes."
msgstr ""
#: ../Doc/library/hmac.rst:69
#: ../Doc/library/hmac.rst:72
msgid ""
"When comparing the output of :meth:`digest` to an externally-supplied digest "
"during a verification routine, it is recommended to use the :func:"
@ -92,14 +96,14 @@ msgid ""
"vulnerability to timing attacks."
msgstr ""
#: ../Doc/library/hmac.rst:77
#: ../Doc/library/hmac.rst:80
msgid ""
"Like :meth:`digest` except the digest is returned as a string twice the "
"length containing only hexadecimal digits. This may be used to exchange the "
"value safely in email or other non-binary environments."
msgstr ""
#: ../Doc/library/hmac.rst:83
#: ../Doc/library/hmac.rst:86
msgid ""
"When comparing the output of :meth:`hexdigest` to an externally-supplied "
"digest during a verification routine, it is recommended to use the :func:"
@ -107,34 +111,34 @@ msgid ""
"vulnerability to timing attacks."
msgstr ""
#: ../Doc/library/hmac.rst:91
#: ../Doc/library/hmac.rst:94
msgid ""
"Return a copy (\"clone\") of the hmac object. This can be used to "
"efficiently compute the digests of strings that share a common initial "
"substring."
msgstr ""
#: ../Doc/library/hmac.rst:95
#: ../Doc/library/hmac.rst:98
msgid "A hash object has the following attributes:"
msgstr "L'objet haché possède les attributs suivants ::"
#: ../Doc/library/hmac.rst:99
#: ../Doc/library/hmac.rst:102
msgid "The size of the resulting HMAC digest in bytes."
msgstr ""
#: ../Doc/library/hmac.rst:103
#: ../Doc/library/hmac.rst:106
msgid "The internal block size of the hash algorithm in bytes."
msgstr "La taille interne d'un bloc de l'algorithme de hachage en octets."
#: ../Doc/library/hmac.rst:109
#: ../Doc/library/hmac.rst:112
msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."
msgstr ""
#: ../Doc/library/hmac.rst:114
#: ../Doc/library/hmac.rst:117
msgid "This module also provides the following helper function:"
msgstr ""
#: ../Doc/library/hmac.rst:118
#: ../Doc/library/hmac.rst:121
msgid ""
"Return ``a == b``. This function uses an approach designed to prevent "
"timing analysis by avoiding content-based short circuiting behaviour, making "
@ -143,17 +147,17 @@ msgid ""
"hexdigest`), or a :term:`bytes-like object`."
msgstr ""
#: ../Doc/library/hmac.rst:126
#: ../Doc/library/hmac.rst:129
msgid ""
"If *a* and *b* are of different lengths, or if an error occurs, a timing "
"attack could theoretically reveal information about the types and lengths of "
"*a* and *b*—but not their values."
msgstr ""
#: ../Doc/library/hmac.rst:136
#: ../Doc/library/hmac.rst:138
msgid "Module :mod:`hashlib`"
msgstr ""
#: ../Doc/library/hmac.rst:137
#: ../Doc/library/hmac.rst:139
msgid "The Python module providing secure hash functions."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -31,8 +31,8 @@ msgstr ""
#: ../Doc/library/http.client.rst:23
msgid ""
"The `Requests package <http://docs.python-requests.org/>`_ is recommended "
"for a higher-level HTTP client interface."
"The `Requests package <https://requests.readthedocs.io/en/master/>`_ is "
"recommended for a higher-level HTTP client interface."
msgstr ""
#: ../Doc/library/http.client.rst:28

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -503,7 +503,8 @@ msgid ""
msgstr ""
#: ../Doc/library/http.cookiejar.rst:381
msgid "Return false if cookies should not be returned, given cookie domain."
msgid ""
"Return ``False`` if cookies should not be returned, given cookie domain."
msgstr ""
#: ../Doc/library/http.cookiejar.rst:383
@ -537,7 +538,7 @@ msgid "The *request* argument is as documented for :meth:`return_ok`."
msgstr ""
#: ../Doc/library/http.cookiejar.rst:405
msgid "Return false if cookies should not be returned, given cookie path."
msgid "Return ``False`` if cookies should not be returned, given cookie path."
msgstr ""
#: ../Doc/library/http.cookiejar.rst:407
@ -875,7 +876,7 @@ msgid ""
msgstr ""
#: ../Doc/library/http.cookiejar.rst:714
msgid "Return true if cookie has the named cookie-attribute."
msgid "Return ``True`` if cookie has the named cookie-attribute."
msgstr ""
#: ../Doc/library/http.cookiejar.rst:719

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-07-04 11:26+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1407,7 +1407,7 @@ msgid "The path to the source file."
msgstr ""
#: ../Doc/library/importlib.rst:1171
msgid "Return true if :attr:`path` appears to be for a package."
msgid "Return ``True`` if :attr:`path` appears to be for a package."
msgstr ""
#: ../Doc/library/importlib.rst:1175

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 23:53+0100\n"
"PO-Revision-Date: 2019-09-06 13:49+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -560,59 +560,60 @@ msgid "The function is based directly on :mod:`importlib`."
msgstr ""
#: ../Doc/library/inspect.rst:280
msgid "Return true if the object is a module."
msgid "Return ``True`` if the object is a module."
msgstr ""
#: ../Doc/library/inspect.rst:285
msgid ""
"Return true if the object is a class, whether built-in or created in Python "
"code."
"Return ``True`` if the object is a class, whether built-in or created in "
"Python code."
msgstr ""
#: ../Doc/library/inspect.rst:291
msgid "Return true if the object is a bound method written in Python."
msgid "Return ``True`` if the object is a bound method written in Python."
msgstr ""
#: ../Doc/library/inspect.rst:296
msgid ""
"Return true if the object is a Python function, which includes functions "
"Return ``True`` if the object is a Python function, which includes functions "
"created by a :term:`lambda` expression."
msgstr ""
#: ../Doc/library/inspect.rst:302
msgid "Return true if the object is a Python generator function."
msgid "Return ``True`` if the object is a Python generator function."
msgstr ""
#: ../Doc/library/inspect.rst:304
msgid ""
"Functions wrapped in :func:`functools.partial` now return true if the "
"Functions wrapped in :func:`functools.partial` now return ``True`` if the "
"wrapped function is a Python generator function."
msgstr ""
#: ../Doc/library/inspect.rst:311
msgid "Return true if the object is a generator."
msgid "Return ``True`` if the object is a generator."
msgstr ""
#: ../Doc/library/inspect.rst:316
msgid ""
"Return true if the object is a :term:`coroutine function` (a function "
"Return ``True`` if the object is a :term:`coroutine function` (a function "
"defined with an :keyword:`async def` syntax)."
msgstr ""
#: ../Doc/library/inspect.rst:321
msgid ""
"Functions wrapped in :func:`functools.partial` now return true if the "
"Functions wrapped in :func:`functools.partial` now return ``True`` if the "
"wrapped function is a :term:`coroutine function`."
msgstr ""
#: ../Doc/library/inspect.rst:328
msgid ""
"Return true if the object is a :term:`coroutine` created by an :keyword:"
"Return ``True`` if the object is a :term:`coroutine` created by an :keyword:"
"`async def` function."
msgstr ""
#: ../Doc/library/inspect.rst:336
msgid "Return true if the object can be used in :keyword:`await` expression."
msgid ""
"Return ``True`` if the object can be used in :keyword:`await` expression."
msgstr ""
#: ../Doc/library/inspect.rst:338
@ -623,51 +624,53 @@ msgstr ""
#: ../Doc/library/inspect.rst:355
msgid ""
"Return true if the object is an :term:`asynchronous generator` function, for "
"example::"
"Return ``True`` if the object is an :term:`asynchronous generator` function, "
"for example::"
msgstr ""
#: ../Doc/library/inspect.rst:366
msgid ""
"Functions wrapped in :func:`functools.partial` now return true if the "
"Functions wrapped in :func:`functools.partial` now return ``True`` if the "
"wrapped function is a :term:`asynchronous generator` function."
msgstr ""
#: ../Doc/library/inspect.rst:373
msgid ""
"Return true if the object is an :term:`asynchronous generator iterator` "
"Return ``True`` if the object is an :term:`asynchronous generator iterator` "
"created by an :term:`asynchronous generator` function."
msgstr ""
#: ../Doc/library/inspect.rst:380
msgid "Return true if the object is a traceback."
msgid "Return ``True`` if the object is a traceback."
msgstr ""
#: ../Doc/library/inspect.rst:385
msgid "Return true if the object is a frame."
msgid "Return ``True`` if the object is a frame."
msgstr ""
#: ../Doc/library/inspect.rst:390
msgid "Return true if the object is a code."
msgid "Return ``True`` if the object is a code."
msgstr ""
#: ../Doc/library/inspect.rst:395
msgid ""
"Return true if the object is a built-in function or a bound built-in method."
"Return ``True`` if the object is a built-in function or a bound built-in "
"method."
msgstr ""
#: ../Doc/library/inspect.rst:400
msgid ""
"Return true if the object is a user-defined or built-in function or method."
"Return ``True`` if the object is a user-defined or built-in function or "
"method."
msgstr ""
#: ../Doc/library/inspect.rst:405
msgid "Return true if the object is an abstract base class."
msgid "Return ``True`` if the object is an abstract base class."
msgstr ""
#: ../Doc/library/inspect.rst:410
msgid ""
"Return true if the object is a method descriptor, but not if :func:"
"Return ``True`` if the object is a method descriptor, but not if :func:"
"`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin` are "
"true."
msgstr ""
@ -683,28 +686,28 @@ msgstr ""
#: ../Doc/library/inspect.rst:420
msgid ""
"Methods implemented via descriptors that also pass one of the other tests "
"return false from the :func:`ismethoddescriptor` test, simply because the "
"other tests promise more -- you can, e.g., count on having the :attr:"
"return ``False`` from the :func:`ismethoddescriptor` test, simply because "
"the other tests promise more -- you can, e.g., count on having the :attr:"
"`__func__` attribute (etc) when an object passes :func:`ismethod`."
msgstr ""
#: ../Doc/library/inspect.rst:428
msgid "Return true if the object is a data descriptor."
msgid "Return ``True`` if the object is a data descriptor."
msgstr ""
#: ../Doc/library/inspect.rst:430
msgid ""
"Data descriptors have both a :attr:`~object.__get__` and a :attr:`~object."
"__set__` method. Examples are properties (defined in Python), getsets, and "
"members. The latter two are defined in C and there are more specific tests "
"available for those types, which is robust across Python implementations. "
"Typically, data descriptors will also have :attr:`~definition.__name__` and :"
"attr:`__doc__` attributes (properties, getsets, and members have both of "
"these attributes), but this is not guaranteed."
"Data descriptors have a :attr:`~object.__set__` or a :attr:`~object."
"__delete__` method. Examples are properties (defined in Python), getsets, "
"and members. The latter two are defined in C and there are more specific "
"tests available for those types, which is robust across Python "
"implementations. Typically, data descriptors will also have :attr:"
"`~definition.__name__` and :attr:`__doc__` attributes (properties, getsets, "
"and members have both of these attributes), but this is not guaranteed."
msgstr ""
#: ../Doc/library/inspect.rst:441
msgid "Return true if the object is a getset descriptor."
msgid "Return ``True`` if the object is a getset descriptor."
msgstr ""
#: ../Doc/library/inspect.rst:445
@ -715,7 +718,7 @@ msgid ""
msgstr ""
#: ../Doc/library/inspect.rst:452
msgid "Return true if the object is a member descriptor."
msgid "Return ``True`` if the object is a member descriptor."
msgstr ""
#: ../Doc/library/inspect.rst:456

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -571,11 +571,11 @@ msgid ""
msgstr ""
#: ../Doc/library/ipaddress.rst:560
msgid "Returns *True* if this network is a subnet of *other*."
msgid "Return ``True`` if this network is a subnet of *other*."
msgstr ""
#: ../Doc/library/ipaddress.rst:571
msgid "Returns *True* if this network is a supernet of *other*."
msgid "Return ``True`` if this network is a supernet of *other*."
msgstr ""
#: ../Doc/library/ipaddress.rst:582

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2017-10-19 08:07+0100\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -31,7 +31,8 @@ msgstr ""
"représente un mot-clé."
#: ../Doc/library/keyword.rst:16
msgid "Return true if *s* is a Python keyword."
#, fuzzy
msgid "Return ``True`` if *s* is a Python keyword."
msgstr "Renvoie vrai si *s* est un mot-clé Python."
#: ../Doc/library/keyword.rst:21

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1212,8 +1212,8 @@ msgstr ""
#: ../Doc/library/logging.handlers.rst:849
msgid ""
"Appends the record to the buffer. If :meth:`shouldFlush` returns true, "
"calls :meth:`flush` to process the buffer."
"Append the record to the buffer. If :meth:`shouldFlush` returns true, call :"
"meth:`flush` to process the buffer."
msgstr ""
#: ../Doc/library/logging.handlers.rst:855
@ -1224,8 +1224,8 @@ msgstr ""
#: ../Doc/library/logging.handlers.rst:861
msgid ""
"Returns true if the buffer is up to capacity. This method can be overridden "
"to implement custom flushing strategies."
"Return ``True`` if the buffer is up to capacity. This method can be "
"overridden to implement custom flushing strategies."
msgstr ""
#: ../Doc/library/logging.handlers.rst:867

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-07-05 11:54+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -399,11 +399,11 @@ msgstr ""
#: ../Doc/library/logging.rst:297
msgid ""
"Applies this logger's filters to the record and returns a true value if the "
"record is to be processed. The filters are consulted in turn, until one of "
"them returns a false value. If none of them return a false value, the record "
"will be processed (passed to handlers). If one returns a false value, no "
"further processing of the record occurs."
"Apply this logger's filters to the record and return ``True`` if the record "
"is to be processed. The filters are consulted in turn, until one of them "
"returns a false value. If none of them return a false value, the record will "
"be processed (passed to handlers). If one returns a false value, no further "
"processing of the record occurs."
msgstr ""
#: ../Doc/library/logging.rst:306
@ -594,10 +594,10 @@ msgstr ""
#: ../Doc/library/logging.rst:450
msgid ""
"Applies this handler's filters to the record and returns a true value if the "
"record is to be processed. The filters are consulted in turn, until one of "
"them returns a false value. If none of them return a false value, the record "
"will be emitted. If one returns a false value, the handler will not emit the "
"Apply this handler's filters to the record and return ``True`` if the record "
"is to be processed. The filters are consulted in turn, until one of them "
"returns a false value. If none of them return a false value, the record will "
"be emitted. If one returns a false value, the handler will not emit the "
"record."
msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-10 00:49+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-08-14 00:17+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -456,7 +456,8 @@ msgid "Miscellaneous"
msgstr "Divers"
#: ../Doc/library/lzma.rst:316
msgid "Returns true if the given integrity check is supported on this system."
msgid ""
"Return ``True`` if the given integrity check is supported on this system."
msgstr ""
#: ../Doc/library/lzma.rst:318

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -104,7 +104,7 @@ msgid "Console I/O"
msgstr ""
#: ../Doc/library/msvcrt.rst:95
msgid "Return true if a keypress is waiting to be read."
msgid "Return ``True`` if a keypress is waiting to be read."
msgstr ""
#: ../Doc/library/msvcrt.rst:100

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2018-07-03 10:48+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1101,16 +1101,18 @@ msgid "``\"store_true\"``"
msgstr "``\"store_true\"``"
#: ../Doc/library/optparse.rst:931
msgid "store a true value"
msgstr ""
#, fuzzy
msgid "store ``True``"
msgstr "``\"store_true\"``"
#: ../Doc/library/optparse.rst:934
msgid "``\"store_false\"``"
msgstr "``\"store_false\"``"
#: ../Doc/library/optparse.rst:934
msgid "store a false value"
msgstr ""
#, fuzzy
msgid "store ``False``"
msgstr "``\"store_false\"``"
#: ../Doc/library/optparse.rst:940
msgid "``\"append_const\"``"
@ -1356,8 +1358,8 @@ msgstr ""
#: ../Doc/library/optparse.rst:1138
msgid ""
"A special case of ``\"store_const\"`` that stores a true value to :attr:"
"`~Option.dest`."
"A special case of ``\"store_const\"`` that stores ``True`` to :attr:`~Option."
"dest`."
msgstr ""
#: ../Doc/library/optparse.rst:1141
@ -1365,7 +1367,7 @@ msgid "``\"store_false\"`` [relevant: :attr:`~Option.dest`]"
msgstr ""
#: ../Doc/library/optparse.rst:1143
msgid "Like ``\"store_true\"``, but stores a false value."
msgid "Like ``\"store_true\"``, but stores ``False``."
msgstr ""
#: ../Doc/library/optparse.rst:1150
@ -1687,8 +1689,8 @@ msgstr ""
#: ../Doc/library/optparse.rst:1399
msgid ""
"Return true if the OptionParser has an option with option string *opt_str* "
"(e.g., ``-q`` or ``--verbose``)."
"Return ``True`` if the OptionParser has an option with option string "
"*opt_str* (e.g., ``-q`` or ``--verbose``)."
msgstr ""
#: ../Doc/library/optparse.rst:1404

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-06-20 14:07+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -323,8 +323,8 @@ msgstr ""
#: ../Doc/library/parser.rst:237
msgid ""
"When *st* represents an ``'eval'`` form, this function returns true, "
"otherwise it returns false. This is useful, since code objects normally "
"When *st* represents an ``'eval'`` form, this function returns ``True``, "
"otherwise it returns ``False``. This is useful, since code objects normally "
"cannot be queried for this information using existing built-in functions. "
"Note that the code objects created by :func:`compilest` cannot be queried "
"like this either, and are identical to those created by the built-in :func:"

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -274,8 +274,8 @@ msgstr ""
#: ../Doc/library/platform.rst:229
msgid ""
"Returns True if the windows edition returned by win32_edition is recognized "
"as an IoT edition."
"Return ``True`` if the Windows edition returned by :func:`win32_edition` is "
"recognized as an IoT edition."
msgstr ""
#: ../Doc/library/platform.rst:236

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -271,8 +271,8 @@ msgstr ""
#: ../Doc/library/plistlib.rst:191
msgid ""
"It has one attribute, :attr:`data` which can be used to retrieve the int "
"value of the UID. :attr:`data` must be in the range `0 <= data <= 2**64`."
"It has one attribute, :attr:`data`, which can be used to retrieve the int "
"value of the UID. :attr:`data` must be in the range `0 <= data < 2**64`."
msgstr ""
#: ../Doc/library/plistlib.rst:197

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 22:10+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -104,7 +104,7 @@ msgid ""
msgstr ""
#: ../Doc/library/sched.rst:107
msgid "Return true if the event queue is empty."
msgid "Return ``True`` if the event queue is empty."
msgstr ""
#: ../Doc/library/sched.rst:112

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
"PO-Revision-Date: 2019-06-18 21:59+0200\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
@ -1808,9 +1808,9 @@ msgid ""
"``None`` or a :term:`bytes-like object` representing a buffer. In the later "
"case it is up to the caller to ensure that the bytestring contains the "
"proper bits (see the optional built-in module :mod:`struct` for a way to "
"encode C structures as bytestrings). When value is set to ``None``, optlen "
"argument is required. It's equivalent to call setsockopt C function with "
"optval=NULL and optlen=optlen."
"encode C structures as bytestrings). When *value* is set to ``None``, "
"*optlen* argument is required. It's equivalent to call :c:func:`setsockopt` "
"C function with ``optval=NULL`` and ``optlen=optlen``."
msgstr ""
#: ../Doc/library/socket.rst:1646

Some files were not shown because too many files have changed in this diff Show More