diff --git a/Makefile b/Makefile index 6c82fb94..454100a2 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ # from which we generated our po files. We use it here so when we # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := 760552ceb8c5f5ca4f1bf13f47543b42b25e0b83 +CPYTHON_CURRENT_COMMIT := d7cd1164c18dbf78380ce4c95bf46c7bb0ac0bb7 CPYTHON_PATH := ../cpython/ diff --git a/about.po b/about.po index bc0d7e76..abd28234 100644 --- a/about.po +++ b/about.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-23 17:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/bugs.po b/bugs.po index c7d472fe..bd3a8232 100644 --- a/bugs.po +++ b/bugs.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-10 16:04+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/c-api/abstract.po b/c-api/abstract.po index b3085e40..903aed00 100644 --- a/c-api/abstract.po +++ b/c-api/abstract.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-03 16:57+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-17 19:31+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/c-api/allocation.po b/c-api/allocation.po index a2f54a07..6571e650 100644 --- a/c-api/allocation.po +++ b/c-api/allocation.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-20 21:16+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/apiabiversion.po b/c-api/apiabiversion.po index 35ef79ea..dc75ce90 100644 --- a/c-api/apiabiversion.po +++ b/c-api/apiabiversion.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/arg.po b/c-api/arg.po index 9fb2144e..daa82c4e 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:14+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -329,10 +329,11 @@ msgid "``S`` (:class:`bytes`) [PyBytesObject \\*]" msgstr "``S`` (:class:`bytes`) [``PyBytesObject *``]" #: c-api/arg.rst:132 +#, fuzzy msgid "" "Requires that the Python object is a :class:`bytes` object, without " "attempting any conversion. Raises :exc:`TypeError` if the object is not a " -"bytes object. The C variable may also be declared as :c:type:`PyObject\\*`." +"bytes object. The C variable may also be declared as :c:type:`PyObject*`." msgstr "" "Nécessite que l'objet Python soit de type :class:`bytes`, sans avoir tenté " "de conversion. :exc:`TypeError` est levée si l'objet n'est pas un objet de " @@ -344,12 +345,17 @@ msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]" msgstr "``Y`` (:class:`bytearray`) [``PyByteArrayObject *``]" #: c-api/arg.rst:137 +#, fuzzy msgid "" "Requires that the Python object is a :class:`bytearray` object, without " "attempting any conversion. Raises :exc:`TypeError` if the object is not a :" "class:`bytearray` object. The C variable may also be declared as :c:type:" -"`PyObject\\*`." +"`PyObject*`." msgstr "" +"Nécessite que l'objet Python soit de type :class:`bytes`, sans avoir tenté " +"de conversion. :exc:`TypeError` est levée si l'objet n'est pas un objet de " +"type *bytes*. La variable C doit aussi être déclarée en tant que :c:type:" +"`PyObject\\*`." #: c-api/arg.rst:156 msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]" @@ -426,11 +432,16 @@ msgid "``U`` (:class:`str`) [PyObject \\*]" msgstr "``U`` (:class:`str`) [``PyObject *``]" #: c-api/arg.rst:184 +#, fuzzy msgid "" "Requires that the Python object is a Unicode object, without attempting any " "conversion. Raises :exc:`TypeError` if the object is not a Unicode object. " -"The C variable may also be declared as :c:type:`PyObject\\*`." +"The C variable may also be declared as :c:type:`PyObject*`." msgstr "" +"Nécessite que l'objet Python soit de type :class:`bytes`, sans avoir tenté " +"de conversion. :exc:`TypeError` est levée si l'objet n'est pas un objet de " +"type *bytes*. La variable C doit aussi être déclarée en tant que :c:type:" +"`PyObject\\*`." #: c-api/arg.rst:192 msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]" @@ -457,13 +468,12 @@ msgstr "" #: c-api/arg.rst:198 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 " +"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 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." +"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." msgstr "" #: c-api/arg.rst:206 @@ -506,10 +516,10 @@ msgstr "" #: c-api/arg.rst:221 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-" +"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 " -"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it " +"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. " "The third argument must be a pointer to an integer; the referenced integer " @@ -762,7 +772,7 @@ msgstr "``O!`` (objet) [*typeobject*, ``PyObject *``]" msgid "" "Store a Python object in a C object pointer. This is similar to ``O``, but " "takes two C arguments: the first is the address of a Python type object, the " -"second is the address of the C variable (of type :c:type:`PyObject\\*`) into " +"second is the address of the C variable (of type :c:type:`PyObject*`) into " "which the object pointer is stored. If the Python object does not have the " "required type, :exc:`TypeError` is raised." msgstr "" @@ -775,14 +785,14 @@ msgstr "``O&`` (objet) [*converter*, *anything*]" msgid "" "Convert a Python object to a C variable through a *converter* function. " "This takes two arguments: the first is a function, the second is the address " -"of a C variable (of arbitrary type), converted to :c:type:`void \\*`. The " +"of a C variable (of arbitrary type), converted to :c:type:`void *`. The " "*converter* function in turn is called as follows::" msgstr "" #: c-api/arg.rst:339 msgid "" "where *object* is the Python object to be converted and *address* is the :c:" -"type:`void\\*` argument that was passed to the :c:func:`PyArg_Parse\\*` " +"type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\*` " "function. The returned *status* should be ``1`` for a successful conversion " "and ``0`` if the conversion has failed. When the conversion fails, the " "*converter* function should raise an exception and leave the content of " @@ -999,13 +1009,12 @@ msgid "" "should be passed as *args*; it must actually be a tuple. The length of the " "tuple must be at least *min* and no more than *max*; *min* and *max* may be " "equal. Additional arguments must be passed to the function, each of which " -"should be a pointer to a :c:type:`PyObject\\*` variable; these will be " -"filled in with the values from *args*; they will contain borrowed " -"references. The variables which correspond to optional parameters not given " -"by *args* will not be filled in; these should be initialized by the caller. " -"This function returns true on success and false if *args* is not a tuple or " -"contains the wrong number of elements; an exception will be set if there was " -"a failure." +"should be a pointer to a :c:type:`PyObject*` variable; these will be filled " +"in with the values from *args*; they will contain borrowed references. The " +"variables which correspond to optional parameters not given by *args* will " +"not be filled in; these should be initialized by the caller. This function " +"returns true on success and false if *args* is not a tuple or contains the " +"wrong number of elements; an exception will be set if there was a failure." msgstr "" #: c-api/arg.rst:493 @@ -1277,7 +1286,7 @@ msgstr "" 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 " +"`void*`) as its argument and should return a \"new\" Python object, or " "``NULL`` if an error occurred." msgstr "" diff --git a/c-api/bool.po b/c-api/bool.po index 70520120..c7f8d5e6 100644 --- a/c-api/bool.po +++ b/c-api/bool.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/buffer.po b/c-api/buffer.po index 9b75cf6a..1f8ed55b 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:18+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -495,6 +495,10 @@ msgstr "F" msgid "C or F" msgstr "" +#: c-api/buffer.rst:304 +msgid ":c:macro:`PyBUF_ND`" +msgstr "" + #: c-api/buffer.rst:309 msgid "compound requests" msgstr "" @@ -609,17 +613,15 @@ 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 " -"``-1``." +"data:`PyExc_BufferError`, set ``view->obj`` to ``NULL`` and return ``-1``." msgstr "" #: c-api/buffer.rst:444 msgid "" -"On success, fill in *view*, set :c:member:`view->obj` to a new reference to " +"On success, fill in *view*, set ``view->obj`` to a new reference to " "*exporter* and return 0. In the case of chained buffer providers that " -"redirect requests to a single object, :c:member:`view->obj` MAY refer to " -"this object instead of *exporter* (See :ref:`Buffer Object Structures " -"`)." +"redirect requests to a single object, ``view->obj`` MAY refer to this object " +"instead of *exporter* (See :ref:`Buffer Object Structures `)." msgstr "" #: c-api/buffer.rst:449 @@ -632,8 +634,8 @@ msgstr "" #: c-api/buffer.rst:457 msgid "" -"Release the buffer *view* and decrement the reference count for :c:member:" -"`view->obj`. This function MUST be called when the buffer is no longer being " +"Release the buffer *view* and decrement the reference count for ``view-" +">obj``. This function MUST be called when the buffer is no longer being " "used, otherwise reference leaks may occur." msgstr "" @@ -704,9 +706,9 @@ msgstr "" #: c-api/buffer.rst:519 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``;" +"On success, set ``view->obj`` to a new reference to *exporter* and return 0. " +"Otherwise, raise :c:data:`PyExc_BufferError`, set ``view->obj`` to ``NULL`` " +"and return ``-1``;" msgstr "" #: c-api/buffer.rst:523 diff --git a/c-api/bytearray.po b/c-api/bytearray.po index f76db4ea..5036bb10 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/bytes.po b/c-api/bytes.po index 7e144497..edf60a11 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-03 11:50+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/call.po b/c-api/call.po index ab9b99fc..7dbd8e2a 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:07+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -441,7 +441,7 @@ msgstr "" #: c-api/call.rst:286 msgid "" -"Note that if you only pass :c:type:`PyObject \\*` args, :c:func:" +"Note that if you only pass :c:type:`PyObject *` args, :c:func:" "`PyObject_CallFunctionObjArgs` is a faster alternative." msgstr "" @@ -468,7 +468,7 @@ msgstr "" #: c-api/call.rst:307 msgid "" -"Note that if you only pass :c:type:`PyObject \\*` args, :c:func:" +"Note that if you only pass :c:type:`PyObject *` args, :c:func:" "`PyObject_CallMethodObjArgs` is a faster alternative." msgstr "" @@ -479,8 +479,8 @@ msgstr "" #: c-api/call.rst:316 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*." +"`PyObject *` arguments. The arguments are provided as a variable number of " +"parameters followed by *NULL*." msgstr "" #: c-api/call.rst:323 @@ -493,7 +493,7 @@ msgstr "" msgid "" "Call 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 " +"number of :c:type:`PyObject *` arguments. The arguments are provided as a " "variable number of parameters followed by *NULL*." msgstr "" diff --git a/c-api/capsule.po b/c-api/capsule.po index 6112714d..fa5e3077 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -28,7 +28,7 @@ msgstr "" #: c-api/capsule.rst:17 msgid "" "This subtype of :c:type:`PyObject` represents an opaque value, useful for C " -"extension modules who need to pass an opaque value (as a :c:type:`void\\*` " +"extension modules who need to pass an opaque value (as a :c:type:`void*` " "pointer) through Python code to other C code. It is often used to make a C " "function pointer defined in one module available to other modules, so the " "regular import mechanism can be used to access C APIs defined in dynamically " diff --git a/c-api/cell.po b/c-api/cell.po index 878cacd4..631198b7 100644 --- a/c-api/cell.po +++ b/c-api/cell.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-09 10:14+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/c-api/code.po b/c-api/code.po index 41b2801e..78d26517 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:30+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/codec.po b/c-api/codec.po index 7220dd7e..565eaa31 100644 --- a/c-api/codec.po +++ b/c-api/codec.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/complex.po b/c-api/complex.po index 5ead88da..b942b37f 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-01-14 20:31+0100\n" "Last-Translator: ANTOINE FOURES \n" "Language-Team: FRENCH \n" diff --git a/c-api/concrete.po b/c-api/concrete.po index d2ad2ac9..b3a6744d 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:31+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/contextvars.po b/c-api/contextvars.po index 2c4010ae..615bbab5 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/conversion.po b/c-api/conversion.po index 90682638..5dc84058 100644 --- a/c-api/conversion.po +++ b/c-api/conversion.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/coro.po b/c-api/coro.po index f74ba238..87269d38 100644 --- a/c-api/coro.po +++ b/c-api/coro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/datetime.po b/c-api/datetime.po index d7d40a08..29bf9a01 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-06-28 15:17+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/c-api/descriptor.po b/c-api/descriptor.po index 6378c931..2e5a0df7 100644 --- a/c-api/descriptor.po +++ b/c-api/descriptor.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:32+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/dict.po b/c-api/dict.po index 6eac7880..87411f6e 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-03 11:36+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -84,7 +84,7 @@ msgstr "" #: c-api/dict.rst:75 msgid "" "Insert *val* into the dictionary *p* using *key* as a key. *key* should be " -"a :c:type:`const char\\*`. The key object is created using " +"a :c:type:`const char*`. The key object is created using " "``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on " "failure. This function *does not* steal a reference to *val*." msgstr "" @@ -125,7 +125,7 @@ msgstr "" #: c-api/dict.rst:114 msgid "" "This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:" -"type:`const char\\*`, rather than a :c:type:`PyObject\\*`." +"type:`const char*`, rather than a :c:type:`PyObject*`." msgstr "" #: c-api/dict.rst:117 @@ -174,7 +174,7 @@ msgid "" "first call to this function to start the iteration; the function returns " "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, " +"`PyObject*` variables that will be filled in with each key and value, " "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 " diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 7dca20d5..c643adbd 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -660,61 +660,77 @@ msgid "" "UTF-8 encoded strings." msgstr "" +#: c-api/exceptions.rst:640 c-api/exceptions.rst:650 +msgid "3.11" +msgstr "" + #: c-api/exceptions.rst:642 msgid "" +"``Py_UNICODE`` is deprecated since Python 3.3. Please migrate to " +"``PyObject_CallFunction(PyExc_UnicodeEncodeError, \"sOnns\", ...)``." +msgstr "" + +#: c-api/exceptions.rst:647 +msgid "" "Create a :class:`UnicodeTranslateError` object with the attributes *object*, " "*length*, *start*, *end* and *reason*. *reason* is a UTF-8 encoded string." msgstr "" -#: c-api/exceptions.rst:648 +#: c-api/exceptions.rst:652 +msgid "" +"``Py_UNICODE`` is deprecated since Python 3.3. Please migrate to " +"``PyObject_CallFunction(PyExc_UnicodeTranslateError, \"Onns\", ...)``." +msgstr "" + +#: c-api/exceptions.rst:658 msgid "Return the *encoding* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:654 +#: c-api/exceptions.rst:664 msgid "Return the *object* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:660 +#: c-api/exceptions.rst:670 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." msgstr "" -#: c-api/exceptions.rst:668 +#: c-api/exceptions.rst:678 msgid "" "Set the *start* attribute of the given exception object to *start*. Return " "``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:675 +#: c-api/exceptions.rst:685 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 " "failure." msgstr "" -#: c-api/exceptions.rst:683 +#: c-api/exceptions.rst:693 msgid "" "Set the *end* attribute of the given exception object to *end*. Return " "``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:690 +#: c-api/exceptions.rst:700 msgid "Return the *reason* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:696 +#: c-api/exceptions.rst:706 msgid "" "Set the *reason* attribute of the given exception object to *reason*. " "Return ``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:703 +#: c-api/exceptions.rst:713 msgid "Recursion Control" msgstr "Contrôle de la récursion" -#: c-api/exceptions.rst:705 +#: c-api/exceptions.rst:715 msgid "" "These two functions provide a way to perform safe recursive calls at the C " "level, both in the core and in extension modules. They are needed if the " @@ -724,42 +740,42 @@ msgid "" "recursion handling." msgstr "" -#: c-api/exceptions.rst:714 +#: c-api/exceptions.rst:724 msgid "Marks a point where a recursive C-level call is about to be performed." msgstr "" -#: c-api/exceptions.rst:716 +#: c-api/exceptions.rst:726 msgid "" "If :const:`USE_STACKCHECK` is defined, this function checks if the OS stack " "overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it sets a :" "exc:`MemoryError` and returns a nonzero value." msgstr "" -#: c-api/exceptions.rst:720 +#: c-api/exceptions.rst:730 msgid "" "The function then checks if the recursion limit is reached. If this is the " "case, a :exc:`RecursionError` is set and a nonzero value is returned. " "Otherwise, zero is returned." msgstr "" -#: c-api/exceptions.rst:724 +#: c-api/exceptions.rst:734 msgid "" "*where* should be a UTF-8 encoded string such as ``\" in instance check\"`` " "to be concatenated to the :exc:`RecursionError` message caused by the " "recursion depth limit." msgstr "" -#: c-api/exceptions.rst:728 c-api/exceptions.rst:736 +#: c-api/exceptions.rst:738 c-api/exceptions.rst:746 msgid "This function is now also available in the limited API." msgstr "" -#: c-api/exceptions.rst:733 +#: c-api/exceptions.rst:743 msgid "" "Ends a :c:func:`Py_EnterRecursiveCall`. Must be called once for each " "*successful* invocation of :c:func:`Py_EnterRecursiveCall`." msgstr "" -#: c-api/exceptions.rst:739 +#: c-api/exceptions.rst:749 msgid "" "Properly implementing :c:member:`~PyTypeObject.tp_repr` for container types " "requires special recursion handling. In addition to protecting the stack, :" @@ -768,13 +784,13 @@ msgid "" "Effectively, these are the C equivalent to :func:`reprlib.recursive_repr`." msgstr "" -#: c-api/exceptions.rst:747 +#: c-api/exceptions.rst:757 msgid "" "Called at the beginning of the :c:member:`~PyTypeObject.tp_repr` " "implementation to detect cycles." msgstr "" -#: c-api/exceptions.rst:750 +#: c-api/exceptions.rst:760 msgid "" "If the object has already been processed, the function returns a positive " "integer. In that case the :c:member:`~PyTypeObject.tp_repr` implementation " @@ -782,484 +798,484 @@ msgid "" "`dict` objects return ``{...}`` and :class:`list` objects return ``[...]``." msgstr "" -#: c-api/exceptions.rst:756 +#: c-api/exceptions.rst:766 msgid "" "The function will return a negative integer if the recursion limit is " "reached. In that case the :c:member:`~PyTypeObject.tp_repr` implementation " "should typically return ``NULL``." msgstr "" -#: c-api/exceptions.rst:760 +#: c-api/exceptions.rst:770 msgid "" "Otherwise, the function returns zero and the :c:member:`~PyTypeObject." "tp_repr` implementation can continue normally." msgstr "" -#: c-api/exceptions.rst:765 +#: c-api/exceptions.rst:775 msgid "" "Ends a :c:func:`Py_ReprEnter`. Must be called once for each invocation of :" "c:func:`Py_ReprEnter` that returns zero." msgstr "" -#: c-api/exceptions.rst:772 +#: c-api/exceptions.rst:782 msgid "Standard Exceptions" msgstr "Exceptions standards" -#: c-api/exceptions.rst:774 +#: c-api/exceptions.rst:784 msgid "" "All standard Python exceptions are available as global variables whose names " "are ``PyExc_`` followed by the Python exception name. These have the type :" -"c:type:`PyObject\\*`; they are all class objects. For completeness, here " -"are all the variables:" +"c:type:`PyObject*`; they are all class objects. For completeness, here are " +"all the variables:" msgstr "" -#: c-api/exceptions.rst:835 c-api/exceptions.rst:968 c-api/exceptions.rst:1013 +#: c-api/exceptions.rst:845 c-api/exceptions.rst:978 c-api/exceptions.rst:1023 msgid "C Name" msgstr "Nom C" -#: c-api/exceptions.rst:835 c-api/exceptions.rst:1013 +#: c-api/exceptions.rst:845 c-api/exceptions.rst:1023 msgid "Python Name" msgstr "Nom Python" -#: c-api/exceptions.rst:835 c-api/exceptions.rst:968 c-api/exceptions.rst:1013 +#: c-api/exceptions.rst:845 c-api/exceptions.rst:978 c-api/exceptions.rst:1023 msgid "Notes" msgstr "Notes" -#: c-api/exceptions.rst:837 +#: c-api/exceptions.rst:847 msgid ":c:data:`PyExc_BaseException`" msgstr ":c:data:`PyExc_BaseException`" -#: c-api/exceptions.rst:837 +#: c-api/exceptions.rst:847 msgid ":exc:`BaseException`" msgstr ":exc:`BaseException`" -#: c-api/exceptions.rst:837 c-api/exceptions.rst:839 c-api/exceptions.rst:841 -#: c-api/exceptions.rst:887 c-api/exceptions.rst:899 c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:847 c-api/exceptions.rst:849 c-api/exceptions.rst:851 +#: c-api/exceptions.rst:897 c-api/exceptions.rst:909 c-api/exceptions.rst:1025 msgid "\\(1)" msgstr "\\(1)" -#: c-api/exceptions.rst:839 +#: c-api/exceptions.rst:849 msgid ":c:data:`PyExc_Exception`" msgstr ":c:data:`PyExc_Exception`" -#: c-api/exceptions.rst:839 +#: c-api/exceptions.rst:849 msgid ":exc:`Exception`" msgstr ":exc:`Exception`" -#: c-api/exceptions.rst:841 +#: c-api/exceptions.rst:851 msgid ":c:data:`PyExc_ArithmeticError`" msgstr ":c:data:`PyExc_ArithmeticError`" -#: c-api/exceptions.rst:841 +#: c-api/exceptions.rst:851 msgid ":exc:`ArithmeticError`" msgstr ":exc:`ArithmeticError`" -#: c-api/exceptions.rst:843 +#: c-api/exceptions.rst:853 msgid ":c:data:`PyExc_AssertionError`" msgstr ":c:data:`PyExc_AssertionError`" -#: c-api/exceptions.rst:843 +#: c-api/exceptions.rst:853 msgid ":exc:`AssertionError`" msgstr ":exc:`AssertionError`" -#: c-api/exceptions.rst:845 +#: c-api/exceptions.rst:855 msgid ":c:data:`PyExc_AttributeError`" msgstr ":c:data:`PyExc_AttributeError`" -#: c-api/exceptions.rst:845 +#: c-api/exceptions.rst:855 msgid ":exc:`AttributeError`" msgstr ":exc:`AttributeError`" -#: c-api/exceptions.rst:847 +#: c-api/exceptions.rst:857 msgid ":c:data:`PyExc_BlockingIOError`" msgstr ":c:data:`PyExc_BlockingIOError`" -#: c-api/exceptions.rst:847 +#: c-api/exceptions.rst:857 msgid ":exc:`BlockingIOError`" msgstr ":exc:`BlockingIOError`" -#: c-api/exceptions.rst:849 +#: c-api/exceptions.rst:859 msgid ":c:data:`PyExc_BrokenPipeError`" msgstr ":c:data:`PyExc_BrokenPipeError`" -#: c-api/exceptions.rst:849 +#: c-api/exceptions.rst:859 msgid ":exc:`BrokenPipeError`" msgstr ":exc:`BrokenPipeError`" -#: c-api/exceptions.rst:851 +#: c-api/exceptions.rst:861 msgid ":c:data:`PyExc_BufferError`" msgstr ":c:data:`PyExc_BufferError`" -#: c-api/exceptions.rst:851 +#: c-api/exceptions.rst:861 msgid ":exc:`BufferError`" msgstr ":exc:`BufferError`" -#: c-api/exceptions.rst:853 +#: c-api/exceptions.rst:863 msgid ":c:data:`PyExc_ChildProcessError`" msgstr ":c:data:`PyExc_ChildProcessError`" -#: c-api/exceptions.rst:853 +#: c-api/exceptions.rst:863 msgid ":exc:`ChildProcessError`" msgstr ":exc:`ChildProcessError`" -#: c-api/exceptions.rst:855 +#: c-api/exceptions.rst:865 msgid ":c:data:`PyExc_ConnectionAbortedError`" msgstr ":c:data:`PyExc_ConnectionAbortedError`" -#: c-api/exceptions.rst:855 +#: c-api/exceptions.rst:865 msgid ":exc:`ConnectionAbortedError`" msgstr ":exc:`ConnectionAbortedError`" -#: c-api/exceptions.rst:857 +#: c-api/exceptions.rst:867 msgid ":c:data:`PyExc_ConnectionError`" msgstr ":c:data:`PyExc_ConnectionError`" -#: c-api/exceptions.rst:857 +#: c-api/exceptions.rst:867 msgid ":exc:`ConnectionError`" msgstr ":exc:`ConnectionError`" -#: c-api/exceptions.rst:859 +#: c-api/exceptions.rst:869 msgid ":c:data:`PyExc_ConnectionRefusedError`" msgstr ":c:data:`PyExc_ConnectionRefusedError`" -#: c-api/exceptions.rst:859 +#: c-api/exceptions.rst:869 msgid ":exc:`ConnectionRefusedError`" msgstr ":exc:`ConnectionRefusedError`" -#: c-api/exceptions.rst:861 +#: c-api/exceptions.rst:871 msgid ":c:data:`PyExc_ConnectionResetError`" msgstr ":c:data:`PyExc_ConnectionResetError`" -#: c-api/exceptions.rst:861 +#: c-api/exceptions.rst:871 msgid ":exc:`ConnectionResetError`" msgstr ":exc:`ConnectionResetError`" -#: c-api/exceptions.rst:863 +#: c-api/exceptions.rst:873 msgid ":c:data:`PyExc_EOFError`" msgstr ":c:data:`PyExc_EOFError`" -#: c-api/exceptions.rst:863 +#: c-api/exceptions.rst:873 msgid ":exc:`EOFError`" msgstr ":exc:`EOFError`" -#: c-api/exceptions.rst:865 +#: c-api/exceptions.rst:875 msgid ":c:data:`PyExc_FileExistsError`" msgstr ":c:data:`PyExc_FileExistsError`" -#: c-api/exceptions.rst:865 +#: c-api/exceptions.rst:875 msgid ":exc:`FileExistsError`" msgstr ":exc:`FileExistsError`" -#: c-api/exceptions.rst:867 +#: c-api/exceptions.rst:877 msgid ":c:data:`PyExc_FileNotFoundError`" msgstr ":c:data:`PyExc_FloatingPointError`" -#: c-api/exceptions.rst:867 +#: c-api/exceptions.rst:877 msgid ":exc:`FileNotFoundError`" msgstr ":exc:`FileNotFoundError`" -#: c-api/exceptions.rst:869 +#: c-api/exceptions.rst:879 msgid ":c:data:`PyExc_FloatingPointError`" msgstr ":c:data:`PyExc_FloatingPointError`" -#: c-api/exceptions.rst:869 +#: c-api/exceptions.rst:879 msgid ":exc:`FloatingPointError`" msgstr ":exc:`FloatingPointError`" -#: c-api/exceptions.rst:871 +#: c-api/exceptions.rst:881 msgid ":c:data:`PyExc_GeneratorExit`" msgstr ":c:data:`PyExc_GeneratorExit`" -#: c-api/exceptions.rst:871 +#: c-api/exceptions.rst:881 msgid ":exc:`GeneratorExit`" msgstr ":exc:`GeneratorExit`" -#: c-api/exceptions.rst:873 +#: c-api/exceptions.rst:883 msgid ":c:data:`PyExc_ImportError`" msgstr ":c:data:`PyExc_ImportError`" -#: c-api/exceptions.rst:873 +#: c-api/exceptions.rst:883 msgid ":exc:`ImportError`" msgstr ":exc:`ImportError`" -#: c-api/exceptions.rst:875 +#: c-api/exceptions.rst:885 msgid ":c:data:`PyExc_IndentationError`" msgstr ":c:data:`PyExc_IndentationError`" -#: c-api/exceptions.rst:875 +#: c-api/exceptions.rst:885 msgid ":exc:`IndentationError`" msgstr ":exc:`IndentationError`" -#: c-api/exceptions.rst:877 +#: c-api/exceptions.rst:887 msgid ":c:data:`PyExc_IndexError`" msgstr ":c:data:`PyExc_IndexError`" -#: c-api/exceptions.rst:877 +#: c-api/exceptions.rst:887 msgid ":exc:`IndexError`" msgstr ":exc:`IndexError`" -#: c-api/exceptions.rst:879 +#: c-api/exceptions.rst:889 msgid ":c:data:`PyExc_InterruptedError`" msgstr ":c:data:`PyExc_InterruptedError`" -#: c-api/exceptions.rst:879 +#: c-api/exceptions.rst:889 msgid ":exc:`InterruptedError`" msgstr ":exc:`InterruptedError`" -#: c-api/exceptions.rst:881 +#: c-api/exceptions.rst:891 msgid ":c:data:`PyExc_IsADirectoryError`" msgstr ":c:data:`PyExc_IsADirectoryError`" -#: c-api/exceptions.rst:881 +#: c-api/exceptions.rst:891 msgid ":exc:`IsADirectoryError`" msgstr ":exc:`IsADirectoryError`" -#: c-api/exceptions.rst:883 +#: c-api/exceptions.rst:893 msgid ":c:data:`PyExc_KeyError`" msgstr ":c:data:`PyExc_KeyError`" -#: c-api/exceptions.rst:883 +#: c-api/exceptions.rst:893 msgid ":exc:`KeyError`" msgstr ":exc:`KeyError`" -#: c-api/exceptions.rst:885 +#: c-api/exceptions.rst:895 msgid ":c:data:`PyExc_KeyboardInterrupt`" msgstr ":c:data:`PyExc_KeyboardInterrupt`" -#: c-api/exceptions.rst:885 +#: c-api/exceptions.rst:895 msgid ":exc:`KeyboardInterrupt`" msgstr ":exc:`KeyboardInterrupt`" -#: c-api/exceptions.rst:887 +#: c-api/exceptions.rst:897 msgid ":c:data:`PyExc_LookupError`" msgstr ":c:data:`PyExc_LookupError`" -#: c-api/exceptions.rst:887 +#: c-api/exceptions.rst:897 msgid ":exc:`LookupError`" msgstr ":exc:`LookupError`" -#: c-api/exceptions.rst:889 +#: c-api/exceptions.rst:899 msgid ":c:data:`PyExc_MemoryError`" msgstr ":c:data:`PyExc_MemoryError`" -#: c-api/exceptions.rst:889 +#: c-api/exceptions.rst:899 msgid ":exc:`MemoryError`" msgstr ":exc:`MemoryError`" -#: c-api/exceptions.rst:891 +#: c-api/exceptions.rst:901 #, fuzzy msgid ":c:data:`PyExc_ModuleNotFoundError`" msgstr ":c:data:`PyExc_ModuleNotFoundError`." -#: c-api/exceptions.rst:891 +#: c-api/exceptions.rst:901 msgid ":exc:`ModuleNotFoundError`" msgstr "" -#: c-api/exceptions.rst:893 +#: c-api/exceptions.rst:903 msgid ":c:data:`PyExc_NameError`" msgstr ":c:data:`PyExc_NameError`" -#: c-api/exceptions.rst:893 +#: c-api/exceptions.rst:903 msgid ":exc:`NameError`" msgstr ":exc:`NameError`" -#: c-api/exceptions.rst:895 +#: c-api/exceptions.rst:905 msgid ":c:data:`PyExc_NotADirectoryError`" msgstr ":c:data:`PyExc_NotADirectoryError`" -#: c-api/exceptions.rst:895 +#: c-api/exceptions.rst:905 msgid ":exc:`NotADirectoryError`" msgstr ":exc:`NotADirectoryError`" -#: c-api/exceptions.rst:897 +#: c-api/exceptions.rst:907 msgid ":c:data:`PyExc_NotImplementedError`" msgstr ":c:data:`PyExc_NotImplementedError`" -#: c-api/exceptions.rst:897 +#: c-api/exceptions.rst:907 msgid ":exc:`NotImplementedError`" msgstr ":exc:`NotImplementedError`" -#: c-api/exceptions.rst:899 +#: c-api/exceptions.rst:909 msgid ":c:data:`PyExc_OSError`" msgstr ":c:data:`PyExc_OSError`" -#: c-api/exceptions.rst:899 +#: c-api/exceptions.rst:909 msgid ":exc:`OSError`" msgstr ":exc:`OSError`" -#: c-api/exceptions.rst:901 +#: c-api/exceptions.rst:911 msgid ":c:data:`PyExc_OverflowError`" msgstr ":c:data:`PyExc_OverflowError`" -#: c-api/exceptions.rst:901 +#: c-api/exceptions.rst:911 msgid ":exc:`OverflowError`" msgstr ":exc:`OverflowError`" -#: c-api/exceptions.rst:903 +#: c-api/exceptions.rst:913 msgid ":c:data:`PyExc_PermissionError`" msgstr ":c:data:`PyExc_PermissionError`" -#: c-api/exceptions.rst:903 +#: c-api/exceptions.rst:913 msgid ":exc:`PermissionError`" msgstr ":exc:`PermissionError`" -#: c-api/exceptions.rst:905 +#: c-api/exceptions.rst:915 msgid ":c:data:`PyExc_ProcessLookupError`" msgstr ":c:data:`PyExc_ProcessLookupError`" -#: c-api/exceptions.rst:905 +#: c-api/exceptions.rst:915 msgid ":exc:`ProcessLookupError`" msgstr ":exc:`ProcessLookupError`" -#: c-api/exceptions.rst:907 +#: c-api/exceptions.rst:917 msgid ":c:data:`PyExc_RecursionError`" msgstr ":c:data:`PyExc_ReferenceError`" -#: c-api/exceptions.rst:907 +#: c-api/exceptions.rst:917 msgid ":exc:`RecursionError`" msgstr "" -#: c-api/exceptions.rst:909 +#: c-api/exceptions.rst:919 msgid ":c:data:`PyExc_ReferenceError`" msgstr ":c:data:`PyExc_ReferenceError`" -#: c-api/exceptions.rst:909 +#: c-api/exceptions.rst:919 msgid ":exc:`ReferenceError`" msgstr ":exc:`ReferenceError`" -#: c-api/exceptions.rst:909 +#: c-api/exceptions.rst:919 msgid "\\(2)" msgstr "\\(2)" -#: c-api/exceptions.rst:911 +#: c-api/exceptions.rst:921 msgid ":c:data:`PyExc_RuntimeError`" msgstr ":c:data:`PyExc_RuntimeError`" -#: c-api/exceptions.rst:911 +#: c-api/exceptions.rst:921 msgid ":exc:`RuntimeError`" msgstr ":exc:`RuntimeError`" -#: c-api/exceptions.rst:913 +#: c-api/exceptions.rst:923 msgid ":c:data:`PyExc_StopAsyncIteration`" msgstr ":c:data:`PyExc_StopAsyncIteration`" -#: c-api/exceptions.rst:913 +#: c-api/exceptions.rst:923 msgid ":exc:`StopAsyncIteration`" msgstr ":exc:`StopAsyncIteration`" -#: c-api/exceptions.rst:915 +#: c-api/exceptions.rst:925 msgid ":c:data:`PyExc_StopIteration`" msgstr ":c:data:`PyExc_StopIteration`" -#: c-api/exceptions.rst:915 +#: c-api/exceptions.rst:925 msgid ":exc:`StopIteration`" msgstr ":exc:`StopIteration`" -#: c-api/exceptions.rst:917 +#: c-api/exceptions.rst:927 msgid ":c:data:`PyExc_SyntaxError`" msgstr ":c:data:`PyExc_SyntaxError`" -#: c-api/exceptions.rst:917 +#: c-api/exceptions.rst:927 msgid ":exc:`SyntaxError`" msgstr ":exc:`SyntaxError`" -#: c-api/exceptions.rst:919 +#: c-api/exceptions.rst:929 msgid ":c:data:`PyExc_SystemError`" msgstr ":c:data:`PyExc_SystemError`" -#: c-api/exceptions.rst:919 +#: c-api/exceptions.rst:929 msgid ":exc:`SystemError`" msgstr ":exc:`SystemError`" -#: c-api/exceptions.rst:921 +#: c-api/exceptions.rst:931 msgid ":c:data:`PyExc_SystemExit`" msgstr ":c:data:`PyExc_SystemExit`" -#: c-api/exceptions.rst:921 +#: c-api/exceptions.rst:931 msgid ":exc:`SystemExit`" msgstr ":exc:`SystemExit`" -#: c-api/exceptions.rst:923 +#: c-api/exceptions.rst:933 msgid ":c:data:`PyExc_TabError`" msgstr ":c:data:`PyExc_TabError`" -#: c-api/exceptions.rst:923 +#: c-api/exceptions.rst:933 msgid ":exc:`TabError`" msgstr ":exc:`TabError`" -#: c-api/exceptions.rst:925 +#: c-api/exceptions.rst:935 msgid ":c:data:`PyExc_TimeoutError`" msgstr ":c:data:`PyExc_ImportError`" -#: c-api/exceptions.rst:925 +#: c-api/exceptions.rst:935 msgid ":exc:`TimeoutError`" msgstr ":exc:`TimeoutError`" -#: c-api/exceptions.rst:927 +#: c-api/exceptions.rst:937 msgid ":c:data:`PyExc_TypeError`" msgstr ":c:data:`PyExc_TypeError`" -#: c-api/exceptions.rst:927 +#: c-api/exceptions.rst:937 msgid ":exc:`TypeError`" msgstr ":exc:`TypeError`" -#: c-api/exceptions.rst:929 +#: c-api/exceptions.rst:939 msgid ":c:data:`PyExc_UnboundLocalError`" msgstr ":c:data:`PyExc_UnboundLocalError`" -#: c-api/exceptions.rst:929 +#: c-api/exceptions.rst:939 msgid ":exc:`UnboundLocalError`" msgstr ":exc:`UnboundLocalError`" -#: c-api/exceptions.rst:931 +#: c-api/exceptions.rst:941 msgid ":c:data:`PyExc_UnicodeDecodeError`" msgstr ":c:data:`PyExc_UnicodeDecodeError`" -#: c-api/exceptions.rst:931 +#: c-api/exceptions.rst:941 msgid ":exc:`UnicodeDecodeError`" msgstr ":exc:`UnicodeDecodeError`" -#: c-api/exceptions.rst:933 +#: c-api/exceptions.rst:943 msgid ":c:data:`PyExc_UnicodeEncodeError`" msgstr ":c:data:`PyExc_UnicodeEncodeError`" -#: c-api/exceptions.rst:933 +#: c-api/exceptions.rst:943 msgid ":exc:`UnicodeEncodeError`" msgstr ":exc:`UnicodeEncodeError`" -#: c-api/exceptions.rst:935 +#: c-api/exceptions.rst:945 msgid ":c:data:`PyExc_UnicodeError`" msgstr ":c:data:`PyExc_UnicodeError`" -#: c-api/exceptions.rst:935 +#: c-api/exceptions.rst:945 msgid ":exc:`UnicodeError`" msgstr ":exc:`UnicodeError`" -#: c-api/exceptions.rst:937 +#: c-api/exceptions.rst:947 msgid ":c:data:`PyExc_UnicodeTranslateError`" msgstr ":c:data:`PyExc_UnicodeTranslateError`" -#: c-api/exceptions.rst:937 +#: c-api/exceptions.rst:947 msgid ":exc:`UnicodeTranslateError`" msgstr ":exc:`UnicodeTranslateError`" -#: c-api/exceptions.rst:939 +#: c-api/exceptions.rst:949 msgid ":c:data:`PyExc_ValueError`" msgstr ":c:data:`PyExc_ValueError`" -#: c-api/exceptions.rst:939 +#: c-api/exceptions.rst:949 msgid ":exc:`ValueError`" msgstr ":exc:`ValueError`" -#: c-api/exceptions.rst:941 +#: c-api/exceptions.rst:951 msgid ":c:data:`PyExc_ZeroDivisionError`" msgstr ":c:data:`PyExc_ZeroDivisionError`" -#: c-api/exceptions.rst:941 +#: c-api/exceptions.rst:951 msgid ":exc:`ZeroDivisionError`" msgstr ":exc:`ZeroDivisionError`" -#: c-api/exceptions.rst:944 +#: c-api/exceptions.rst:954 msgid "" ":c:data:`PyExc_BlockingIOError`, :c:data:`PyExc_BrokenPipeError`, :c:data:" "`PyExc_ChildProcessError`, :c:data:`PyExc_ConnectionError`, :c:data:" @@ -1271,156 +1287,156 @@ msgid "" "`PyExc_TimeoutError` were introduced following :pep:`3151`." msgstr "" -#: c-api/exceptions.rst:954 +#: c-api/exceptions.rst:964 msgid ":c:data:`PyExc_StopAsyncIteration` and :c:data:`PyExc_RecursionError`." msgstr ":c:data:`PyExc_StopAsyncIteration` et :c:data:`PyExc_RecursionError`." -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:967 msgid ":c:data:`PyExc_ModuleNotFoundError`." msgstr ":c:data:`PyExc_ModuleNotFoundError`." -#: c-api/exceptions.rst:960 +#: c-api/exceptions.rst:970 msgid "These are compatibility aliases to :c:data:`PyExc_OSError`:" msgstr "" -#: c-api/exceptions.rst:970 +#: c-api/exceptions.rst:980 msgid ":c:data:`PyExc_EnvironmentError`" msgstr ":c:data:`PyExc_EnvironmentError`" -#: c-api/exceptions.rst:972 +#: c-api/exceptions.rst:982 msgid ":c:data:`PyExc_IOError`" msgstr ":c:data:`PyExc_IOError`" -#: c-api/exceptions.rst:974 +#: c-api/exceptions.rst:984 msgid ":c:data:`PyExc_WindowsError`" msgstr ":c:data:`PyExc_WindowsError`" -#: c-api/exceptions.rst:974 +#: c-api/exceptions.rst:984 msgid "\\(3)" msgstr "\\(3)" -#: c-api/exceptions.rst:977 +#: c-api/exceptions.rst:987 msgid "These aliases used to be separate exception types." msgstr "" -#: c-api/exceptions.rst:980 c-api/exceptions.rst:1041 +#: c-api/exceptions.rst:990 c-api/exceptions.rst:1051 msgid "Notes:" msgstr "Notes :" -#: c-api/exceptions.rst:983 +#: c-api/exceptions.rst:993 msgid "This is a base class for other standard exceptions." msgstr "C'est la classe de base pour les autres exceptions standards." -#: c-api/exceptions.rst:986 +#: c-api/exceptions.rst:996 msgid "" "Only defined on Windows; protect code that uses this by testing that the " "preprocessor macro ``MS_WINDOWS`` is defined." msgstr "" -#: c-api/exceptions.rst:992 +#: c-api/exceptions.rst:1002 msgid "Standard Warning Categories" msgstr "" -#: c-api/exceptions.rst:994 +#: c-api/exceptions.rst:1004 msgid "" "All standard Python warning categories are available as global variables " "whose names are ``PyExc_`` followed by the Python exception name. These have " -"the type :c:type:`PyObject\\*`; they are all class objects. For " -"completeness, here are all the variables:" +"the type :c:type:`PyObject*`; they are all class objects. For completeness, " +"here are all the variables:" msgstr "" -#: c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:1025 msgid ":c:data:`PyExc_Warning`" msgstr ":c:data:`PyExc_Warning`" -#: c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:1025 msgid ":exc:`Warning`" msgstr ":exc:`Warning`" -#: c-api/exceptions.rst:1017 +#: c-api/exceptions.rst:1027 msgid ":c:data:`PyExc_BytesWarning`" msgstr ":c:data:`PyExc_BytesWarning`" -#: c-api/exceptions.rst:1017 +#: c-api/exceptions.rst:1027 msgid ":exc:`BytesWarning`" msgstr ":exc:`BytesWarning`" -#: c-api/exceptions.rst:1019 +#: c-api/exceptions.rst:1029 msgid ":c:data:`PyExc_DeprecationWarning`" msgstr ":c:data:`PyExc_DeprecationWarning`" -#: c-api/exceptions.rst:1019 +#: c-api/exceptions.rst:1029 msgid ":exc:`DeprecationWarning`" msgstr ":exc:`DeprecationWarning`" -#: c-api/exceptions.rst:1021 +#: c-api/exceptions.rst:1031 msgid ":c:data:`PyExc_FutureWarning`" msgstr ":c:data:`PyExc_FutureWarning`" -#: c-api/exceptions.rst:1021 +#: c-api/exceptions.rst:1031 msgid ":exc:`FutureWarning`" msgstr ":exc:`FutureWarning`" -#: c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1033 msgid ":c:data:`PyExc_ImportWarning`" msgstr ":c:data:`PyExc_ImportWarning`" -#: c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1033 msgid ":exc:`ImportWarning`" msgstr ":exc:`ImportWarning`" -#: c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:1035 msgid ":c:data:`PyExc_PendingDeprecationWarning`" msgstr ":c:data:`PyExc_PendingDeprecationWarning`" -#: c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:1035 msgid ":exc:`PendingDeprecationWarning`" msgstr ":exc:`PendingDeprecationWarning`" -#: c-api/exceptions.rst:1027 +#: c-api/exceptions.rst:1037 msgid ":c:data:`PyExc_ResourceWarning`" msgstr ":c:data:`PyExc_ResourceWarning`" -#: c-api/exceptions.rst:1027 +#: c-api/exceptions.rst:1037 msgid ":exc:`ResourceWarning`" msgstr ":exc:`ResourceWarning`" -#: c-api/exceptions.rst:1029 +#: c-api/exceptions.rst:1039 msgid ":c:data:`PyExc_RuntimeWarning`" msgstr ":c:data:`PyExc_RuntimeWarning`" -#: c-api/exceptions.rst:1029 +#: c-api/exceptions.rst:1039 msgid ":exc:`RuntimeWarning`" msgstr ":exc:`RuntimeWarning`" -#: c-api/exceptions.rst:1031 +#: c-api/exceptions.rst:1041 msgid ":c:data:`PyExc_SyntaxWarning`" msgstr ":c:data:`PyExc_SyntaxWarning`" -#: c-api/exceptions.rst:1031 +#: c-api/exceptions.rst:1041 msgid ":exc:`SyntaxWarning`" msgstr ":exc:`SyntaxWarning`" -#: c-api/exceptions.rst:1033 +#: c-api/exceptions.rst:1043 msgid ":c:data:`PyExc_UnicodeWarning`" msgstr ":c:data:`PyExc_UnicodeWarning`" -#: c-api/exceptions.rst:1033 +#: c-api/exceptions.rst:1043 msgid ":exc:`UnicodeWarning`" msgstr ":exc:`UnicodeWarning`" -#: c-api/exceptions.rst:1035 +#: c-api/exceptions.rst:1045 msgid ":c:data:`PyExc_UserWarning`" msgstr ":c:data:`PyExc_UserWarning`" -#: c-api/exceptions.rst:1035 +#: c-api/exceptions.rst:1045 msgid ":exc:`UserWarning`" msgstr ":exc:`UserWarning`" -#: c-api/exceptions.rst:1038 +#: c-api/exceptions.rst:1048 msgid ":c:data:`PyExc_ResourceWarning`." msgstr ":c:data:`PyExc_ResourceWarning`." -#: c-api/exceptions.rst:1044 +#: c-api/exceptions.rst:1054 msgid "This is a base class for other standard warning categories." msgstr "C'est la classe de base pour les autres catégories de *warning*." diff --git a/c-api/file.po b/c-api/file.po index 5287e6d3..a3a1ef64 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-18 09:48+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -20,9 +20,10 @@ msgid "File Objects" msgstr "Objets fichiers" #: c-api/file.rst:10 +#, fuzzy msgid "" "These APIs are a minimal emulation of the Python 2 C API for built-in file " -"objects, which used to rely on the buffered I/O (:c:type:`FILE\\*`) support " +"objects, which used to rely on the buffered I/O (:c:type:`FILE*`) support " "from the C standard library. In Python 3, files and streams use the new :" "mod:`io` module, which defines several layers over the low-level unbuffered " "I/O of the operating system. The functions described below are convenience " diff --git a/c-api/float.po b/c-api/float.po index 9bced91f..562523c3 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-01-14 15:30+0100\n" "Last-Translator: ANTOINE FOURES \n" "Language-Team: FRENCH \n" diff --git a/c-api/function.po b/c-api/function.po index dd03be26..6c0c9d08 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index e14e41cd..da2c4fea 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/gen.po b/c-api/gen.po index f2d00fe2..d1efe8b9 100644 --- a/c-api/gen.po +++ b/c-api/gen.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/import.po b/c-api/import.po index df896e0d..9c17a187 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/index.po b/c-api/index.po index 6af7e9bf..53095f58 100644 --- a/c-api/index.po +++ b/c-api/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:33+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/init.po b/c-api/init.po index f0e0e4c5..4e9db455 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-29 18:22+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -1000,7 +1000,7 @@ msgstr "" #: c-api/init.rst:832 msgid "" "This data structure represents the state of a single thread. The only " -"public data member is :c:type:`PyInterpreterState \\*`:attr:`interp`, which " +"public data member is :attr:`interp` (:c:type:`PyInterpreterState *`), which " "points to this thread's interpreter state." msgstr "" @@ -1872,7 +1872,7 @@ msgid "" "(TLS) which wraps the underlying native TLS implementation to support the " "Python-level thread local storage API (:class:`threading.local`). The " "CPython C level APIs are similar to those offered by pthreads and Windows: " -"use a thread key and functions to associate a :c:type:`void\\*` value per " +"use a thread key and functions to associate a :c:type:`void*` value per " "thread." msgstr "" @@ -1891,9 +1891,9 @@ msgstr "" #: c-api/init.rst:1632 msgid "" "None of these API functions handle memory management on behalf of the :c:" -"type:`void\\*` values. You need to allocate and deallocate them yourself. " -"If the :c:type:`void\\*` values happen to be :c:type:`PyObject\\*`, these " -"functions don't do refcount operations on them either." +"type:`void*` values. You need to allocate and deallocate them yourself. If " +"the :c:type:`void*` values happen to be :c:type:`PyObject*`, these functions " +"don't do refcount operations on them either." msgstr "" #: c-api/init.rst:1640 @@ -1998,14 +1998,14 @@ msgstr "" #: c-api/init.rst:1730 msgid "" -"Return a zero value to indicate successfully associating a :c:type:`void\\*` " +"Return a zero value to indicate successfully associating a :c:type:`void*` " "value with a TSS key in the current thread. Each thread has a distinct " -"mapping of the key to a :c:type:`void\\*` value." +"mapping of the key to a :c:type:`void*` value." msgstr "" #: c-api/init.rst:1737 msgid "" -"Return the :c:type:`void\\*` value associated with a TSS key in the current " +"Return the :c:type:`void*` value associated with a TSS key in the current " "thread. This returns ``NULL`` if no value is associated with the key in the " "current thread." msgstr "" diff --git a/c-api/init_config.po b/c-api/init_config.po index b5c83713..45beea37 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:42+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/intro.po b/c-api/intro.po index d7dfd8a4..2e9234a7 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -272,13 +272,13 @@ msgstr "" #: c-api/intro.rst:231 msgid "" "Most Python/C API functions have one or more arguments as well as a return " -"value of type :c:type:`PyObject\\*`. This type is a pointer to an opaque " -"data type representing an arbitrary Python object. Since all Python object " -"types are treated the same way by the Python language in most situations (e." -"g., assignments, scope rules, and argument passing), it is only fitting that " +"value of type :c:type:`PyObject*`. This type is a pointer to an opaque data " +"type representing an arbitrary Python object. Since all Python object types " +"are treated the same way by the Python language in most situations (e.g., " +"assignments, scope rules, and argument passing), it is only fitting that " "they should be represented by a single C type. Almost all Python objects " "live on the heap: you never declare an automatic or static variable of type :" -"c:type:`PyObject`, only pointer variables of type :c:type:`PyObject\\*` can " +"c:type:`PyObject`, only pointer variables of type :c:type:`PyObject*` can " "be declared. The sole exception are the type objects; since these must " "never be deallocated, they are typically static :c:type:`PyTypeObject` " "objects." @@ -492,7 +492,7 @@ msgstr "" msgid "" "There are few other data types that play a significant role in the Python/C " "API; most are simple C types such as :c:type:`int`, :c:type:`long`, :c:type:" -"`double` and :c:type:`char\\*`. A few structure types are used to describe " +"`double` and :c:type:`char*`. A few structure types are used to describe " "static tables used to list the functions exported by a module or the data " "attributes of a new object type, and another is used to describe the value " "of a complex number. These will be discussed together with the functions " diff --git a/c-api/iter.po b/c-api/iter.po index 4b2f9913..f749943d 100644 --- a/c-api/iter.po +++ b/c-api/iter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:33+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/iterator.po b/c-api/iterator.po index 9fa49ea4..22cd7148 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-26 17:16+0100\n" "Last-Translator: ANTOINE FOURES \n" "Language-Team: FRENCH \n" diff --git a/c-api/list.po b/c-api/list.po index 14078db7..c4f437e4 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/long.po b/c-api/long.po index dda0efb5..26a157c7 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/mapping.po b/c-api/mapping.po index 5ef21273..079f7f05 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 21:20+0100\n" "Last-Translator: Aveheuzed \n" "Language-Team: FRENCH \n" diff --git a/c-api/marshal.po b/c-api/marshal.po index aa28d888..941e59c5 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -64,7 +64,7 @@ msgstr "" #: c-api/marshal.rst:46 msgid "" -"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\*` opened " +"Return a C :c:type:`long` from the data stream in a :c:type:`FILE*` opened " "for reading. Only a 32-bit value can be read in using this function, " "regardless of the native size of :c:type:`long`." msgstr "" @@ -77,15 +77,15 @@ msgstr "" #: c-api/marshal.rst:56 msgid "" -"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\*` " -"opened for reading. Only a 16-bit value can be read in using this function, " +"Return a C :c:type:`short` from the data stream in a :c:type:`FILE*` opened " +"for reading. Only a 16-bit value can be read in using this function, " "regardless of the native size of :c:type:`short`." msgstr "" #: c-api/marshal.rst:66 msgid "" -"Return a Python object from the data stream in a :c:type:`FILE\\*` opened " -"for reading." +"Return a Python object from the data stream in a :c:type:`FILE*` opened for " +"reading." msgstr "" #: c-api/marshal.rst:69 c-api/marshal.rst:83 c-api/marshal.rst:92 @@ -96,8 +96,8 @@ msgstr "" #: c-api/marshal.rst:75 msgid "" -"Return a Python object from the data stream in a :c:type:`FILE\\*` opened " -"for reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function " +"Return a Python object from the data stream in a :c:type:`FILE*` opened for " +"reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function " "assumes that no further objects will be read from the file, allowing it to " "aggressively load file data into memory so that the de-serialization can " "operate from data in memory rather than reading a byte at a time from the " diff --git a/c-api/memory.po b/c-api/memory.po index 2178ab66..baf8fa09 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -126,7 +126,7 @@ msgstr "" #: c-api/memory.rst:112 c-api/memory.rst:183 c-api/memory.rst:285 msgid "" -"Allocates *n* bytes and returns a pointer of type :c:type:`void\\*` to the " +"Allocates *n* bytes and returns a pointer of type :c:type:`void*` to the " "allocated memory, or ``NULL`` if the request fails." msgstr "" @@ -140,7 +140,7 @@ msgstr "" #: c-api/memory.rst:122 c-api/memory.rst:193 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 "" @@ -267,14 +267,14 @@ msgstr "" #: c-api/memory.rst:235 msgid "" "Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes " -"of memory. Returns a pointer cast to :c:type:`TYPE\\*`. The memory will " -"not have been initialized in any way." +"of memory. Returns a pointer cast to :c:type:`TYPE*`. The memory will not " +"have been initialized in any way." msgstr "" #: c-api/memory.rst:242 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 " +"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." msgstr "" diff --git a/c-api/memoryview.po b/c-api/memoryview.po index 84dcfb7b..bf06a2db 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/method.po b/c-api/method.po index 8f120d90..b5bfe66f 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/module.po b/c-api/module.po index 7cd8e5bd..609f609b 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/none.po b/c-api/none.po index 5ac7594f..55612ac6 100644 --- a/c-api/none.po +++ b/c-api/none.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-05 11:18+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/number.po b/c-api/number.po index d9ac5198..c024c832 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/objbuffer.po b/c-api/objbuffer.po index b443dcd0..0d2b4fc8 100644 --- a/c-api/objbuffer.po +++ b/c-api/objbuffer.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-04-10 09:35+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-04-11 19:43+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/c-api/object.po b/c-api/object.po index 2048e254..6259624c 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-08-16 22:56+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -422,8 +422,8 @@ msgid "" "``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\\*`, " -"except when the incremented reference count is needed." +">ob_type``, which returns a pointer of type :c:type:`PyTypeObject*`, except " +"when the incremented reference count is needed." msgstr "" #: c-api/object.rst:300 diff --git a/c-api/objimpl.po b/c-api/objimpl.po index 91bbe565..9f91703c 100644 --- a/c-api/objimpl.po +++ b/c-api/objimpl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-10-18 09:23+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/refcounting.po b/c-api/refcounting.po index ad917dea..405d98f2 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/reflection.po b/c-api/reflection.po index 282a9f6b..7957b88e 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-26 12:01+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/sequence.po b/c-api/sequence.po index 337edcaf..15b5b657 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/set.po b/c-api/set.po index 7038d31e..e1d897e9 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/slice.po b/c-api/slice.po index 9db0e0b8..06498ff3 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/stable.po b/c-api/stable.po index 85209592..0acc383a 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:26+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/structures.po b/c-api/structures.po index 6aefe754..cec9a2cf 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -135,7 +135,7 @@ msgstr "" #: c-api/structures.rst:143 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 " +"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 " @@ -239,10 +239,10 @@ msgstr "" #: c-api/structures.rst:222 msgid "" "The :attr:`ml_meth` is a C function pointer. The functions may be of " -"different types, but they always return :c:type:`PyObject\\*`. If the " +"different types, but they always return :c:type:`PyObject*`. If the " "function is not of the :c:type:`PyCFunction`, the compiler will require a " "cast in the method table. Even though :c:type:`PyCFunction` defines the " -"first parameter as :c:type:`PyObject\\*`, it is common that the method " +"first parameter as :c:type:`PyObject*`, it is common that the method " "implementation uses the specific C type of the *self* object." msgstr "" @@ -260,11 +260,11 @@ msgstr "" #: c-api/structures.rst:237 msgid "" "This is the typical calling convention, where the methods have the type :c:" -"type:`PyCFunction`. The function expects two :c:type:`PyObject\\*` values. " -"The first one is the *self* object for methods; for module functions, it is " -"the module object. The second parameter (often called *args*) is a tuple " -"object representing all arguments. This parameter is typically processed " -"using :c:func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." +"type:`PyCFunction`. The function expects two :c:type:`PyObject*` values. The " +"first one is the *self* object for methods; for module functions, it is the " +"module object. The second parameter (often called *args*) is a tuple object " +"representing all arguments. This parameter is typically processed using :c:" +"func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." msgstr "" #: c-api/structures.rst:247 @@ -280,7 +280,7 @@ msgstr "" msgid "" "Fast calling convention supporting only positional arguments. The methods " "have the type :c:type:`_PyCFunctionFast`. The first parameter is *self*, the " -"second parameter is a C array of :c:type:`PyObject\\*` values indicating the " +"second parameter is a C array of :c:type:`PyObject*` values indicating the " "arguments and the third parameter is the number of arguments (the length of " "the array)." msgstr "" @@ -294,10 +294,10 @@ msgid "" "Extension of :const:`METH_FASTCALL` supporting also keyword arguments, with " "methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword arguments " "are passed the same way as in the :ref:`vectorcall protocol `: " -"there is an additional fourth :c:type:`PyObject\\*` parameter which is a " -"tuple representing the names of the keyword arguments (which are guaranteed " -"to be strings) or possibly ``NULL`` if there are no keywords. The values of " -"the keyword arguments are stored in the *args* array, after the positional " +"there is an additional fourth :c:type:`PyObject*` parameter which is a tuple " +"representing the names of the keyword arguments (which are guaranteed to be " +"strings) 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 "" @@ -329,7 +329,7 @@ msgid "" "Methods with a single object argument can be listed with the :const:`METH_O` " "flag, instead of invoking :c:func:`PyArg_ParseTuple` with a ``\"O\"`` " "argument. They have the type :c:type:`PyCFunction`, with the *self* " -"parameter, and a :c:type:`PyObject\\*` parameter representing the single " +"parameter, and a :c:type:`PyObject*` parameter representing the single " "argument." msgstr "" @@ -653,8 +653,8 @@ msgstr "" #: c-api/structures.rst:462 msgid "" -"The ``get`` function takes one :c:type:`PyObject\\*` parameter (the " -"instance) and a function pointer (the associated ``closure``)::" +"The ``get`` function takes one :c:type:`PyObject*` parameter (the instance) " +"and a function pointer (the associated ``closure``)::" msgstr "" #: c-api/structures.rst:467 @@ -665,9 +665,8 @@ msgstr "" #: c-api/structures.rst:470 msgid "" -"``set`` functions take two :c:type:`PyObject\\*` parameters (the instance " -"and the value to be set) and a function pointer (the associated " -"``closure``)::" +"``set`` functions take two :c:type:`PyObject*` parameters (the instance and " +"the value to be set) and a function pointer (the associated ``closure``)::" msgstr "" #: c-api/structures.rst:475 diff --git a/c-api/sys.po b/c-api/sys.po index df8048b5..9e8bda5b 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/tuple.po b/c-api/tuple.po index b225a990..38da8960 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -219,9 +219,9 @@ msgstr "" #: c-api/tuple.rst:163 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 :" -"attr:`fields` array of the :c:type:`PyStructSequence_Desc` determines which " -"field of the struct sequence is described." +"tuple, all fields are typed as :c:type:`PyObject*`. The index in the :attr:" +"`fields` array of the :c:type:`PyStructSequence_Desc` determines which field " +"of the struct sequence is described." msgstr "" #: c-api/tuple.rst:171 diff --git a/c-api/type.po b/c-api/type.po index 79e44f11..4e7e5004 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:33+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 76d83484..934218af 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -2165,7 +2165,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 "" #: c-api/typeobj.rst:1392 diff --git a/c-api/unicode.po b/c-api/unicode.po index 266fba0a..30e354d8 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:27+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -61,86 +61,97 @@ msgid "" "`PyUnicode_READY` on them before calling any other API." msgstr "" -#: c-api/unicode.rst:39 +#: c-api/unicode.rst:38 +msgid "" +"The \"legacy\" Unicode object will be removed in Python 3.12 with deprecated " +"APIs. All Unicode objects will be \"canonical\" since then. See :pep:`623` " +"for more information." +msgstr "" + +#: c-api/unicode.rst:44 msgid "Unicode Type" msgstr "" -#: c-api/unicode.rst:41 +#: c-api/unicode.rst:46 msgid "" "These are the basic Unicode object types used for the Unicode implementation " "in Python:" msgstr "" -#: c-api/unicode.rst:48 +#: c-api/unicode.rst:53 msgid "" "These types are typedefs for unsigned integer types wide enough to contain " "characters of 32 bits, 16 bits and 8 bits, respectively. When dealing with " "single Unicode characters, use :c:type:`Py_UCS4`." msgstr "" -#: c-api/unicode.rst:57 +#: c-api/unicode.rst:62 msgid "" "This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit " "type depending on the platform." msgstr "" -#: c-api/unicode.rst:60 +#: c-api/unicode.rst:65 msgid "" "In previous versions, this was a 16-bit type or a 32-bit type depending on " "whether you selected a \"narrow\" or \"wide\" Unicode version of Python at " "build time." msgstr "" -#: c-api/unicode.rst:70 +#: c-api/unicode.rst:75 msgid "" "These subtypes of :c:type:`PyObject` represent a Python Unicode object. In " "almost all cases, they shouldn't be used directly, since all API functions " "that deal with Unicode objects take and return :c:type:`PyObject` pointers." msgstr "" -#: c-api/unicode.rst:79 +#: c-api/unicode.rst:84 msgid "" "This instance of :c:type:`PyTypeObject` represents the Python Unicode type. " "It is exposed to Python code as ``str``." msgstr "" -#: c-api/unicode.rst:83 +#: c-api/unicode.rst:88 msgid "" "The following APIs are really C macros and can be used to do fast checks and " "to access internal read-only data of Unicode objects:" msgstr "" -#: c-api/unicode.rst:88 +#: c-api/unicode.rst:93 msgid "" "Return true if the object *o* is a Unicode object or an instance of a " "Unicode subtype." msgstr "" -#: c-api/unicode.rst:94 +#: c-api/unicode.rst:99 msgid "" "Return true if the object *o* is a Unicode object, but not an instance of a " "subtype." msgstr "" -#: c-api/unicode.rst:100 +#: c-api/unicode.rst:105 msgid "" "Ensure the string object *o* is in the \"canonical\" representation. This " "is required before using any of the access macros described below." msgstr "" -#: c-api/unicode.rst:105 +#: c-api/unicode.rst:110 msgid "" "Returns ``0`` on success and ``-1`` with an exception set on failure, which " "in particular happens if memory allocation fails." msgstr "" -#: c-api/unicode.rst:113 +#: c-api/unicode.rst:116 +msgid "This API will be removed with :c:func:`PyUnicode_FromUnicode`." +msgstr "" + +#: c-api/unicode.rst:121 msgid "" "Return the length of the Unicode string, in code points. *o* has to be a " "Unicode object in the \"canonical\" representation (not checked)." msgstr "" -#: c-api/unicode.rst:123 +#: c-api/unicode.rst:131 msgid "" "Return a pointer to the canonical representation cast to UCS1, UCS2 or UCS4 " "integer types for direct character access. No checks are performed if the " @@ -149,24 +160,28 @@ msgid "" "`PyUnicode_READY` has been called before accessing this." msgstr "" -#: c-api/unicode.rst:137 +#: c-api/unicode.rst:145 msgid "Return values of the :c:func:`PyUnicode_KIND` macro." msgstr "" -#: c-api/unicode.rst:144 +#: c-api/unicode.rst:150 +msgid "``PyUnicode_WCHAR_KIND`` is deprecated." +msgstr "" + +#: c-api/unicode.rst:155 msgid "" "Return one of the PyUnicode kind constants (see above) that indicate how " "many bytes per character this Unicode object uses to store its data. *o* " "has to be a Unicode object in the \"canonical\" representation (not checked)." msgstr "" -#: c-api/unicode.rst:155 +#: c-api/unicode.rst:166 msgid "" "Return a void pointer to the raw Unicode buffer. *o* has to be a Unicode " "object in the \"canonical\" representation (not checked)." msgstr "" -#: c-api/unicode.rst:164 +#: c-api/unicode.rst:175 msgid "" "Write into a canonical representation *data* (as obtained with :c:func:" "`PyUnicode_DATA`). This macro does not do any sanity checks and is intended " @@ -176,46 +191,46 @@ msgid "" "written to that location." msgstr "" -#: c-api/unicode.rst:176 +#: c-api/unicode.rst:187 msgid "" "Read a code point from a canonical representation *data* (as obtained with :" "c:func:`PyUnicode_DATA`). No checks or ready calls are performed." msgstr "" -#: c-api/unicode.rst:184 +#: c-api/unicode.rst:195 msgid "" "Read a character from a Unicode object *o*, which must be in the \"canonical" "\" representation. This is less efficient than :c:func:`PyUnicode_READ` if " "you do multiple consecutive reads." msgstr "" -#: c-api/unicode.rst:193 +#: c-api/unicode.rst:204 msgid "" "Return the maximum code point that is suitable for creating another string " "based on *o*, which must be in the \"canonical\" representation. This is " "always an approximation but more efficient than iterating over the string." msgstr "" -#: c-api/unicode.rst:202 +#: c-api/unicode.rst:213 msgid "" "Return the size of the deprecated :c:type:`Py_UNICODE` representation, in " "code units (this includes surrogate pairs as 2 units). *o* has to be a " "Unicode object (not checked)." msgstr "" -#: c-api/unicode.rst:208 c-api/unicode.rst:218 +#: c-api/unicode.rst:219 c-api/unicode.rst:229 c-api/unicode.rst:769 msgid "" "Part of the old-style Unicode API, please migrate to using :c:func:" "`PyUnicode_GET_LENGTH`." msgstr "" -#: c-api/unicode.rst:213 +#: c-api/unicode.rst:224 msgid "" "Return the size of the deprecated :c:type:`Py_UNICODE` representation in " "bytes. *o* has to be a Unicode object (not checked)." msgstr "" -#: c-api/unicode.rst:224 +#: c-api/unicode.rst:235 msgid "" "Return a pointer to a :c:type:`Py_UNICODE` representation of the object. " "The returned buffer is always terminated with an extra null code point. It " @@ -225,7 +240,7 @@ msgid "" "object (not checked)." msgstr "" -#: c-api/unicode.rst:231 +#: c-api/unicode.rst:242 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 " @@ -234,83 +249,83 @@ msgid "" "`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`." msgstr "" -#: c-api/unicode.rst:240 +#: c-api/unicode.rst:251 msgid "" "Part of the old-style Unicode API, please migrate to using the :c:func:" "`PyUnicode_nBYTE_DATA` family of macros." msgstr "" -#: c-api/unicode.rst:245 +#: c-api/unicode.rst:256 msgid "" "Return ``1`` if the string is a valid identifier according to the language " "definition, section :ref:`identifiers`. Return ``0`` otherwise." msgstr "" -#: c-api/unicode.rst:248 +#: c-api/unicode.rst:259 msgid "" "The function does not call :c:func:`Py_FatalError` anymore if the string is " "not ready." msgstr "" -#: c-api/unicode.rst:254 +#: c-api/unicode.rst:265 msgid "Unicode Character Properties" msgstr "" -#: c-api/unicode.rst:256 +#: c-api/unicode.rst:267 msgid "" "Unicode provides many different character properties. The most often needed " "ones are available through these macros which are mapped to C functions " "depending on the Python configuration." msgstr "" -#: c-api/unicode.rst:263 +#: c-api/unicode.rst:274 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is a whitespace character." msgstr "" -#: c-api/unicode.rst:268 +#: c-api/unicode.rst:279 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is a lowercase character." msgstr "" -#: c-api/unicode.rst:273 +#: c-api/unicode.rst:284 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is an uppercase character." msgstr "" -#: c-api/unicode.rst:278 +#: c-api/unicode.rst:289 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is a titlecase character." msgstr "" -#: c-api/unicode.rst:283 +#: c-api/unicode.rst:294 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is a linebreak character." msgstr "" -#: c-api/unicode.rst:288 +#: c-api/unicode.rst:299 msgid "Return ``1`` or ``0`` depending on whether *ch* is a decimal character." msgstr "" -#: c-api/unicode.rst:293 +#: c-api/unicode.rst:304 msgid "Return ``1`` or ``0`` depending on whether *ch* is a digit character." msgstr "" -#: c-api/unicode.rst:298 +#: c-api/unicode.rst:309 msgid "Return ``1`` or ``0`` depending on whether *ch* is a numeric character." msgstr "" -#: c-api/unicode.rst:303 +#: c-api/unicode.rst:314 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is an alphabetic character." msgstr "" -#: c-api/unicode.rst:308 +#: c-api/unicode.rst:319 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is an alphanumeric character." msgstr "" -#: c-api/unicode.rst:313 +#: c-api/unicode.rst:324 msgid "" "Return ``1`` or ``0`` depending on whether *ch* is a printable character. " "Nonprintable characters are those characters defined in the Unicode " @@ -321,91 +336,91 @@ msgid "" "to :data:`sys.stdout` or :data:`sys.stderr`.)" msgstr "" -#: c-api/unicode.rst:322 +#: c-api/unicode.rst:333 msgid "These APIs can be used for fast direct character conversions:" msgstr "" -#: c-api/unicode.rst:327 +#: c-api/unicode.rst:338 msgid "Return the character *ch* converted to lower case." msgstr "" -#: c-api/unicode.rst:329 c-api/unicode.rst:337 c-api/unicode.rst:345 +#: c-api/unicode.rst:340 c-api/unicode.rst:348 c-api/unicode.rst:356 msgid "This function uses simple case mappings." msgstr "" -#: c-api/unicode.rst:335 +#: c-api/unicode.rst:346 msgid "Return the character *ch* converted to upper case." msgstr "" -#: c-api/unicode.rst:343 +#: c-api/unicode.rst:354 msgid "Return the character *ch* converted to title case." msgstr "" -#: c-api/unicode.rst:351 +#: c-api/unicode.rst:362 msgid "" "Return the character *ch* converted to a decimal positive integer. Return " "``-1`` if this is not possible. This macro does not raise exceptions." msgstr "" -#: c-api/unicode.rst:357 +#: c-api/unicode.rst:368 msgid "" "Return the character *ch* converted to a single digit integer. Return ``-1`` " "if this is not possible. This macro does not raise exceptions." msgstr "" -#: c-api/unicode.rst:363 +#: c-api/unicode.rst:374 msgid "" "Return the character *ch* converted to a double. Return ``-1.0`` if this is " "not possible. This macro does not raise exceptions." msgstr "" -#: c-api/unicode.rst:367 +#: c-api/unicode.rst:378 msgid "These APIs can be used to work with surrogates:" msgstr "" -#: c-api/unicode.rst:371 +#: c-api/unicode.rst:382 msgid "Check if *ch* is a surrogate (``0xD800 <= ch <= 0xDFFF``)." msgstr "" -#: c-api/unicode.rst:375 +#: c-api/unicode.rst:386 msgid "Check if *ch* is a high surrogate (``0xD800 <= ch <= 0xDBFF``)." msgstr "" -#: c-api/unicode.rst:379 +#: c-api/unicode.rst:390 msgid "Check if *ch* is a low surrogate (``0xDC00 <= ch <= 0xDFFF``)." msgstr "" -#: c-api/unicode.rst:383 +#: c-api/unicode.rst:394 msgid "" "Join two surrogate characters and return a single Py_UCS4 value. *high* and " "*low* are respectively the leading and trailing surrogates in a surrogate " "pair." msgstr "" -#: c-api/unicode.rst:389 +#: c-api/unicode.rst:400 msgid "Creating and accessing Unicode strings" msgstr "" -#: c-api/unicode.rst:391 +#: c-api/unicode.rst:402 msgid "" "To create Unicode objects and access their basic sequence properties, use " "these APIs:" msgstr "" -#: c-api/unicode.rst:396 +#: c-api/unicode.rst:407 msgid "" "Create a new Unicode object. *maxchar* should be the true maximum code " "point to be placed in the string. As an approximation, it can be rounded up " "to the nearest value in the sequence 127, 255, 65535, 1114111." msgstr "" -#: c-api/unicode.rst:400 +#: c-api/unicode.rst:411 msgid "" "This is the recommended way to allocate a new Unicode object. Objects " "created using this function are not resizable." msgstr "" -#: c-api/unicode.rst:409 +#: c-api/unicode.rst:420 msgid "" "Create a new Unicode object with the given *kind* (possible values are :c:" "macro:`PyUnicode_1BYTE_KIND` etc., as returned by :c:func:" @@ -413,7 +428,7 @@ msgid "" "1, 2 or 4 bytes per character, as given by the kind." msgstr "" -#: c-api/unicode.rst:419 +#: c-api/unicode.rst:430 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 " @@ -421,19 +436,19 @@ msgid "" "object, i.e. modification of the data is not allowed." msgstr "" -#: c-api/unicode.rst:424 +#: c-api/unicode.rst:435 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`." msgstr "" -#: c-api/unicode.rst:431 +#: c-api/unicode.rst:442 msgid "" "Create a Unicode object from a UTF-8 encoded null-terminated char buffer *u*." msgstr "" -#: c-api/unicode.rst:437 +#: c-api/unicode.rst:448 msgid "" "Take a C :c:func:`printf`\\ -style *format* string and a variable number of " "arguments, calculate the size of the resulting Python Unicode string and " @@ -442,263 +457,263 @@ msgid "" "*format* ASCII-encoded string. The following format characters are allowed:" msgstr "" -#: c-api/unicode.rst:452 +#: c-api/unicode.rst:463 msgid "Format Characters" msgstr "Caractères de format" -#: c-api/unicode.rst:452 +#: c-api/unicode.rst:463 msgid "Type" msgstr "Type" -#: c-api/unicode.rst:452 +#: c-api/unicode.rst:463 #, fuzzy msgid "Comment" msgstr "Commentaires" -#: c-api/unicode.rst:454 +#: c-api/unicode.rst:465 msgid ":attr:`%%`" msgstr "" -#: c-api/unicode.rst:454 +#: c-api/unicode.rst:465 msgid "*n/a*" msgstr "" -#: c-api/unicode.rst:454 +#: c-api/unicode.rst:465 msgid "The literal % character." msgstr "" -#: c-api/unicode.rst:456 +#: c-api/unicode.rst:467 msgid ":attr:`%c`" msgstr "" -#: c-api/unicode.rst:456 c-api/unicode.rst:459 c-api/unicode.rst:492 -#: c-api/unicode.rst:495 +#: c-api/unicode.rst:467 c-api/unicode.rst:470 c-api/unicode.rst:503 +#: c-api/unicode.rst:506 msgid "int" msgstr "*int*" -#: c-api/unicode.rst:456 +#: c-api/unicode.rst:467 msgid "A single character, represented as a C int." msgstr "" -#: c-api/unicode.rst:459 +#: c-api/unicode.rst:470 msgid ":attr:`%d`" msgstr "" -#: c-api/unicode.rst:459 +#: c-api/unicode.rst:470 msgid "Equivalent to ``printf(\"%d\")``. [1]_" msgstr "" -#: c-api/unicode.rst:462 +#: c-api/unicode.rst:473 msgid ":attr:`%u`" msgstr "" -#: c-api/unicode.rst:462 +#: c-api/unicode.rst:473 msgid "unsigned int" msgstr "``unsigned int``" -#: c-api/unicode.rst:462 +#: c-api/unicode.rst:473 msgid "Equivalent to ``printf(\"%u\")``. [1]_" msgstr "" -#: c-api/unicode.rst:465 +#: c-api/unicode.rst:476 msgid ":attr:`%ld`" msgstr "" -#: c-api/unicode.rst:465 c-api/unicode.rst:468 +#: c-api/unicode.rst:476 c-api/unicode.rst:479 msgid "long" msgstr "" -#: c-api/unicode.rst:465 +#: c-api/unicode.rst:476 msgid "Equivalent to ``printf(\"%ld\")``. [1]_" msgstr "" -#: c-api/unicode.rst:468 +#: c-api/unicode.rst:479 msgid ":attr:`%li`" msgstr "" -#: c-api/unicode.rst:468 +#: c-api/unicode.rst:479 msgid "Equivalent to ``printf(\"%li\")``. [1]_" msgstr "" -#: c-api/unicode.rst:471 +#: c-api/unicode.rst:482 msgid ":attr:`%lu`" msgstr "" -#: c-api/unicode.rst:471 +#: c-api/unicode.rst:482 msgid "unsigned long" msgstr "``unsigned long``" -#: c-api/unicode.rst:471 +#: c-api/unicode.rst:482 msgid "Equivalent to ``printf(\"%lu\")``. [1]_" msgstr "" -#: c-api/unicode.rst:474 +#: c-api/unicode.rst:485 msgid ":attr:`%lld`" msgstr "" -#: c-api/unicode.rst:474 c-api/unicode.rst:477 +#: c-api/unicode.rst:485 c-api/unicode.rst:488 msgid "long long" msgstr "" -#: c-api/unicode.rst:474 +#: c-api/unicode.rst:485 msgid "Equivalent to ``printf(\"%lld\")``. [1]_" msgstr "" -#: c-api/unicode.rst:477 +#: c-api/unicode.rst:488 msgid ":attr:`%lli`" msgstr "" -#: c-api/unicode.rst:477 +#: c-api/unicode.rst:488 msgid "Equivalent to ``printf(\"%lli\")``. [1]_" msgstr "" -#: c-api/unicode.rst:480 +#: c-api/unicode.rst:491 msgid ":attr:`%llu`" msgstr "" -#: c-api/unicode.rst:480 +#: c-api/unicode.rst:491 msgid "unsigned long long" msgstr "``unsigned long long``" -#: c-api/unicode.rst:480 +#: c-api/unicode.rst:491 msgid "Equivalent to ``printf(\"%llu\")``. [1]_" msgstr "" -#: c-api/unicode.rst:483 +#: c-api/unicode.rst:494 msgid ":attr:`%zd`" msgstr "" -#: c-api/unicode.rst:483 c-api/unicode.rst:486 +#: c-api/unicode.rst:494 c-api/unicode.rst:497 msgid "Py_ssize_t" msgstr "" -#: c-api/unicode.rst:483 +#: c-api/unicode.rst:494 msgid "Equivalent to ``printf(\"%zd\")``. [1]_" msgstr "" -#: c-api/unicode.rst:486 +#: c-api/unicode.rst:497 msgid ":attr:`%zi`" msgstr "" -#: c-api/unicode.rst:486 +#: c-api/unicode.rst:497 msgid "Equivalent to ``printf(\"%zi\")``. [1]_" msgstr "" -#: c-api/unicode.rst:489 +#: c-api/unicode.rst:500 msgid ":attr:`%zu`" msgstr "" -#: c-api/unicode.rst:489 +#: c-api/unicode.rst:500 msgid "size_t" msgstr "" -#: c-api/unicode.rst:489 +#: c-api/unicode.rst:500 msgid "Equivalent to ``printf(\"%zu\")``. [1]_" msgstr "" -#: c-api/unicode.rst:492 +#: c-api/unicode.rst:503 msgid ":attr:`%i`" msgstr "" -#: c-api/unicode.rst:492 +#: c-api/unicode.rst:503 msgid "Equivalent to ``printf(\"%i\")``. [1]_" msgstr "" -#: c-api/unicode.rst:495 +#: c-api/unicode.rst:506 msgid ":attr:`%x`" msgstr "" -#: c-api/unicode.rst:495 +#: c-api/unicode.rst:506 msgid "Equivalent to ``printf(\"%x\")``. [1]_" msgstr "" -#: c-api/unicode.rst:498 +#: c-api/unicode.rst:509 msgid ":attr:`%s`" msgstr "" -#: c-api/unicode.rst:498 +#: c-api/unicode.rst:509 msgid "const char\\*" msgstr "" -#: c-api/unicode.rst:498 +#: c-api/unicode.rst:509 msgid "A null-terminated C character array." msgstr "" -#: c-api/unicode.rst:501 +#: c-api/unicode.rst:512 msgid ":attr:`%p`" msgstr "" -#: c-api/unicode.rst:501 +#: c-api/unicode.rst:512 msgid "const void\\*" msgstr "" -#: c-api/unicode.rst:501 +#: c-api/unicode.rst:512 msgid "" "The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p" "\")`` except that it is guaranteed to start with the literal ``0x`` " "regardless of what the platform's ``printf`` yields." msgstr "" -#: c-api/unicode.rst:509 +#: c-api/unicode.rst:520 msgid ":attr:`%A`" msgstr "" -#: c-api/unicode.rst:509 c-api/unicode.rst:512 c-api/unicode.rst:521 -#: c-api/unicode.rst:524 +#: c-api/unicode.rst:520 c-api/unicode.rst:523 c-api/unicode.rst:532 +#: c-api/unicode.rst:535 msgid "PyObject\\*" msgstr "PyObject\\*" -#: c-api/unicode.rst:509 +#: c-api/unicode.rst:520 msgid "The result of calling :func:`ascii`." msgstr "" -#: c-api/unicode.rst:512 +#: c-api/unicode.rst:523 msgid ":attr:`%U`" msgstr "" -#: c-api/unicode.rst:512 +#: c-api/unicode.rst:523 #, fuzzy msgid "A Unicode object." msgstr "Un objet Unicode." -#: c-api/unicode.rst:514 +#: c-api/unicode.rst:525 msgid ":attr:`%V`" msgstr "" -#: c-api/unicode.rst:514 +#: c-api/unicode.rst:525 msgid "PyObject\\*, const char\\*" msgstr "" -#: c-api/unicode.rst:514 +#: c-api/unicode.rst:525 msgid "" "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``)." msgstr "" -#: c-api/unicode.rst:521 +#: c-api/unicode.rst:532 msgid ":attr:`%S`" msgstr "" -#: c-api/unicode.rst:521 +#: c-api/unicode.rst:532 msgid "The result of calling :c:func:`PyObject_Str`." msgstr "" -#: c-api/unicode.rst:524 +#: c-api/unicode.rst:535 msgid ":attr:`%R`" msgstr "" -#: c-api/unicode.rst:524 +#: c-api/unicode.rst:535 msgid "The result of calling :c:func:`PyObject_Repr`." msgstr "" -#: c-api/unicode.rst:528 +#: c-api/unicode.rst:539 msgid "" "An unrecognized format character causes all the rest of the format string to " "be copied as-is to the result string, and any extra arguments discarded." msgstr "" -#: c-api/unicode.rst:532 +#: c-api/unicode.rst:543 msgid "" "The width formatter unit is number of characters rather than bytes. The " "precision formatter unit is number of bytes for ``\"%s\"`` and ``\"%V\"`` " @@ -707,37 +722,37 @@ msgid "" "``PyObject*`` argument is not ``NULL``)." msgstr "" -#: c-api/unicode.rst:538 +#: c-api/unicode.rst:549 msgid "" "For integer specifiers (d, u, ld, li, lu, lld, lli, llu, zd, zi, zu, i, x): " "the 0-conversion flag has effect even when a precision is given." msgstr "" -#: c-api/unicode.rst:541 +#: c-api/unicode.rst:552 msgid "Support for ``\"%lld\"`` and ``\"%llu\"`` added." msgstr "" -#: c-api/unicode.rst:544 +#: c-api/unicode.rst:555 msgid "Support for ``\"%li\"``, ``\"%lli\"`` and ``\"%zi\"`` added." msgstr "" -#: c-api/unicode.rst:547 +#: c-api/unicode.rst:558 msgid "" "Support width and precision formatter for ``\"%s\"``, ``\"%A\"``, ``\"%U" "\"``, ``\"%V\"``, ``\"%S\"``, ``\"%R\"`` added." msgstr "" -#: c-api/unicode.rst:554 +#: c-api/unicode.rst:565 msgid "" "Identical to :c:func:`PyUnicode_FromFormat` except that it takes exactly two " "arguments." msgstr "" -#: c-api/unicode.rst:561 +#: c-api/unicode.rst:572 msgid "Decode an encoded object *obj* to a Unicode object." msgstr "" -#: c-api/unicode.rst:563 +#: c-api/unicode.rst:574 msgid "" ":class:`bytes`, :class:`bytearray` and other :term:`bytes-like objects " "` are decoded according to the given *encoding* and using " @@ -745,23 +760,23 @@ msgid "" "interface use the default values (see :ref:`builtincodecs` for details)." msgstr "" -#: c-api/unicode.rst:569 +#: c-api/unicode.rst:580 msgid "" "All other objects, including Unicode objects, cause a :exc:`TypeError` to be " "set." msgstr "" -#: c-api/unicode.rst:572 +#: c-api/unicode.rst:583 msgid "" "The API returns ``NULL`` if there was an error. The caller is responsible " "for decref'ing the returned objects." msgstr "" -#: c-api/unicode.rst:578 +#: c-api/unicode.rst:589 msgid "Return the length of the Unicode object, in code points." msgstr "" -#: c-api/unicode.rst:589 +#: c-api/unicode.rst:600 msgid "" "Copy characters from one Unicode object into another. This function " "performs character conversion when necessary and falls back to :c:func:" @@ -769,52 +784,52 @@ msgid "" "otherwise returns the number of copied characters." msgstr "" -#: c-api/unicode.rst:600 +#: c-api/unicode.rst:611 msgid "" "Fill a string with a character: write *fill_char* into ``unicode[start:start" "+length]``." msgstr "" -#: c-api/unicode.rst:603 +#: c-api/unicode.rst:614 msgid "" "Fail if *fill_char* is bigger than the string maximum character, or if the " "string has more than 1 reference." msgstr "" -#: c-api/unicode.rst:606 +#: c-api/unicode.rst:617 msgid "" "Return the number of written character, or return ``-1`` and raise an " "exception on error." msgstr "" -#: c-api/unicode.rst:615 +#: c-api/unicode.rst:626 msgid "" "Write a character to a string. The string must have been created through :c:" "func:`PyUnicode_New`. Since Unicode strings are supposed to be immutable, " "the string must not be shared, or have been hashed yet." msgstr "" -#: c-api/unicode.rst:619 +#: c-api/unicode.rst:630 msgid "" "This function checks that *unicode* is a Unicode object, that the index is " "not out of bounds, and that the object can be modified safely (i.e. that it " "its reference count is one)." msgstr "" -#: c-api/unicode.rst:628 +#: c-api/unicode.rst:639 msgid "" "Read a character from a string. This function checks that *unicode* is a " "Unicode object and the index is not out of bounds, in contrast to the macro " "version :c:func:`PyUnicode_READ_CHAR`." msgstr "" -#: c-api/unicode.rst:638 +#: c-api/unicode.rst:649 msgid "" "Return a substring of *str*, from character index *start* (included) to " "character index *end* (excluded). Negative indices are not supported." msgstr "" -#: c-api/unicode.rst:647 +#: c-api/unicode.rst:658 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 " @@ -822,7 +837,7 @@ msgid "" "*u*). *buffer* is returned on success." msgstr "" -#: c-api/unicode.rst:657 +#: c-api/unicode.rst:668 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:" @@ -830,11 +845,11 @@ msgid "" "appended." msgstr "" -#: c-api/unicode.rst:666 +#: c-api/unicode.rst:677 msgid "Deprecated Py_UNICODE APIs" msgstr "" -#: c-api/unicode.rst:670 +#: c-api/unicode.rst:681 msgid "" "These API functions are deprecated with the implementation of :pep:`393`. " "Extension modules can continue using them, as they will not be removed in " @@ -842,7 +857,7 @@ msgid "" "and memory hits." msgstr "" -#: c-api/unicode.rst:677 +#: c-api/unicode.rst:688 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 " @@ -850,27 +865,28 @@ msgid "" "the new object." msgstr "" -#: c-api/unicode.rst:682 +#: c-api/unicode.rst:693 msgid "" "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``." msgstr "" -#: c-api/unicode.rst:686 +#: c-api/unicode.rst:697 msgid "" "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 "" -#: c-api/unicode.rst:690 +#: c-api/unicode.rst:704 msgid "" -"Please migrate to using :c:func:`PyUnicode_FromKindAndData`, :c:func:" -"`PyUnicode_FromWideChar` or :c:func:`PyUnicode_New`." +"Part of the old-style Unicode API, please migrate to using :c:func:" +"`PyUnicode_FromKindAndData`, :c:func:`PyUnicode_FromWideChar`, or :c:func:" +"`PyUnicode_New`." msgstr "" -#: c-api/unicode.rst:696 +#: c-api/unicode.rst:709 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:" @@ -881,20 +897,21 @@ msgid "" "functions." msgstr "" -#: c-api/unicode.rst:704 +#: c-api/unicode.rst:721 c-api/unicode.rst:745 msgid "" -"Please migrate to using :c:func:`PyUnicode_AsUCS4`, :c:func:" -"`PyUnicode_AsWideChar`, :c:func:`PyUnicode_ReadChar` or similar new APIs." +"Part of the old-style Unicode API, please migrate to using :c:func:" +"`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsWideChar`, :c:func:" +"`PyUnicode_ReadChar` or similar new APIs." msgstr "" -#: c-api/unicode.rst:713 +#: c-api/unicode.rst:727 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." msgstr "" -#: c-api/unicode.rst:720 +#: c-api/unicode.rst:734 msgid "" "Like :c:func:`PyUnicode_AsUnicode`, but also saves the :c:func:`Py_UNICODE` " "array length (excluding the extra null terminator) in *size*. Note that the " @@ -903,7 +920,7 @@ msgid "" "functions." msgstr "" -#: c-api/unicode.rst:731 +#: c-api/unicode.rst:750 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 " @@ -913,44 +930,40 @@ msgid "" "truncated when used in most C functions." msgstr "" -#: c-api/unicode.rst:740 +#: c-api/unicode.rst:759 msgid "" "Please migrate to using :c:func:`PyUnicode_AsUCS4Copy` or similar new APIs." msgstr "" -#: c-api/unicode.rst:745 +#: c-api/unicode.rst:764 msgid "" "Return the size of the deprecated :c:type:`Py_UNICODE` representation, in " "code units (this includes surrogate pairs as 2 units)." msgstr "" -#: c-api/unicode.rst:748 -msgid "Please migrate to using :c:func:`PyUnicode_GetLength`." -msgstr "" - -#: c-api/unicode.rst:753 +#: c-api/unicode.rst:774 msgid "" "Copy an instance of a Unicode subtype to a new true Unicode object if " "necessary. If *obj* is already a true Unicode object (not a subtype), return " "the reference with incremented refcount." msgstr "" -#: c-api/unicode.rst:757 +#: c-api/unicode.rst:778 msgid "" "Objects other than Unicode or its subtypes will cause a :exc:`TypeError`." msgstr "" -#: c-api/unicode.rst:761 +#: c-api/unicode.rst:782 msgid "Locale Encoding" msgstr "" -#: c-api/unicode.rst:763 +#: c-api/unicode.rst:784 msgid "" "The current locale encoding can be used to decode text from the operating " "system." msgstr "" -#: c-api/unicode.rst:770 +#: c-api/unicode.rst:791 msgid "" "Decode a string from UTF-8 on Android and VxWorks, or from the current " "locale encoding on other platforms. The supported error handlers are ``" @@ -959,22 +972,22 @@ msgid "" "null character but cannot contain embedded null characters." msgstr "" -#: c-api/unicode.rst:777 +#: c-api/unicode.rst:798 msgid "" "Use :c:func:`PyUnicode_DecodeFSDefaultAndSize` to decode a string from :c:" "data:`Py_FileSystemDefaultEncoding` (the locale encoding read at Python " "startup)." msgstr "" -#: c-api/unicode.rst:781 c-api/unicode.rst:817 +#: c-api/unicode.rst:802 c-api/unicode.rst:838 msgid "This function ignores the Python UTF-8 mode." msgstr "" -#: c-api/unicode.rst:785 c-api/unicode.rst:889 +#: c-api/unicode.rst:806 c-api/unicode.rst:910 msgid "The :c:func:`Py_DecodeLocale` function." msgstr "" -#: c-api/unicode.rst:789 +#: c-api/unicode.rst:810 msgid "" "The function now also uses the current locale encoding for the " "``surrogateescape`` error handler, except on Android. Previously, :c:func:" @@ -982,13 +995,13 @@ msgid "" "locale encoding was used for ``strict``." msgstr "" -#: c-api/unicode.rst:798 +#: c-api/unicode.rst:819 msgid "" "Similar to :c:func:`PyUnicode_DecodeLocaleAndSize`, but compute the string " "length using :c:func:`strlen`." msgstr "" -#: c-api/unicode.rst:806 +#: c-api/unicode.rst:827 msgid "" "Encode a Unicode object to UTF-8 on Android and VxWorks, or to the current " "locale encoding on other platforms. The supported error handlers are ``" @@ -997,17 +1010,17 @@ msgid "" "object. *unicode* cannot contain embedded null characters." msgstr "" -#: c-api/unicode.rst:813 +#: c-api/unicode.rst:834 msgid "" "Use :c:func:`PyUnicode_EncodeFSDefault` to encode a string to :c:data:" "`Py_FileSystemDefaultEncoding` (the locale encoding read at Python startup)." msgstr "" -#: c-api/unicode.rst:821 c-api/unicode.rst:925 +#: c-api/unicode.rst:842 c-api/unicode.rst:946 msgid "The :c:func:`Py_EncodeLocale` function." msgstr "" -#: c-api/unicode.rst:825 +#: c-api/unicode.rst:846 msgid "" "The function now also uses the current locale encoding for the " "``surrogateescape`` error handler, except on Android. Previously, :c:func:" @@ -1015,11 +1028,11 @@ msgid "" "locale encoding was used for ``strict``." msgstr "" -#: c-api/unicode.rst:834 +#: c-api/unicode.rst:855 msgid "File System Encoding" msgstr "" -#: c-api/unicode.rst:836 +#: c-api/unicode.rst:857 msgid "" "To encode and decode file names and other environment strings, :c:data:" "`Py_FileSystemDefaultEncoding` should be used as the encoding, and :c:data:" @@ -1029,7 +1042,7 @@ msgid "" "`PyUnicode_FSConverter` as the conversion function:" msgstr "" -#: c-api/unicode.rst:845 +#: c-api/unicode.rst:866 msgid "" "ParseTuple converter: encode :class:`str` objects -- obtained directly or " "through the :class:`os.PathLike` interface -- to :class:`bytes` using :c:" @@ -1038,18 +1051,18 @@ msgid "" "is no longer used." msgstr "" -#: c-api/unicode.rst:853 c-api/unicode.rst:870 +#: c-api/unicode.rst:874 c-api/unicode.rst:891 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." -#: c-api/unicode.rst:856 +#: c-api/unicode.rst:877 msgid "" "To decode file names to :class:`str` during argument parsing, the ``\"O&\"`` " "converter should be used, passing :c:func:`PyUnicode_FSDecoder` as the " "conversion function:" msgstr "" -#: c-api/unicode.rst:862 +#: c-api/unicode.rst:883 msgid "" "ParseTuple converter: decode :class:`bytes` objects -- obtained either " "directly or indirectly through the :class:`os.PathLike` interface -- to :" @@ -1058,19 +1071,19 @@ msgid "" "which must be released when it is no longer used." msgstr "" -#: c-api/unicode.rst:876 +#: c-api/unicode.rst:897 msgid "" "Decode a string using :c:data:`Py_FileSystemDefaultEncoding` and the :c:data:" "`Py_FileSystemDefaultEncodeErrors` error handler." msgstr "" -#: c-api/unicode.rst:879 c-api/unicode.rst:900 c-api/unicode.rst:916 +#: c-api/unicode.rst:900 c-api/unicode.rst:921 c-api/unicode.rst:937 msgid "" "If :c:data:`Py_FileSystemDefaultEncoding` is not set, fall back to the " "locale encoding." msgstr "" -#: c-api/unicode.rst:882 +#: c-api/unicode.rst:903 msgid "" ":c:data:`Py_FileSystemDefaultEncoding` is initialized at startup from the " "locale encoding and cannot be modified later. If you need to decode a string " @@ -1078,22 +1091,22 @@ msgid "" "`PyUnicode_DecodeLocaleAndSize`." msgstr "" -#: c-api/unicode.rst:891 c-api/unicode.rst:905 c-api/unicode.rst:929 +#: c-api/unicode.rst:912 c-api/unicode.rst:926 c-api/unicode.rst:950 msgid "Use :c:data:`Py_FileSystemDefaultEncodeErrors` error handler." msgstr "" -#: c-api/unicode.rst:897 +#: c-api/unicode.rst:918 msgid "" "Decode a null-terminated string using :c:data:`Py_FileSystemDefaultEncoding` " "and the :c:data:`Py_FileSystemDefaultEncodeErrors` error handler." msgstr "" -#: c-api/unicode.rst:903 +#: c-api/unicode.rst:924 msgid "" "Use :c:func:`PyUnicode_DecodeFSDefaultAndSize` if you know the string length." msgstr "" -#: c-api/unicode.rst:911 +#: c-api/unicode.rst:932 msgid "" "Encode a Unicode object to :c:data:`Py_FileSystemDefaultEncoding` with the :" "c:data:`Py_FileSystemDefaultEncodeErrors` error handler, and return :class:" @@ -1101,29 +1114,29 @@ msgid "" "bytes." msgstr "" -#: c-api/unicode.rst:919 +#: c-api/unicode.rst:940 msgid "" ":c:data:`Py_FileSystemDefaultEncoding` is initialized at startup from the " "locale encoding and cannot be modified later. If you need to encode a string " "to the current locale encoding, use :c:func:`PyUnicode_EncodeLocale`." msgstr "" -#: c-api/unicode.rst:933 +#: c-api/unicode.rst:954 msgid "wchar_t Support" msgstr "" -#: c-api/unicode.rst:935 +#: c-api/unicode.rst:956 msgid ":c:type:`wchar_t` support for platforms which support it:" msgstr "" -#: c-api/unicode.rst:939 +#: c-api/unicode.rst:960 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." msgstr "" -#: c-api/unicode.rst:947 +#: c-api/unicode.rst:968 msgid "" "Copy the Unicode object contents into the :c:type:`wchar_t` buffer *w*. At " "most *size* :c:type:`wchar_t` characters are copied (excluding a possibly " @@ -1136,7 +1149,7 @@ msgid "" "would cause the string to be truncated when used with most C functions." msgstr "" -#: c-api/unicode.rst:960 +#: c-api/unicode.rst:981 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 " @@ -1147,7 +1160,7 @@ msgid "" "`wchar_t*` string contains null characters a :exc:`ValueError` is raised." msgstr "" -#: c-api/unicode.rst:968 +#: c-api/unicode.rst:989 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 *" @@ -1155,30 +1168,30 @@ msgid "" "failed." msgstr "" -#: c-api/unicode.rst:975 +#: c-api/unicode.rst:996 msgid "" "Raises a :exc:`ValueError` if *size* is ``NULL`` and the :c:type:`wchar_t*` " "string contains null characters." msgstr "" -#: c-api/unicode.rst:983 +#: c-api/unicode.rst:1004 msgid "Built-in Codecs" msgstr "" -#: c-api/unicode.rst:985 +#: c-api/unicode.rst:1006 msgid "" "Python provides a set of built-in codecs which are written in C for speed. " "All of these codecs are directly usable via the following functions." msgstr "" -#: c-api/unicode.rst:988 +#: c-api/unicode.rst:1009 msgid "" "Many of the following APIs take two arguments encoding and errors, and they " "have the same semantics as the ones of the built-in :func:`str` string " "object constructor." msgstr "" -#: c-api/unicode.rst:992 +#: c-api/unicode.rst:1013 msgid "" "Setting encoding to ``NULL`` causes the default encoding to be used which is " "UTF-8. The file system calls should use :c:func:`PyUnicode_FSConverter` for " @@ -1189,28 +1202,28 @@ msgid "" "setlocale)." msgstr "" -#: c-api/unicode.rst:1000 +#: c-api/unicode.rst:1021 msgid "" "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 "" -#: c-api/unicode.rst:1004 +#: c-api/unicode.rst:1025 msgid "" "The codecs all use a similar interface. Only deviation from the following " "generic ones are documented for simplicity." msgstr "" -#: c-api/unicode.rst:1009 +#: c-api/unicode.rst:1030 msgid "Generic Codecs" msgstr "" -#: c-api/unicode.rst:1011 +#: c-api/unicode.rst:1032 msgid "These are the generic codec APIs:" msgstr "" -#: c-api/unicode.rst:1017 +#: c-api/unicode.rst:1038 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 " @@ -1219,7 +1232,7 @@ msgid "" "raised by the codec." msgstr "" -#: c-api/unicode.rst:1027 +#: c-api/unicode.rst:1048 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 " @@ -1228,7 +1241,7 @@ msgid "" "was raised by the codec." msgstr "" -#: c-api/unicode.rst:1037 +#: c-api/unicode.rst:1058 msgid "" "Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* and return a " "Python bytes object. *encoding* and *errors* have the same meaning as the " @@ -1237,27 +1250,27 @@ msgid "" "``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1045 c-api/unicode.rst:1302 +#: c-api/unicode.rst:1066 c-api/unicode.rst:1323 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1049 +#: c-api/unicode.rst:1070 msgid "UTF-8 Codecs" msgstr "" -#: c-api/unicode.rst:1051 +#: c-api/unicode.rst:1072 msgid "These are the UTF-8 codec APIs:" msgstr "" -#: c-api/unicode.rst:1056 +#: c-api/unicode.rst:1077 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." msgstr "" -#: c-api/unicode.rst:1063 +#: c-api/unicode.rst:1084 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If " "*consumed* is not ``NULL``, trailing incomplete UTF-8 byte sequences will " @@ -1265,14 +1278,14 @@ msgid "" "of bytes that have been decoded will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1071 +#: c-api/unicode.rst:1092 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 " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1078 +#: c-api/unicode.rst:1099 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* " @@ -1281,63 +1294,63 @@ msgid "" "regardless of whether there are any other null code points." msgstr "" -#: c-api/unicode.rst:1084 +#: c-api/unicode.rst:1105 msgid "" "In the case of an error, ``NULL`` is returned with an exception set and no " "*size* is stored." msgstr "" -#: c-api/unicode.rst:1087 +#: c-api/unicode.rst:1108 msgid "" "This caches the UTF-8 representation of the string in the Unicode object, " "and subsequent calls will return a pointer to the same buffer. The caller " "is not responsible for deallocating the buffer." msgstr "" -#: c-api/unicode.rst:1093 c-api/unicode.rst:1103 +#: c-api/unicode.rst:1114 c-api/unicode.rst:1124 msgid "The return type is now ``const char *`` rather of ``char *``." msgstr "" -#: c-api/unicode.rst:1099 +#: c-api/unicode.rst:1120 msgid "As :c:func:`PyUnicode_AsUTF8AndSize`, but does not store the size." msgstr "" -#: c-api/unicode.rst:1109 +#: c-api/unicode.rst:1130 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." msgstr "" -#: c-api/unicode.rst:1116 +#: c-api/unicode.rst:1137 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsUTF8String`, :c:func:`PyUnicode_AsUTF8AndSize` or :c:func:" "`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1120 +#: c-api/unicode.rst:1141 msgid "UTF-32 Codecs" msgstr "" -#: c-api/unicode.rst:1122 +#: c-api/unicode.rst:1143 msgid "These are the UTF-32 codec APIs:" msgstr "" -#: c-api/unicode.rst:1128 +#: c-api/unicode.rst:1149 msgid "" "Decode *size* bytes from a UTF-32 encoded buffer string and return the " "corresponding Unicode object. *errors* (if non-``NULL``) defines the error " "handling. It defaults to \"strict\"." msgstr "" -#: c-api/unicode.rst:1132 c-api/unicode.rst:1205 +#: c-api/unicode.rst:1153 c-api/unicode.rst:1226 msgid "" "If *byteorder* is non-``NULL``, the decoder starts decoding using the given " "byte order::" msgstr "" -#: c-api/unicode.rst:1139 +#: c-api/unicode.rst:1160 msgid "" "If ``*byteorder`` is zero, and the first four bytes of the input data are a " "byte order mark (BOM), the decoder switches to this byte order and the BOM " @@ -1345,22 +1358,22 @@ msgid "" "``-1`` or ``1``, any byte order mark is copied to the output." msgstr "" -#: c-api/unicode.rst:1144 c-api/unicode.rst:1218 +#: c-api/unicode.rst:1165 c-api/unicode.rst:1239 msgid "" "After completion, *\\*byteorder* is set to the current byte order at the end " "of input data." msgstr "" -#: c-api/unicode.rst:1147 c-api/unicode.rst:1221 +#: c-api/unicode.rst:1168 c-api/unicode.rst:1242 msgid "If *byteorder* is ``NULL``, the codec starts in native order mode." msgstr "" -#: c-api/unicode.rst:1149 c-api/unicode.rst:1185 c-api/unicode.rst:1223 -#: c-api/unicode.rst:1260 +#: c-api/unicode.rst:1170 c-api/unicode.rst:1206 c-api/unicode.rst:1244 +#: c-api/unicode.rst:1281 msgid "Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1155 +#: c-api/unicode.rst:1176 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF32`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF32Stateful` will not " @@ -1369,53 +1382,53 @@ msgid "" "number of bytes that have been decoded will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1164 +#: c-api/unicode.rst:1185 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." msgstr "" -#: c-api/unicode.rst:1172 +#: c-api/unicode.rst:1193 msgid "" "Return a Python bytes object holding the UTF-32 encoded value of the Unicode " "data in *s*. Output is written according to the following byte order::" msgstr "" -#: c-api/unicode.rst:1179 c-api/unicode.rst:1253 +#: c-api/unicode.rst:1200 c-api/unicode.rst:1274 msgid "" "If byteorder is ``0``, the output string will always start with the Unicode " "BOM mark (U+FEFF). In the other two modes, no BOM mark is prepended." msgstr "" -#: c-api/unicode.rst:1182 +#: c-api/unicode.rst:1203 msgid "" "If ``Py_UNICODE_WIDE`` is not defined, surrogate pairs will be output as a " "single code point." msgstr "" -#: c-api/unicode.rst:1189 +#: c-api/unicode.rst:1210 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1193 +#: c-api/unicode.rst:1214 msgid "UTF-16 Codecs" msgstr "" -#: c-api/unicode.rst:1195 +#: c-api/unicode.rst:1216 msgid "These are the UTF-16 codec APIs:" msgstr "" -#: c-api/unicode.rst:1201 +#: c-api/unicode.rst:1222 msgid "" "Decode *size* bytes from a UTF-16 encoded buffer string and return the " "corresponding Unicode object. *errors* (if non-``NULL``) defines the error " "handling. It defaults to \"strict\"." msgstr "" -#: c-api/unicode.rst:1212 +#: c-api/unicode.rst:1233 msgid "" "If ``*byteorder`` is zero, and the first two bytes of the input data are a " "byte order mark (BOM), the decoder switches to this byte order and the BOM " @@ -1424,7 +1437,7 @@ msgid "" "result in either a ``\\ufeff`` or a ``\\ufffe`` character)." msgstr "" -#: c-api/unicode.rst:1229 +#: c-api/unicode.rst:1250 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF16`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF16Stateful` will not " @@ -1434,47 +1447,47 @@ msgid "" "*consumed*." msgstr "" -#: c-api/unicode.rst:1238 +#: c-api/unicode.rst:1259 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." msgstr "" -#: c-api/unicode.rst:1246 +#: c-api/unicode.rst:1267 msgid "" "Return a Python bytes object holding the UTF-16 encoded value of the Unicode " "data in *s*. Output is written according to the following byte order::" msgstr "" -#: c-api/unicode.rst:1256 +#: c-api/unicode.rst:1277 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:" "`Py_UNICODE` values is interpreted as a UCS-2 character." msgstr "" -#: c-api/unicode.rst:1264 +#: c-api/unicode.rst:1285 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1268 +#: c-api/unicode.rst:1289 msgid "UTF-7 Codecs" msgstr "" -#: c-api/unicode.rst:1270 +#: c-api/unicode.rst:1291 msgid "These are the UTF-7 codec APIs:" msgstr "" -#: c-api/unicode.rst:1275 +#: c-api/unicode.rst:1296 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." msgstr "" -#: c-api/unicode.rst:1282 +#: c-api/unicode.rst:1303 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF7`. If " "*consumed* is not ``NULL``, trailing incomplete UTF-7 base-64 sections will " @@ -1482,14 +1495,14 @@ msgid "" "of bytes that have been decoded will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1291 +#: c-api/unicode.rst:1312 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 " "the codec." msgstr "" -#: c-api/unicode.rst:1295 +#: c-api/unicode.rst:1316 msgid "" "If *base64SetO* is nonzero, \"Set O\" (punctuation that has no otherwise " "special meaning) will be encoded in base-64. If *base64WhiteSpace* is " @@ -1497,152 +1510,152 @@ msgid "" "the Python \"utf-7\" codec." msgstr "" -#: c-api/unicode.rst:1306 +#: c-api/unicode.rst:1327 msgid "Unicode-Escape Codecs" msgstr "" -#: c-api/unicode.rst:1308 +#: c-api/unicode.rst:1329 msgid "These are the \"Unicode Escape\" codec APIs:" msgstr "" -#: c-api/unicode.rst:1314 +#: c-api/unicode.rst:1335 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." msgstr "" -#: c-api/unicode.rst:1320 +#: c-api/unicode.rst:1341 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." msgstr "" -#: c-api/unicode.rst:1327 +#: c-api/unicode.rst:1348 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." msgstr "" -#: c-api/unicode.rst:1332 +#: c-api/unicode.rst:1353 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsUnicodeEscapeString`." msgstr "" -#: c-api/unicode.rst:1336 +#: c-api/unicode.rst:1357 msgid "Raw-Unicode-Escape Codecs" msgstr "" -#: c-api/unicode.rst:1338 +#: c-api/unicode.rst:1359 msgid "These are the \"Raw Unicode Escape\" codec APIs:" msgstr "" -#: c-api/unicode.rst:1344 +#: c-api/unicode.rst:1365 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." msgstr "" -#: c-api/unicode.rst:1350 +#: c-api/unicode.rst:1371 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." msgstr "" -#: c-api/unicode.rst:1358 +#: c-api/unicode.rst:1379 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." msgstr "" -#: c-api/unicode.rst:1364 +#: c-api/unicode.rst:1385 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsRawUnicodeEscapeString` or :c:func:" "`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1368 +#: c-api/unicode.rst:1389 msgid "Latin-1 Codecs" msgstr "" -#: c-api/unicode.rst:1370 +#: c-api/unicode.rst:1391 msgid "" "These are the Latin-1 codec APIs: Latin-1 corresponds to the first 256 " "Unicode ordinals and only these are accepted by the codecs during encoding." msgstr "" -#: c-api/unicode.rst:1376 +#: c-api/unicode.rst:1397 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." msgstr "" -#: c-api/unicode.rst:1382 +#: c-api/unicode.rst:1403 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 " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1389 +#: c-api/unicode.rst:1410 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 " "the codec." msgstr "" -#: c-api/unicode.rst:1396 +#: c-api/unicode.rst:1417 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsLatin1String` or :c:func:`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1400 +#: c-api/unicode.rst:1421 msgid "ASCII Codecs" msgstr "" -#: c-api/unicode.rst:1402 +#: c-api/unicode.rst:1423 msgid "" "These are the ASCII codec APIs. Only 7-bit ASCII data is accepted. All " "other codes generate errors." msgstr "" -#: c-api/unicode.rst:1408 +#: c-api/unicode.rst:1429 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." msgstr "" -#: c-api/unicode.rst:1414 +#: c-api/unicode.rst:1435 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 " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1421 +#: c-api/unicode.rst:1442 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 " "the codec." msgstr "" -#: c-api/unicode.rst:1428 +#: c-api/unicode.rst:1449 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsASCIIString` or :c:func:`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1432 +#: c-api/unicode.rst:1453 msgid "Character Map Codecs" msgstr "" -#: c-api/unicode.rst:1434 +#: c-api/unicode.rst:1455 msgid "" "This codec is special in that it can be used to implement many different " "codecs (and this is in fact what was done to obtain most of the standard " @@ -1652,18 +1665,18 @@ msgid "" "well." msgstr "" -#: c-api/unicode.rst:1440 +#: c-api/unicode.rst:1461 msgid "These are the mapping codec APIs:" msgstr "" -#: c-api/unicode.rst:1445 +#: c-api/unicode.rst:1466 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." msgstr "" -#: c-api/unicode.rst:1449 +#: c-api/unicode.rst:1470 msgid "" "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 " @@ -1673,14 +1686,14 @@ msgid "" "treated as undefined mappings and cause an error." msgstr "" -#: c-api/unicode.rst:1460 +#: c-api/unicode.rst:1481 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 " "an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1464 +#: c-api/unicode.rst:1485 msgid "" "The *mapping* object must map Unicode ordinal integers to bytes objects, " "integers in the range from 0 to 255 or ``None``. Unmapped character " @@ -1688,57 +1701,68 @@ msgid "" "``None`` are treated as \"undefined mapping\" and cause an error." msgstr "" -#: c-api/unicode.rst:1473 +#: c-api/unicode.rst:1494 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." msgstr "" -#: c-api/unicode.rst:1480 +#: c-api/unicode.rst:1501 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsCharmapString` or :c:func:`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1483 +#: c-api/unicode.rst:1504 msgid "The following codec API is special in that maps Unicode to Unicode." msgstr "" -#: c-api/unicode.rst:1488 +#: c-api/unicode.rst:1508 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 " -"codec." +"Translate a string by applying a character mapping table to it and return " +"the resulting Unicode object. Return ``NULL`` if an exception was raised by " +"the codec." msgstr "" -#: c-api/unicode.rst:1492 +#: c-api/unicode.rst:1512 msgid "" -"The *mapping* object must map Unicode ordinal integers to Unicode strings, " -"integers (which are then interpreted as Unicode ordinals) or ``None`` " -"(causing deletion of the character). Unmapped character ordinals (ones " +"The mapping table must map Unicode ordinal integers to Unicode ordinal " +"integers or ``None`` (causing deletion of the character)." +msgstr "" + +#: c-api/unicode.rst:1515 +msgid "" +"Mapping tables need only provide the :meth:`__getitem__` interface; " +"dictionaries and sequences work well. Unmapped character ordinals (ones " "which cause a :exc:`LookupError`) are left untouched and are copied as-is." msgstr "" -#: c-api/unicode.rst:1501 +#: c-api/unicode.rst:1519 +msgid "" +"*errors* has the usual meaning for codecs. It may be ``NULL`` which " +"indicates to use the default error handling." +msgstr "" + +#: c-api/unicode.rst:1526 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." msgstr "" -#: c-api/unicode.rst:1508 +#: c-api/unicode.rst:1533 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_Translate`. or :ref:`generic codec based API `" msgstr "" -#: c-api/unicode.rst:1512 +#: c-api/unicode.rst:1537 msgid "MBCS codecs for Windows" msgstr "" -#: c-api/unicode.rst:1514 +#: c-api/unicode.rst:1539 msgid "" "These are the MBCS codec APIs. They are currently only available on Windows " "and use the Win32 MBCS converters to implement the conversions. Note that " @@ -1746,13 +1770,13 @@ msgid "" "is defined by the user settings on the machine running the codec." msgstr "" -#: c-api/unicode.rst:1521 +#: c-api/unicode.rst:1546 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." msgstr "" -#: c-api/unicode.rst:1528 +#: c-api/unicode.rst:1553 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeMBCS`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeMBCSStateful` will not " @@ -1760,58 +1784,58 @@ msgid "" "will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1536 +#: c-api/unicode.rst:1561 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 " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1543 +#: c-api/unicode.rst:1568 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." msgstr "" -#: c-api/unicode.rst:1552 +#: c-api/unicode.rst:1577 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 " "the codec." msgstr "" -#: c-api/unicode.rst:1559 +#: c-api/unicode.rst:1584 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsMBCSString`, :c:func:`PyUnicode_EncodeCodePage` or :c:func:" "`PyUnicode_AsEncodedString`." msgstr "" -#: c-api/unicode.rst:1563 +#: c-api/unicode.rst:1588 msgid "Methods & Slots" msgstr "" -#: c-api/unicode.rst:1569 +#: c-api/unicode.rst:1594 msgid "Methods and Slot Functions" msgstr "" -#: c-api/unicode.rst:1571 +#: c-api/unicode.rst:1596 msgid "" "The following APIs are capable of handling Unicode objects and strings on " "input (we refer to them as strings in the descriptions) and return Unicode " "objects or integers as appropriate." msgstr "" -#: c-api/unicode.rst:1575 +#: c-api/unicode.rst:1600 msgid "They all return ``NULL`` or ``-1`` if an exception occurs." msgstr "" -#: c-api/unicode.rst:1580 +#: c-api/unicode.rst:1605 msgid "Concat two strings giving a new Unicode string." msgstr "" -#: c-api/unicode.rst:1585 +#: c-api/unicode.rst:1610 msgid "" "Split a string giving a list of Unicode strings. If *sep* is ``NULL``, " "splitting will be done at all whitespace substrings. Otherwise, splits " @@ -1820,52 +1844,27 @@ msgid "" "list." msgstr "" -#: c-api/unicode.rst:1593 +#: c-api/unicode.rst:1618 msgid "" "Split a Unicode string at line breaks, returning a list of Unicode strings. " "CRLF is considered to be one line break. If *keepend* is ``0``, the Line " "break characters are not included in the resulting strings." msgstr "" -#: c-api/unicode.rst:1601 -msgid "" -"Translate a string by applying a character mapping table to it and return " -"the resulting Unicode object." -msgstr "" - -#: c-api/unicode.rst:1604 -msgid "" -"The mapping table must map Unicode ordinal integers to Unicode ordinal " -"integers or ``None`` (causing deletion of the character)." -msgstr "" - -#: c-api/unicode.rst:1607 -msgid "" -"Mapping tables need only provide the :meth:`__getitem__` interface; " -"dictionaries and sequences work well. Unmapped character ordinals (ones " -"which cause a :exc:`LookupError`) are left untouched and are copied as-is." -msgstr "" - -#: c-api/unicode.rst:1611 -msgid "" -"*errors* has the usual meaning for codecs. It may be ``NULL`` which " -"indicates to use the default error handling." -msgstr "" - -#: c-api/unicode.rst:1617 +#: c-api/unicode.rst:1625 msgid "" "Join a sequence of strings using the given *separator* and return the " "resulting Unicode string." msgstr "" -#: c-api/unicode.rst:1624 +#: c-api/unicode.rst:1632 msgid "" "Return ``1`` if *substr* matches ``str[start:end]`` at the given tail end " "(*direction* == ``-1`` means to do a prefix match, *direction* == ``1`` a " "suffix match), ``0`` otherwise. Return ``-1`` if an error occurred." msgstr "" -#: c-api/unicode.rst:1632 +#: c-api/unicode.rst:1640 msgid "" "Return the first position of *substr* in ``str[start:end]`` using the given " "*direction* (*direction* == ``1`` means to do a forward search, *direction* " @@ -1874,7 +1873,7 @@ msgid "" "indicates that an error occurred and an exception has been set." msgstr "" -#: c-api/unicode.rst:1642 +#: c-api/unicode.rst:1650 msgid "" "Return the first position of the character *ch* in ``str[start:end]`` using " "the given *direction* (*direction* == ``1`` means to do a forward search, " @@ -1883,36 +1882,36 @@ msgid "" "``-2`` indicates that an error occurred and an exception has been set." msgstr "" -#: c-api/unicode.rst:1650 +#: c-api/unicode.rst:1658 msgid "*start* and *end* are now adjusted to behave like ``str[start:end]``." msgstr "" -#: c-api/unicode.rst:1657 +#: c-api/unicode.rst:1665 msgid "" "Return the number of non-overlapping occurrences of *substr* in ``str[start:" "end]``. Return ``-1`` if an error occurred." msgstr "" -#: c-api/unicode.rst:1664 +#: c-api/unicode.rst:1672 msgid "" "Replace at most *maxcount* occurrences of *substr* in *str* with *replstr* " "and return the resulting Unicode object. *maxcount* == ``-1`` means replace " "all occurrences." msgstr "" -#: c-api/unicode.rst:1671 +#: c-api/unicode.rst:1679 msgid "" "Compare two strings and return ``-1``, ``0``, ``1`` for less than, equal, " "and greater than, respectively." msgstr "" -#: c-api/unicode.rst:1674 +#: c-api/unicode.rst:1682 msgid "" "This function returns ``-1`` upon failure, so one should call :c:func:" "`PyErr_Occurred` to check for errors." msgstr "" -#: c-api/unicode.rst:1680 +#: c-api/unicode.rst:1688 msgid "" "Compare a Unicode object, *uni*, with *string* and return ``-1``, ``0``, " "``1`` for less than, equal, and greater than, respectively. It is best to " @@ -1920,51 +1919,51 @@ msgid "" "string as ISO-8859-1 if it contains non-ASCII characters." msgstr "" -#: c-api/unicode.rst:1685 +#: c-api/unicode.rst:1693 msgid "This function does not raise exceptions." msgstr "" -#: c-api/unicode.rst:1690 +#: c-api/unicode.rst:1698 msgid "Rich compare two Unicode strings and return one of the following:" msgstr "" -#: c-api/unicode.rst:1692 +#: c-api/unicode.rst:1700 msgid "``NULL`` in case an exception was raised" msgstr "" -#: c-api/unicode.rst:1693 +#: c-api/unicode.rst:1701 msgid ":const:`Py_True` or :const:`Py_False` for successful comparisons" msgstr "" -#: c-api/unicode.rst:1694 +#: c-api/unicode.rst:1702 msgid ":const:`Py_NotImplemented` in case the type combination is unknown" msgstr "" -#: c-api/unicode.rst:1696 +#: c-api/unicode.rst:1704 msgid "" "Possible values for *op* are :const:`Py_GT`, :const:`Py_GE`, :const:" "`Py_EQ`, :const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`." msgstr "" -#: c-api/unicode.rst:1702 +#: c-api/unicode.rst:1710 msgid "" "Return a new string object from *format* and *args*; this is analogous to " "``format % args``." msgstr "" -#: c-api/unicode.rst:1708 +#: c-api/unicode.rst:1716 msgid "" "Check whether *element* is contained in *container* and return true or false " "accordingly." msgstr "" -#: c-api/unicode.rst:1711 +#: c-api/unicode.rst:1719 msgid "" "*element* has to coerce to a one element Unicode string. ``-1`` is returned " "if there was an error." msgstr "" -#: c-api/unicode.rst:1717 +#: c-api/unicode.rst:1725 msgid "" "Intern the argument *\\*string* in place. The argument must be the address " "of a pointer variable pointing to a Python Unicode string object. If there " @@ -1977,7 +1976,7 @@ msgid "" "the object after the call if and only if you owned it before the call.)" msgstr "" -#: c-api/unicode.rst:1730 +#: c-api/unicode.rst:1738 msgid "" "A combination of :c:func:`PyUnicode_FromString` and :c:func:" "`PyUnicode_InternInPlace`, returning either a new Unicode string object that " diff --git a/c-api/utilities.po b/c-api/utilities.po index 9f94757f..05b73d94 100644 --- a/c-api/utilities.po +++ b/c-api/utilities.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:27+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index fb1285a8..0fe7861b 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -35,13 +35,13 @@ msgstr "" #: c-api/veryhigh.rst:19 msgid "" -"Note also that several of these functions take :c:type:`FILE\\*` " -"parameters. One particular issue which needs to be handled carefully is " -"that the :c:type:`FILE` structure for different C libraries can be different " -"and incompatible. Under Windows (at least), it is possible for dynamically " +"Note also that several of these functions take :c:type:`FILE*` parameters. " +"One particular issue which needs to be handled carefully is that the :c:type:" +"`FILE` structure for different C libraries can be different and " +"incompatible. Under Windows (at least), it is possible for dynamically " "linked extensions to actually use different libraries, so care should be " -"taken that :c:type:`FILE\\*` parameters are only passed to these functions " -"if it is certain that they were created by the same library that the Python " +"taken that :c:type:`FILE*` parameters are only passed to these functions if " +"it is certain that they were created by the same library that the Python " "runtime is using." msgstr "" diff --git a/c-api/weakref.po b/c-api/weakref.po index a76be726..d7385f2b 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-29 14:17+0100\n" "Last-Translator: Andy Kwok \n" "Language-Team: FRENCH \n" diff --git a/contents.po b/contents.po index 8841733e..537cfef6 100644 --- a/contents.po +++ b/contents.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/copyright.po b/copyright.po index d38cf50a..2a632f75 100644 --- a/copyright.po +++ b/copyright.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-01-03 16:59+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/distributing/index.po b/distributing/index.po index 0f0f8bc2..209183ae 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 09:33+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/distutils/_setuptools_disclaimer.po b/distutils/_setuptools_disclaimer.po index ba963010..78a67d88 100644 --- a/distutils/_setuptools_disclaimer.po +++ b/distutils/_setuptools_disclaimer.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 21:21+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/apiref.po b/distutils/apiref.po index 94e662b4..dff11b90 100644 --- a/distutils/apiref.po +++ b/distutils/apiref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-09 12:00+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/builtdist.po b/distutils/builtdist.po index 60086df4..38f42667 100644 --- a/distutils/builtdist.po +++ b/distutils/builtdist.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-06-28 15:17+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/commandref.po b/distutils/commandref.po index f914cc03..db6bd907 100644 --- a/distutils/commandref.po +++ b/distutils/commandref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 20:09+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/configfile.po b/distutils/configfile.po index edf398f9..01115dd4 100644 --- a/distutils/configfile.po +++ b/distutils/configfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 21:19+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/examples.po b/distutils/examples.po index e0d0deba..ba1fbff4 100644 --- a/distutils/examples.po +++ b/distutils/examples.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 21:20+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/extending.po b/distutils/extending.po index 1bf2a51f..cb50f1ea 100644 --- a/distutils/extending.po +++ b/distutils/extending.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 21:20+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/index.po b/distutils/index.po index 867425b8..69cb1eb8 100644 --- a/distutils/index.po +++ b/distutils/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 21:20+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/introduction.po b/distutils/introduction.po index a5faaab2..a4c38e32 100644 --- a/distutils/introduction.po +++ b/distutils/introduction.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-23 14:58+0100\n" "Last-Translator: Eric Régnier \n" "Language-Team: FRENCH \n" diff --git a/distutils/packageindex.po b/distutils/packageindex.po index 2f511899..6950fc53 100644 --- a/distutils/packageindex.po +++ b/distutils/packageindex.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-08-21 12:33+0200\n" "Last-Translator: Zepmanbc \n" "Language-Team: FRENCH \n" diff --git a/distutils/setupscript.po b/distutils/setupscript.po index 05395bbe..f8432fc7 100644 --- a/distutils/setupscript.po +++ b/distutils/setupscript.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-16 22:30+0200\n" "Last-Translator: Philippe GALVAN\n" "Language-Team: FRENCH \n" diff --git a/distutils/sourcedist.po b/distutils/sourcedist.po index dab808ac..287064da 100644 --- a/distutils/sourcedist.po +++ b/distutils/sourcedist.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 21:21+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/distutils/uploading.po b/distutils/uploading.po index 0040138c..bdff5637 100644 --- a/distutils/uploading.po +++ b/distutils/uploading.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-08-21 12:22+0200\n" "Last-Translator: Zepmanbc \n" "Language-Team: FRENCH \n" diff --git a/extending/building.po b/extending/building.po index 2ec3562f..e4d7f735 100644 --- a/extending/building.po +++ b/extending/building.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-19 23:06+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/extending/embedding.po b/extending/embedding.po index a46b76c5..4e912a7d 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-25 17:24+0100\n" "Last-Translator: Antoine \n" "Language-Team: FRENCH \n" diff --git a/extending/extending.po b/extending/extending.po index c9faba2a..331cc54c 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-30 00:03+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/extending/index.po b/extending/index.po index dde7315c..0faebfbc 100644 --- a/extending/index.po +++ b/extending/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-04 11:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/extending/newtypes.po b/extending/newtypes.po index ad2b2d00..dc42466e 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/extending/newtypes_tutorial.po b/extending/newtypes_tutorial.po index 4d4f10bb..13887d06 100644 --- a/extending/newtypes_tutorial.po +++ b/extending/newtypes_tutorial.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-06-17 10:15+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -434,8 +434,8 @@ msgid "" "``first`` member, so it could be any kind of object. It could have a " "destructor that causes code to be executed that tries to access the " "``first`` member; or that destructor could release the :term:`Global " -"interpreter Lock` and let arbitrary code run in other threads that accesses " -"and modifies our object." +"interpreter Lock ` and let arbitrary code run in other threads that " +"accesses and modifies our object." msgstr "" #: extending/newtypes_tutorial.rst:422 diff --git a/extending/windows.po b/extending/windows.po index 0ece8992..5ca7f168 100644 --- a/extending/windows.po +++ b/extending/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-06-28 15:18+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/faq/design.po b/faq/design.po index 7c75fad4..358d9dcb 100644 --- a/faq/design.po +++ b/faq/design.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:52+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: FRENCH \n" diff --git a/faq/extending.po b/faq/extending.po index 0a2e139b..af65b782 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-03 19:27+0100\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/faq/general.po b/faq/general.po index e66eccae..3ee68be2 100644 --- a/faq/general.po +++ b/faq/general.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-31 10:36+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -317,13 +317,14 @@ msgstr "" "à l'exception de ceux nécessaires pour corriger des bogues critiques." #: faq/general.rst:142 +#, fuzzy msgid "" "Alpha, beta and release candidate versions have an additional suffix. The " "suffix for an alpha version is \"aN\" for some small number N, the suffix " "for a beta version is \"bN\" for some small number N, and the suffix for a " -"release candidate version is \"cN\" for some small number N. In other " +"release candidate version is \"rcN\" for some small number N. In other " "words, all versions labeled 2.0aN precede the versions labeled 2.0bN, which " -"precede versions labeled 2.0cN, and *those* precede 2.0." +"precede versions labeled 2.0rcN, and *those* precede 2.0." msgstr "" "Les versions *alpha*, *beta* et *release candidate* ont un suffixe " "supplémentaire. Le suffixe pour une version alpha est « aN » où N est un " @@ -672,13 +673,13 @@ msgstr "" "versions correctives." #: faq/general.rst:309 +#, fuzzy msgid "" "The latest stable releases can always be found on the `Python download page " "`_. There are two production-ready " "versions of Python: 2.x and 3.x. The recommended version is 3.x, which is " "supported by most widely used libraries. Although 2.x is still widely used, " -"`it will not be maintained after January 1, 2020 `_." +"`it is not maintained anymore `_." msgstr "" "Les dernières versions stables peuvent toujours être trouvées sur la `page " "de téléchargement Python `_. Il existe " diff --git a/faq/gui.po b/faq/gui.po index c445ec95..5c0c5f0a 100644 --- a/faq/gui.po +++ b/faq/gui.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:44+0200\n" "Last-Translator: Zepmanbc \n" "Language-Team: FRENCH \n" diff --git a/faq/index.po b/faq/index.po index e40be0e2..9c52b2a2 100644 --- a/faq/index.po +++ b/faq/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/faq/installed.po b/faq/installed.po index b0edbd7f..5e2e4c40 100644 --- a/faq/installed.po +++ b/faq/installed.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 16:57+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/faq/library.po b/faq/library.po index b234cd27..18ac28d2 100644 --- a/faq/library.po +++ b/faq/library.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:27+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/faq/programming.po b/faq/programming.po index 925072dc..f42bd27d 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-30 17:14+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -947,29 +947,29 @@ msgstr "" msgid "By passing a mutable (changeable in-place) object::" msgstr "En passant un objet muable (modifiable sur place) ::" -#: faq/programming.rst:544 +#: faq/programming.rst:545 msgid "By passing in a dictionary that gets mutated::" msgstr "En passant un dictionnaire, qui sera modifié ::" -#: faq/programming.rst:554 +#: faq/programming.rst:556 msgid "Or bundle up values in a class instance::" msgstr "Ou regrouper les valeurs dans une instance de classe ::" -#: faq/programming.rst:570 +#: faq/programming.rst:573 msgid "There's almost never a good reason to get this complicated." msgstr "Faire quelque chose d'aussi compliqué est rarement une bonne idée." -#: faq/programming.rst:572 +#: faq/programming.rst:575 msgid "Your best choice is to return a tuple containing the multiple results." msgstr "" "La meilleure option reste de renvoyer un n-uplet contenant les différents " "résultats." -#: faq/programming.rst:576 +#: faq/programming.rst:579 msgid "How do you make a higher order function in Python?" msgstr "Comment construire une fonction d'ordre supérieur en Python ?" -#: faq/programming.rst:578 +#: faq/programming.rst:581 msgid "" "You have two choices: you can use nested scopes or you can use callable " "objects. For example, suppose you wanted to define ``linear(a,b)`` which " @@ -981,19 +981,19 @@ msgstr "" "``linear(a, b)`` qui renvoie une fonction ``f(x)`` qui calcule la valeur " "``a*x+b``. En utilisant les portées imbriquées ::" -#: faq/programming.rst:587 +#: faq/programming.rst:590 msgid "Or using a callable object::" msgstr "Ou en utilisant un objet appelable ::" -#: faq/programming.rst:597 +#: faq/programming.rst:600 msgid "In both cases, ::" msgstr "Dans les deux cas ::" -#: faq/programming.rst:601 +#: faq/programming.rst:604 msgid "gives a callable object where ``taxes(10e6) == 0.3 * 10e6 + 2``." msgstr "donne un objet appelable où ``taxes(10e6) == 0.3 * 10e6 + 2``." -#: faq/programming.rst:603 +#: faq/programming.rst:606 msgid "" "The callable object approach has the disadvantage that it is a bit slower " "and results in slightly longer code. However, note that a collection of " @@ -1004,11 +1004,11 @@ msgstr "" "collection d'objet appelables peuvent partager leurs signatures par " "héritage ::" -#: faq/programming.rst:612 +#: faq/programming.rst:615 msgid "Object can encapsulate state for several methods::" msgstr "Les objets peuvent encapsuler un état pour plusieurs méthodes ::" -#: faq/programming.rst:630 +#: faq/programming.rst:633 msgid "" "Here ``inc()``, ``dec()`` and ``reset()`` act like functions which share the " "same counting variable." @@ -1016,11 +1016,11 @@ msgstr "" "Ici ``inc()``, ``dec()`` et ``reset()`` agissent comme des fonctions " "partageant une même variable compteur." -#: faq/programming.rst:635 +#: faq/programming.rst:638 msgid "How do I copy an object in Python?" msgstr "Comment copier un objet en Python ?" -#: faq/programming.rst:637 +#: faq/programming.rst:640 msgid "" "In general, try :func:`copy.copy` or :func:`copy.deepcopy` for the general " "case. Not all objects can be copied, but most can." @@ -1028,7 +1028,7 @@ msgstr "" "En général, essayez :func:`copy.copy` ou :func:`copy.deepcopy`. Tous les " "objets ne peuvent pas être copiés, mais la plupart le peuvent." -#: faq/programming.rst:640 +#: faq/programming.rst:643 msgid "" "Some objects can be copied more easily. Dictionaries have a :meth:`~dict." "copy` method::" @@ -1036,15 +1036,15 @@ msgstr "" "Certains objets peuvent être copiés plus facilement que d'autres. Les " "dictionnaires ont une méthode :meth:`~dict.copy` ::" -#: faq/programming.rst:645 +#: faq/programming.rst:648 msgid "Sequences can be copied by slicing::" msgstr "Les séquences peuvent être copiées via la syntaxe des tranches ::" -#: faq/programming.rst:651 +#: faq/programming.rst:654 msgid "How can I find the methods or attributes of an object?" msgstr "Comment récupérer les méthodes ou les attributs d'un objet ?" -#: faq/programming.rst:653 +#: faq/programming.rst:656 msgid "" "For an instance x of a user-defined class, ``dir(x)`` returns an " "alphabetized list of the names containing the instance attributes and " @@ -1054,11 +1054,11 @@ msgstr "" "renvoie une liste alphabétique des noms contenants les attributs de " "l'instance, et les attributs et méthodes définies par sa classe." -#: faq/programming.rst:659 +#: faq/programming.rst:662 msgid "How can my code discover the name of an object?" msgstr "Comment un code peut-il obtenir le nom d'un objet ?" -#: faq/programming.rst:661 +#: faq/programming.rst:664 msgid "" "Generally speaking, it can't, because objects don't really have names. " "Essentially, assignment always binds a name to a value; the same is true of " @@ -1071,7 +1071,7 @@ msgstr "" "différence près que, dans ce cas, la valeur est un appelable. Par exemple, " "dans le code suivant ::" -#: faq/programming.rst:677 +#: faq/programming.rst:680 msgid "" "Arguably the class has a name: even though it is bound to two names and " "invoked through the name B the created instance is still reported as an " @@ -1084,7 +1084,7 @@ msgstr "" "dire si le nom de l'instance est a ou b, les deux noms étant attachés à la " "même valeur." -#: faq/programming.rst:682 +#: faq/programming.rst:685 msgid "" "Generally speaking it should not be necessary for your code to \"know the " "names\" of particular values. Unless you are deliberately writing " @@ -1096,7 +1096,7 @@ msgstr "" "train d'écrire un programme introspectif, c'est souvent l'indication qu'un " "changement d'approche serait bénéfique." -#: faq/programming.rst:687 +#: faq/programming.rst:690 msgid "" "In comp.lang.python, Fredrik Lundh once gave an excellent analogy in answer " "to this question:" @@ -1104,7 +1104,7 @@ msgstr "" "Sur *comp.lang.python*, Fredrik Lundh a donné un jour une excellente " "analogie pour répondre à cette question :" -#: faq/programming.rst:690 +#: faq/programming.rst:693 msgid "" "The same way as you get the name of that cat you found on your porch: the " "cat (object) itself cannot tell you its name, and it doesn't really care -- " @@ -1116,7 +1116,7 @@ msgstr "" "­– alors le meilleur moyen de savoir comment il s'appelle est de demander à " "tous vos voisins (espaces de nommage) si c'est leur chat (objet)…" -#: faq/programming.rst:695 +#: faq/programming.rst:698 msgid "" "....and don't be surprised if you'll find that it's known by many names, or " "no name at all!" @@ -1124,16 +1124,16 @@ msgstr "" "…et ne soyez pas surpris si vous découvrez qu'il est connu sous plusieurs " "noms, ou s'il n'a pas de nom du tout !" -#: faq/programming.rst:700 +#: faq/programming.rst:703 msgid "What's up with the comma operator's precedence?" msgstr "Qu'en est-il de la précédence de l'opérateur virgule ?" -#: faq/programming.rst:702 +#: faq/programming.rst:705 msgid "Comma is not an operator in Python. Consider this session::" msgstr "" "La virgule n'est pas un opérateur en Python. Observez le code suivant ::" -#: faq/programming.rst:707 +#: faq/programming.rst:710 msgid "" "Since the comma is not an operator, but a separator between expressions the " "above is evaluated as if you had entered::" @@ -1142,11 +1142,11 @@ msgstr "" "expressions, l'expression ci-dessus est évaluée de la même façon que si vous " "aviez écrit ::" -#: faq/programming.rst:712 +#: faq/programming.rst:715 msgid "not::" msgstr "et non ::" -#: faq/programming.rst:716 +#: faq/programming.rst:719 msgid "" "The same is true of the various assignment operators (``=``, ``+=`` etc). " "They are not truly operators but syntactic delimiters in assignment " @@ -1156,15 +1156,15 @@ msgstr "" "ne sont pas vraiment des opérateurs mais plutôt des délimiteurs syntaxiques " "dans les instructions d'affectation." -#: faq/programming.rst:721 +#: faq/programming.rst:724 msgid "Is there an equivalent of C's \"?:\" ternary operator?" msgstr "Existe-t-il un équivalent à l'opérateur ternaire \"?:\" du C ?" -#: faq/programming.rst:723 +#: faq/programming.rst:726 msgid "Yes, there is. The syntax is as follows::" msgstr "Oui. Sa syntaxe est la suivante ::" -#: faq/programming.rst:730 +#: faq/programming.rst:733 msgid "" "Before this syntax was introduced in Python 2.5, a common idiom was to use " "logical operators::" @@ -1172,7 +1172,7 @@ msgstr "" "Avant l'introduction de cette syntaxe dans Python 2.5, il était courant " "d'utiliser les opérateurs de logique ::" -#: faq/programming.rst:735 +#: faq/programming.rst:738 msgid "" "However, this idiom is unsafe, as it can give wrong results when *on_true* " "has a false boolean value. Therefore, it is always better to use the ``... " @@ -1182,13 +1182,13 @@ msgstr "" "la valeur booléenne fausse. Il faut donc toujours utiliser la forme ``... " "if ... else ...``." -#: faq/programming.rst:741 +#: faq/programming.rst:744 msgid "Is it possible to write obfuscated one-liners in Python?" msgstr "" "Est-il possible d'écrire des programmes obscurcis (*obfuscated*) d'une ligne " "en Python ?" -#: faq/programming.rst:743 +#: faq/programming.rst:746 msgid "" "Yes. Usually this is done by nesting :keyword:`lambda` within :keyword:`!" "lambda`. See the following three examples, due to Ulf Bartelt::" @@ -1197,17 +1197,17 @@ msgstr "" "keyword:`!lambda`. Par exemple les trois morceaux de code suivants, créés " "par Ulf Bartelt ::" -#: faq/programming.rst:770 +#: faq/programming.rst:773 msgid "Don't try this at home, kids!" msgstr "Les enfants, ne faites pas ça chez vous !" -#: faq/programming.rst:776 +#: faq/programming.rst:779 msgid "What does the slash(/) in the parameter list of a function mean?" msgstr "" "Que signifie la barre oblique (/) dans la liste des paramètres d'une " "fonction ?" -#: faq/programming.rst:778 +#: faq/programming.rst:781 msgid "" "A slash in the argument list of a function denotes that the parameters prior " "to it are positional-only. Positional-only parameters are the ones without " @@ -1225,7 +1225,7 @@ msgstr "" "que des paramètres uniquement positionnels. Sa documentation est la " "suivante ::" -#: faq/programming.rst:791 +#: faq/programming.rst:794 msgid "" "The slash at the end of the parameter list means that both parameters are " "positional-only. Thus, calling :func:`divmod` with keyword arguments would " @@ -1235,15 +1235,15 @@ msgstr "" "paramètres sont uniquement positionnels. Et donc, appeler :func:`divmod` " "avec des arguments nommés provoque une erreur ::" -#: faq/programming.rst:802 +#: faq/programming.rst:805 msgid "Numbers and strings" msgstr "Nombres et chaînes de caractères" -#: faq/programming.rst:805 +#: faq/programming.rst:808 msgid "How do I specify hexadecimal and octal integers?" msgstr "Comment écrire des entiers hexadécimaux ou octaux ?" -#: faq/programming.rst:807 +#: faq/programming.rst:810 msgid "" "To specify an octal digit, precede the octal value with a zero, and then a " "lower or uppercase \"o\". For example, to set the variable \"a\" to the " @@ -1253,7 +1253,7 @@ msgstr "" "puis un \"o\" majuscule ou minuscule. Par exemple pour affecter la valeur " "octale \"10\" (8 en décimal) à la variable \"a\", tapez ::" -#: faq/programming.rst:815 +#: faq/programming.rst:818 msgid "" "Hexadecimal is just as easy. Simply precede the hexadecimal number with a " "zero, and then a lower or uppercase \"x\". Hexadecimal digits can be " @@ -1264,11 +1264,11 @@ msgstr "" "peuvent être écrits en majuscules ou en minuscules. Par exemple, dans " "l'interpréteur Python ::" -#: faq/programming.rst:828 +#: faq/programming.rst:831 msgid "Why does -22 // 10 return -3?" msgstr "Pourquoi ``-22 // 10`` donne-t-il ``-3`` ?" -#: faq/programming.rst:830 +#: faq/programming.rst:833 msgid "" "It's primarily driven by the desire that ``i % j`` have the same sign as " "``j``. If you want that, and also want::" @@ -1276,7 +1276,7 @@ msgstr "" "Cela est principalement dû à la volonté que ``i % j`` ait le même signe que " "j. Si vous voulez en plus que ::" -#: faq/programming.rst:835 +#: faq/programming.rst:838 msgid "" "then integer division has to return the floor. C also requires that " "identity to hold, and then compilers that truncate ``i // j`` need to make " @@ -1286,7 +1286,7 @@ msgstr "" "également que cette égalité soit vérifiée, et donc les compilateurs qui " "tronquent ``i // j`` ont besoin que ``i % j`` ait le même signe que ``i``." -#: faq/programming.rst:839 +#: faq/programming.rst:842 msgid "" "There are few real use cases for ``i % j`` when ``j`` is negative. When " "``j`` is positive, there are many, and in virtually all of them it's more " @@ -1300,11 +1300,11 @@ msgstr "" "10 h maintenant, qu'affichait-elle il y a 200 heures ? ``-190 % 12 == 2`` " "est utile ; ``-190 % 12 == -10`` est un bogue en puissance." -#: faq/programming.rst:847 +#: faq/programming.rst:850 msgid "How do I convert a string to a number?" msgstr "Comment convertir une chaîne de caractères en nombre ?" -#: faq/programming.rst:849 +#: faq/programming.rst:852 msgid "" "For integers, use the built-in :func:`int` type constructor, e.g. " "``int('144') == 144``. Similarly, :func:`float` converts to floating-point, " @@ -1314,7 +1314,7 @@ msgstr "" "``int('144') == 144``. De façon similaire, :func:`float` donne la valeur " "flottante, par exemple ``float('144') == 144.0``." -#: faq/programming.rst:853 +#: faq/programming.rst:856 #, fuzzy msgid "" "By default, these interpret the number as decimal, so that ``int('0144') == " @@ -1331,7 +1331,7 @@ msgstr "" "donnée est 0, le nombre est interprété selon les règles Python : un préfixe " "``0o`` indique de l'octal et ``0x`` indique de l'hexadécimal." -#: faq/programming.rst:860 +#: faq/programming.rst:863 msgid "" "Do not use the built-in function :func:`eval` if all you need is to convert " "strings to numbers. :func:`eval` will be significantly slower and it " @@ -1347,7 +1347,7 @@ msgstr "" "pourrait passer ``__import__('os').system(\"rm -rf $HOME\")`` ce qui " "effacerait votre répertoire personnel." -#: faq/programming.rst:867 +#: faq/programming.rst:870 msgid "" ":func:`eval` also has the effect of interpreting numbers as Python " "expressions, so that e.g. ``eval('09')`` gives a syntax error because Python " @@ -1358,11 +1358,11 @@ msgstr "" "parce que Python ne permet pas les '0' en tête d'un nombre décimal (à " "l'exception du nombre '0')." -#: faq/programming.rst:873 +#: faq/programming.rst:876 msgid "How do I convert a number to a string?" msgstr "Comment convertir un nombre en chaîne de caractères ?" -#: faq/programming.rst:875 +#: faq/programming.rst:878 msgid "" "To convert, e.g., the number 144 to the string '144', use the built-in type " "constructor :func:`str`. If you want a hexadecimal or octal representation, " @@ -1379,11 +1379,11 @@ msgstr "" "`formatstrings`, e.g. ``\"{:04d}\".format(144)`` produit ``'0144'`` et ``" "\"{:.3f}\".format(1.0/3.0)`` produit ``'0.333'``." -#: faq/programming.rst:884 +#: faq/programming.rst:887 msgid "How do I modify a string in place?" msgstr "Comment modifier une chaîne de caractères « sur place » ?" -#: faq/programming.rst:886 +#: faq/programming.rst:889 msgid "" "You can't, because strings are immutable. In most situations, you should " "simply construct a new string from the various parts you want to assemble it " @@ -1397,17 +1397,17 @@ msgstr "" "capable de modifier de la donnée Unicode « sur place », essayez d'utiliser " "un objet :class:`io.StringIO` ou le module :mod:`array` ::" -#: faq/programming.rst:916 +#: faq/programming.rst:919 msgid "How do I use strings to call functions/methods?" msgstr "" "Comment utiliser des chaînes de caractères pour appeler des fonctions/" "méthodes ?" -#: faq/programming.rst:918 +#: faq/programming.rst:921 msgid "There are various techniques." msgstr "Il y a plusieurs façons de faire." -#: faq/programming.rst:920 +#: faq/programming.rst:923 msgid "" "The best is to use a dictionary that maps strings to functions. The primary " "advantage of this technique is that the strings do not need to match the " @@ -1420,11 +1420,11 @@ msgstr "" "fonctions. C'est aussi la façon principale d'imiter la construction \"case" "\" ::" -#: faq/programming.rst:935 +#: faq/programming.rst:938 msgid "Use the built-in function :func:`getattr`::" msgstr "Utiliser la fonction :func:`getattr` ::" -#: faq/programming.rst:940 +#: faq/programming.rst:943 msgid "" "Note that :func:`getattr` works on any object, including classes, class " "instances, modules, and so on." @@ -1432,19 +1432,19 @@ msgstr "" "Notez que :func:`getattr` marche sur n'importe quel objet, ceci inclut les " "classes, les instances de classes, les modules et ainsi de suite." -#: faq/programming.rst:943 +#: faq/programming.rst:946 msgid "This is used in several places in the standard library, like this::" msgstr "" "Ceci est utilisé à plusieurs reprises dans la bibliothèque standard, de " "cette façon ::" -#: faq/programming.rst:956 +#: faq/programming.rst:959 msgid "Use :func:`locals` or :func:`eval` to resolve the function name::" msgstr "" "Utilisez :func:`locals` ou :func:`eval` pour résoudre le nom de la " "fonction ::" -#: faq/programming.rst:969 +#: faq/programming.rst:972 msgid "" "Note: Using :func:`eval` is slow and dangerous. If you don't have absolute " "control over the contents of the string, someone could pass a string that " @@ -1455,7 +1455,7 @@ msgstr "" "pourrait passer une chaîne de caractères pouvant appeler n'importe quelle " "fonction." -#: faq/programming.rst:974 +#: faq/programming.rst:977 msgid "" "Is there an equivalent to Perl's chomp() for removing trailing newlines from " "strings?" @@ -1463,7 +1463,7 @@ msgstr "" "Existe-t-il un équivalent à la fonction ``chomp()`` de Perl, pour retirer " "les caractères de fin de ligne d'une chaîne de caractères ?" -#: faq/programming.rst:976 +#: faq/programming.rst:979 msgid "" "You can use ``S.rstrip(\"\\r\\n\")`` to remove all occurrences of any line " "terminator from the end of the string ``S`` without removing other trailing " @@ -1477,7 +1477,7 @@ msgstr "" "représente plus d'une ligne, avec plusieurs lignes vides, les marqueurs de " "fin de ligne de chaque ligne vide seront retirés ::" -#: faq/programming.rst:988 +#: faq/programming.rst:991 msgid "" "Since this is typically only desired when reading text one line at a time, " "using ``S.rstrip()`` this way works well." @@ -1485,15 +1485,15 @@ msgstr "" "Vu que cela ne sert presque qu'à lire un texte ligne à ligne, utiliser ``S." "rstrip()`` de cette manière fonctionne correctement." -#: faq/programming.rst:993 +#: faq/programming.rst:996 msgid "Is there a scanf() or sscanf() equivalent?" msgstr "Existe-t-il un équivalent à ``scanf()`` ou ``sscanf()`` ?" -#: faq/programming.rst:995 +#: faq/programming.rst:998 msgid "Not as such." msgstr "Pas exactement." -#: faq/programming.rst:997 +#: faq/programming.rst:1000 msgid "" "For simple input parsing, the easiest approach is usually to split the line " "into whitespace-delimited words using the :meth:`~str.split` method of " @@ -1510,7 +1510,7 @@ msgstr "" "paramètre optionnel \"sep\" qui est utile si la ligne utilise autre chose " "que des espaces comme séparateurs." -#: faq/programming.rst:1003 +#: faq/programming.rst:1006 msgid "" "For more complicated input parsing, regular expressions are more powerful " "than C's :c:func:`sscanf` and better suited for the task." @@ -1519,24 +1519,24 @@ msgstr "" "puissantes que la fonction :c:func:`sscanf` de C et mieux adaptées à la " "tâche." -#: faq/programming.rst:1008 +#: faq/programming.rst:1011 msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?" msgstr "" "Que signifient les erreurs ``UnicodeDecodeError`` ou ``UnicodeEncodeError`` ?" -#: faq/programming.rst:1010 +#: faq/programming.rst:1013 msgid "See the :ref:`unicode-howto`." msgstr "Voir :ref:`unicode-howto`." -#: faq/programming.rst:1014 +#: faq/programming.rst:1017 msgid "Performance" msgstr "Performances" -#: faq/programming.rst:1017 +#: faq/programming.rst:1020 msgid "My program is too slow. How do I speed it up?" msgstr "Mon programme est trop lent. Comment l'accélérer ?" -#: faq/programming.rst:1019 +#: faq/programming.rst:1022 msgid "" "That's a tough one, in general. First, here are a list of things to " "remember before diving further:" @@ -1544,7 +1544,7 @@ msgstr "" "Question difficile en général. Il faut garder en tête les points suivants " "avant d'aller plus loin :" -#: faq/programming.rst:1022 +#: faq/programming.rst:1025 msgid "" "Performance characteristics vary across Python implementations. This FAQ " "focuses on :term:`CPython`." @@ -1552,7 +1552,7 @@ msgstr "" "Les performances varient en fonction des implémentations de Python. Cette " "FAQ ne traite que de :term:`CPython`." -#: faq/programming.rst:1024 +#: faq/programming.rst:1027 msgid "" "Behaviour can vary across operating systems, especially when talking about I/" "O or multi-threading." @@ -1561,7 +1561,7 @@ msgstr "" "tout particulièrement quand il s'agit d'entrée/sortie ou de fils d'exécution " "multiples." -#: faq/programming.rst:1026 +#: faq/programming.rst:1029 msgid "" "You should always find the hot spots in your program *before* attempting to " "optimize any code (see the :mod:`profile` module)." @@ -1570,7 +1570,7 @@ msgstr "" "programme *avant* d'essayer d'optimiser du code (voir le module :mod:" "`profile`)." -#: faq/programming.rst:1028 +#: faq/programming.rst:1031 msgid "" "Writing benchmark scripts will allow you to iterate quickly when searching " "for improvements (see the :mod:`timeit` module)." @@ -1578,7 +1578,7 @@ msgstr "" "Écrire des scripts d'évaluation de performances permet de progresser " "rapidement dans la recherche d'améliorations (voir le module :mod:`timeit`)." -#: faq/programming.rst:1030 +#: faq/programming.rst:1033 msgid "" "It is highly recommended to have good code coverage (through unit testing or " "any other technique) before potentially introducing regressions hidden in " @@ -1588,7 +1588,7 @@ msgstr "" "des tests unitaires ou autre) avant d'ajouter des erreurs dans des " "optimisations sophistiquées." -#: faq/programming.rst:1034 +#: faq/programming.rst:1037 msgid "" "That being said, there are many tricks to speed up Python code. Here are " "some general principles which go a long way towards reaching acceptable " @@ -1598,7 +1598,7 @@ msgstr "" "Voici quelques principes généraux qui peuvent aider à atteindre des niveaux " "de performance satisfaisants :" -#: faq/programming.rst:1038 +#: faq/programming.rst:1041 msgid "" "Making your algorithms faster (or changing to faster ones) can yield much " "larger benefits than trying to sprinkle micro-optimization tricks all over " @@ -1608,7 +1608,7 @@ msgstr "" "produire de bien meilleurs résultats que d'optimiser ça et là de petites " "portions du code." -#: faq/programming.rst:1042 +#: faq/programming.rst:1045 msgid "" "Use the right data structures. Study documentation for the :ref:`bltin-" "types` and the :mod:`collections` module." @@ -1616,7 +1616,7 @@ msgstr "" "Utiliser les structures de données adaptées. Se référer à la documentation " "des :ref:`bltin-types` et du module :mod:`collections`." -#: faq/programming.rst:1045 +#: faq/programming.rst:1048 msgid "" "When the standard library provides a primitive for doing something, it is " "likely (although not guaranteed) to be faster than any alternative you may " @@ -1635,7 +1635,7 @@ msgstr "" "référer à la section :ref:`sortinghowto` pour des exemples d'utilisation " "courante)." -#: faq/programming.rst:1053 +#: faq/programming.rst:1056 msgid "" "Abstractions tend to create indirections and force the interpreter to work " "more. If the levels of indirection outweigh the amount of useful work done, " @@ -1649,7 +1649,7 @@ msgstr "" "éviter trop d'indirections, en particulier sous la forme de fonctions ou " "méthodes trop petites (qui nuisent aussi souvent à la clarté du code)." -#: faq/programming.rst:1059 +#: faq/programming.rst:1062 msgid "" "If you have reached the limit of what pure Python can allow, there are tools " "to take you further away. For example, `Cython `_ can " @@ -1670,7 +1670,7 @@ msgstr "" "vous pouvez aussi :ref:`écrire un module d'extension en C` " "vous-même." -#: faq/programming.rst:1069 +#: faq/programming.rst:1072 msgid "" "The wiki page devoted to `performance tips `_." @@ -1678,13 +1678,13 @@ msgstr "" "La page wiki dédiée aux `astuces de performance `_." -#: faq/programming.rst:1075 +#: faq/programming.rst:1078 msgid "What is the most efficient way to concatenate many strings together?" msgstr "" "Quelle est la manière la plus efficace de concaténer un grand nombre de " "chaînes de caractères ?" -#: faq/programming.rst:1077 +#: faq/programming.rst:1080 msgid "" ":class:`str` and :class:`bytes` objects are immutable, therefore " "concatenating many strings together is inefficient as each concatenation " @@ -1697,7 +1697,7 @@ msgstr "" "général, la complexité est quadratique par rapport à la taille totale de la " "chaîne." -#: faq/programming.rst:1082 +#: faq/programming.rst:1085 msgid "" "To accumulate many :class:`str` objects, the recommended idiom is to place " "them into a list and call :meth:`str.join` at the end::" @@ -1706,13 +1706,13 @@ msgstr "" "recommandée consiste à toutes les mettre dans une liste et appeler la " "méthode :meth:`str.join` à la fin ::" -#: faq/programming.rst:1090 +#: faq/programming.rst:1093 msgid "(another reasonably efficient idiom is to use :class:`io.StringIO`)" msgstr "" "(une autre technique relativement efficace consiste à utiliser :class:`io." "StringIO`)" -#: faq/programming.rst:1092 +#: faq/programming.rst:1095 msgid "" "To accumulate many :class:`bytes` objects, the recommended idiom is to " "extend a :class:`bytearray` object using in-place concatenation (the ``+=`` " @@ -1722,15 +1722,15 @@ msgstr "" "recommandée consiste à étendre un objet :class:`bytearray` en utilisant la " "concaténation en-place (l'opérateur ``+=``) ::" -#: faq/programming.rst:1101 +#: faq/programming.rst:1104 msgid "Sequences (Tuples/Lists)" msgstr "Séquences (n-uplets / listes)" -#: faq/programming.rst:1104 +#: faq/programming.rst:1107 msgid "How do I convert between tuples and lists?" msgstr "Comment convertir les listes en n-uplets et inversement ?" -#: faq/programming.rst:1106 +#: faq/programming.rst:1109 msgid "" "The type constructor ``tuple(seq)`` converts any sequence (actually, any " "iterable) into a tuple with the same items in the same order." @@ -1739,7 +1739,7 @@ msgstr "" "précisément, tout itérable) en un n-uplet avec les mêmes éléments dans le " "même ordre." -#: faq/programming.rst:1109 +#: faq/programming.rst:1112 msgid "" "For example, ``tuple([1, 2, 3])`` yields ``(1, 2, 3)`` and ``tuple('abc')`` " "yields ``('a', 'b', 'c')``. If the argument is a tuple, it does not make a " @@ -1752,7 +1752,7 @@ msgstr "" "fonction économique à appeler quand vous ne savez pas si votre objet est " "déjà un n-uplet." -#: faq/programming.rst:1114 +#: faq/programming.rst:1117 msgid "" "The type constructor ``list(seq)`` converts any sequence or iterable into a " "list with the same items in the same order. For example, ``list((1, 2, " @@ -1765,11 +1765,11 @@ msgstr "" "``['a','b','c']``. Si l'argument est une liste, il renvoie une copie, de la " "même façon que ``seq[:]``." -#: faq/programming.rst:1121 +#: faq/programming.rst:1124 msgid "What's a negative index?" msgstr "Qu'est-ce qu'un index négatif ?" -#: faq/programming.rst:1123 +#: faq/programming.rst:1126 msgid "" "Python sequences are indexed with positive numbers and negative numbers. " "For positive numbers 0 is the first index 1 is the second index and so " @@ -1783,7 +1783,7 @@ msgstr "" "dernier index, ``-2`` est le pénultième (avant-dernier), et ainsi de suite. " "On peut aussi dire que ``seq[-n]`` est équivalent à ``seq[len(seq)-n]``." -#: faq/programming.rst:1128 +#: faq/programming.rst:1131 msgid "" "Using negative indices can be very convenient. For example ``S[:-1]`` is " "all of the string except for its last character, which is useful for " @@ -1794,18 +1794,18 @@ msgstr "" "caractère, ce qui est pratique pour retirer un caractère de fin de ligne à " "la fin d'une chaîne." -#: faq/programming.rst:1134 +#: faq/programming.rst:1137 msgid "How do I iterate over a sequence in reverse order?" msgstr "Comment itérer à rebours sur une séquence ?" -#: faq/programming.rst:1136 +#: faq/programming.rst:1139 msgid "" "Use the :func:`reversed` built-in function, which is new in Python 2.4::" msgstr "" "Utilisez la fonction native :func:`reversed`, qui a été introduite en Python " "2.4 ::" -#: faq/programming.rst:1141 +#: faq/programming.rst:1144 msgid "" "This won't touch your original sequence, but build a new copy with reversed " "order to iterate over." @@ -1813,25 +1813,25 @@ msgstr "" "Cela ne modifie pas la séquence initiale, mais construit à la place une " "copie en ordre inverse pour itérer dessus." -#: faq/programming.rst:1144 +#: faq/programming.rst:1147 msgid "With Python 2.3, you can use an extended slice syntax::" msgstr "Avec Python 2.3 vous pouvez utiliser la syntaxe étendue de tranches ::" -#: faq/programming.rst:1151 +#: faq/programming.rst:1154 msgid "How do you remove duplicates from a list?" msgstr "Comment retirer les doublons d'une liste ?" -#: faq/programming.rst:1153 +#: faq/programming.rst:1156 msgid "See the Python Cookbook for a long discussion of many ways to do this:" msgstr "" "Lisez le « livre de recettes » Python pour trouver une longue discussion sur " "les nombreuses approches possibles :" -#: faq/programming.rst:1155 +#: faq/programming.rst:1158 msgid "https://code.activestate.com/recipes/52560/" msgstr "https://code.activestate.com/recipes/52560/" -#: faq/programming.rst:1157 +#: faq/programming.rst:1160 msgid "" "If you don't mind reordering the list, sort it and then scan from the end of " "the list, deleting duplicates as you go::" @@ -1840,7 +1840,7 @@ msgstr "" "celle-ci, puis parcourez-la d'un bout à l'autre, en supprimant les doublons " "trouvés en chemin ::" -#: faq/programming.rst:1169 +#: faq/programming.rst:1172 msgid "" "If all elements of the list may be used as set keys (i.e. they are all :term:" "`hashable`) this is often faster ::" @@ -1849,7 +1849,7 @@ msgstr "" "dictionnaire (c'est à dire, qu'elles sont toutes :term:`hachables " "`) ceci est souvent plus rapide ::" -#: faq/programming.rst:1174 +#: faq/programming.rst:1177 msgid "" "This converts the list into a set, thereby removing duplicates, and then " "back into a list." @@ -1857,15 +1857,15 @@ msgstr "" "Ceci convertit la liste en un ensemble, ce qui supprime automatiquement les " "doublons, puis la transforme à nouveau en liste." -#: faq/programming.rst:1179 +#: faq/programming.rst:1182 msgid "How do you make an array in Python?" msgstr "Comment construire un tableau en Python ?" -#: faq/programming.rst:1181 +#: faq/programming.rst:1184 msgid "Use a list::" msgstr "Utilisez une liste ::" -#: faq/programming.rst:1185 +#: faq/programming.rst:1188 msgid "" "Lists are equivalent to C or Pascal arrays in their time complexity; the " "primary difference is that a Python list can contain objects of many " @@ -1875,7 +1875,7 @@ msgstr "" "principale différence est qu'une liste Python peut contenir des objets de " "différents types." -#: faq/programming.rst:1188 +#: faq/programming.rst:1191 msgid "" "The ``array`` module also provides methods for creating arrays of fixed " "types with compact representations, but they are slower to index than " @@ -1888,14 +1888,14 @@ msgstr "" "fournissent différentes structures de type tableaux, avec des " "caractéristiques différentes." -#: faq/programming.rst:1193 +#: faq/programming.rst:1196 msgid "" "To get Lisp-style linked lists, you can emulate cons cells using tuples::" msgstr "" "Pour obtenir des listes chaînées à la sauce Lisp, vous pouvez émuler les " "*cons cells* en utilisant des n-uplets ::" -#: faq/programming.rst:1197 +#: faq/programming.rst:1200 msgid "" "If mutability is desired, you could use lists instead of tuples. Here the " "analogue of lisp car is ``lisp_list[0]`` and the analogue of cdr is " @@ -1908,27 +1908,27 @@ msgstr "" "ceci que si vous êtes réellement sûr d'en avoir besoin, cette méthode est en " "général bien plus lente que les listes Python." -#: faq/programming.rst:1206 +#: faq/programming.rst:1209 msgid "How do I create a multidimensional list?" msgstr "Comment créer une liste à plusieurs dimensions ?" -#: faq/programming.rst:1208 +#: faq/programming.rst:1211 msgid "You probably tried to make a multidimensional array like this::" msgstr "" "Vous avez probablement essayé de créer une liste à plusieurs dimensions de " "cette façon ::" -#: faq/programming.rst:1212 +#: faq/programming.rst:1215 msgid "This looks correct if you print it:" msgstr "Elle semble correcte si on l'affiche :" -#: faq/programming.rst:1223 +#: faq/programming.rst:1226 msgid "But when you assign a value, it shows up in multiple places:" msgstr "" "Mais quand vous affectez une valeur, celle-ci apparaît à plusieurs " "endroits ::" -#: faq/programming.rst:1235 +#: faq/programming.rst:1238 msgid "" "The reason is that replicating a list with ``*`` doesn't create copies, it " "only creates references to the existing objects. The ``*3`` creates a list " @@ -1941,7 +1941,7 @@ msgstr "" "dans une colonne apparaîtra donc dans toutes les colonnes, ce qui n'est très " "probablement pas ce que vous souhaitiez." -#: faq/programming.rst:1240 +#: faq/programming.rst:1243 msgid "" "The suggested approach is to create a list of the desired length first and " "then fill in each element with a newly created list::" @@ -1949,7 +1949,7 @@ msgstr "" "L'approche suggérée est d'abord de créer une liste de la longueur désirée, " "puis de remplir tous les éléments avec une nouvelle chaîne ::" -#: faq/programming.rst:1247 +#: faq/programming.rst:1250 msgid "" "This generates a list containing 3 different lists of length two. You can " "also use a list comprehension::" @@ -1958,7 +1958,7 @@ msgstr "" "longueur deux. Vous pouvez aussi utiliser la syntaxe des listes en " "compréhension ::" -#: faq/programming.rst:1253 +#: faq/programming.rst:1256 msgid "" "Or, you can use an extension that provides a matrix datatype; `NumPy `_ is the best known." @@ -1966,22 +1966,22 @@ msgstr "" "Vous pouvez aussi utiliser une extension qui fournit un type matriciel " "natif ; `NumPy `_ est la plus répandue." -#: faq/programming.rst:1258 +#: faq/programming.rst:1261 msgid "How do I apply a method to a sequence of objects?" msgstr "Comment appliquer une méthode à une séquence d'objets ?" -#: faq/programming.rst:1260 +#: faq/programming.rst:1263 msgid "Use a list comprehension::" msgstr "Utilisez une liste en compréhension ::" -#: faq/programming.rst:1267 +#: faq/programming.rst:1270 msgid "" "Why does a_tuple[i] += ['item'] raise an exception when the addition works?" msgstr "" "Pourquoi ``a_tuple[i] += ['item']`` lève-t-il une exception alors que " "l'addition fonctionne ?" -#: faq/programming.rst:1269 +#: faq/programming.rst:1272 msgid "" "This is because of a combination of the fact that augmented assignment " "operators are *assignment* operators, and the difference between mutable and " @@ -1991,7 +1991,7 @@ msgstr "" "d'affectation incrémentaux sont des opérateurs d'*affectation* et à la " "différence entre les objets muables et immuables en Python." -#: faq/programming.rst:1273 +#: faq/programming.rst:1276 msgid "" "This discussion applies in general when augmented assignment operators are " "applied to elements of a tuple that point to mutable objects, but we'll use " @@ -2001,11 +2001,11 @@ msgstr "" "incrémentale sont appliqués aux éléments d'un n-uplet qui pointe sur des " "objets muables, mais on prendra ``list`` et ``+=`` comme exemple." -#: faq/programming.rst:1277 +#: faq/programming.rst:1280 msgid "If you wrote::" msgstr "Si vous écrivez ::" -#: faq/programming.rst:1285 +#: faq/programming.rst:1288 msgid "" "The reason for the exception should be immediately clear: ``1`` is added to " "the object ``a_tuple[0]`` points to (``1``), producing the result object, " @@ -2019,7 +2019,7 @@ msgstr "" "l'élément ``0`` du n-uplet, on obtient une erreur car il est impossible de " "modifier la cible sur laquelle pointe un élément d'un n-uplet." -#: faq/programming.rst:1291 +#: faq/programming.rst:1294 msgid "" "Under the covers, what this augmented assignment statement is doing is " "approximately this::" @@ -2027,7 +2027,7 @@ msgstr "" "Sous le capot, une instruction d'affectation incrémentale fait à peu près " "ceci ::" -#: faq/programming.rst:1300 +#: faq/programming.rst:1303 msgid "" "It is the assignment part of the operation that produces the error, since a " "tuple is immutable." @@ -2035,11 +2035,11 @@ msgstr "" "C'est la partie de l'affectation de l'opération qui génère l'erreur, vu " "qu'un n-uplet est immuable." -#: faq/programming.rst:1303 +#: faq/programming.rst:1306 msgid "When you write something like::" msgstr "Quand vous écrivez un code du style ::" -#: faq/programming.rst:1311 +#: faq/programming.rst:1314 msgid "" "The exception is a bit more surprising, and even more surprising is the fact " "that even though there was an error, the append worked::" @@ -2047,7 +2047,7 @@ msgstr "" "L'exception est un peu plus surprenante et, chose encore plus étrange, " "malgré l'erreur, l'ajout a fonctionné ::" -#: faq/programming.rst:1317 +#: faq/programming.rst:1320 msgid "" "To see why this happens, you need to know that (a) if an object implements " "an ``__iadd__`` magic method, it gets called when the ``+=`` augmented " @@ -2064,11 +2064,11 @@ msgstr "" "renvoyer celle-ci. C'est pour cette raison que l'on dit que pour les listes, " "``+=`` est un \"raccourci\" pour ``list.extend`` ::" -#: faq/programming.rst:1329 +#: faq/programming.rst:1332 msgid "This is equivalent to::" msgstr "C’est équivalent à ::" -#: faq/programming.rst:1334 +#: faq/programming.rst:1337 msgid "" "The object pointed to by a_list has been mutated, and the pointer to the " "mutated object is assigned back to ``a_list``. The end result of the " @@ -2080,13 +2080,13 @@ msgstr "" "change rien, puisque c'est un pointeur vers le même objet que sur lequel " "pointait ``a_list``, mais l'affectation a tout de même lieu." -#: faq/programming.rst:1339 +#: faq/programming.rst:1342 msgid "Thus, in our tuple example what is happening is equivalent to::" msgstr "" "Donc, dans notre exemple avec un n-uplet, il se passe quelque chose " "équivalent à ::" -#: faq/programming.rst:1347 +#: faq/programming.rst:1350 msgid "" "The ``__iadd__`` succeeds, and thus the list is extended, but even though " "``result`` points to the same object that ``a_tuple[0]`` already points to, " @@ -2097,7 +2097,7 @@ msgstr "" "``result`` pointe sur le même objet que ``a_tuple[0]``, l'affectation finale " "échoue car les n-uplets ne sont pas muables." -#: faq/programming.rst:1353 +#: faq/programming.rst:1356 msgid "" "I want to do a complicated sort: can you do a Schwartzian Transform in " "Python?" @@ -2105,7 +2105,7 @@ msgstr "" "Je souhaite faire un classement compliqué : peut on faire une transformation " "de Schwartz en Python ?" -#: faq/programming.rst:1355 +#: faq/programming.rst:1358 msgid "" "The technique, attributed to Randal Schwartz of the Perl community, sorts " "the elements of a list by a metric which maps each element to its \"sort " @@ -2117,11 +2117,11 @@ msgstr "" "chaque élément à sa \"valeur de tri\". En Python, ceci est géré par " "l'argument ``key`` de la méthode :meth:`list.sort` ::" -#: faq/programming.rst:1364 +#: faq/programming.rst:1367 msgid "How can I sort one list by values from another list?" msgstr "Comment ordonner une liste en fonction des valeurs d'une autre liste ?" -#: faq/programming.rst:1366 +#: faq/programming.rst:1369 msgid "" "Merge them into an iterator of tuples, sort the resulting list, and then " "pick out the element you want. ::" @@ -2129,11 +2129,11 @@ msgstr "" "Fusionnez-les dans un itérateur de n-uplets, ordonnez la liste obtenue, puis " "choisissez l'élément que vous voulez ::" -#: faq/programming.rst:1380 +#: faq/programming.rst:1383 msgid "An alternative for the last step is::" msgstr "Vous pouvez remplacer la dernière étape par ::" -#: faq/programming.rst:1385 +#: faq/programming.rst:1388 msgid "" "If you find this more legible, you might prefer to use this instead of the " "final list comprehension. However, it is almost twice as slow for long " @@ -2153,15 +2153,15 @@ msgstr "" "supplémentaire à un attribut et, enfin, parce que tous ces appels de " "fonctions réduisent la vitesse d'exécution." -#: faq/programming.rst:1395 +#: faq/programming.rst:1398 msgid "Objects" msgstr "Objets" -#: faq/programming.rst:1398 +#: faq/programming.rst:1401 msgid "What is a class?" msgstr "Qu'est-ce qu'une classe ?" -#: faq/programming.rst:1400 +#: faq/programming.rst:1403 msgid "" "A class is the particular object type created by executing a class " "statement. Class objects are used as templates to create instance objects, " @@ -2173,7 +2173,7 @@ msgstr "" "créer des objets, qui incarnent à la fois les données (attributs) et le code " "(méthodes) spécifiques à un type de données." -#: faq/programming.rst:1404 +#: faq/programming.rst:1407 msgid "" "A class can be based on one or more other classes, called its base " "class(es). It then inherits the attributes and methods of its base classes. " @@ -2191,11 +2191,11 @@ msgstr "" "``MaildirMailbox``, ``OutlookMailbox`` qui gèrent les plusieurs formats " "spécifiques de boîtes aux lettres." -#: faq/programming.rst:1413 +#: faq/programming.rst:1416 msgid "What is a method?" msgstr "Qu'est-ce qu'une méthode ?" -#: faq/programming.rst:1415 +#: faq/programming.rst:1418 msgid "" "A method is a function on some object ``x`` that you normally call as ``x." "name(arguments...)``. Methods are defined as functions inside the class " @@ -2205,11 +2205,11 @@ msgstr "" "générale sous la forme ``x.name(arguments…)``. Les méthodes sont définies " "comme des fonctions à l'intérieur de la définition de classe ::" -#: faq/programming.rst:1425 +#: faq/programming.rst:1428 msgid "What is self?" msgstr "Qu'est-ce que self ?" -#: faq/programming.rst:1427 +#: faq/programming.rst:1430 msgid "" "Self is merely a conventional name for the first argument of a method. A " "method defined as ``meth(self, a, b, c)`` should be called as ``x.meth(a, b, " @@ -2222,11 +2222,11 @@ msgstr "" "est définie ; tout se passe comme si la méthode était appelée comme " "``meth(x, a, b, c)``." -#: faq/programming.rst:1432 +#: faq/programming.rst:1435 msgid "See also :ref:`why-self`." msgstr "Voir aussi :ref:`why-self`." -#: faq/programming.rst:1436 +#: faq/programming.rst:1439 msgid "" "How do I check if an object is an instance of a given class or of a subclass " "of it?" @@ -2234,7 +2234,7 @@ msgstr "" "Comment vérifier si un objet est une instance d'une classe donnée ou d'une " "sous-classe de celle-ci ?" -#: faq/programming.rst:1438 +#: faq/programming.rst:1441 msgid "" "Use the built-in function ``isinstance(obj, cls)``. You can check if an " "object is an instance of any of a number of classes by providing a tuple " @@ -2249,7 +2249,7 @@ msgstr "" "l'un des types natifs de Python, par exemple ``isinstance(obj, str)`` ou " "``isinstance(obj, (int, float, complex))``." -#: faq/programming.rst:1444 +#: faq/programming.rst:1447 msgid "" "Note that most programs do not use :func:`isinstance` on user-defined " "classes very often. If you are developing the classes yourself, a more " @@ -2265,7 +2265,7 @@ msgstr "" "plutôt que de vérifier la classe de l'objet et de faire un traitement ad-" "hoc. Par exemple, si vous avez une fonction qui fait quelque chose ::" -#: faq/programming.rst:1458 +#: faq/programming.rst:1461 msgid "" "A better approach is to define a ``search()`` method on all the classes and " "just call it::" @@ -2273,11 +2273,11 @@ msgstr "" "Une meilleure approche est de définir une méthode ``search()`` dans toutes " "les classes et qu'il suffit d'appeler de la manière suivante ::" -#: faq/programming.rst:1473 +#: faq/programming.rst:1476 msgid "What is delegation?" msgstr "Qu'est-ce que la délégation ?" -#: faq/programming.rst:1475 +#: faq/programming.rst:1478 msgid "" "Delegation is an object oriented technique (also called a design pattern). " "Let's say you have an object ``x`` and want to change the behaviour of just " @@ -2292,7 +2292,7 @@ msgstr "" "dans l'évolution et qui délègue toute autre méthode à la méthode " "correspondante de ``x``." -#: faq/programming.rst:1481 +#: faq/programming.rst:1484 msgid "" "Python programmers can easily implement delegation. For example, the " "following class implements a class that behaves like a file but converts all " @@ -2302,7 +2302,7 @@ msgstr "" "Par exemple, la classe suivante implémente une classe qui se comporte comme " "un fichier, mais convertit toutes les données écrites en majuscules ::" -#: faq/programming.rst:1496 +#: faq/programming.rst:1499 msgid "" "Here the ``UpperOut`` class redefines the ``write()`` method to convert the " "argument string to uppercase before calling the underlying ``self._outfile." @@ -2319,7 +2319,7 @@ msgstr "" "` pour plus d'informations sur la personnalisation de " "l’accès aux attributs." -#: faq/programming.rst:1503 +#: faq/programming.rst:1506 msgid "" "Note that for more general cases delegation can get trickier. When " "attributes must be set as well as retrieved, the class must define a :meth:" @@ -2333,7 +2333,7 @@ msgstr "" "et il doit le faire avec soin. La mise en œuvre basique de la méthode :meth:" "`__setattr__` est à peu près équivalent à ce qui suit ::" -#: faq/programming.rst:1514 +#: faq/programming.rst:1517 msgid "" "Most :meth:`__setattr__` implementations must modify ``self.__dict__`` to " "store local state for self without causing an infinite recursion." @@ -2342,7 +2342,7 @@ msgstr "" "``self.__dict__`` pour stocker l'état local de self sans provoquer une " "récursion infinie." -#: faq/programming.rst:1519 +#: faq/programming.rst:1522 msgid "" "How do I call a method defined in a base class from a derived class that " "overrides it?" @@ -2350,11 +2350,11 @@ msgstr "" "Comment appeler une méthode définie dans une classe de base depuis une " "classe dérivée qui la surcharge ?" -#: faq/programming.rst:1521 +#: faq/programming.rst:1524 msgid "Use the built-in :func:`super` function::" msgstr "Utilisez la fonction native :func:`super` ::" -#: faq/programming.rst:1527 +#: faq/programming.rst:1530 msgid "" "For version prior to 3.0, you may be using classic classes: For a class " "definition such as ``class Derived(Base): ...`` you can call method " @@ -2369,13 +2369,13 @@ msgstr "" "arguments...)``. Ici, ``Base.meth`` est une méthode non liée, il faut donc " "fournir l'argument ``self``." -#: faq/programming.rst:1535 +#: faq/programming.rst:1538 msgid "How can I organize my code to make it easier to change the base class?" msgstr "" "Comment organiser un code pour permettre de changer la classe de base plus " "facilement ?" -#: faq/programming.rst:1537 +#: faq/programming.rst:1540 msgid "" "You could define an alias for the base class, assign the real base class to " "it before your class definition, and use the alias throughout your class. " @@ -2391,13 +2391,13 @@ msgstr "" "vous voulez déterminer dynamiquement (par exemple en fonction de la " "disponibilité des ressources) la classe de base à utiliser. Exemple ::" -#: faq/programming.rst:1552 +#: faq/programming.rst:1555 msgid "How do I create static class data and static class methods?" msgstr "" "Comment créer des données statiques de classe et des méthodes statiques de " "classe ?" -#: faq/programming.rst:1554 +#: faq/programming.rst:1557 msgid "" "Both static data and static methods (in the sense of C++ or Java) are " "supported in Python." @@ -2405,7 +2405,7 @@ msgstr "" "Les données statiques et les méthodes statiques (au sens C++ ou Java) sont " "prises en charge en Python." -#: faq/programming.rst:1557 +#: faq/programming.rst:1560 msgid "" "For static data, simply define a class attribute. To assign a new value to " "the attribute, you have to explicitly use the class name in the assignment::" @@ -2414,7 +2414,7 @@ msgstr "" "attribuer une nouvelle valeur à l'attribut, vous devez explicitement " "utiliser le nom de classe dans l'affectation ::" -#: faq/programming.rst:1569 +#: faq/programming.rst:1572 msgid "" "``c.count`` also refers to ``C.count`` for any ``c`` such that " "``isinstance(c, C)`` holds, unless overridden by ``c`` itself or by some " @@ -2425,7 +2425,7 @@ msgstr "" "une classe sur le chemin de recherche de classe de base de ``c.__class__`` " "jusqu'à ``C``." -#: faq/programming.rst:1573 +#: faq/programming.rst:1576 msgid "" "Caution: within a method of C, an assignment like ``self.count = 42`` " "creates a new and unrelated instance named \"count\" in ``self``'s own " @@ -2438,11 +2438,11 @@ msgstr "" "de classe doit toujours spécifier la classe, que l'on soit à l'intérieur " "d'une méthode ou non ::" -#: faq/programming.rst:1580 +#: faq/programming.rst:1583 msgid "Static methods are possible::" msgstr "Il est possible d'utiliser des méthodes statiques ::" -#: faq/programming.rst:1588 +#: faq/programming.rst:1591 msgid "" "However, a far more straightforward way to get the effect of a static method " "is via a simple module-level function::" @@ -2450,7 +2450,7 @@ msgstr "" "Cependant, d'une manière beaucoup plus simple pour obtenir l'effet d'une " "méthode statique se fait par une simple fonction au niveau du module ::" -#: faq/programming.rst:1594 +#: faq/programming.rst:1597 msgid "" "If your code is structured so as to define one class (or tightly related " "class hierarchy) per module, this supplies the desired encapsulation." @@ -2459,11 +2459,11 @@ msgstr "" "hiérarchie des classes connexes) par module, ceci fournira l'encapsulation " "souhaitée." -#: faq/programming.rst:1599 +#: faq/programming.rst:1602 msgid "How can I overload constructors (or methods) in Python?" msgstr "Comment surcharger les constructeurs (ou méthodes) en Python ?" -#: faq/programming.rst:1601 +#: faq/programming.rst:1604 msgid "" "This answer actually applies to all methods, but the question usually comes " "up first in the context of constructors." @@ -2471,11 +2471,11 @@ msgstr "" "Cette réponse s'applique en fait à toutes les méthodes, mais la question se " "pose généralement dans le contexte des constructeurs." -#: faq/programming.rst:1604 +#: faq/programming.rst:1607 msgid "In C++ you'd write" msgstr "En C++, on écrirait" -#: faq/programming.rst:1613 +#: faq/programming.rst:1616 msgid "" "In Python you have to write a single constructor that catches all cases " "using default arguments. For example::" @@ -2483,29 +2483,29 @@ msgstr "" "En Python, vous devez écrire un constructeur unique qui considère tous les " "cas en utilisant des arguments par défaut. Par exemple ::" -#: faq/programming.rst:1623 +#: faq/programming.rst:1626 msgid "This is not entirely equivalent, but close enough in practice." msgstr "" "Ce n'est pas tout à fait équivalent, mais suffisamment proche dans la " "pratique." -#: faq/programming.rst:1625 +#: faq/programming.rst:1628 msgid "You could also try a variable-length argument list, e.g. ::" msgstr "" "Vous pouvez aussi utiliser une liste d'arguments de longueur variable, par " "exemple ::" -#: faq/programming.rst:1630 +#: faq/programming.rst:1633 msgid "The same approach works for all method definitions." msgstr "La même approche fonctionne pour toutes les définitions de méthode." -#: faq/programming.rst:1634 +#: faq/programming.rst:1637 msgid "I try to use __spam and I get an error about _SomeClassName__spam." msgstr "" "J'essaie d'utiliser ``__spam`` et j'obtiens une erreur à propos de " "``_SomeClassName__spam``." -#: faq/programming.rst:1636 +#: faq/programming.rst:1639 msgid "" "Variable names with double leading underscores are \"mangled\" to provide a " "simple but effective way to define class private variables. Any identifier " @@ -2521,7 +2521,7 @@ msgstr "" "remplacé par ``_classname__spam``, où ``classname`` est le nom de la classe " "en cours sans les éventuels tirets bas du début." -#: faq/programming.rst:1642 +#: faq/programming.rst:1645 msgid "" "This doesn't guarantee privacy: an outside user can still deliberately " "access the \"_classname__spam\" attribute, and private values are visible in " @@ -2533,17 +2533,17 @@ msgstr "" "privées sont visibles dans l'objet ``__dict__``. De nombreux programmeurs " "Python ne prennent jamais la peine d'utiliser des noms de variable privés." -#: faq/programming.rst:1649 +#: faq/programming.rst:1652 msgid "My class defines __del__ but it is not called when I delete the object." msgstr "" "Ma classe définit ``__del__`` mais elle n'est pas appelée lorsque je " "supprime l'objet." -#: faq/programming.rst:1651 +#: faq/programming.rst:1654 msgid "There are several possible reasons for this." msgstr "Il y a plusieurs explications possibles." -#: faq/programming.rst:1653 +#: faq/programming.rst:1656 msgid "" "The del statement does not necessarily call :meth:`__del__` -- it simply " "decrements the object's reference count, and if this reaches zero :meth:" @@ -2553,7 +2553,7 @@ msgstr "" "simplement le compteur de références de l'objet et, si celui-ci arrive à " "zéro, :meth:`__del__` est appelée." -#: faq/programming.rst:1657 +#: faq/programming.rst:1660 msgid "" "If your data structures contain circular links (e.g. a tree where each child " "has a parent reference and each parent has a list of children) the reference " @@ -2579,7 +2579,7 @@ msgstr "" "miettes avec la fonction :func:`gc.collect`, mais il existe certains cas où " "les objets ne seront jamais nettoyés." -#: faq/programming.rst:1668 +#: faq/programming.rst:1671 msgid "" "Despite the cycle collector, it's still a good idea to define an explicit " "``close()`` method on objects to be called whenever you're done with them. " @@ -2596,7 +2596,7 @@ msgstr "" "`__del__` devrait appeler la méthode ``close()`` et ``close()`` doit pouvoir " "être appelée plusieurs fois sur le même objet." -#: faq/programming.rst:1675 +#: faq/programming.rst:1678 msgid "" "Another way to avoid cyclical references is to use the :mod:`weakref` " "module, which allows you to point to objects without incrementing their " @@ -2609,7 +2609,7 @@ msgstr "" "d'arbres devraient utiliser des références faibles entre pères et fils (si " "nécessaire !)." -#: faq/programming.rst:1688 +#: faq/programming.rst:1691 msgid "" "Finally, if your :meth:`__del__` method raises an exception, a warning " "message is printed to :data:`sys.stderr`." @@ -2617,11 +2617,11 @@ msgstr "" "Enfin, si la méthode :meth:`__del__` lève une exception, un message " "d'avertissement s'affiche dans :data:`sys.stderr`." -#: faq/programming.rst:1693 +#: faq/programming.rst:1696 msgid "How do I get a list of all instances of a given class?" msgstr "Comment obtenir toutes les instances d'une classe ?" -#: faq/programming.rst:1695 +#: faq/programming.rst:1698 msgid "" "Python does not keep track of all instances of a class (or of a built-in " "type). You can program the class's constructor to keep track of all " @@ -2632,13 +2632,13 @@ msgstr "" "constructeur de la classe de façon à tenir un tel registre, en maintenant " "une liste de références faibles vers chaque instance." -#: faq/programming.rst:1701 +#: faq/programming.rst:1704 msgid "Why does the result of ``id()`` appear to be not unique?" msgstr "" "Pourquoi le résultat de ``id()`` peut-il être le même pour deux objets " "différents ?" -#: faq/programming.rst:1703 +#: faq/programming.rst:1706 msgid "" "The :func:`id` builtin returns an integer that is guaranteed to be unique " "during the lifetime of the object. Since in CPython, this is the object's " @@ -2652,7 +2652,7 @@ msgstr "" "à une adresse mémoire identique à celle d'un objet venant d'être supprimé. " "Comme l'illustre le code suivant :" -#: faq/programming.rst:1714 +#: faq/programming.rst:1717 msgid "" "The two ids belong to different integer objects that are created before, and " "deleted immediately after execution of the ``id()`` call. To be sure that " @@ -2664,15 +2664,15 @@ msgstr "" "objets dont on veut examiner les identifiants sont toujours en vie, créons " "une nouvelle référence à l'objet :" -#: faq/programming.rst:1727 +#: faq/programming.rst:1730 msgid "Modules" msgstr "Modules" -#: faq/programming.rst:1730 +#: faq/programming.rst:1733 msgid "How do I create a .pyc file?" msgstr "Comment créer des fichiers ``.pyc`` ?" -#: faq/programming.rst:1732 +#: faq/programming.rst:1735 msgid "" "When a module is imported for the first time (or when the source file has " "changed since the current compiled file was created) a ``.pyc`` file " @@ -2690,7 +2690,7 @@ msgstr "" "centrale qui dépend du binaire ``python`` qui l'a créé (voir la :pep:`3147` " "pour de plus amples précisions)." -#: faq/programming.rst:1740 +#: faq/programming.rst:1743 msgid "" "One reason that a ``.pyc`` file may not be created is a permissions problem " "with the directory containing the source file, meaning that the " @@ -2705,7 +2705,7 @@ msgstr "" "utilisateur, mais que le code est exécuté en tant qu'un autre utilisateur, " "par exemple pour tester un serveur Web." -#: faq/programming.rst:1745 +#: faq/programming.rst:1748 msgid "" "Unless the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable is set, " "creation of a .pyc file is automatic if you're importing a module and Python " @@ -2719,7 +2719,7 @@ msgstr "" "sous-répertoire, à moins que la variable d'environnement :envvar:" "`PYTHONDONTWRITEBYTECODE` soit définie." -#: faq/programming.rst:1750 +#: faq/programming.rst:1753 msgid "" "Running Python on a top level script is not considered an import and no ``." "pyc`` will be created. For example, if you have a top-level module ``foo." @@ -2735,7 +2735,7 @@ msgstr "" "console), un fichier ``.pyc`` est créé pour ``xyz`` mais pas pour ``foo`` " "car ``foo.py`` n'est pas importé." -#: faq/programming.rst:1757 +#: faq/programming.rst:1760 msgid "" "If you need to create a ``.pyc`` file for ``foo`` -- that is, to create a ``." "pyc`` file for a module that is not imported -- you can, using the :mod:" @@ -2745,7 +2745,7 @@ msgstr "" "``.pyc`` pour un module qui n'est pas importé — il existe les modules :mod:" "`py_compile` et :mod:`compileall`." -#: faq/programming.rst:1761 +#: faq/programming.rst:1764 msgid "" "The :mod:`py_compile` module can manually compile any module. One way is to " "use the ``compile()`` function in that module interactively::" @@ -2754,7 +2754,7 @@ msgstr "" "manuellement. Il est ainsi possible d'appeler la fonction ``compile()`` de " "manière interactive ::" -#: faq/programming.rst:1767 +#: faq/programming.rst:1770 msgid "" "This will write the ``.pyc`` to a ``__pycache__`` subdirectory in the same " "location as ``foo.py`` (or you can override that with the optional parameter " @@ -2764,7 +2764,7 @@ msgstr "" "de ``foo.py`` (le paramètre optionnel ``cfile`` permet de changer ce " "comportement)." -#: faq/programming.rst:1771 +#: faq/programming.rst:1774 msgid "" "You can also automatically compile all files in a directory or directories " "using the :mod:`compileall` module. You can do it from the shell prompt by " @@ -2776,11 +2776,11 @@ msgstr "" "en exécutant ``compileall.py`` avec le chemin du dossier contenant les " "fichiers Python à compiler ::" -#: faq/programming.rst:1780 +#: faq/programming.rst:1783 msgid "How do I find the current module name?" msgstr "Comment obtenir le nom du module actuel ?" -#: faq/programming.rst:1782 +#: faq/programming.rst:1785 msgid "" "A module can find out its own module name by looking at the predefined " "global variable ``__name__``. If this has the value ``'__main__'``, the " @@ -2795,62 +2795,62 @@ msgstr "" "interface en ligne de commande ou un test automatique. Ils n'exécutent cette " "portion du code qu'après avoir vérifié la valeur de ``__name__`` ::" -#: faq/programming.rst:1797 +#: faq/programming.rst:1800 msgid "How can I have modules that mutually import each other?" msgstr "Comment avoir des modules qui s'importent mutuellement ?" -#: faq/programming.rst:1799 +#: faq/programming.rst:1802 msgid "Suppose you have the following modules:" msgstr "Considérons les modules suivants :" -#: faq/programming.rst:1801 +#: faq/programming.rst:1804 msgid "foo.py::" msgstr "*foo.py* ::" -#: faq/programming.rst:1806 +#: faq/programming.rst:1809 msgid "bar.py::" msgstr "*bar.py* ::" -#: faq/programming.rst:1811 +#: faq/programming.rst:1814 msgid "The problem is that the interpreter will perform the following steps:" msgstr "Le problème réside dans les étapes que l'interpréteur va réaliser :" -#: faq/programming.rst:1813 +#: faq/programming.rst:1816 msgid "main imports foo" msgstr "*main* importe *foo*" -#: faq/programming.rst:1814 +#: faq/programming.rst:1817 msgid "Empty globals for foo are created" msgstr "Les variables globales (vides) de *foo* sont créées" -#: faq/programming.rst:1815 +#: faq/programming.rst:1818 msgid "foo is compiled and starts executing" msgstr "*foo* est compilé et commence à s'exécuter" -#: faq/programming.rst:1816 +#: faq/programming.rst:1819 msgid "foo imports bar" msgstr "*foo* importe *bar*" -#: faq/programming.rst:1817 +#: faq/programming.rst:1820 msgid "Empty globals for bar are created" msgstr "Les variables globales (vides) de *bar* sont créées" -#: faq/programming.rst:1818 +#: faq/programming.rst:1821 msgid "bar is compiled and starts executing" msgstr "*bar* est compilé et commence à s'exécuter" -#: faq/programming.rst:1819 +#: faq/programming.rst:1822 msgid "" "bar imports foo (which is a no-op since there already is a module named foo)" msgstr "" "*bar* importe *foo* (en réalité, rien ne passe car il y a déjà un module " "appelé *foo*)" -#: faq/programming.rst:1820 +#: faq/programming.rst:1823 msgid "bar.foo_var = foo.foo_var" msgstr "bar.foo_var = foo.foo_var" -#: faq/programming.rst:1822 +#: faq/programming.rst:1825 msgid "" "The last step fails, because Python isn't done with interpreting ``foo`` yet " "and the global symbol dictionary for ``foo`` is still empty." @@ -2858,7 +2858,7 @@ msgstr "" "La dernière étape échoue car Python n'a pas fini d'interpréter ``foo`` et le " "dictionnaire global des symboles de ``foo`` est encore vide." -#: faq/programming.rst:1825 +#: faq/programming.rst:1828 msgid "" "The same thing happens when you use ``import foo``, and then try to access " "``foo.foo_var`` in global code." @@ -2866,11 +2866,11 @@ msgstr "" "Le même phénomène arrive quand on utilise ``import foo``, et qu'on essaye " "ensuite d'accéder à ``foo.foo_var`` dans le code global." -#: faq/programming.rst:1828 +#: faq/programming.rst:1831 msgid "There are (at least) three possible workarounds for this problem." msgstr "Il y a (au moins) trois façons de contourner ce problème." -#: faq/programming.rst:1830 +#: faq/programming.rst:1833 msgid "" "Guido van Rossum recommends avoiding all uses of ``from import ..." "``, and placing all code inside functions. Initializations of global " @@ -2884,14 +2884,14 @@ msgstr "" "des fonctions natives. Ceci implique que tout ce qui est fourni par un " "module soit référencé par ``.``." -#: faq/programming.rst:1835 +#: faq/programming.rst:1838 msgid "" "Jim Roskind suggests performing steps in the following order in each module:" msgstr "" "Jim Roskind recommande d'effectuer les étapes suivantes dans cet ordre dans " "chaque module :" -#: faq/programming.rst:1837 +#: faq/programming.rst:1840 msgid "" "exports (globals, functions, and classes that don't need imported base " "classes)" @@ -2899,18 +2899,18 @@ msgstr "" "les exportations (variables globales, fonctions et les classes qui ne " "nécessitent d'importer des classes de base)" -#: faq/programming.rst:1839 +#: faq/programming.rst:1842 msgid "``import`` statements" msgstr "les instructions ``import``" -#: faq/programming.rst:1840 +#: faq/programming.rst:1843 msgid "" "active code (including globals that are initialized from imported values)." msgstr "" "le code (avec les variables globales qui sont initialisées à partir de " "valeurs importées)." -#: faq/programming.rst:1842 +#: faq/programming.rst:1845 msgid "" "van Rossum doesn't like this approach much because the imports appear in a " "strange place, but it does work." @@ -2918,7 +2918,7 @@ msgstr "" "van Rossum désapprouve cette approche car les importations se trouvent à un " "endroit bizarre, mais cela fonctionne." -#: faq/programming.rst:1845 +#: faq/programming.rst:1848 msgid "" "Matthias Urlichs recommends restructuring your code so that the recursive " "import is not necessary in the first place." @@ -2926,16 +2926,16 @@ msgstr "" "Matthias Urlichs conseille de restructurer le code pour éviter les " "importations récursives." -#: faq/programming.rst:1848 +#: faq/programming.rst:1851 msgid "These solutions are not mutually exclusive." msgstr "Ces solutions peuvent être combinées." -#: faq/programming.rst:1852 +#: faq/programming.rst:1855 msgid "__import__('x.y.z') returns ; how do I get z?" msgstr "" "``__import__('x.y.z')`` renvoie ```` ; comment accéder à ``z`` ?" -#: faq/programming.rst:1854 +#: faq/programming.rst:1857 msgid "" "Consider using the convenience function :func:`~importlib.import_module` " "from :mod:`importlib` instead::" @@ -2943,7 +2943,7 @@ msgstr "" "Utilisez plutôt la fonction :func:`~importlib.import_module` de :mod:" "`importlib` ::" -#: faq/programming.rst:1861 +#: faq/programming.rst:1864 msgid "" "When I edit an imported module and reimport it, the changes don't show up. " "Why does this happen?" @@ -2951,7 +2951,7 @@ msgstr "" "Quand j'édite un module et que je le réimporte, je ne vois pas les " "changements. Pourquoi ?" -#: faq/programming.rst:1863 +#: faq/programming.rst:1866 msgid "" "For reasons of efficiency as well as consistency, Python only reads the " "module file on the first time a module is imported. If it didn't, in a " @@ -2966,7 +2966,7 @@ msgstr "" "ré-analysé un très grand nombre de fois. Pour forcer la relecture d'un " "module, il faut faire ::" -#: faq/programming.rst:1873 +#: faq/programming.rst:1876 msgid "" "Warning: this technique is not 100% fool-proof. In particular, modules " "containing statements like ::" @@ -2974,7 +2974,7 @@ msgstr "" "Attention, cette technique ne marche pas systématiquement. En particulier, " "les modules qui contiennent des instructions comme ::" -#: faq/programming.rst:1878 +#: faq/programming.rst:1881 msgid "" "will continue to work with the old version of the imported objects. If the " "module contains class definitions, existing class instances will *not* be " @@ -2986,7 +2986,7 @@ msgstr "" "celle-ci ne sont *pas* mises à jour avec la nouvelle définition de la " "classe. Ceci peut conduire au comportement paradoxal suivant ::" -#: faq/programming.rst:1891 +#: faq/programming.rst:1894 msgid "" "The nature of the problem is made clear if you print out the \"identity\" of " "the class objects::" diff --git a/faq/windows.po b/faq/windows.po index 596276c2..7be5f8b2 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-04-10 09:35+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-11 11:09+0100\n" "Last-Translator: Zepmanbc \n" "Language-Team: FRENCH \n" diff --git a/glossary.po b/glossary.po index 3a5ee90c..f0ae3693 100644 --- a/glossary.po +++ b/glossary.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-08-19 23:06+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -1397,13 +1397,14 @@ msgid "iterable" msgstr "itérable" #: glossary.rst:585 +#, fuzzy msgid "" "An object capable of returning its members one at a time. Examples of " "iterables include all sequence types (such as :class:`list`, :class:`str`, " "and :class:`tuple`) and some non-sequence types like :class:`dict`, :term:" "`file objects `, and objects of any classes you define with an :" "meth:`__iter__` method or with a :meth:`__getitem__` method that implements :" -"term:`Sequence` semantics." +"term:`Sequence ` semantics." msgstr "" "Objet capable de renvoyer ses éléments un à un. Par exemple, tous les types " "séquence (comme :class:`list`, :class:`str`, et :class:`tuple`), quelques " diff --git a/howto/argparse.po b/howto/argparse.po index a0454230..4676cea2 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-07-25 16:44+0200\n" "Last-Translator: Antonin Décimo \n" "Language-Team: FRENCH \n" diff --git a/howto/clinic.po b/howto/clinic.po index af73ca1c..201fac98 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-26 17:29+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/howto/cporting.po b/howto/cporting.po index dbad21c1..fbbfff18 100644 --- a/howto/cporting.po +++ b/howto/cporting.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 14:14+0100\n" "Last-Translator: Andy Kwok \n" "Language-Team: FRENCH \n" diff --git a/howto/curses.po b/howto/curses.po index 5475968a..3aed4bdf 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -5,15 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 17:43+0100\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Khaïs COLIN \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Khaïs COLIN \n" "X-Generator: Poedit 2.2.4\n" #: howto/curses.rst:5 diff --git a/howto/descriptor.po b/howto/descriptor.po index 59fa79a1..31b54169 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-28 20:32+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -464,11 +464,11 @@ msgstr "" "L'exécution de l'interpréteur montre comment le descripteur de fonction se " "comporte dans la pratique ::" -#: howto/descriptor.rst:326 +#: howto/descriptor.rst:324 msgid "Static Methods and Class Methods" msgstr "Méthodes statiques et méthodes de classe" -#: howto/descriptor.rst:328 +#: howto/descriptor.rst:326 msgid "" "Non-data descriptors provide a simple mechanism for variations on the usual " "patterns of binding functions into methods." @@ -476,7 +476,7 @@ msgstr "" "Les descripteurs *non-data* fournissent un mécanisme simple pour les " "variations des patrons habituels des fonctions de liaison dans les méthodes." -#: howto/descriptor.rst:331 +#: howto/descriptor.rst:329 msgid "" "To recap, functions have a :meth:`__get__` method so that they can be " "converted to a method when accessed as attributes. The non-data descriptor " @@ -488,53 +488,53 @@ msgstr "" "descripteur *non-data* transforme un appel ``obj.f(*args)``en ``f(obj, " "*args)``. Appeler ``klass.f(*args)`` devient ``f(*args)``." -#: howto/descriptor.rst:336 +#: howto/descriptor.rst:334 msgid "This chart summarizes the binding and its two most useful variants:" msgstr "" "Ce tableau résume le lien (*binding*) et ses deux variantes les plus " "utiles ::" -#: howto/descriptor.rst:339 +#: howto/descriptor.rst:337 msgid "Transformation" msgstr "Transformation" -#: howto/descriptor.rst:339 +#: howto/descriptor.rst:337 msgid "Called from an Object" msgstr "Appelé depuis un Objet" -#: howto/descriptor.rst:339 +#: howto/descriptor.rst:337 msgid "Called from a Class" msgstr "Appelé depuis un Classe" -#: howto/descriptor.rst:342 +#: howto/descriptor.rst:340 msgid "function" msgstr "fonction" -#: howto/descriptor.rst:342 +#: howto/descriptor.rst:340 msgid "f(obj, \\*args)" msgstr "f(obj, \\*args)" -#: howto/descriptor.rst:342 howto/descriptor.rst:344 +#: howto/descriptor.rst:340 howto/descriptor.rst:342 msgid "f(\\*args)" msgstr "f(\\*args)" -#: howto/descriptor.rst:344 +#: howto/descriptor.rst:342 msgid "staticmethod" msgstr "méthode statique" -#: howto/descriptor.rst:346 +#: howto/descriptor.rst:344 msgid "classmethod" msgstr "méthode de classe" -#: howto/descriptor.rst:346 +#: howto/descriptor.rst:344 msgid "f(type(obj), \\*args)" msgstr "f(type(obj), \\*args)" -#: howto/descriptor.rst:346 +#: howto/descriptor.rst:344 msgid "f(klass, \\*args)" msgstr "f(klass, \\*args)" -#: howto/descriptor.rst:349 +#: howto/descriptor.rst:347 msgid "" "Static methods return the underlying function without changes. Calling " "either ``c.f`` or ``C.f`` is the equivalent of a direct lookup into ``object." @@ -548,7 +548,7 @@ msgstr "" "__getattribute__(C, \"f\")``. Par conséquent, la fonction devient accessible " "de manière identique à partir d'un objet ou d'une classe." -#: howto/descriptor.rst:355 +#: howto/descriptor.rst:353 msgid "" "Good candidates for static methods are methods that do not reference the " "``self`` variable." @@ -556,7 +556,7 @@ msgstr "" "Les bonnes candidates pour être méthode statique sont des méthodes qui ne " "font pas référence à la variable ``self``." -#: howto/descriptor.rst:358 +#: howto/descriptor.rst:356 msgid "" "For instance, a statistics package may include a container class for " "experimental data. The class provides normal methods for computing the " @@ -578,7 +578,7 @@ msgstr "" "appelée à partir d'un objet ou de la classe : ``s.erf(1.5) --> .9332``` ou " "``Sample.erf(1.5) --> .9332``." -#: howto/descriptor.rst:367 +#: howto/descriptor.rst:365 msgid "" "Since staticmethods return the underlying function with no changes, the " "example calls are unexciting::" @@ -586,7 +586,7 @@ msgstr "" "Depuis que les méthodes statiques renvoient la fonction sous-jacente sans " "changement, les exemples d’appels ne sont pas excitants ::" -#: howto/descriptor.rst:380 +#: howto/descriptor.rst:378 msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" "`staticmethod` would look like this::" @@ -594,7 +594,7 @@ msgstr "" "En utilisant le protocole de descripteur *non-data*, une version Python pure " "de :func:`staticmethod` ressemblerait à ceci ::" -#: howto/descriptor.rst:392 +#: howto/descriptor.rst:390 msgid "" "Unlike static methods, class methods prepend the class reference to the " "argument list before calling the function. This format is the same for " @@ -604,7 +604,7 @@ msgstr "" "référence de classe dans la liste d'arguments avant d'appeler la fonction. " "Ce format est le même que l'appelant soit un objet ou une classe ::" -#: howto/descriptor.rst:407 +#: howto/descriptor.rst:405 msgid "" "This behavior is useful whenever the function only needs to have a class " "reference and does not care about any underlying data. One use for " @@ -619,13 +619,13 @@ msgstr "" "nouveau dictionnaire à partir d'une liste de clés. L'équivalent Python pur " "est ::" -#: howto/descriptor.rst:423 +#: howto/descriptor.rst:421 msgid "Now a new dictionary of unique keys can be constructed like this::" msgstr "" "Maintenant un nouveau dictionnaire de clés uniques peut être construit comme " "ceci ::" -#: howto/descriptor.rst:428 +#: howto/descriptor.rst:426 msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" "`classmethod` would look like this::" diff --git a/howto/functional.po b/howto/functional.po index 7813311d..4f93e276 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-30 11:11+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/howto/index.po b/howto/index.po index 529fdd07..6c6e127a 100644 --- a/howto/index.po +++ b/howto/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/howto/instrumentation.po b/howto/instrumentation.po index b12d4583..db901ab3 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 16:04+0100\n" "Last-Translator: Pierre Bousquié \n" "Language-Team: FRENCH \n" @@ -239,7 +239,7 @@ msgstr "" msgid "Available static markers" msgstr "Marqueurs statiques disponibles" -#: howto/instrumentation.rst:279 +#: howto/instrumentation.rst:277 msgid "" "This marker indicates that execution of a Python function has begun. It is " "only triggered for pure-Python (bytecode) functions." @@ -247,7 +247,7 @@ msgstr "" "Ce marqueur indique que l'exécution d'une fonction Python a commencé. Il " "n'est déclenché que pour les fonctions en Python pur (code intermédiaire)." -#: howto/instrumentation.rst:282 +#: howto/instrumentation.rst:280 msgid "" "The filename, function name, and line number are provided back to the " "tracing script as positional arguments, which must be accessed using ``" @@ -257,7 +257,7 @@ msgstr "" "au script de traçage sous forme d'arguments positionnels, auxquels il faut " "accéder en utilisant ``$arg1``, ``$arg2``, ``$arg3`` :" -#: howto/instrumentation.rst:286 +#: howto/instrumentation.rst:284 msgid "" "``$arg1`` : ``(const char *)`` filename, accessible using " "``user_string($arg1)``" @@ -265,7 +265,7 @@ msgstr "" "``$arg1`` : ``(const char *)`` nom de fichier, accessible via " "``user_string($arg1)``" -#: howto/instrumentation.rst:288 +#: howto/instrumentation.rst:286 msgid "" "``$arg2`` : ``(const char *)`` function name, accessible using " "``user_string($arg2)``" @@ -273,11 +273,11 @@ msgstr "" "``$arg2`` : ``(const char *)`` nom de la fonction, accessible via " "``user_string($arg2)``" -#: howto/instrumentation.rst:291 +#: howto/instrumentation.rst:289 msgid "``$arg3`` : ``int`` line number" msgstr "``$arg3`` : numéro de ligne ``int``" -#: howto/instrumentation.rst:295 +#: howto/instrumentation.rst:293 msgid "" "This marker is the converse of :c:func:`function__entry`, and indicates that " "execution of a Python function has ended (either via ``return``, or via an " @@ -288,11 +288,11 @@ msgstr "" "via une exception). Il n'est déclenché que pour les fonctions en Python pur " "(code intermédiaire)." -#: howto/instrumentation.rst:299 +#: howto/instrumentation.rst:297 msgid "The arguments are the same as for :c:func:`function__entry`" msgstr "Les arguments sont les mêmes que pour :c:func:`function__entry`" -#: howto/instrumentation.rst:303 +#: howto/instrumentation.rst:301 msgid "" "This marker indicates a Python line is about to be executed. It is the " "equivalent of line-by-line tracing with a Python profiler. It is not " @@ -302,11 +302,11 @@ msgstr "" "C'est l'équivalent du traçage ligne par ligne avec un profileur Python. Il " "n'est pas déclenché dans les fonctions C." -#: howto/instrumentation.rst:307 +#: howto/instrumentation.rst:305 msgid "The arguments are the same as for :c:func:`function__entry`." msgstr "Les arguments sont les mêmes que pour :c:func:`function__entry`." -#: howto/instrumentation.rst:311 +#: howto/instrumentation.rst:309 msgid "" "Fires when the Python interpreter starts a garbage collection cycle. " "``arg0`` is the generation to scan, like :func:`gc.collect()`." @@ -315,7 +315,7 @@ msgstr "" "ramasse-miettes. ``arg0`` est la génération à scanner, comme :func:`gc." "collect()`." -#: howto/instrumentation.rst:316 +#: howto/instrumentation.rst:314 msgid "" "Fires when the Python interpreter finishes a garbage collection cycle. " "``arg0`` is the number of collected objects." @@ -323,7 +323,7 @@ msgstr "" "Fonction appelée lorsque l'interpréteur Python termine un cycle de collecte " "du ramasse-miettes. ``Arg0`` est le nombre d'objets collectés." -#: howto/instrumentation.rst:321 +#: howto/instrumentation.rst:319 msgid "" "Fires before :mod:`importlib` attempts to find and load the module. ``arg0`` " "is the module name." @@ -331,7 +331,7 @@ msgstr "" "Fonction appelée avant que :mod:`importlib` essaye de trouver et de charger " "le module. ``arg0`` est le nom du module." -#: howto/instrumentation.rst:328 +#: howto/instrumentation.rst:326 msgid "" "Fires after :mod:`importlib`'s find_and_load function is called. ``arg0`` is " "the module name, ``arg1`` indicates if module was successfully loaded." @@ -340,7 +340,7 @@ msgstr "" "`importlib` soit appelée. ``arg0`` est le nom du module, ``arg1`` indique si " "le module a été chargé avec succès." -#: howto/instrumentation.rst:337 +#: howto/instrumentation.rst:335 msgid "" "Fires when :func:`sys.audit` or :c:func:`PySys_Audit` is called. ``arg0`` is " "the event name as C string, ``arg1`` is a :c:type:`PyObject` pointer to a " @@ -351,11 +351,11 @@ msgstr "" "chaîne de caractère C. ``arg1`` est un pointeur sur un tuple d'objet de " "type :c:type:`PyObject`." -#: howto/instrumentation.rst:345 +#: howto/instrumentation.rst:343 msgid "SystemTap Tapsets" msgstr "*Tapsets* de *SystemTap*" -#: howto/instrumentation.rst:347 +#: howto/instrumentation.rst:345 msgid "" "The higher-level way to use the SystemTap integration is to use a \"tapset" "\": SystemTap's equivalent of a library, which hides some of the lower-level " @@ -365,13 +365,13 @@ msgstr "" "un *« tapset »*. L'équivalent pour *SystemTap* d'une bibliothèque, qui " "permet de masquer les détails de niveau inférieur des marqueurs statiques." -#: howto/instrumentation.rst:351 +#: howto/instrumentation.rst:349 msgid "Here is a tapset file, based on a non-shared build of CPython:" msgstr "" "Voici un fichier *tapset*, basé sur une version non partagée compilée de " "CPython ::" -#: howto/instrumentation.rst:374 +#: howto/instrumentation.rst:372 msgid "" "If this file is installed in SystemTap's tapset directory (e.g. ``/usr/share/" "systemtap/tapset``), then these additional probepoints become available:" @@ -380,7 +380,7 @@ msgstr "" "exemple ``/usr/share/systemtap/tapset``), alors ces sondes supplémentaires " "deviennent disponibles ::" -#: howto/instrumentation.rst:380 +#: howto/instrumentation.rst:378 msgid "" "This probe point indicates that execution of a Python function has begun. It " "is only triggered for pure-Python (bytecode) functions." @@ -388,9 +388,10 @@ msgstr "" "Cette sonde indique que l'exécution d'une fonction Python a commencé. Elle " "n'est déclenchée que pour les fonctions en Python pur (code intermédiaire)." -#: howto/instrumentation.rst:385 +#: howto/instrumentation.rst:383 +#, fuzzy msgid "" -"This probe point is the converse of :c:func:`python.function.return`, and " +"This probe point is the converse of ``python.function.return``, and " "indicates that execution of a Python function has ended (either via " "``return``, or via an exception). It is only triggered for pure-Python " "(bytecode) functions." @@ -400,11 +401,11 @@ msgstr "" "soit via une exception). Elle est uniquement déclenchée pour les fonctions " "en Python pur (code intermédiaire)." -#: howto/instrumentation.rst:392 +#: howto/instrumentation.rst:390 msgid "Examples" msgstr "Exemples" -#: howto/instrumentation.rst:393 +#: howto/instrumentation.rst:391 msgid "" "This SystemTap script uses the tapset above to more cleanly implement the " "example given above of tracing the Python function-call hierarchy, without " @@ -415,7 +416,7 @@ msgstr "" "fonctions Python, sans avoir besoin de nommer directement les marqueurs " "statiques ::" -#: howto/instrumentation.rst:412 +#: howto/instrumentation.rst:410 msgid "" "The following script uses the tapset above to provide a top-like view of all " "running CPython code, showing the top 20 most frequently-entered bytecode " diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 695cd050..89b788ad 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-01-11 23:02+0100\n" "Last-Translator: BAILLY Geoffroy \n" "Language-Team: FRENCH \n" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 1df1e80f..d7185d90 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/howto/logging.po b/howto/logging.po index efd06f29..53344f13 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-10 15:38+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/howto/pyporting.po b/howto/pyporting.po index 07629215..23f23055 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-28 16:08+0100\n" "Last-Translator: Loc Cosnier \n" "Language-Team: FRENCH \n" diff --git a/howto/regex.po b/howto/regex.po index de4ea3ec..d4215f93 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:24+0200\n" "Last-Translator: Nabil Bendafi \n" "Language-Team: FRENCH \n" diff --git a/howto/sockets.po b/howto/sockets.po index f7cc446b..2d8875fe 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-08 15:38+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/howto/sorting.po b/howto/sorting.po index 95478136..a5f1e169 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 15:12+0100\n" "Last-Translator: Loc Cosnier \n" "Language-Team: FRENCH \n" diff --git a/howto/unicode.po b/howto/unicode.po index 414f2537..763b8ca8 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 12:03+0100\n" "Last-Translator: Melançon Victor \n" "Language-Team: FRENCH \n" diff --git a/howto/urllib2.po b/howto/urllib2.po index f7331d06..4450c07e 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/install/index.po b/install/index.po index 4bf7142e..79561e1a 100644 --- a/install/index.po +++ b/install/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:25+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/installing/index.po b/installing/index.po index e810f7c1..3b4b7dea 100644 --- a/installing/index.po +++ b/installing/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-15 21:18+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/2to3.po b/library/2to3.po index 0d772cab..8fc0dd0b 100644 --- a/library/2to3.po +++ b/library/2to3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-16 10:54+0200\n" "Last-Translator: Léa Klein \n" "Language-Team: FRENCH \n" diff --git a/library/__future__.po b/library/__future__.po index a1760af0..c8c65d18 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-01 23:02+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -278,8 +278,8 @@ msgid "3.7.0b1" msgstr "3.7.0b1" #: library/__future__.rst:93 -msgid "4.0" -msgstr "4.0" +msgid "3.10" +msgstr "" #: library/__future__.rst:93 msgid ":pep:`563`: *Postponed evaluation of annotations*" @@ -292,3 +292,6 @@ msgstr ":ref:`future`" #: library/__future__.rst:103 msgid "How the compiler treats future imports." msgstr "Comment le compilateur gère les importations « futures »." + +#~ msgid "4.0" +#~ msgstr "4.0" diff --git a/library/__main__.po b/library/__main__.po index 9b3ba766..2c954e7e 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-07 22:52+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/_thread.po b/library/_thread.po index 7126d5ce..01314279 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 12:43+0100\n" "Last-Translator: Inebhis \n" "Language-Team: FRENCH \n" diff --git a/library/abc.po b/library/abc.po index 0df24310..202130fc 100644 --- a/library/abc.po +++ b/library/abc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-21 17:32+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/aifc.po b/library/aifc.po index d7eb58d9..a18f7cde 100644 --- a/library/aifc.po +++ b/library/aifc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -225,29 +225,29 @@ msgid "" "given position. This method can be called at any time before :meth:`close`." msgstr "" -#: library/aifc.rst:212 +#: library/aifc.rst:213 msgid "" "Return the current write position in the output file. Useful in combination " "with :meth:`setmark`." msgstr "" -#: library/aifc.rst:218 +#: library/aifc.rst:219 msgid "" "Write data to the output file. This method can only be called after the " "audio file parameters have been set." msgstr "" -#: library/aifc.rst:221 library/aifc.rst:230 +#: library/aifc.rst:222 library/aifc.rst:231 msgid "Any :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." -#: library/aifc.rst:227 +#: library/aifc.rst:228 msgid "" "Like :meth:`writeframes`, except that the header of the audio file is not " "updated." msgstr "" -#: library/aifc.rst:236 +#: library/aifc.rst:238 msgid "" "Close the AIFF file. The header of the file is updated to reflect the " "actual size of the audio data. After calling this method, the object can no " diff --git a/library/allos.po b/library/allos.po index 96d5a0c7..4fad1aeb 100644 --- a/library/allos.po +++ b/library/allos.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-27 22:58+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/archiving.po b/library/archiving.po index a5139b55..893e6f3d 100644 --- a/library/archiving.po +++ b/library/archiving.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-27 23:01+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/argparse.po b/library/argparse.po index c30989fc..4a9c5a7f 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-12 22:07+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/array.po b/library/array.po index 75752f55..c878c288 100644 --- a/library/array.po +++ b/library/array.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 12:47+0100\n" "Last-Translator: Cléo Buck \n" "Language-Team: FRENCH \n" diff --git a/library/ast.po b/library/ast.po index 50eab409..665f68d6 100644 --- a/library/ast.po +++ b/library/ast.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-11 07:42+0200\n" "Last-Translator: Julien VITARD \n" "Language-Team: FRENCH \n" @@ -1221,3 +1221,33 @@ msgstr "" "`Green Tree Snakes `_, une " "ressource documentaire externe, qui possède plus de détails pour travailler " "avec des ASTs Python." + +#: library/ast.rst:1806 +msgid "" +"`ASTTokens `_ " +"annotates Python ASTs with the positions of tokens and text in the source " +"code that generated them. This is helpful for tools that make source code " +"transformations." +msgstr "" + +#: library/ast.rst:1811 +msgid "" +"`leoAst.py `_ unifies the " +"token-based and parse-tree-based views of python programs by inserting two-" +"way links between tokens and ast nodes." +msgstr "" + +#: library/ast.rst:1815 +msgid "" +"`LibCST `_ parses code as a Concrete Syntax " +"Tree that looks like an ast tree and keeps all formatting details. It's " +"useful for building automated refactoring (codemod) applications and linters." +msgstr "" + +#: library/ast.rst:1820 +msgid "" +"`Parso `_ is a Python parser that supports " +"error recovery and round-trip parsing for different Python versions (in " +"multiple Python versions). Parso is also able to list multiple syntax errors " +"in your python file." +msgstr "" diff --git a/library/asynchat.po b/library/asynchat.po index 524d9a9b..0cdb440a 100644 --- a/library/asynchat.po +++ b/library/asynchat.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-06 17:04+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-api-index.po b/library/asyncio-api-index.po index e6e747f0..0a5d13a1 100644 --- a/library/asyncio-api-index.po +++ b/library/asyncio-api-index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index 3fdf4eb2..cbf972b8 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 17:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 3a014aa3..fb25af62 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-10 15:50+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index 1689f51c..36806d63 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 0ca07567..1f21454a 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index d21da39d..0f66c5e7 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-platforms.po b/library/asyncio-platforms.po index 36e3bb30..af3d408c 100644 --- a/library/asyncio-platforms.po +++ b/library/asyncio-platforms.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 6e04984e..df845a09 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 01:26+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index 395be716..02b8cca9 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-18 22:29+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index 7fa3506e..cd3f8621 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 17:37+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 194734d2..4fb0b27d 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-06 13:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index 1e9dd22b..a69c8bf5 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-15 00:37+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 0b867c96..093adcb7 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-15 00:46+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 517b53d0..bb137f06 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:47+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -269,7 +269,7 @@ msgstr "" "*asyncio* et ne doit être idéalement appelée qu'une seule fois." #: library/asyncio-task.rst:230 library/asyncio-task.rst:356 -#: library/asyncio-task.rst:466 library/asyncio-task.rst:598 +#: library/asyncio-task.rst:474 library/asyncio-task.rst:606 msgid "Example::" msgstr "Exemple ::" @@ -319,7 +319,7 @@ msgstr "" "antérieures à la 3.7, la fonction de bas-niveau :func:`asyncio." "ensure_future` peut-être utilisée ::" -#: library/asyncio-task.rst:279 library/asyncio-task.rst:780 +#: library/asyncio-task.rst:279 library/asyncio-task.rst:788 msgid "Added the ``name`` parameter." msgstr "" @@ -347,9 +347,9 @@ msgstr "" "autres tâches de s'exécuter." #: library/asyncio-task.rst:298 library/asyncio-task.rst:353 -#: library/asyncio-task.rst:432 library/asyncio-task.rst:463 -#: library/asyncio-task.rst:550 library/asyncio-task.rst:597 -#: library/asyncio-task.rst:785 +#: library/asyncio-task.rst:440 library/asyncio-task.rst:471 +#: library/asyncio-task.rst:558 library/asyncio-task.rst:605 +#: library/asyncio-task.rst:793 msgid "The *loop* parameter." msgstr "" @@ -432,7 +432,16 @@ msgstr "" "l'annulation d'une tâche ou d'un futur entraîne l'annulation des autres " "tâches ou futurs." -#: library/asyncio-task.rst:390 +#: library/asyncio-task.rst:391 +msgid "" +"If *return_exceptions* is False, cancelling gather() after it has been " +"marked done won't cancel any submitted awaitables. For instance, gather can " +"be marked done after propagating an exception to the caller, therefore, " +"calling ``gather.cancel()`` after catching an exception (raised by one of " +"the awaitables) from gather won't cancel any other awaitables." +msgstr "" + +#: library/asyncio-task.rst:398 msgid "" "If the *gather* itself is cancelled, the cancellation is propagated " "regardless of *return_exceptions*." @@ -440,11 +449,11 @@ msgstr "" "Si *gather* est lui-même annulé, l'annulation est propagée indépendamment de " "*return_exceptions*." -#: library/asyncio-task.rst:396 +#: library/asyncio-task.rst:404 msgid "Shielding From Cancellation" msgstr "Protection contre l'annulation" -#: library/asyncio-task.rst:400 +#: library/asyncio-task.rst:408 msgid "" "Protect an :ref:`awaitable object ` from being :meth:" "`cancelled `." @@ -452,21 +461,21 @@ msgstr "" "Empêche qu'un objet :ref:`awaitable ` puisse être :meth:" "`annulé `." -#: library/asyncio-task.rst:403 library/asyncio-task.rst:443 +#: library/asyncio-task.rst:411 library/asyncio-task.rst:451 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." -#: library/asyncio-task.rst:405 +#: library/asyncio-task.rst:413 msgid "The statement::" msgstr "L'instruction ::" -#: library/asyncio-task.rst:409 +#: library/asyncio-task.rst:417 msgid "is equivalent to::" msgstr "est équivalente à ::" -#: library/asyncio-task.rst:413 +#: library/asyncio-task.rst:421 msgid "" "*except* that if the coroutine containing it is cancelled, the Task running " "in ``something()`` is not cancelled. From the point of view of " @@ -480,7 +489,7 @@ msgstr "" "est bien annulé, donc l'expression *await* lève bien une :exc:" "`CancelledError`." -#: library/asyncio-task.rst:419 +#: library/asyncio-task.rst:427 msgid "" "If ``something()`` is cancelled by other means (i.e. from within itself) " "that would also cancel ``shield()``." @@ -488,7 +497,7 @@ msgstr "" "Si ``something()`` est annulée d'une autre façon (c.-à-d. depuis elle-même) " "ceci annule également ``shield()``." -#: library/asyncio-task.rst:422 +#: library/asyncio-task.rst:430 msgid "" "If it is desired to completely ignore cancellation (not recommended) the " "``shield()`` function should be combined with a try/except clause, as " @@ -498,11 +507,11 @@ msgstr "" "``shield()`` peut être combinée à une clause *try* / *except*, comme dans le " "code ci-dessous ::" -#: library/asyncio-task.rst:436 +#: library/asyncio-task.rst:444 msgid "Timeouts" msgstr "Délais d'attente" -#: library/asyncio-task.rst:440 +#: library/asyncio-task.rst:448 msgid "" "Wait for the *aw* :ref:`awaitable ` to complete with a " "timeout." @@ -510,7 +519,7 @@ msgstr "" "Attend la fin de l':ref:`awaitable ` *aw* avec délai " "d'attente." -#: library/asyncio-task.rst:445 +#: library/asyncio-task.rst:453 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." @@ -519,7 +528,7 @@ msgstr "" "décimal) d'attente. Si *timeout* vaut ``None``, la fonction s'interrompt " "jusqu'à ce que le futur s'achève." -#: library/asyncio-task.rst:449 +#: library/asyncio-task.rst:457 msgid "" "If a timeout occurs, it cancels the task and raises :exc:`asyncio." "TimeoutError`." @@ -527,7 +536,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." -#: library/asyncio-task.rst:452 +#: library/asyncio-task.rst:460 msgid "" "To avoid the task :meth:`cancellation `, wrap it in :func:" "`shield`." @@ -535,7 +544,7 @@ msgstr "" "Pour empêcher :meth:`l'annulation ` de la tâche, il est " "nécessaire de l'encapsuler dans une fonction :func:`shield`." -#: library/asyncio-task.rst:455 +#: library/asyncio-task.rst:463 #, fuzzy msgid "" "The function will wait until the future is actually cancelled, so the total " @@ -545,11 +554,11 @@ msgstr "" "Cette fonction attend que le futur soit réellement annulé, donc le temps " "d'attente total peut être supérieur à *timeout*." -#: library/asyncio-task.rst:459 +#: library/asyncio-task.rst:467 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é." -#: library/asyncio-task.rst:486 +#: library/asyncio-task.rst:494 msgid "" "When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be " "cancelled. Previously, it raised :exc:`asyncio.TimeoutError` immediately." @@ -558,11 +567,11 @@ msgstr "" "``wait_for`` attend que *aw* soit annulée. Auparavant, l'exception :exc:" "`asyncio.TimeoutError` était immédiatement levée." -#: library/asyncio-task.rst:493 +#: library/asyncio-task.rst:501 msgid "Waiting Primitives" msgstr "Primitives d'attente" -#: library/asyncio-task.rst:498 +#: library/asyncio-task.rst:506 msgid "" "Run :ref:`awaitable objects ` in the *aws* set " "concurrently and block until the condition specified by *return_when*." @@ -571,19 +580,19 @@ msgstr "" "*aws* de manière concurrente, et s'interrompt jusqu'à ce que la condition " "décrite dans *return_when* soit vraie." -#: library/asyncio-task.rst:502 +#: library/asyncio-task.rst:510 msgid "The *aws* set must not be empty." msgstr "" -#: library/asyncio-task.rst:504 +#: library/asyncio-task.rst:512 msgid "Returns two sets of Tasks/Futures: ``(done, pending)``." msgstr "Renvoie deux ensembles de *Tasks* / *Futures* : ``(done, pending)``." -#: library/asyncio-task.rst:506 +#: library/asyncio-task.rst:514 msgid "Usage::" msgstr "Utilisation ::" -#: library/asyncio-task.rst:510 +#: library/asyncio-task.rst:518 msgid "" "*timeout* (a float or int), if specified, can be used to control the maximum " "number of seconds to wait before returning." @@ -591,7 +600,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." -#: library/asyncio-task.rst:513 +#: library/asyncio-task.rst:521 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 " @@ -601,7 +610,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." -#: library/asyncio-task.rst:517 +#: library/asyncio-task.rst:525 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" @@ -609,28 +618,28 @@ msgstr "" "*return_when* indique quand la fonction doit se terminer. Il peut prendre " "les valeurs suivantes :" -#: library/asyncio-task.rst:523 +#: library/asyncio-task.rst:531 msgid "Constant" msgstr "Constante" -#: library/asyncio-task.rst:523 +#: library/asyncio-task.rst:531 msgid "Description" msgstr "Description" -#: library/asyncio-task.rst:525 +#: library/asyncio-task.rst:533 msgid ":const:`FIRST_COMPLETED`" msgstr ":const:`FIRST_COMPLETED`" -#: library/asyncio-task.rst:525 +#: library/asyncio-task.rst:533 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é." -#: library/asyncio-task.rst:528 +#: library/asyncio-task.rst:536 msgid ":const:`FIRST_EXCEPTION`" msgstr ":const:`FIRST_EXCEPTION`" -#: library/asyncio-task.rst:528 +#: library/asyncio-task.rst:536 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:" @@ -640,16 +649,16 @@ msgstr "" "exception. Si aucun *futur* ne lève d'exception, équivaut à :const:" "`ALL_COMPLETED`." -#: library/asyncio-task.rst:534 +#: library/asyncio-task.rst:542 msgid ":const:`ALL_COMPLETED`" msgstr ":const:`ALL_COMPLETED`" -#: library/asyncio-task.rst:534 +#: library/asyncio-task.rst:542 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." -#: library/asyncio-task.rst:538 +#: library/asyncio-task.rst:546 msgid "" "Unlike :func:`~asyncio.wait_for`, ``wait()`` does not cancel the futures " "when a timeout occurs." @@ -657,7 +666,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é." -#: library/asyncio-task.rst:543 +#: library/asyncio-task.rst:551 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 " @@ -668,7 +677,7 @@ msgstr "" "``wait()`` est obsolète, car ceci conduisait :ref:`à un comportement portant " "à confusion `." -#: library/asyncio-task.rst:555 +#: library/asyncio-task.rst:563 msgid "" "``wait()`` schedules coroutines as Tasks automatically and later returns " "those implicitly created Task objects in ``(done, pending)`` sets. " @@ -678,15 +687,15 @@ msgstr "" "renvoie les objets *Task* ainsi créés dans les ensembles ``(done, " "pending)``. Le code suivant ne fonctionne donc pas comme voulu ::" -#: library/asyncio-task.rst:568 +#: library/asyncio-task.rst:576 msgid "Here is how the above snippet can be fixed::" msgstr "Voici comment corriger le morceau de code ci-dessus ::" -#: library/asyncio-task.rst:581 +#: library/asyncio-task.rst:589 msgid "Passing coroutine objects to ``wait()`` directly is deprecated." msgstr "Passer directement des objets coroutines à ``wait()`` est obsolète." -#: library/asyncio-task.rst:587 +#: library/asyncio-task.rst:595 #, fuzzy msgid "" "Run :ref:`awaitable objects ` in the *aws* set " @@ -699,7 +708,7 @@ msgstr "" "`Future`. Chaque objet *futur* renvoyé représente le résultat le plus récent " "de l'ensemble des *awaitables* restants." -#: library/asyncio-task.rst:592 +#: library/asyncio-task.rst:600 msgid "" "Raises :exc:`asyncio.TimeoutError` if the timeout occurs before all Futures " "are done." @@ -707,15 +716,15 @@ 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." -#: library/asyncio-task.rst:606 +#: library/asyncio-task.rst:614 msgid "Running in Threads" msgstr "" -#: library/asyncio-task.rst:610 +#: library/asyncio-task.rst:618 msgid "Asynchronously run function *func* in a separate thread." msgstr "" -#: library/asyncio-task.rst:612 +#: library/asyncio-task.rst:620 msgid "" "Any \\*args and \\*\\*kwargs supplied for this function are directly passed " "to *func*. Also, the current :class:`contextvars.Context` is propogated, " @@ -723,19 +732,19 @@ msgid "" "separate thread." msgstr "" -#: library/asyncio-task.rst:617 +#: library/asyncio-task.rst:625 msgid "" "Return a coroutine that can be awaited to get the eventual result of *func*." msgstr "" -#: library/asyncio-task.rst:619 +#: library/asyncio-task.rst:627 msgid "" "This coroutine function is primarily intended to be used for executing IO-" "bound functions/methods that would otherwise block the event loop if they " "were ran in the main thread. For example::" msgstr "" -#: library/asyncio-task.rst:649 +#: library/asyncio-task.rst:657 msgid "" "Directly calling `blocking_io()` in any coroutine would block the event loop " "for its duration, resulting in an additional 1 second of run time. Instead, " @@ -743,7 +752,7 @@ msgid "" "blocking the event loop." msgstr "" -#: library/asyncio-task.rst:656 +#: library/asyncio-task.rst:664 msgid "" "Due to the :term:`GIL`, `asyncio.to_thread()` can typically only be used to " "make IO-bound functions non-blocking. However, for extension modules that " @@ -751,18 +760,18 @@ msgid "" "`asyncio.to_thread()` can also be used for CPU-bound functions." msgstr "" -#: library/asyncio-task.rst:665 +#: library/asyncio-task.rst:673 msgid "Scheduling From Other Threads" msgstr "Planification depuis d'autres fils d'exécution" -#: library/asyncio-task.rst:669 +#: library/asyncio-task.rst:677 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*)." -#: library/asyncio-task.rst:671 +#: library/asyncio-task.rst:679 msgid "" "Return a :class:`concurrent.futures.Future` to wait for the result from " "another OS thread." @@ -770,7 +779,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." -#: library/asyncio-task.rst:674 +#: library/asyncio-task.rst:682 msgid "" "This function is meant to be called from a different OS thread than the one " "where the event loop is running. Example::" @@ -778,7 +787,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 ::" -#: library/asyncio-task.rst:686 +#: library/asyncio-task.rst:694 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::" @@ -787,7 +796,7 @@ msgstr "" "averti. Elle peut également être utilisée pour annuler la tâche de la boucle " "d'événement ::" -#: library/asyncio-task.rst:700 +#: library/asyncio-task.rst:708 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." @@ -795,7 +804,7 @@ msgstr "" "Voir la section :ref:`exécution concurrente et multi-fils d'exécution " "` de la documentation." -#: library/asyncio-task.rst:703 +#: library/asyncio-task.rst:711 msgid "" "Unlike other asyncio functions this function requires the *loop* argument to " "be passed explicitly." @@ -803,11 +812,11 @@ msgstr "" "À la différence des autres fonction d'*asyncio*, cette fonction requiert que " "*loop* soit passé de manière explicite." -#: library/asyncio-task.rst:710 +#: library/asyncio-task.rst:718 msgid "Introspection" msgstr "Introspection" -#: library/asyncio-task.rst:715 +#: library/asyncio-task.rst:723 msgid "" "Return the currently running :class:`Task` instance, or ``None`` if no task " "is running." @@ -815,7 +824,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." -#: library/asyncio-task.rst:718 +#: library/asyncio-task.rst:726 msgid "" "If *loop* is ``None`` :func:`get_running_loop` is used to get the current " "loop." @@ -823,13 +832,13 @@ msgstr "" "Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer " "la boucle en cours d'exécution." -#: library/asyncio-task.rst:726 +#: library/asyncio-task.rst:734 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." -#: library/asyncio-task.rst:729 +#: library/asyncio-task.rst:737 msgid "" "If *loop* is ``None``, :func:`get_running_loop` is used for getting current " "loop." @@ -837,11 +846,11 @@ msgstr "" "Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer " "la boucle en cours d'exécution." -#: library/asyncio-task.rst:736 +#: library/asyncio-task.rst:744 msgid "Task Object" msgstr "Objets *Task*" -#: library/asyncio-task.rst:740 +#: library/asyncio-task.rst:748 msgid "" "A :class:`Future-like ` object that runs a Python :ref:`coroutine " "`. Not thread-safe." @@ -850,7 +859,7 @@ msgstr "" "`coroutine ` Python. Cet objet n'est pas utilisable dans des " "programmes à fils d'exécution multiples." -#: library/asyncio-task.rst:743 +#: library/asyncio-task.rst:751 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 " @@ -862,7 +871,7 @@ msgstr "" "attend la fin de ce *futur*. Quand celui-ci est terminé, l'exécution de la " "coroutine encapsulée reprend." -#: library/asyncio-task.rst:749 +#: library/asyncio-task.rst:757 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 " @@ -873,7 +882,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." -#: library/asyncio-task.rst:754 +#: library/asyncio-task.rst:762 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. " @@ -884,7 +893,7 @@ msgstr "" "créer des tâches. Il est déconseillé d'instancier manuellement des objets " "*Task*." -#: library/asyncio-task.rst:759 +#: library/asyncio-task.rst:767 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 " @@ -896,7 +905,7 @@ msgstr "" "`CancelledError` dans la coroutine encapsulée. Si la coroutine attendait un " "*futur* au moment de l'annulation, celui-ci est annulé." -#: library/asyncio-task.rst:764 +#: library/asyncio-task.rst:772 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:" @@ -906,7 +915,7 @@ msgstr "" "Elle renvoie ``True`` si la coroutine encapsulée n'a pas ignoré l'exception :" "exc:`CancelledError` et a bien été annulée." -#: library/asyncio-task.rst:769 +#: library/asyncio-task.rst:777 msgid "" ":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except :" "meth:`Future.set_result` and :meth:`Future.set_exception`." @@ -914,7 +923,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`." -#: library/asyncio-task.rst:773 +#: library/asyncio-task.rst:781 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 " @@ -924,15 +933,15 @@ msgstr "" "tâche effectue une copie du contexte actuel et exécutera ses coroutines dans " "cette copie." -#: library/asyncio-task.rst:777 +#: library/asyncio-task.rst:785 msgid "Added support for the :mod:`contextvars` module." msgstr "Ajout du support du module :mod:`contextvars`." -#: library/asyncio-task.rst:788 +#: library/asyncio-task.rst:796 msgid "Request the Task to be cancelled." msgstr "Demande l'annulation d'une tâche." -#: library/asyncio-task.rst:790 +#: library/asyncio-task.rst:798 msgid "" "This arranges for a :exc:`CancelledError` exception to be thrown into the " "wrapped coroutine on the next cycle of the event loop." @@ -941,7 +950,7 @@ msgstr "" "encapsulée. L'exception sera levée au prochain cycle de la boucle " "d'exécution." -#: library/asyncio-task.rst:793 +#: library/asyncio-task.rst:801 msgid "" "The coroutine then has a chance to clean up or even deny the request by " "suppressing the exception with a :keyword:`try` ... ... ``except " @@ -957,11 +966,11 @@ msgstr "" "annulée, bien qu'ignorer totalement une annulation ne soit ni une pratique " "courante, ni encouragé." -#: library/asyncio-task.rst:801 +#: library/asyncio-task.rst:809 msgid "Added the ``msg`` parameter." msgstr "" -#: library/asyncio-task.rst:806 +#: library/asyncio-task.rst:814 msgid "" "The following example illustrates how coroutines can intercept the " "cancellation request::" @@ -969,11 +978,11 @@ msgstr "" "L'exemple ci-dessous illustre comment une coroutine peut intercepter une " "requête d'annulation ::" -#: library/asyncio-task.rst:845 +#: library/asyncio-task.rst:853 msgid "Return ``True`` if the Task is *cancelled*." msgstr "Renvoie ``True`` si la tâche est *annulée*." -#: library/asyncio-task.rst:847 +#: library/asyncio-task.rst:855 msgid "" "The Task is *cancelled* when the cancellation was requested with :meth:" "`cancel` and the wrapped coroutine propagated the :exc:`CancelledError` " @@ -983,11 +992,11 @@ msgstr "" "et la coroutine encapsulée a propagé l'exception :exc:`CancelledError` qui a " "été levée en son sein." -#: library/asyncio-task.rst:853 +#: library/asyncio-task.rst:861 msgid "Return ``True`` if the Task is *done*." msgstr "Renvoie ``True`` si la tâche est *achevée*." -#: library/asyncio-task.rst:855 +#: library/asyncio-task.rst:863 msgid "" "A Task is *done* when the wrapped coroutine either returned a value, raised " "an exception, or the Task was cancelled." @@ -995,11 +1004,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." -#: library/asyncio-task.rst:860 +#: library/asyncio-task.rst:868 msgid "Return the result of the Task." msgstr "Renvoie le résultat de la tâche." -#: library/asyncio-task.rst:862 +#: library/asyncio-task.rst:870 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.)" @@ -1008,7 +1017,7 @@ msgstr "" "renvoyé (sinon, dans le cas où la coroutine a levé une exception, cette " "exception est de nouveau levée)." -#: library/asyncio-task.rst:866 library/asyncio-task.rst:880 +#: library/asyncio-task.rst:874 library/asyncio-task.rst:888 msgid "" "If the Task has been *cancelled*, this method raises a :exc:`CancelledError` " "exception." @@ -1016,7 +1025,7 @@ msgstr "" "Si la tâche a été *annulée*, cette méthode lève une exception :exc:" "`CancelledError`." -#: library/asyncio-task.rst:869 +#: library/asyncio-task.rst:877 msgid "" "If the Task's result isn't yet available, this method raises a :exc:" "`InvalidStateError` exception." @@ -1024,11 +1033,11 @@ msgstr "" "Si le résultat de la tâche n'est pas encore disponible, cette méthode lève " "une exception :exc:`InvalidStateError`." -#: library/asyncio-task.rst:874 +#: library/asyncio-task.rst:882 msgid "Return the exception of the Task." msgstr "Renvoie l'exception de la tâche." -#: library/asyncio-task.rst:876 +#: library/asyncio-task.rst:884 msgid "" "If the wrapped coroutine raised an exception that exception is returned. If " "the wrapped coroutine returned normally this method returns ``None``." @@ -1036,7 +1045,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``." -#: library/asyncio-task.rst:883 +#: library/asyncio-task.rst:891 msgid "" "If the Task isn't *done* yet, this method raises an :exc:`InvalidStateError` " "exception." @@ -1044,30 +1053,30 @@ msgstr "" "Si la tâche n'est pas encore *achevée*, cette méthode lève une exception :" "exc:`InvalidStateError`." -#: library/asyncio-task.rst:888 +#: library/asyncio-task.rst:896 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*." -#: library/asyncio-task.rst:890 library/asyncio-task.rst:899 +#: library/asyncio-task.rst:898 library/asyncio-task.rst:907 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." -#: library/asyncio-task.rst:892 +#: library/asyncio-task.rst:900 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." -#: library/asyncio-task.rst:897 +#: library/asyncio-task.rst:905 msgid "Remove *callback* from the callbacks list." msgstr "Retire *callback* de la liste de fonctions de rappel." -#: library/asyncio-task.rst:901 +#: library/asyncio-task.rst:909 msgid "" "See the documentation of :meth:`Future.remove_done_callback` for more " "details." @@ -1075,11 +1084,11 @@ msgstr "" "Se référer à la documentation de :meth:`Future.remove_done_callback` pour " "plus de détails." -#: library/asyncio-task.rst:906 +#: library/asyncio-task.rst:914 msgid "Return the list of stack frames for this Task." msgstr "Renvoie une liste représentant la pile d'appels de la tâche." -#: library/asyncio-task.rst:908 +#: library/asyncio-task.rst:916 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, " @@ -1092,15 +1101,15 @@ msgstr "" "renvoie une liste vide. Si la coroutine a été terminée par une exception, " "ceci renvoie la pile d'erreurs." -#: library/asyncio-task.rst:914 +#: library/asyncio-task.rst:922 msgid "The frames are always ordered from oldest to newest." msgstr "La pile est toujours affichée de l'appelant à l'appelé." -#: library/asyncio-task.rst:916 +#: library/asyncio-task.rst:924 msgid "Only one stack frame is returned for a suspended coroutine." msgstr "Une seule ligne est renvoyée si la coroutine est suspendue." -#: library/asyncio-task.rst:918 +#: library/asyncio-task.rst:926 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 " @@ -1114,11 +1123,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*)." -#: library/asyncio-task.rst:927 +#: library/asyncio-task.rst:935 msgid "Print the stack or traceback for this Task." msgstr "Affiche la pile d'appels ou d'erreurs de la tâche." -#: library/asyncio-task.rst:929 +#: library/asyncio-task.rst:937 msgid "" "This produces output similar to that of the traceback module for the frames " "retrieved by :meth:`get_stack`." @@ -1126,11 +1135,11 @@ msgstr "" "Le format de sortie des appels produits par :meth:`get_stack` est similaire " "à celui du module *traceback*. " -#: library/asyncio-task.rst:932 +#: library/asyncio-task.rst:940 msgid "The *limit* argument is passed to :meth:`get_stack` directly." msgstr "Le paramètre *limit* est directement passé à :meth:`get_stack`." -#: library/asyncio-task.rst:934 +#: library/asyncio-task.rst:942 msgid "" "The *file* argument is an I/O stream to which the output is written; by " "default output is written to :data:`sys.stderr`." @@ -1138,43 +1147,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`." -#: library/asyncio-task.rst:939 +#: library/asyncio-task.rst:947 #, fuzzy msgid "Return the coroutine object wrapped by the :class:`Task`." msgstr "Renvoie l'exception de la tâche." -#: library/asyncio-task.rst:945 +#: library/asyncio-task.rst:953 #, fuzzy msgid "Return the name of the Task." msgstr "Renvoie le résultat de la tâche." -#: library/asyncio-task.rst:947 +#: library/asyncio-task.rst:955 msgid "" "If no name has been explicitly assigned to the Task, the default asyncio " "Task implementation generates a default name during instantiation." msgstr "" -#: library/asyncio-task.rst:955 +#: library/asyncio-task.rst:963 #, fuzzy msgid "Set the name of the Task." msgstr "Renvoie le résultat de la tâche." -#: library/asyncio-task.rst:957 +#: library/asyncio-task.rst:965 msgid "" "The *value* argument can be any object, which is then converted to a string." msgstr "" -#: library/asyncio-task.rst:960 +#: library/asyncio-task.rst:968 msgid "" "In the default Task implementation, the name will be visible in the :func:" "`repr` output of a task object." msgstr "" -#: library/asyncio-task.rst:969 +#: library/asyncio-task.rst:977 msgid "Generator-based Coroutines" msgstr "Coroutines basées sur des générateurs" -#: library/asyncio-task.rst:973 +#: library/asyncio-task.rst:981 msgid "" "Support for generator-based coroutines is **deprecated** and is scheduled " "for removal in Python 3.10." @@ -1182,7 +1191,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." -#: library/asyncio-task.rst:976 +#: library/asyncio-task.rst:984 msgid "" "Generator-based coroutines predate async/await syntax. They are Python " "generators that use ``yield from`` expressions to await on Futures and other " @@ -1192,7 +1201,7 @@ msgstr "" "*async* / *await*. Il existe des générateurs Python qui utilisent les " "expressions ``yield from`` pour attendre des *futurs* et autres coroutines." -#: library/asyncio-task.rst:980 +#: library/asyncio-task.rst:988 msgid "" "Generator-based coroutines should be decorated with :func:`@asyncio." "coroutine `, although this is not enforced." @@ -1201,11 +1210,11 @@ msgstr "" "`@asyncio.coroutine `, même si ce n'est pas vérifié par " "l'interpréteur." -#: library/asyncio-task.rst:987 +#: library/asyncio-task.rst:995 msgid "Decorator to mark generator-based coroutines." msgstr "Décorateur pour coroutines basées sur des générateurs." -#: library/asyncio-task.rst:989 +#: library/asyncio-task.rst:997 msgid "" "This decorator enables legacy generator-based coroutines to be compatible " "with async/await code::" @@ -1213,21 +1222,21 @@ msgstr "" "Ce décorateur rend compatibles les coroutines basées sur des générateurs " "avec le code *async* / *await* ::" -#: library/asyncio-task.rst:999 +#: library/asyncio-task.rst:1007 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`." -#: library/asyncio-task.rst:1004 +#: library/asyncio-task.rst:1012 msgid "Use :keyword:`async def` instead." msgstr "" -#: library/asyncio-task.rst:1008 +#: library/asyncio-task.rst:1016 msgid "Return ``True`` if *obj* is a :ref:`coroutine object `." msgstr "Renvoie ``True`` si *obj* est un :ref:`objet coroutine `." -#: library/asyncio-task.rst:1010 +#: library/asyncio-task.rst:1018 msgid "" "This method is different from :func:`inspect.iscoroutine` because it returns " "``True`` for generator-based coroutines." @@ -1235,12 +1244,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." -#: library/asyncio-task.rst:1015 +#: library/asyncio-task.rst:1023 msgid "Return ``True`` if *func* is a :ref:`coroutine function `." msgstr "" "Renvoie ``True`` si *func* est une :ref:`fonction coroutine `." -#: library/asyncio-task.rst:1018 +#: library/asyncio-task.rst:1026 msgid "" "This method is different from :func:`inspect.iscoroutinefunction` because it " "returns ``True`` for generator-based coroutine functions decorated with :" diff --git a/library/asyncio.po b/library/asyncio.po index 1f5a912a..c4d94012 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-12-16 16:19+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/library/asyncore.po b/library/asyncore.po index df80543f..c29139d7 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-27 23:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/atexit.po b/library/atexit.po index 315b0d53..f4c06e7a 100644 --- a/library/atexit.po +++ b/library/atexit.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 09:30+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/audioop.po b/library/audioop.po index dacce83c..490b93f3 100644 --- a/library/audioop.po +++ b/library/audioop.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/audit_events.po b/library/audit_events.po index d3c014c1..f40ea9be 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-12-05 23:16+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-03 21:32+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/base64.po b/library/base64.po index 7f66484d..8c348f63 100644 --- a/library/base64.po +++ b/library/base64.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-08-20 15:51+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/bdb.po b/library/bdb.po index 648ce837..7b5cd871 100644 --- a/library/bdb.po +++ b/library/bdb.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/binary.po b/library/binary.po index 551642db..1435010a 100644 --- a/library/binary.po +++ b/library/binary.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-07 23:13+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/binascii.po b/library/binascii.po index 63f08d7a..49f38738 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-10 13:40+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/library/binhex.po b/library/binhex.po index 8e55b213..d1aa3d27 100644 --- a/library/binhex.po +++ b/library/binhex.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-29 23:42+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/bisect.po b/library/bisect.po index 5b6e602e..6592c4a1 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-29 01:03+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/builtins.po b/library/builtins.po index c46438ff..d3a51229 100644 --- a/library/builtins.po +++ b/library/builtins.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-29 00:46+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/bz2.po b/library/bz2.po index 4319f87a..54e8016f 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-16 14:17+0200\n" "Last-Translator: Stéphane HUC \n" "Language-Team: FRENCH \n" diff --git a/library/calendar.po b/library/calendar.po index db85a8a8..19d149d3 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-03 15:34+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/cgi.po b/library/cgi.po index ce5db89f..157ba9b8 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/cgitb.po b/library/cgitb.po index 765438a2..e29f00fe 100644 --- a/library/cgitb.po +++ b/library/cgitb.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-29 18:36+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/chunk.po b/library/chunk.po index 227efbb8..3a4eda31 100644 --- a/library/chunk.po +++ b/library/chunk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/cmath.po b/library/cmath.po index 94781acc..12718ea3 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-28 20:19+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/cmd.po b/library/cmd.po index 40559bcb..1514dc89 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-29 23:43+0200\n" "Last-Translator: Luka Peschke \n" "Language-Team: FRENCH \n" diff --git a/library/code.po b/library/code.po index 727bd947..4b2d2f4a 100644 --- a/library/code.po +++ b/library/code.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/codecs.po b/library/codecs.po index e10989ea..fd10d5ea 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-23 23:00+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/codeop.po b/library/codeop.po index 2d8b7298..3b3d75d7 100644 --- a/library/codeop.po +++ b/library/codeop.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/collections.abc.po b/library/collections.abc.po index 023592a4..2080814a 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-27 15:04+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -329,19 +329,31 @@ msgstr "``asend``, ``athrow``" msgid "``aclose``, ``__aiter__``, ``__anext__``" msgstr "``aclose``, ``__aiter__``, ``__anext__``" -#: library/collections.abc.rst:105 -msgid "" -"ABCs for classes that provide respectively the methods :meth:" -"`__contains__`, :meth:`__hash__`, :meth:`__len__`, and :meth:`__call__`." -msgstr "" -"ABC pour les classes qui définissent respectivement les méthodes :meth:" -"`__contains__`, :meth:`__hash__`, :meth:`__len__` et :meth:`__call__`." +#: library/collections.abc.rst:102 +#, fuzzy +msgid "ABC for classes that provide the :meth:`__contains__` method." +msgstr "ABC pour les classes qui définissent la méthode :meth:`__iter__`." + +#: library/collections.abc.rst:106 +#, fuzzy +msgid "ABC for classes that provide the :meth:`__hash__` method." +msgstr "ABC pour les classes qui définissent la méthode :meth:`__iter__`." #: library/collections.abc.rst:110 +#, fuzzy +msgid "ABC for classes that provide the :meth:`__len__` method." +msgstr "ABC pour les classes qui définissent la méthode :meth:`__iter__`." + +#: library/collections.abc.rst:114 +#, fuzzy +msgid "ABC for classes that provide the :meth:`__call__` method." +msgstr "ABC pour les classes qui définissent la méthode :meth:`__iter__`." + +#: library/collections.abc.rst:118 msgid "ABC for classes that provide the :meth:`__iter__` method." msgstr "ABC pour les classes qui définissent la méthode :meth:`__iter__`." -#: library/collections.abc.rst:112 +#: library/collections.abc.rst:120 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " "as :class:`Iterable` or that have an :meth:`__iter__` method, but it does " @@ -355,11 +367,11 @@ msgstr "" "meth:`__getitem__`. Le seul moyen fiable de déterminer si un objet est :term:" "`itérable ` est d'appeler ``iter(obj)``." -#: library/collections.abc.rst:120 +#: library/collections.abc.rst:128 msgid "ABC for sized iterable container classes." msgstr "ABC pour les classes de conteneurs itérables et *sized*." -#: library/collections.abc.rst:126 +#: library/collections.abc.rst:134 msgid "" "ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:" "`~iterator.__next__` methods. See also the definition of :term:`iterator`." @@ -368,14 +380,14 @@ msgstr "" "et :meth:`~iterator.__next__`. Voir aussi la définition d':term:`itérateur " "`." -#: library/collections.abc.rst:132 +#: library/collections.abc.rst:140 msgid "" "ABC for iterable classes that also provide the :meth:`__reversed__` method." msgstr "" "ABC pour les classes d'itérables qui implémentent également la méthode :meth:" "`__reversed__`." -#: library/collections.abc.rst:139 +#: library/collections.abc.rst:147 msgid "" "ABC for generator classes that implement the protocol defined in :pep:`342` " "that extends iterators with the :meth:`~generator.send`, :meth:`~generator." @@ -387,11 +399,11 @@ msgstr "" "`~generator.send`, :meth:`~generator.throw` et :meth:`~generator.close`. " "Voir aussi la définition de :term:`générateur `." -#: library/collections.abc.rst:150 +#: library/collections.abc.rst:158 msgid "ABCs for read-only and mutable :term:`sequences `." msgstr "ABC pour les :term:`séquences ` immuables et muables." -#: library/collections.abc.rst:152 +#: library/collections.abc.rst:160 msgid "" "Implementation note: Some of the mixin methods, such as :meth:`__iter__`, :" "meth:`__reversed__` and :meth:`index`, make repeated calls to the " @@ -409,29 +421,29 @@ msgstr "" "*mixin* auront une performance quadratique, il serait alors judicieux de les " "surcharger." -#: library/collections.abc.rst:161 +#: library/collections.abc.rst:169 msgid "The index() method added support for *stop* and *start* arguments." msgstr "" "La méthode index() a ajouté le support des arguments *start* et *stop*." -#: library/collections.abc.rst:168 +#: library/collections.abc.rst:176 msgid "ABCs for read-only and mutable sets." msgstr "ABC pour les ensembles immuables et muables." -#: library/collections.abc.rst:173 +#: library/collections.abc.rst:181 msgid "ABCs for read-only and mutable :term:`mappings `." msgstr "" "ABC pour les :term:`tables de correspondances ` immuables et " "muables." -#: library/collections.abc.rst:180 +#: library/collections.abc.rst:188 msgid "" "ABCs for mapping, items, keys, and values :term:`views `." msgstr "" "ABC pour les :term:`vues` de *mappings* (tableaux de " "correspondances), d'éléments, de clés et de valeurs." -#: library/collections.abc.rst:184 +#: library/collections.abc.rst:192 msgid "" "ABC for :term:`awaitable` objects, which can be used in :keyword:`await` " "expressions. Custom implementations must provide the :meth:`__await__` " @@ -441,15 +453,16 @@ msgstr "" "utilisés dans les expressions :keyword:`await`. Les implémentations " "personnalisées doivent définir la méthode :meth:`__await__`." -#: library/collections.abc.rst:188 +#: library/collections.abc.rst:196 +#, fuzzy msgid "" -":term:`Coroutine` objects and instances of the :class:`~collections.abc." -"Coroutine` ABC are all instances of this ABC." +":term:`Coroutine ` objects and instances of the :class:" +"`~collections.abc.Coroutine` ABC are all instances of this ABC." msgstr "" "Les objets :term:`coroutines ` et les instances de l'ABC :class:" "`~collections.abc.Coroutine` sont tous des instances de cette ABC." -#: library/collections.abc.rst:192 +#: library/collections.abc.rst:200 msgid "" "In CPython, generator-based coroutines (generators decorated with :func:" "`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even " @@ -464,7 +477,7 @@ msgstr "" "décoré va renvoyer ``False``. Utilisez :func:`inspect.isawaitable` pour les " "détecter." -#: library/collections.abc.rst:202 +#: library/collections.abc.rst:210 msgid "" "ABC for coroutine compatible classes. These implement the following " "methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, :meth:" @@ -480,7 +493,7 @@ msgstr "" "Toutes les instances de :class:`Coroutine` sont également des instances de :" "class:`Awaitable`. Voir aussi la définition de :term:`coroutine`." -#: library/collections.abc.rst:210 +#: library/collections.abc.rst:218 msgid "" "In CPython, generator-based coroutines (generators decorated with :func:" "`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even " @@ -495,7 +508,7 @@ msgstr "" "décoré va renvoyer ``False``. Utilisez :func:`inspect.isawaitable` pour les " "détecter." -#: library/collections.abc.rst:220 +#: library/collections.abc.rst:228 msgid "" "ABC for classes that provide ``__aiter__`` method. See also the definition " "of :term:`asynchronous iterable`." @@ -503,7 +516,7 @@ msgstr "" "ABC pour les classes qui définissent la méthode ``__aiter__``. Voir aussi la " "définition d':term:`itérable asynchrone `." -#: library/collections.abc.rst:227 +#: library/collections.abc.rst:235 msgid "" "ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See " "also the definition of :term:`asynchronous iterator`." @@ -512,7 +525,7 @@ msgstr "" "``__anext__``. Voir aussi la définition d':term:`itérateur asynchrone " "`." -#: library/collections.abc.rst:234 +#: library/collections.abc.rst:242 msgid "" "ABC for asynchronous generator classes that implement the protocol defined " "in :pep:`525` and :pep:`492`." @@ -520,7 +533,7 @@ msgstr "" "ABC pour les classes de générateurs asynchrones qui implémentent le " "protocole défini dans la :pep:`525` et dans la :pep:`492`." -#: library/collections.abc.rst:240 +#: library/collections.abc.rst:248 msgid "" "These ABCs allow us to ask classes or instances if they provide particular " "functionality, for example::" @@ -528,7 +541,7 @@ msgstr "" "Ces ABC permettent de demander à des classes ou à des instances si elles " "fournissent des fonctionnalités particulières, par exemple ::" -#: library/collections.abc.rst:247 +#: library/collections.abc.rst:255 msgid "" "Several of the ABCs are also useful as mixins that make it easier to develop " "classes supporting container APIs. For example, to write a class supporting " @@ -545,13 +558,13 @@ msgstr "" "apporte les méthodes restantes, comme :meth:`__and__` et :meth:" "`isdisjoint` ::" -#: library/collections.abc.rst:276 +#: library/collections.abc.rst:284 msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" msgstr "" "Notes à propos de l'utilisation de :class:`Set` et :class:`MutableSet` comme " "*mixin* :" -#: library/collections.abc.rst:279 +#: library/collections.abc.rst:287 msgid "" "Since some set operations create new sets, the default mixin methods need a " "way to create new instances from an iterable. The class constructor is " @@ -573,7 +586,7 @@ msgstr "" "`_from_iterable` avec une méthode de classe qui peut construire de nouvelles " "instances à partir d'un argument itérable." -#: library/collections.abc.rst:290 +#: library/collections.abc.rst:298 msgid "" "To override the comparisons (presumably for speed, as the semantics are " "fixed), redefine :meth:`__le__` and :meth:`__ge__`, then the other " @@ -583,7 +596,7 @@ msgstr "" "sémantique est fixe), il faut redéfinir :meth:`__le__` et :meth:`__ge__`, " "puis les autres opérations seront automatiquement adaptées." -#: library/collections.abc.rst:295 +#: library/collections.abc.rst:303 msgid "" "The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash " "value for the set; however, :meth:`__hash__` is not defined because not all " @@ -597,7 +610,7 @@ msgstr "" "Pour rendre un ensemble hachable en utilisant les *mixins*, héritez de :meth:" "`Set` et de :meth:`Hashable`, puis définissez ``__hash__ = Set._hash``." -#: library/collections.abc.rst:303 +#: library/collections.abc.rst:311 msgid "" "`OrderedSet recipe `_ for an " "example built on :class:`MutableSet`." @@ -605,8 +618,15 @@ msgstr "" "`OrderedSet recipe `_ pour un " "exemple construit sur :class:`MutableSet`." -#: library/collections.abc.rst:306 +#: library/collections.abc.rst:314 msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`." msgstr "" "Pour plus d'informations à propos des ABC, voir le module :mod:`abc` et la :" "pep:`3119`." + +#~ msgid "" +#~ "ABCs for classes that provide respectively the methods :meth:" +#~ "`__contains__`, :meth:`__hash__`, :meth:`__len__`, and :meth:`__call__`." +#~ msgstr "" +#~ "ABC pour les classes qui définissent respectivement les méthodes :meth:" +#~ "`__contains__`, :meth:`__hash__`, :meth:`__len__` et :meth:`__call__`." diff --git a/library/collections.po b/library/collections.po index f559d8ae..14cb984e 100644 --- a/library/collections.po +++ b/library/collections.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-03 19:26+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/colorsys.po b/library/colorsys.po index c520ffed..68ca78c5 100644 --- a/library/colorsys.po +++ b/library/colorsys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-05 09:52+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/compileall.po b/library/compileall.po index e1a4ac09..565e376f 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/concurrency.po b/library/concurrency.po index a6e9b9b6..da9d74b4 100644 --- a/library/concurrency.po +++ b/library/concurrency.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-11 14:38+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index fd7fe422..584a2439 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -194,7 +194,7 @@ msgid "" "easier debugging." msgstr "" -#: library/concurrent.futures.rst:171 library/concurrent.futures.rst:264 +#: library/concurrent.futures.rst:171 library/concurrent.futures.rst:265 msgid "Added the *initializer* and *initargs* arguments." msgstr "" @@ -225,24 +225,25 @@ msgid "" "The :class:`ProcessPoolExecutor` class is an :class:`Executor` subclass that " "uses a pool of processes to execute calls asynchronously. :class:" "`ProcessPoolExecutor` uses the :mod:`multiprocessing` module, which allows " -"it to side-step the :term:`Global Interpreter Lock` but also means that only " -"picklable objects can be executed and returned." +"it to side-step the :term:`Global Interpreter Lock ` but also means that only picklable objects can be executed and " +"returned." msgstr "" -#: library/concurrent.futures.rst:227 +#: library/concurrent.futures.rst:228 msgid "" "The ``__main__`` module must be importable by worker subprocesses. This " "means that :class:`ProcessPoolExecutor` will not work in the interactive " "interpreter." msgstr "" -#: library/concurrent.futures.rst:230 +#: library/concurrent.futures.rst:231 msgid "" "Calling :class:`Executor` or :class:`Future` methods from a callable " "submitted to a :class:`ProcessPoolExecutor` will result in deadlock." msgstr "" -#: library/concurrent.futures.rst:235 +#: library/concurrent.futures.rst:236 msgid "" "An :class:`Executor` subclass that executes calls asynchronously using a " "pool of at most *max_workers* processes. If *max_workers* is ``None`` or " @@ -256,7 +257,7 @@ msgid "" "default multiprocessing context is used." msgstr "" -#: library/concurrent.futures.rst:248 +#: library/concurrent.futures.rst:249 msgid "" "*initializer* is an optional callable that is called at the start of each " "worker process; *initargs* is a tuple of arguments passed to the " @@ -265,7 +266,7 @@ msgid "" "well any attempt to submit more jobs to the pool." msgstr "" -#: library/concurrent.futures.rst:254 +#: library/concurrent.futures.rst:255 msgid "" "When one of the worker processes terminates abruptly, a :exc:" "`BrokenProcessPool` error is now raised. Previously, behaviour was " @@ -273,34 +274,34 @@ msgid "" "or deadlock." msgstr "" -#: library/concurrent.futures.rst:260 +#: library/concurrent.futures.rst:261 msgid "" "The *mp_context* argument was added to allow users to control the " "start_method for worker processes created by the pool." msgstr "" -#: library/concurrent.futures.rst:270 +#: library/concurrent.futures.rst:271 msgid "ProcessPoolExecutor Example" msgstr "" -#: library/concurrent.futures.rst:308 +#: library/concurrent.futures.rst:309 msgid "Future Objects" msgstr "" -#: library/concurrent.futures.rst:310 +#: library/concurrent.futures.rst:311 msgid "" "The :class:`Future` class encapsulates the asynchronous execution of a " "callable. :class:`Future` instances are created by :meth:`Executor.submit`." msgstr "" -#: library/concurrent.futures.rst:315 +#: library/concurrent.futures.rst:316 msgid "" "Encapsulates the asynchronous execution of a callable. :class:`Future` " "instances are created by :meth:`Executor.submit` and should not be created " "directly except for testing." msgstr "" -#: library/concurrent.futures.rst:321 +#: library/concurrent.futures.rst:322 msgid "" "Attempt to cancel the call. If the call is currently being executed or " "finished running and cannot be cancelled then the method will return " @@ -308,22 +309,22 @@ msgid "" "``True``." msgstr "" -#: library/concurrent.futures.rst:328 +#: library/concurrent.futures.rst:329 msgid "Return ``True`` if the call was successfully cancelled." msgstr "" -#: library/concurrent.futures.rst:332 +#: library/concurrent.futures.rst:333 msgid "" "Return ``True`` if the call is currently being executed and cannot be " "cancelled." msgstr "" -#: library/concurrent.futures.rst:337 +#: library/concurrent.futures.rst:338 msgid "" "Return ``True`` if the call was successfully cancelled or finished running." msgstr "" -#: library/concurrent.futures.rst:342 +#: library/concurrent.futures.rst:343 msgid "" "Return the value returned by the call. If the call hasn't yet completed then " "this method will wait up to *timeout* seconds. If the call hasn't completed " @@ -332,17 +333,17 @@ msgid "" "``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:349 library/concurrent.futures.rst:363 +#: library/concurrent.futures.rst:350 library/concurrent.futures.rst:364 msgid "" "If the future is cancelled before completing then :exc:`.CancelledError` " "will be raised." msgstr "" -#: library/concurrent.futures.rst:352 +#: library/concurrent.futures.rst:353 msgid "If the call raised, this method will raise the same exception." msgstr "" -#: library/concurrent.futures.rst:356 +#: library/concurrent.futures.rst:357 msgid "" "Return the exception raised by the call. If the call hasn't yet completed " "then this method will wait up to *timeout* seconds. If the call hasn't " @@ -351,18 +352,18 @@ msgid "" "*timeout* is not specified or ``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:366 +#: library/concurrent.futures.rst:367 msgid "If the call completed without raising, ``None`` is returned." msgstr "" -#: library/concurrent.futures.rst:370 +#: library/concurrent.futures.rst:371 msgid "" "Attaches the callable *fn* to the future. *fn* will be called, with the " "future as its only argument, when the future is cancelled or finishes " "running." msgstr "" -#: library/concurrent.futures.rst:374 +#: library/concurrent.futures.rst:375 msgid "" "Added callables are called in the order that they were added and are always " "called in a thread belonging to the process that added them. If the " @@ -371,26 +372,26 @@ msgid "" "behavior is undefined." msgstr "" -#: library/concurrent.futures.rst:380 +#: library/concurrent.futures.rst:381 msgid "" "If the future has already completed or been cancelled, *fn* will be called " "immediately." msgstr "" -#: library/concurrent.futures.rst:383 +#: library/concurrent.futures.rst:384 msgid "" "The following :class:`Future` methods are meant for use in unit tests and :" "class:`Executor` implementations." msgstr "" -#: library/concurrent.futures.rst:388 +#: library/concurrent.futures.rst:389 msgid "" "This method should only be called by :class:`Executor` implementations " "before executing the work associated with the :class:`Future` and by unit " "tests." msgstr "" -#: library/concurrent.futures.rst:392 +#: library/concurrent.futures.rst:393 msgid "" "If the method returns ``False`` then the :class:`Future` was cancelled, i." "e. :meth:`Future.cancel` was called and returned `True`. Any threads " @@ -398,47 +399,47 @@ msgid "" "or :func:`wait`) will be woken up." msgstr "" -#: library/concurrent.futures.rst:397 +#: library/concurrent.futures.rst:398 msgid "" "If the method returns ``True`` then the :class:`Future` was not cancelled " "and has been put in the running state, i.e. calls to :meth:`Future.running` " "will return `True`." msgstr "" -#: library/concurrent.futures.rst:401 +#: library/concurrent.futures.rst:402 msgid "" "This method can only be called once and cannot be called after :meth:`Future." "set_result` or :meth:`Future.set_exception` have been called." msgstr "" -#: library/concurrent.futures.rst:407 +#: library/concurrent.futures.rst:408 msgid "" "Sets the result of the work associated with the :class:`Future` to *result*." msgstr "" -#: library/concurrent.futures.rst:410 library/concurrent.futures.rst:423 +#: library/concurrent.futures.rst:411 library/concurrent.futures.rst:424 msgid "" "This method should only be used by :class:`Executor` implementations and " "unit tests." msgstr "" -#: library/concurrent.futures.rst:413 library/concurrent.futures.rst:426 +#: library/concurrent.futures.rst:414 library/concurrent.futures.rst:427 msgid "" "This method raises :exc:`concurrent.futures.InvalidStateError` if the :class:" "`Future` is already done." msgstr "" -#: library/concurrent.futures.rst:420 +#: library/concurrent.futures.rst:421 msgid "" "Sets the result of the work associated with the :class:`Future` to the :" "class:`Exception` *exception*." msgstr "" -#: library/concurrent.futures.rst:432 +#: library/concurrent.futures.rst:433 msgid "Module Functions" msgstr "" -#: library/concurrent.futures.rst:436 +#: library/concurrent.futures.rst:437 msgid "" "Wait for the :class:`Future` instances (possibly created by different :class:" "`Executor` instances) given by *fs* to complete. Returns a named 2-tuple of " @@ -448,14 +449,14 @@ msgid "" "running futures)." msgstr "" -#: library/concurrent.futures.rst:443 +#: library/concurrent.futures.rst:444 msgid "" "*timeout* can be used to control the maximum number of seconds to wait " "before returning. *timeout* can be an int or float. If *timeout* is not " "specified or ``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:447 +#: library/concurrent.futures.rst:448 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" @@ -463,28 +464,28 @@ msgstr "" "*return_when* indique quand la fonction doit se terminer. Il peut prendre " "les valeurs suivantes :" -#: library/concurrent.futures.rst:453 +#: library/concurrent.futures.rst:454 msgid "Constant" msgstr "Constante" -#: library/concurrent.futures.rst:453 +#: library/concurrent.futures.rst:454 msgid "Description" msgstr "Description" -#: library/concurrent.futures.rst:455 +#: library/concurrent.futures.rst:456 msgid ":const:`FIRST_COMPLETED`" msgstr ":const:`FIRST_COMPLETED`" -#: library/concurrent.futures.rst:455 +#: library/concurrent.futures.rst:456 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é." -#: library/concurrent.futures.rst:458 +#: library/concurrent.futures.rst:459 msgid ":const:`FIRST_EXCEPTION`" msgstr ":const:`FIRST_EXCEPTION`" -#: library/concurrent.futures.rst:458 +#: library/concurrent.futures.rst:459 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:" @@ -494,16 +495,16 @@ msgstr "" "exception. Si aucun *futur* ne lève d'exception, équivaut à :const:" "`ALL_COMPLETED`." -#: library/concurrent.futures.rst:464 +#: library/concurrent.futures.rst:465 msgid ":const:`ALL_COMPLETED`" msgstr ":const:`ALL_COMPLETED`" -#: library/concurrent.futures.rst:464 +#: library/concurrent.futures.rst:465 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." -#: library/concurrent.futures.rst:470 +#: library/concurrent.futures.rst:471 msgid "" "Returns an iterator over the :class:`Future` instances (possibly created by " "different :class:`Executor` instances) given by *fs* that yields futures as " @@ -517,49 +518,49 @@ msgid "" "wait time." msgstr "" -#: library/concurrent.futures.rst:484 +#: library/concurrent.futures.rst:485 msgid ":pep:`3148` -- futures - execute computations asynchronously" msgstr "" -#: library/concurrent.futures.rst:484 +#: library/concurrent.futures.rst:485 msgid "" "The proposal which described this feature for inclusion in the Python " "standard library." msgstr "" -#: library/concurrent.futures.rst:489 +#: library/concurrent.futures.rst:490 msgid "Exception classes" msgstr "" -#: library/concurrent.futures.rst:495 +#: library/concurrent.futures.rst:496 msgid "Raised when a future is cancelled." msgstr "" -#: library/concurrent.futures.rst:499 +#: library/concurrent.futures.rst:500 msgid "Raised when a future operation exceeds the given timeout." msgstr "" -#: library/concurrent.futures.rst:503 +#: library/concurrent.futures.rst:504 msgid "" "Derived from :exc:`RuntimeError`, this exception class is raised when an " "executor is broken for some reason, and cannot be used to submit or execute " "new tasks." msgstr "" -#: library/concurrent.futures.rst:511 +#: library/concurrent.futures.rst:512 msgid "" "Raised when an operation is performed on a future that is not allowed in the " "current state." msgstr "" -#: library/concurrent.futures.rst:520 +#: library/concurrent.futures.rst:521 msgid "" "Derived from :exc:`~concurrent.futures.BrokenExecutor`, this exception class " "is raised when one of the workers of a :class:`ThreadPoolExecutor` has " "failed initializing." msgstr "" -#: library/concurrent.futures.rst:530 +#: library/concurrent.futures.rst:531 msgid "" "Derived from :exc:`~concurrent.futures.BrokenExecutor` (formerly :exc:" "`RuntimeError`), this exception class is raised when one of the workers of " diff --git a/library/concurrent.po b/library/concurrent.po index f6af4514..fc08f89e 100644 --- a/library/concurrent.po +++ b/library/concurrent.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-10-18 09:28+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/configparser.po b/library/configparser.po index 651b16db..752388f7 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -577,7 +577,7 @@ msgid "" "``disabled``." msgstr "" -#: library/configparser.rst:700 +#: library/configparser.rst:701 msgid "" "This method transforms option names on every read, get, or set operation. " "The default converts the name to lowercase. This also means that when a " @@ -585,14 +585,14 @@ msgid "" "method if that's unsuitable. For example:" msgstr "" -#: library/configparser.rst:730 +#: library/configparser.rst:731 msgid "" "The optionxform function transforms option names to a canonical form. This " "should be an idempotent function: if the name is already in canonical form, " "it should be returned unchanged." msgstr "" -#: library/configparser.rst:737 +#: library/configparser.rst:738 msgid "" "A compiled regular expression used to parse section headers. The default " "matches ``[section]`` to the name ``\"section\"``. Whitespace is considered " @@ -601,18 +601,18 @@ msgid "" "example:" msgstr "" -#: library/configparser.rst:765 +#: library/configparser.rst:766 msgid "" "While ConfigParser objects also use an ``OPTCRE`` attribute for recognizing " "option lines, it's not recommended to override it because that would " "interfere with constructor options *allow_no_value* and *delimiters*." msgstr "" -#: library/configparser.rst:771 +#: library/configparser.rst:772 msgid "Legacy API Examples" msgstr "" -#: library/configparser.rst:773 +#: library/configparser.rst:774 msgid "" "Mainly because of backwards compatibility concerns, :mod:`configparser` " "provides also a legacy API with explicit ``get``/``set`` methods. While " @@ -621,29 +621,29 @@ msgid "" "advanced, low-level and downright counterintuitive." msgstr "" -#: library/configparser.rst:779 +#: library/configparser.rst:780 msgid "An example of writing to a configuration file::" msgstr "" -#: library/configparser.rst:802 +#: library/configparser.rst:803 msgid "An example of reading the configuration file again::" msgstr "" -#: library/configparser.rst:820 +#: library/configparser.rst:821 msgid "To get interpolation, use :class:`ConfigParser`::" msgstr "" -#: library/configparser.rst:853 +#: library/configparser.rst:854 msgid "" "Default values are available in both types of ConfigParsers. They are used " "in interpolation if an option used is not defined elsewhere. ::" msgstr "" -#: library/configparser.rst:871 +#: library/configparser.rst:872 msgid "ConfigParser Objects" msgstr "" -#: library/configparser.rst:875 +#: library/configparser.rst:876 msgid "" "The main configuration parser. When *defaults* is given, it is initialized " "into the dictionary of intrinsic defaults. When *dict_type* is given, it " @@ -651,7 +651,7 @@ msgid "" "the options within a section, and for the default values." msgstr "" -#: library/configparser.rst:880 +#: library/configparser.rst:881 msgid "" "When *delimiters* is given, it is used as the set of substrings that divide " "keys from values. When *comment_prefixes* is given, it will be used as the " @@ -660,7 +660,7 @@ msgid "" "as the set of substrings that prefix comments in non-empty lines." msgstr "" -#: library/configparser.rst:886 +#: library/configparser.rst:887 msgid "" "When *strict* is ``True`` (the default), the parser won't allow for any " "section or option duplicates while reading from a single source (file, " @@ -673,7 +673,7 @@ msgid "" "without the trailing delimiter." msgstr "" -#: library/configparser.rst:896 +#: library/configparser.rst:897 msgid "" "When *default_section* is given, it specifies the name for the special " "section holding default values for other sections and interpolation purposes " @@ -681,7 +681,7 @@ msgid "" "on runtime using the ``default_section`` instance attribute." msgstr "" -#: library/configparser.rst:901 +#: library/configparser.rst:902 msgid "" "Interpolation behaviour may be customized by providing a custom handler " "through the *interpolation* argument. ``None`` can be used to turn off " @@ -690,7 +690,7 @@ msgid "" "`dedicated documentation section <#interpolation-of-values>`_." msgstr "" -#: library/configparser.rst:907 +#: library/configparser.rst:908 msgid "" "All option names used in interpolation will be passed through the :meth:" "`optionxform` method just like any other option name reference. For " @@ -699,7 +699,7 @@ msgid "" "%(BAR)s`` are equivalent." msgstr "" -#: library/configparser.rst:913 +#: library/configparser.rst:914 msgid "" "When *converters* is given, it should be a dictionary where each key " "represents the name of a type converter and each value is a callable " @@ -708,44 +708,44 @@ msgid "" "object and section proxies." msgstr "" -#: library/configparser.rst:919 +#: library/configparser.rst:920 msgid "The default *dict_type* is :class:`collections.OrderedDict`." msgstr "" -#: library/configparser.rst:922 +#: library/configparser.rst:923 msgid "" "*allow_no_value*, *delimiters*, *comment_prefixes*, *strict*, " "*empty_lines_in_values*, *default_section* and *interpolation* were added." msgstr "" -#: library/configparser.rst:927 +#: library/configparser.rst:928 msgid "The *converters* argument was added." msgstr "" -#: library/configparser.rst:930 +#: library/configparser.rst:931 msgid "" "The *defaults* argument is read with :meth:`read_dict()`, providing " "consistent behavior across the parser: non-string keys and values are " "implicitly converted to strings." msgstr "" -#: library/configparser.rst:935 library/configparser.rst:1213 +#: library/configparser.rst:936 library/configparser.rst:1214 msgid "" "The default *dict_type* is :class:`dict`, since it now preserves insertion " "order." msgstr "" -#: library/configparser.rst:941 +#: library/configparser.rst:942 msgid "Return a dictionary containing the instance-wide defaults." msgstr "" -#: library/configparser.rst:946 +#: library/configparser.rst:947 msgid "" "Return a list of the sections available; the *default section* is not " "included in the list." msgstr "" -#: library/configparser.rst:952 +#: library/configparser.rst:953 msgid "" "Add a section named *section* to the instance. If a section by the given " "name already exists, :exc:`DuplicateSectionError` is raised. If the " @@ -753,34 +753,34 @@ msgid "" "the section must be a string; if not, :exc:`TypeError` is raised." msgstr "" -#: library/configparser.rst:957 +#: library/configparser.rst:958 msgid "Non-string section names raise :exc:`TypeError`." msgstr "" -#: library/configparser.rst:963 +#: library/configparser.rst:964 msgid "" "Indicates whether the named *section* is present in the configuration. The " "*default section* is not acknowledged." msgstr "" -#: library/configparser.rst:969 +#: library/configparser.rst:970 msgid "Return a list of options available in the specified *section*." msgstr "" -#: library/configparser.rst:974 +#: library/configparser.rst:975 msgid "" "If the given *section* exists, and contains the given *option*, return :" "const:`True`; otherwise return :const:`False`. If the specified *section* " "is :const:`None` or an empty string, DEFAULT is assumed." msgstr "" -#: library/configparser.rst:981 +#: library/configparser.rst:982 msgid "" "Attempt to read and parse an iterable of filenames, returning a list of " "filenames which were successfully parsed." msgstr "" -#: library/configparser.rst:984 +#: library/configparser.rst:985 msgid "" "If *filenames* is a string, a :class:`bytes` object or a :term:`path-like " "object`, it is treated as a single filename. If a file named in *filenames* " @@ -791,7 +791,7 @@ msgid "" "be read." msgstr "" -#: library/configparser.rst:993 +#: library/configparser.rst:994 msgid "" "If none of the named files exist, the :class:`ConfigParser` instance will " "contain an empty dataset. An application which requires initial values to " @@ -799,52 +799,52 @@ msgid "" "`read_file` before calling :meth:`read` for any optional files::" msgstr "" -#: library/configparser.rst:1006 +#: library/configparser.rst:1007 msgid "" "The *encoding* parameter. Previously, all files were read using the default " "encoding for :func:`open`." msgstr "" -#: library/configparser.rst:1010 +#: library/configparser.rst:1011 #, fuzzy msgid "The *filenames* parameter accepts a :term:`path-like object`." msgstr "" "Le paramètre *filename* accepte un objet chemin-compatible :term:`path-like " "object`." -#: library/configparser.rst:1013 +#: library/configparser.rst:1014 msgid "The *filenames* parameter accepts a :class:`bytes` object." msgstr "" -#: library/configparser.rst:1019 +#: library/configparser.rst:1020 msgid "" "Read and parse configuration data from *f* which must be an iterable " "yielding Unicode strings (for example files opened in text mode)." msgstr "" -#: library/configparser.rst:1022 +#: library/configparser.rst:1023 msgid "" "Optional argument *source* specifies the name of the file being read. If " "not given and *f* has a :attr:`name` attribute, that is used for *source*; " "the default is ``''``." msgstr "" -#: library/configparser.rst:1026 +#: library/configparser.rst:1027 msgid "Replaces :meth:`readfp`." msgstr "" -#: library/configparser.rst:1031 +#: library/configparser.rst:1032 msgid "Parse configuration data from a string." msgstr "" -#: library/configparser.rst:1033 +#: library/configparser.rst:1034 msgid "" "Optional argument *source* specifies a context-specific name of the string " "passed. If not given, ``''`` is used. This should commonly be a " "filesystem path or a URL." msgstr "" -#: library/configparser.rst:1042 +#: library/configparser.rst:1043 msgid "" "Load configuration from any object that provides a dict-like ``items()`` " "method. Keys are section names, values are dictionaries with keys and " @@ -853,17 +853,17 @@ msgid "" "automatically converted to strings." msgstr "" -#: library/configparser.rst:1048 +#: library/configparser.rst:1049 msgid "" "Optional argument *source* specifies a context-specific name of the " "dictionary passed. If not given, ```` is used." msgstr "" -#: library/configparser.rst:1051 +#: library/configparser.rst:1052 msgid "This method can be used to copy state between parsers." msgstr "" -#: library/configparser.rst:1058 +#: library/configparser.rst:1059 msgid "" "Get an *option* value for the named *section*. If *vars* is provided, it " "must be a dictionary. The *option* is looked up in *vars* (if provided), " @@ -872,35 +872,35 @@ msgid "" "provided as a *fallback* value." msgstr "" -#: library/configparser.rst:1064 +#: library/configparser.rst:1065 msgid "" "All the ``'%'`` interpolations are expanded in the return values, unless the " "*raw* argument is true. Values for interpolation keys are looked up in the " "same manner as the option." msgstr "" -#: library/configparser.rst:1068 +#: library/configparser.rst:1069 msgid "" "Arguments *raw*, *vars* and *fallback* are keyword only to protect users " "from trying to use the third argument as the *fallback* fallback (especially " "when using the mapping protocol)." msgstr "" -#: library/configparser.rst:1076 +#: library/configparser.rst:1077 msgid "" "A convenience method which coerces the *option* in the specified *section* " "to an integer. See :meth:`get` for explanation of *raw*, *vars* and " "*fallback*." msgstr "" -#: library/configparser.rst:1083 +#: library/configparser.rst:1084 msgid "" "A convenience method which coerces the *option* in the specified *section* " "to a floating point number. See :meth:`get` for explanation of *raw*, " "*vars* and *fallback*." msgstr "" -#: library/configparser.rst:1090 +#: library/configparser.rst:1091 msgid "" "A convenience method which coerces the *option* in the specified *section* " "to a Boolean value. Note that the accepted values for the option are " @@ -912,34 +912,34 @@ msgid "" "*fallback*." msgstr "" -#: library/configparser.rst:1103 +#: library/configparser.rst:1104 msgid "" "When *section* is not given, return a list of *section_name*, " "*section_proxy* pairs, including DEFAULTSECT." msgstr "" -#: library/configparser.rst:1106 +#: library/configparser.rst:1107 msgid "" "Otherwise, return a list of *name*, *value* pairs for the options in the " "given *section*. Optional arguments have the same meaning as for the :meth:" "`get` method." msgstr "" -#: library/configparser.rst:1110 +#: library/configparser.rst:1111 msgid "" "Items present in *vars* no longer appear in the result. The previous " "behaviour mixed actual parser options with variables provided for " "interpolation." msgstr "" -#: library/configparser.rst:1118 +#: library/configparser.rst:1119 msgid "" "If the given section exists, set the given option to the specified value; " "otherwise raise :exc:`NoSectionError`. *option* and *value* must be " "strings; if not, :exc:`TypeError` is raised." msgstr "" -#: library/configparser.rst:1125 +#: library/configparser.rst:1126 msgid "" "Write a representation of the configuration to the specified :term:`file " "object`, which must be opened in text mode (accepting strings). This " @@ -948,20 +948,20 @@ msgid "" "surrounded by spaces." msgstr "" -#: library/configparser.rst:1134 +#: library/configparser.rst:1135 msgid "" "Remove the specified *option* from the specified *section*. If the section " "does not exist, raise :exc:`NoSectionError`. If the option existed to be " "removed, return :const:`True`; otherwise return :const:`False`." msgstr "" -#: library/configparser.rst:1142 +#: library/configparser.rst:1143 msgid "" "Remove the specified *section* from the configuration. If the section in " "fact existed, return ``True``. Otherwise return ``False``." msgstr "" -#: library/configparser.rst:1148 +#: library/configparser.rst:1149 msgid "" "Transforms the option name *option* as found in an input file or as passed " "in by client code to the form that should be used in the internal " @@ -970,7 +970,7 @@ msgid "" "of this name on instances to affect this behavior." msgstr "" -#: library/configparser.rst:1154 +#: library/configparser.rst:1155 msgid "" "You don't need to subclass the parser to use this method, you can also set " "it on an instance, to a function that takes a string argument and returns a " @@ -978,46 +978,46 @@ msgid "" "sensitive::" msgstr "" -#: library/configparser.rst:1162 +#: library/configparser.rst:1163 msgid "" "Note that when reading configuration files, whitespace around the option " "names is stripped before :meth:`optionxform` is called." msgstr "" -#: library/configparser.rst:1168 +#: library/configparser.rst:1169 msgid "Use :meth:`read_file` instead." msgstr "" -#: library/configparser.rst:1171 +#: library/configparser.rst:1172 msgid "" ":meth:`readfp` now iterates on *fp* instead of calling ``fp.readline()``." msgstr "" -#: library/configparser.rst:1174 +#: library/configparser.rst:1175 msgid "" "For existing code calling :meth:`readfp` with arguments which don't support " "iteration, the following generator may be used as a wrapper around the file-" "like object::" msgstr "" -#: library/configparser.rst:1184 +#: library/configparser.rst:1185 msgid "" "Instead of ``parser.readfp(fp)`` use ``parser." "read_file(readline_generator(fp))``." msgstr "" -#: library/configparser.rst:1190 +#: library/configparser.rst:1191 msgid "" "The maximum depth for recursive interpolation for :meth:`get` when the *raw* " "parameter is false. This is relevant only when the default *interpolation* " "is used." msgstr "" -#: library/configparser.rst:1198 +#: library/configparser.rst:1199 msgid "RawConfigParser Objects" msgstr "" -#: library/configparser.rst:1208 +#: library/configparser.rst:1209 msgid "" "Legacy variant of the :class:`ConfigParser`. It has interpolation disabled " "by default and allows for non-string section names, option names, and values " @@ -1025,27 +1025,27 @@ msgid "" "``defaults=`` keyword argument handling." msgstr "" -#: library/configparser.rst:1218 +#: library/configparser.rst:1219 msgid "" "Consider using :class:`ConfigParser` instead which checks types of the " "values to be stored internally. If you don't want interpolation, you can " "use ``ConfigParser(interpolation=None)``." msgstr "" -#: library/configparser.rst:1225 +#: library/configparser.rst:1226 msgid "" "Add a section named *section* to the instance. If a section by the given " "name already exists, :exc:`DuplicateSectionError` is raised. If the " "*default section* name is passed, :exc:`ValueError` is raised." msgstr "" -#: library/configparser.rst:1229 +#: library/configparser.rst:1230 msgid "" "Type of *section* is not checked which lets users create non-string named " "sections. This behaviour is unsupported and may cause internal errors." msgstr "" -#: library/configparser.rst:1235 +#: library/configparser.rst:1236 msgid "" "If the given section exists, set the given option to the specified value; " "otherwise raise :exc:`NoSectionError`. While it is possible to use :class:" @@ -1055,7 +1055,7 @@ msgid "" "string values." msgstr "" -#: library/configparser.rst:1242 +#: library/configparser.rst:1243 msgid "" "This method lets users assign non-string values to keys internally. This " "behaviour is unsupported and will cause errors when attempting to write to a " @@ -1063,32 +1063,32 @@ msgid "" "not allow such assignments to take place." msgstr "" -#: library/configparser.rst:1249 +#: library/configparser.rst:1250 msgid "Exceptions" msgstr "Exceptions" -#: library/configparser.rst:1253 +#: library/configparser.rst:1254 msgid "Base class for all other :mod:`configparser` exceptions." msgstr "" -#: library/configparser.rst:1258 +#: library/configparser.rst:1259 msgid "Exception raised when a specified section is not found." msgstr "" -#: library/configparser.rst:1263 +#: library/configparser.rst:1264 msgid "" "Exception raised if :meth:`add_section` is called with the name of a section " "that is already present or in strict parsers when a section if found more " "than once in a single input file, string or dictionary." msgstr "" -#: library/configparser.rst:1267 +#: library/configparser.rst:1268 msgid "" "Optional ``source`` and ``lineno`` attributes and arguments to :meth:" "`__init__` were added." msgstr "" -#: library/configparser.rst:1274 +#: library/configparser.rst:1275 msgid "" "Exception raised by strict parsers if a single option appears twice during " "reading from a single file, string or dictionary. This catches misspellings " @@ -1096,58 +1096,58 @@ msgid "" "representing the same case-insensitive configuration key." msgstr "" -#: library/configparser.rst:1282 +#: library/configparser.rst:1283 msgid "" "Exception raised when a specified option is not found in the specified " "section." msgstr "" -#: library/configparser.rst:1288 +#: library/configparser.rst:1289 msgid "" "Base class for exceptions raised when problems occur performing string " "interpolation." msgstr "" -#: library/configparser.rst:1294 +#: library/configparser.rst:1295 msgid "" "Exception raised when string interpolation cannot be completed because the " "number of iterations exceeds :const:`MAX_INTERPOLATION_DEPTH`. Subclass of :" "exc:`InterpolationError`." msgstr "" -#: library/configparser.rst:1301 +#: library/configparser.rst:1302 msgid "" "Exception raised when an option referenced from a value does not exist. " "Subclass of :exc:`InterpolationError`." msgstr "" -#: library/configparser.rst:1307 +#: library/configparser.rst:1308 msgid "" "Exception raised when the source text into which substitutions are made does " "not conform to the required syntax. Subclass of :exc:`InterpolationError`." msgstr "" -#: library/configparser.rst:1313 +#: library/configparser.rst:1314 msgid "" "Exception raised when attempting to parse a file which has no section " "headers." msgstr "" -#: library/configparser.rst:1319 +#: library/configparser.rst:1320 msgid "Exception raised when errors occur attempting to parse a file." msgstr "" -#: library/configparser.rst:1321 +#: library/configparser.rst:1322 msgid "" "The ``filename`` attribute and :meth:`__init__` argument were renamed to " "``source`` for consistency." msgstr "" -#: library/configparser.rst:1327 +#: library/configparser.rst:1328 msgid "Footnotes" msgstr "Notes" -#: library/configparser.rst:1328 +#: library/configparser.rst:1329 msgid "" "Config parsers allow for heavy customization. If you are interested in " "changing the behaviour outlined by the footnote reference, consult the " diff --git a/library/constants.po b/library/constants.po index dfb29b43..d8d06ce4 100644 --- a/library/constants.po +++ b/library/constants.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-21 17:13+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/contextlib.po b/library/contextlib.po index 69e9c98b..0b8baec9 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-01 23:39+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/contextvars.po b/library/contextvars.po index 7ea4e35c..2e975e1d 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-08-03 17:52+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/copy.po b/library/copy.po index c5ca2e14..e5dfb381 100644 --- a/library/copy.po +++ b/library/copy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-21 17:18+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/copyreg.po b/library/copyreg.po index 73c679d9..b90d8824 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-23 15:14+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/crypt.po b/library/crypt.po index f8278660..1afd6f7e 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/crypto.po b/library/crypto.po index 07f7dae3..a3309df9 100644 --- a/library/crypto.po +++ b/library/crypto.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:42+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/csv.po b/library/csv.po index 542e9900..700fd0a2 100644 --- a/library/csv.po +++ b/library/csv.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 23:16+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/ctypes.po b/library/ctypes.po index b5d2dd69..cf0ce5f4 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-08-17 23:01+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -1960,6 +1960,16 @@ msgstr "" "donc définir vous-même le bon attribut :attr:`restype` pour pouvoir les " "utiliser." +#: library/ctypes.rst:None +#, fuzzy +msgid "" +"Raises an :ref:`auditing event ` ``ctypes.dlopen`` with argument " +"``name``." +msgstr "" +"Charger une bibliothèque à l'aide d'un de ces objets avec en argument " +"``name``, le nom de la bibliothèque (une chaîne de caractères), lève un :ref:" +"`évènement d'audit ` ``ctypes.dlopen``." + #: library/ctypes.rst:1512 msgid "" "Loading a library through any of these objects raises an :ref:`auditing " @@ -1970,6 +1980,16 @@ msgstr "" "``name``, le nom de la bibliothèque (une chaîne de caractères), lève un :ref:" "`évènement d'audit ` ``ctypes.dlopen``." +#: library/ctypes.rst:None +#, fuzzy +msgid "" +"Raises an :ref:`auditing event ` ``ctypes.dlsym`` with arguments " +"``library``, ``name``." +msgstr "" +"Charger une bibliothèque à l'aide d'un de ces objets avec en argument " +"``name``, le nom de la bibliothèque (une chaîne de caractères), lève un :ref:" +"`évènement d'audit ` ``ctypes.dlopen``." + #: library/ctypes.rst:1518 msgid "" "Accessing a function on a loaded library raises an auditing event ``ctypes." @@ -1980,6 +2000,16 @@ msgstr "" "dlsym`` avec ``library`` (l'objet bibliothèque) et ``name`` (le nom du " "symbole — une chaîne de caractères ou un entier) comme arguments." +#: library/ctypes.rst:None +#, fuzzy +msgid "" +"Raises an :ref:`auditing event ` ``ctypes.dlsym/handle`` with " +"arguments ``handle``, ``name``." +msgstr "" +"Charger une bibliothèque à l'aide d'un de ces objets avec en argument " +"``name``, le nom de la bibliothèque (une chaîne de caractères), lève un :ref:" +"`évènement d'audit ` ``ctypes.dlopen``." + #: library/ctypes.rst:1524 msgid "" "In cases when only the library handle is available rather than the object, " @@ -2154,6 +2184,12 @@ msgstr "" "Exception levée quand un appel à la fonction externe ne peut pas convertir " "un des arguments qu'elle a reçus." +#: library/ctypes.rst:None +msgid "" +"Raises an :ref:`auditing event ` ``ctypes.seh_exception`` with " +"argument ``code``." +msgstr "" + #: library/ctypes.rst:1615 msgid "" "On Windows, when a foreign function call raises a system exception (for " @@ -2169,6 +2205,16 @@ msgstr "" "permet à un point d'entrée (*hook* en anglais) d'audit de remplacer " "l'exception par une des siennes." +#: library/ctypes.rst:None +#, fuzzy +msgid "" +"Raises an :ref:`auditing event ` ``ctypes.call_function`` with " +"arguments ``func_pointer``, ``arguments``." +msgstr "" +"Certaines manières d'appeler des fonction externes peuvent lever des " +"évènements d'audit ``ctypes.call_function`` avec ``function pointer`` et " +"``arguments`` comme arguments." + #: library/ctypes.rst:1623 msgid "" "Some ways to invoke foreign function calls may raise an auditing event " @@ -2699,6 +2745,12 @@ msgid "" "*address* which must be an integer." msgstr "" +#: library/ctypes.rst:None +msgid "" +"Raises an :ref:`auditing event ` ``ctypes.cdata`` with argument " +"``address``." +msgstr "" + #: library/ctypes.rst:2082 msgid "" "This method, and others that indirectly call this method, raises an :ref:" diff --git a/library/curses.ascii.po b/library/curses.ascii.po index 6890d6c7..959ec2f3 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/curses.panel.po b/library/curses.panel.po index 26079cea..ee29ac66 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-01 07:43+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/curses.po b/library/curses.po index db29f17b..46cb973e 100644 --- a/library/curses.po +++ b/library/curses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-04 11:32+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -263,7 +263,7 @@ msgstr "" #: library/curses.rst:216 msgid "" "After :meth:`~window.getch` returns :const:`KEY_MOUSE` to signal a mouse " -"event, this method should be call to retrieve the queued mouse event, " +"event, this method should be called to retrieve the queued mouse event, " "represented as a 5-tuple ``(id, x, y, z, bstate)``. *id* is an ID value used " "to distinguish multiple devices, and *x*, *y*, *z* are the event's " "coordinates. (*z* is currently unused.) *bstate* is an integer value whose " diff --git a/library/custominterp.po b/library/custominterp.po index 302c08e1..cab65c9d 100644 --- a/library/custominterp.po +++ b/library/custominterp.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-29 19:08+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/dataclasses.po b/library/dataclasses.po index 64933ca7..28eba2c9 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-12-24 14:53+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/datatypes.po b/library/datatypes.po index 80c220de..74af1e19 100644 --- a/library/datatypes.po +++ b/library/datatypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 23:05+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/datetime.po b/library/datetime.po index 61967b55..5c1f48d8 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-02 02:52+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" diff --git a/library/dbm.po b/library/dbm.po index fe48b946..9422117b 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/debug.po b/library/debug.po index d6df6c19..fdfd80d7 100644 --- a/library/debug.po +++ b/library/debug.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 11:32+0100\n" "Last-Translator: Cléo Buck \n" "Language-Team: FRENCH \n" diff --git a/library/decimal.po b/library/decimal.po index b1c9c7b5..0c5897ca 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-07 18:55+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -1013,12 +1013,12 @@ msgstr "" msgid "Return the square root of the argument to full precision." msgstr "" -#: library/decimal.rst:861 library/decimal.rst:1437 +#: library/decimal.rst:861 library/decimal.rst:1440 msgid "" "Convert to a string, using engineering notation if an exponent is needed." msgstr "" -#: library/decimal.rst:863 library/decimal.rst:1439 +#: library/decimal.rst:863 library/decimal.rst:1442 msgid "" "Engineering notation has an exponent which is a multiple of 3. This can " "leave up to 3 digits to the left of the decimal place and may require the " @@ -1513,34 +1513,40 @@ msgstr "" #: library/decimal.rst:1360 msgid "" +"``Decimal(0) ** Decimal(0)`` results in ``InvalidOperation``, and if " +"``InvalidOperation`` is not trapped, then results in ``Decimal('NaN')``." +msgstr "" + +#: library/decimal.rst:1363 +msgid "" "The C module computes :meth:`power` in terms of the correctly-rounded :meth:" "`exp` and :meth:`ln` functions. The result is well-defined but only \"almost " "always correctly-rounded\"." msgstr "" -#: library/decimal.rst:1365 +#: library/decimal.rst:1368 msgid "" "With three arguments, compute ``(x**y) % modulo``. For the three argument " "form, the following restrictions on the arguments hold:" msgstr "" -#: library/decimal.rst:1368 +#: library/decimal.rst:1371 msgid "all three arguments must be integral" msgstr "" -#: library/decimal.rst:1369 +#: library/decimal.rst:1372 msgid "``y`` must be nonnegative" msgstr "" -#: library/decimal.rst:1370 +#: library/decimal.rst:1373 msgid "at least one of ``x`` or ``y`` must be nonzero" msgstr "" -#: library/decimal.rst:1371 +#: library/decimal.rst:1374 msgid "``modulo`` must be nonzero and have at most 'precision' digits" msgstr "" -#: library/decimal.rst:1373 +#: library/decimal.rst:1376 msgid "" "The value resulting from ``Context.power(x, y, modulo)`` is equal to the " "value that would be obtained by computing ``(x**y) % modulo`` with unbounded " @@ -1549,110 +1555,110 @@ msgid "" "result is always exact." msgstr "" -#: library/decimal.rst:1383 +#: library/decimal.rst:1386 msgid "Returns a value equal to *x* (rounded), having the exponent of *y*." msgstr "" -#: library/decimal.rst:1388 +#: library/decimal.rst:1391 msgid "Just returns 10, as this is Decimal, :)" msgstr "" -#: library/decimal.rst:1393 +#: library/decimal.rst:1396 msgid "Returns the remainder from integer division." msgstr "" -#: library/decimal.rst:1395 +#: library/decimal.rst:1398 msgid "" "The sign of the result, if non-zero, is the same as that of the original " "dividend." msgstr "" -#: library/decimal.rst:1401 +#: library/decimal.rst:1404 msgid "" "Returns ``x - y * n``, where *n* is the integer nearest the exact value of " "``x / y`` (if the result is 0 then its sign will be the sign of *x*)." msgstr "" -#: library/decimal.rst:1407 +#: library/decimal.rst:1410 msgid "Returns a rotated copy of *x*, *y* times." msgstr "" -#: library/decimal.rst:1412 +#: library/decimal.rst:1415 msgid "Returns ``True`` if the two operands have the same exponent." msgstr "" -#: library/decimal.rst:1417 +#: library/decimal.rst:1420 msgid "Returns the first operand after adding the second value its exp." msgstr "" -#: library/decimal.rst:1422 +#: library/decimal.rst:1425 msgid "Returns a shifted copy of *x*, *y* times." msgstr "" -#: library/decimal.rst:1427 +#: library/decimal.rst:1430 msgid "Square root of a non-negative number to context precision." msgstr "" -#: library/decimal.rst:1432 +#: library/decimal.rst:1435 msgid "Return the difference between *x* and *y*." msgstr "" -#: library/decimal.rst:1446 +#: library/decimal.rst:1449 msgid "Rounds to an integer." msgstr "" -#: library/decimal.rst:1451 +#: library/decimal.rst:1454 msgid "Converts a number to a string using scientific notation." msgstr "" -#: library/decimal.rst:1458 +#: library/decimal.rst:1461 msgid "Constants" msgstr "Constantes" -#: library/decimal.rst:1460 +#: library/decimal.rst:1463 msgid "" "The constants in this section are only relevant for the C module. They are " "also included in the pure Python version for compatibility." msgstr "" -#: library/decimal.rst:1464 +#: library/decimal.rst:1467 msgid "32-bit" msgstr "32-bit" -#: library/decimal.rst:1464 +#: library/decimal.rst:1467 msgid "64-bit" msgstr "64-bit" -#: library/decimal.rst:1466 library/decimal.rst:1468 +#: library/decimal.rst:1469 library/decimal.rst:1471 msgid ":const:`425000000`" msgstr ":const:`425000000`" -#: library/decimal.rst:1466 library/decimal.rst:1468 +#: library/decimal.rst:1469 library/decimal.rst:1471 msgid ":const:`999999999999999999`" msgstr ":const:`999999999999999999`" -#: library/decimal.rst:1470 +#: library/decimal.rst:1473 msgid ":const:`-425000000`" msgstr ":const:`-425000000`" -#: library/decimal.rst:1470 +#: library/decimal.rst:1473 msgid ":const:`-999999999999999999`" msgstr ":const:`-999999999999999999`" -#: library/decimal.rst:1472 +#: library/decimal.rst:1475 msgid ":const:`-849999999`" msgstr ":const:`-849999999`" -#: library/decimal.rst:1472 +#: library/decimal.rst:1475 msgid ":const:`-1999999999999999997`" msgstr ":const:`-1999999999999999997`" -#: library/decimal.rst:1478 +#: library/decimal.rst:1481 msgid "" "The value is ``True``. Deprecated, because Python now always has threads." msgstr "" -#: library/decimal.rst:1484 +#: library/decimal.rst:1487 msgid "" "The default value is ``True``. If Python is compiled ``--without-decimal-" "contextvar``, the C version uses a thread-local rather than a coroutine-" @@ -1660,59 +1666,59 @@ msgid "" "nested context scenarios." msgstr "" -#: library/decimal.rst:1488 +#: library/decimal.rst:1491 msgid "backported to 3.7 and 3.8." msgstr "" -#: library/decimal.rst:1492 +#: library/decimal.rst:1495 msgid "Rounding modes" msgstr "" -#: library/decimal.rst:1496 +#: library/decimal.rst:1499 msgid "Round towards :const:`Infinity`." msgstr "" -#: library/decimal.rst:1500 +#: library/decimal.rst:1503 msgid "Round towards zero." msgstr "" -#: library/decimal.rst:1504 +#: library/decimal.rst:1507 msgid "Round towards :const:`-Infinity`." msgstr "" -#: library/decimal.rst:1508 +#: library/decimal.rst:1511 msgid "Round to nearest with ties going towards zero." msgstr "" -#: library/decimal.rst:1512 +#: library/decimal.rst:1515 msgid "Round to nearest with ties going to nearest even integer." msgstr "" -#: library/decimal.rst:1516 +#: library/decimal.rst:1519 msgid "Round to nearest with ties going away from zero." msgstr "" -#: library/decimal.rst:1520 +#: library/decimal.rst:1523 msgid "Round away from zero." msgstr "" -#: library/decimal.rst:1524 +#: library/decimal.rst:1527 msgid "" "Round away from zero if last digit after rounding towards zero would have " "been 0 or 5; otherwise round towards zero." msgstr "" -#: library/decimal.rst:1531 +#: library/decimal.rst:1534 msgid "Signals" msgstr "" -#: library/decimal.rst:1533 +#: library/decimal.rst:1536 msgid "" "Signals represent conditions that arise during computation. Each corresponds " "to one context flag and one context trap enabler." msgstr "" -#: library/decimal.rst:1536 +#: library/decimal.rst:1539 msgid "" "The context flag is set whenever the condition is encountered. After the " "computation, flags may be checked for informational purposes (for instance, " @@ -1720,7 +1726,7 @@ msgid "" "sure to clear all flags before starting the next computation." msgstr "" -#: library/decimal.rst:1541 +#: library/decimal.rst:1544 msgid "" "If the context's trap enabler is set for the signal, then the condition " "causes a Python exception to be raised. For example, if the :class:" @@ -1728,26 +1734,26 @@ msgid "" "raised upon encountering the condition." msgstr "" -#: library/decimal.rst:1549 +#: library/decimal.rst:1552 msgid "Altered an exponent to fit representation constraints." msgstr "" -#: library/decimal.rst:1551 +#: library/decimal.rst:1554 msgid "" "Typically, clamping occurs when an exponent falls outside the context's :" "attr:`Emin` and :attr:`Emax` limits. If possible, the exponent is reduced " "to fit by adding zeros to the coefficient." msgstr "" -#: library/decimal.rst:1558 +#: library/decimal.rst:1561 msgid "Base class for other signals and a subclass of :exc:`ArithmeticError`." msgstr "" -#: library/decimal.rst:1563 +#: library/decimal.rst:1566 msgid "Signals the division of a non-infinite number by zero." msgstr "" -#: library/decimal.rst:1565 +#: library/decimal.rst:1568 msgid "" "Can occur with division, modulo division, or when raising a number to a " "negative power. If this signal is not trapped, returns :const:`Infinity` " @@ -1755,32 +1761,32 @@ msgid "" "calculation." msgstr "" -#: library/decimal.rst:1572 +#: library/decimal.rst:1575 msgid "Indicates that rounding occurred and the result is not exact." msgstr "" -#: library/decimal.rst:1574 +#: library/decimal.rst:1577 msgid "" "Signals when non-zero digits were discarded during rounding. The rounded " "result is returned. The signal flag or trap is used to detect when results " "are inexact." msgstr "" -#: library/decimal.rst:1581 +#: library/decimal.rst:1584 msgid "An invalid operation was performed." msgstr "" -#: library/decimal.rst:1583 +#: library/decimal.rst:1586 msgid "" "Indicates that an operation was requested that does not make sense. If not " "trapped, returns :const:`NaN`. Possible causes include::" msgstr "" -#: library/decimal.rst:1599 +#: library/decimal.rst:1602 msgid "Numerical overflow." msgstr "" -#: library/decimal.rst:1601 +#: library/decimal.rst:1604 msgid "" "Indicates the exponent is larger than :attr:`Emax` after rounding has " "occurred. If not trapped, the result depends on the rounding mode, either " @@ -1789,11 +1795,11 @@ msgid "" "`Rounded` are also signaled." msgstr "" -#: library/decimal.rst:1610 +#: library/decimal.rst:1613 msgid "Rounding occurred though possibly no information was lost." msgstr "" -#: library/decimal.rst:1612 +#: library/decimal.rst:1615 msgid "" "Signaled whenever rounding discards digits; even if those digits are zero " "(such as rounding :const:`5.00` to :const:`5.0`). If not trapped, returns " @@ -1801,31 +1807,31 @@ msgid "" "digits." msgstr "" -#: library/decimal.rst:1620 +#: library/decimal.rst:1623 msgid "Exponent was lower than :attr:`Emin` prior to rounding." msgstr "" -#: library/decimal.rst:1622 +#: library/decimal.rst:1625 msgid "" "Occurs when an operation result is subnormal (the exponent is too small). If " "not trapped, returns the result unchanged." msgstr "" -#: library/decimal.rst:1628 +#: library/decimal.rst:1631 msgid "Numerical underflow with result rounded to zero." msgstr "" -#: library/decimal.rst:1630 +#: library/decimal.rst:1633 msgid "" "Occurs when a subnormal result is pushed to zero by rounding. :class:" "`Inexact` and :class:`Subnormal` are also signaled." msgstr "" -#: library/decimal.rst:1636 +#: library/decimal.rst:1639 msgid "Enable stricter semantics for mixing floats and Decimals." msgstr "" -#: library/decimal.rst:1638 +#: library/decimal.rst:1641 msgid "" "If the signal is not trapped (default), mixing floats and Decimals is " "permitted in the :class:`~decimal.Decimal` constructor, :meth:`~decimal." @@ -1836,26 +1842,26 @@ msgid "" "Context.create_decimal_from_float` do not set the flag." msgstr "" -#: library/decimal.rst:1646 +#: library/decimal.rst:1649 msgid "" "Otherwise (the signal is trapped), only equality comparisons and explicit " "conversions are silent. All other mixed operations raise :exc:" "`FloatOperation`." msgstr "" -#: library/decimal.rst:1650 +#: library/decimal.rst:1653 msgid "The following table summarizes the hierarchy of signals::" msgstr "" -#: library/decimal.rst:1671 +#: library/decimal.rst:1674 msgid "Floating Point Notes" msgstr "" -#: library/decimal.rst:1675 +#: library/decimal.rst:1678 msgid "Mitigating round-off error with increased precision" msgstr "" -#: library/decimal.rst:1677 +#: library/decimal.rst:1680 msgid "" "The use of decimal floating point eliminates decimal representation error " "(making it possible to represent :const:`0.1` exactly); however, some " @@ -1863,7 +1869,7 @@ msgid "" "fixed precision." msgstr "" -#: library/decimal.rst:1681 +#: library/decimal.rst:1684 msgid "" "The effects of round-off error can be amplified by the addition or " "subtraction of nearly offsetting quantities resulting in loss of " @@ -1872,24 +1878,24 @@ msgid "" "of the associative and distributive properties of addition:" msgstr "" -#: library/decimal.rst:1705 +#: library/decimal.rst:1708 msgid "" "The :mod:`decimal` module makes it possible to restore the identities by " "expanding the precision sufficiently to avoid loss of significance:" msgstr "" -#: library/decimal.rst:1725 +#: library/decimal.rst:1728 msgid "Special values" msgstr "" -#: library/decimal.rst:1727 +#: library/decimal.rst:1730 msgid "" "The number system for the :mod:`decimal` module provides special values " "including :const:`NaN`, :const:`sNaN`, :const:`-Infinity`, :const:" "`Infinity`, and two zeros, :const:`+0` and :const:`-0`." msgstr "" -#: library/decimal.rst:1731 +#: library/decimal.rst:1734 msgid "" "Infinities can be constructed directly with: ``Decimal('Infinity')``. Also, " "they can arise from dividing by zero when the :exc:`DivisionByZero` signal " @@ -1898,14 +1904,14 @@ msgid "" "representable number." msgstr "" -#: library/decimal.rst:1736 +#: library/decimal.rst:1739 msgid "" "The infinities are signed (affine) and can be used in arithmetic operations " "where they get treated as very large, indeterminate numbers. For instance, " "adding a constant to infinity gives another infinite result." msgstr "" -#: library/decimal.rst:1740 +#: library/decimal.rst:1743 msgid "" "Some operations are indeterminate and return :const:`NaN`, or if the :exc:" "`InvalidOperation` signal is trapped, raise an exception. For example, " @@ -1916,14 +1922,14 @@ msgid "" "the calculation to proceed while flagging specific results as invalid." msgstr "" -#: library/decimal.rst:1748 +#: library/decimal.rst:1751 msgid "" "A variant is :const:`sNaN` which signals rather than remaining quiet after " "every operation. This is a useful return value when an invalid result needs " "to interrupt a calculation for special handling." msgstr "" -#: library/decimal.rst:1752 +#: library/decimal.rst:1755 msgid "" "The behavior of Python's comparison operators can be a little surprising " "where a :const:`NaN` is involved. A test for equality where one of the " @@ -1940,7 +1946,7 @@ msgid "" "methods instead." msgstr "" -#: library/decimal.rst:1765 +#: library/decimal.rst:1768 msgid "" "The signed zeros can result from calculations that underflow. They keep the " "sign that would have resulted if the calculation had been carried out to " @@ -1948,7 +1954,7 @@ msgid "" "negative zeros are treated as equal and their sign is informational." msgstr "" -#: library/decimal.rst:1770 +#: library/decimal.rst:1773 msgid "" "In addition to the two signed zeros which are distinct yet equal, there are " "various representations of zero with differing precisions yet equivalent in " @@ -1957,11 +1963,11 @@ msgid "" "that the following calculation returns a value equal to zero:" msgstr "" -#: library/decimal.rst:1785 +#: library/decimal.rst:1788 msgid "Working with threads" msgstr "" -#: library/decimal.rst:1787 +#: library/decimal.rst:1790 msgid "" "The :func:`getcontext` function accesses a different :class:`Context` object " "for each thread. Having separate thread contexts means that threads may " @@ -1969,20 +1975,20 @@ msgid "" "other threads." msgstr "" -#: library/decimal.rst:1791 +#: library/decimal.rst:1794 msgid "" "Likewise, the :func:`setcontext` function automatically assigns its target " "to the current thread." msgstr "" -#: library/decimal.rst:1794 +#: library/decimal.rst:1797 msgid "" "If :func:`setcontext` has not been called before :func:`getcontext`, then :" "func:`getcontext` will automatically create a new context for use in the " "current thread." msgstr "" -#: library/decimal.rst:1798 +#: library/decimal.rst:1801 msgid "" "The new context is copied from a prototype context called *DefaultContext*. " "To control the defaults so that each thread will use the same values " @@ -1991,21 +1997,21 @@ msgid "" "a race condition between threads calling :func:`getcontext`. For example::" msgstr "" -#: library/decimal.rst:1823 +#: library/decimal.rst:1826 msgid "Recipes" msgstr "Cas pratiques" -#: library/decimal.rst:1825 +#: library/decimal.rst:1828 msgid "" "Here are a few recipes that serve as utility functions and that demonstrate " "ways to work with the :class:`Decimal` class::" msgstr "" -#: library/decimal.rst:1980 +#: library/decimal.rst:1983 msgid "Decimal FAQ" msgstr "FAQ *decimal*" -#: library/decimal.rst:1982 +#: library/decimal.rst:1985 msgid "" "Q. It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way " "to minimize typing when using the interactive interpreter?" @@ -2013,31 +2019,31 @@ msgstr "" "Q. C'est fastidieux de taper ``decimal.Decimal('1234.5')``. Y a-t-il un " "moyen de réduire la frappe quand on utilise l'interpréteur interactif ?" -#: library/decimal.rst:1985 +#: library/decimal.rst:1988 msgid "A. Some users abbreviate the constructor to just a single letter:" msgstr "" "R. Certains utilisateurs abrègent le constructeur en une seule lettre :" -#: library/decimal.rst:1991 +#: library/decimal.rst:1994 msgid "" "Q. In a fixed-point application with two decimal places, some inputs have " "many places and need to be rounded. Others are not supposed to have excess " "digits and need to be validated. What methods should be used?" msgstr "" -#: library/decimal.rst:1995 +#: library/decimal.rst:1998 msgid "" "A. The :meth:`quantize` method rounds to a fixed number of decimal places. " "If the :const:`Inexact` trap is set, it is also useful for validation:" msgstr "" -#: library/decimal.rst:2013 +#: library/decimal.rst:2016 msgid "" "Q. Once I have valid two place inputs, how do I maintain that invariant " "throughout an application?" msgstr "" -#: library/decimal.rst:2016 +#: library/decimal.rst:2019 msgid "" "A. Some operations like addition, subtraction, and multiplication by an " "integer will automatically preserve fixed point. Others operations, like " @@ -2045,13 +2051,13 @@ msgid "" "places and need to be followed-up with a :meth:`quantize` step:" msgstr "" -#: library/decimal.rst:2034 +#: library/decimal.rst:2037 msgid "" "In developing fixed-point applications, it is convenient to define functions " "to handle the :meth:`quantize` step:" msgstr "" -#: library/decimal.rst:2047 +#: library/decimal.rst:2050 msgid "" "Q. There are many ways to express the same value. The numbers :const:" "`200`, :const:`200.000`, :const:`2E2`, and :const:`.02E+4` all have the same " @@ -2059,19 +2065,19 @@ msgid "" "recognizable canonical value?" msgstr "" -#: library/decimal.rst:2052 +#: library/decimal.rst:2055 msgid "" "A. The :meth:`normalize` method maps all equivalent values to a single " "representative:" msgstr "" -#: library/decimal.rst:2059 +#: library/decimal.rst:2062 msgid "" "Q. Some decimal values always print with exponential notation. Is there a " "way to get a non-exponential representation?" msgstr "" -#: library/decimal.rst:2062 +#: library/decimal.rst:2065 msgid "" "A. For some values, exponential notation is the only way to express the " "number of significant places in the coefficient. For example, expressing :" @@ -2079,31 +2085,31 @@ msgid "" "original's two-place significance." msgstr "" -#: library/decimal.rst:2067 +#: library/decimal.rst:2070 msgid "" "If an application does not care about tracking significance, it is easy to " "remove the exponent and trailing zeroes, losing significance, but keeping " "the value unchanged:" msgstr "" -#: library/decimal.rst:2077 +#: library/decimal.rst:2080 msgid "Q. Is there a way to convert a regular float to a :class:`Decimal`?" msgstr "" -#: library/decimal.rst:2079 +#: library/decimal.rst:2082 msgid "" "A. Yes, any binary floating point number can be exactly expressed as a " "Decimal though an exact conversion may take more precision than intuition " "would suggest:" msgstr "" -#: library/decimal.rst:2088 +#: library/decimal.rst:2091 msgid "" "Q. Within a complex calculation, how can I make sure that I haven't gotten a " "spurious result because of insufficient precision or rounding anomalies." msgstr "" -#: library/decimal.rst:2091 +#: library/decimal.rst:2094 msgid "" "A. The decimal module makes it easy to test results. A best practice is to " "re-run calculations using greater precision and with various rounding modes. " @@ -2111,14 +2117,14 @@ msgid "" "issues, ill-conditioned inputs, or a numerically unstable algorithm." msgstr "" -#: library/decimal.rst:2096 +#: library/decimal.rst:2099 msgid "" "Q. I noticed that context precision is applied to the results of operations " "but not to the inputs. Is there anything to watch out for when mixing " "values of different precisions?" msgstr "" -#: library/decimal.rst:2100 +#: library/decimal.rst:2103 msgid "" "A. Yes. The principle is that all values are considered to be exact and so " "is the arithmetic on those values. Only the results are rounded. The " @@ -2127,23 +2133,23 @@ msgid "" "haven't been rounded:" msgstr "" -#: library/decimal.rst:2113 +#: library/decimal.rst:2116 msgid "" "The solution is either to increase precision or to force rounding of inputs " "using the unary plus operation:" msgstr "" -#: library/decimal.rst:2122 +#: library/decimal.rst:2125 msgid "" "Alternatively, inputs can be rounded upon creation using the :meth:`Context." "create_decimal` method:" msgstr "" -#: library/decimal.rst:2128 +#: library/decimal.rst:2131 msgid "Q. Is the CPython implementation fast for large numbers?" msgstr "" -#: library/decimal.rst:2130 +#: library/decimal.rst:2133 msgid "" "A. Yes. In the CPython and PyPy3 implementations, the C/CFFI versions of " "the decimal module integrate the high speed `libmpdec \n" diff --git a/library/devmode.po b/library/devmode.po index 6336fe59..add1c3bf 100644 --- a/library/devmode.po +++ b/library/devmode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/dialog.po b/library/dialog.po index a80e966d..fdbf32a3 100644 --- a/library/dialog.po +++ b/library/dialog.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/difflib.po b/library/difflib.po index 4d1553c0..f798e237 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-18 22:51+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" @@ -39,7 +39,7 @@ msgstr "" "comparaison de répertoires et de fichiers, voir aussi le module :mod:" "`filecmp`." -#: library/difflib.rst:28 +#: library/difflib.rst:29 msgid "" "This is a flexible class for comparing pairs of sequences of any type, so " "long as the sequence elements are :term:`hashable`. The basic algorithm " @@ -69,7 +69,7 @@ msgstr "" "de montage minimales, mais tend à donner des correspondances qui « semblent " "correctes » pour les gens." -#: library/difflib.rst:40 +#: library/difflib.rst:41 msgid "" "**Timing:** The basic Ratcliff-Obershelp algorithm is cubic time in the " "worst case and quadratic time in the expected case. :class:`SequenceMatcher` " @@ -84,7 +84,7 @@ msgstr "" "nombre d'éléments que les séquences ont en commun ; le temps dans le " "meilleur cas est linéaire." -#: library/difflib.rst:46 +#: library/difflib.rst:47 msgid "" "**Automatic junk heuristic:** :class:`SequenceMatcher` supports a heuristic " "that automatically treats certain sequence items as junk. The heuristic " @@ -106,11 +106,11 @@ msgstr "" "``autojunk`` sur ``False`` lors de la création de la classe :class:" "`SequenceMatcher`." -#: library/difflib.rst:54 library/difflib.rst:387 +#: library/difflib.rst:55 library/difflib.rst:388 msgid "The *autojunk* parameter." msgstr "Le paramètre *autojunk*." -#: library/difflib.rst:60 +#: library/difflib.rst:61 msgid "" "This is a class for comparing sequences of lines of text, and producing " "human-readable differences or deltas. Differ uses :class:`SequenceMatcher` " @@ -123,53 +123,53 @@ msgstr "" "séquences de lignes, et pour comparer des séquences de caractères dans des " "lignes similaires (quasi-correspondantes)." -#: library/difflib.rst:65 +#: library/difflib.rst:66 msgid "Each line of a :class:`Differ` delta begins with a two-letter code:" msgstr "" "Chaque ligne d'un delta :class:`Differ` commence par un code de deux " "lettres :" -#: library/difflib.rst:68 +#: library/difflib.rst:69 msgid "Code" msgstr "Code" -#: library/difflib.rst:68 library/difflib.rst:497 +#: library/difflib.rst:69 library/difflib.rst:498 msgid "Meaning" msgstr "Signification" -#: library/difflib.rst:70 +#: library/difflib.rst:71 msgid "``'- '``" msgstr "``'- '``" -#: library/difflib.rst:70 +#: library/difflib.rst:71 msgid "line unique to sequence 1" msgstr "ligne n'appartenant qu'à la séquence 1" -#: library/difflib.rst:72 +#: library/difflib.rst:73 msgid "``'+ '``" msgstr "``'+ '``" -#: library/difflib.rst:72 +#: library/difflib.rst:73 msgid "line unique to sequence 2" msgstr "ligne n'appartenant qu'à la séquence 2" -#: library/difflib.rst:74 +#: library/difflib.rst:75 msgid "``' '``" msgstr "``' '``" -#: library/difflib.rst:74 +#: library/difflib.rst:75 msgid "line common to both sequences" msgstr "ligne commune aux deux séquences" -#: library/difflib.rst:76 +#: library/difflib.rst:77 msgid "``'? '``" msgstr "``'? '``" -#: library/difflib.rst:76 +#: library/difflib.rst:77 msgid "line not present in either input sequence" msgstr "ligne non présente dans l'une ou l'autre des séquences d'entrée" -#: library/difflib.rst:79 +#: library/difflib.rst:80 msgid "" "Lines beginning with '``?``' attempt to guide the eye to intraline " "differences, and were not present in either input sequence. These lines can " @@ -180,7 +180,7 @@ msgstr "" "d'entrée. Ces lignes peuvent être déroutantes si les séquences contiennent " "des caractères de tabulation." -#: library/difflib.rst:86 +#: library/difflib.rst:87 msgid "" "This class can be used to create an HTML table (or a complete HTML file " "containing the table) showing a side by side, line by line comparison of " @@ -192,15 +192,15 @@ msgstr "" "ligne par ligne, du texte avec les changements inter-lignes et intralignes. " "Le tableau peut être généré en mode de différence complet ou contextuel." -#: library/difflib.rst:91 +#: library/difflib.rst:92 msgid "The constructor for this class is:" msgstr "Le constructeur pour cette classe est :" -#: library/difflib.rst:96 +#: library/difflib.rst:97 msgid "Initializes instance of :class:`HtmlDiff`." msgstr "Initialise l'instance de :class:`HtmlDiff`." -#: library/difflib.rst:98 +#: library/difflib.rst:99 msgid "" "*tabsize* is an optional keyword argument to specify tab stop spacing and " "defaults to ``8``." @@ -208,7 +208,7 @@ msgstr "" "*tabsize* est un mot-clé optionnel pour spécifier l'espacement des " "tabulations et sa valeur par défaut est ``8``." -#: library/difflib.rst:101 +#: library/difflib.rst:102 msgid "" "*wrapcolumn* is an optional keyword to specify column number where lines are " "broken and wrapped, defaults to ``None`` where lines are not wrapped." @@ -217,7 +217,7 @@ msgstr "" "où les lignes sont coupées pour être ré-agencées, la valeur par défaut est " "``None`` lorsque les lignes ne sont pas ré-agencées." -#: library/difflib.rst:104 +#: library/difflib.rst:105 msgid "" "*linejunk* and *charjunk* are optional keyword arguments passed into :func:" "`ndiff` (used by :class:`HtmlDiff` to generate the side by side HTML " @@ -229,11 +229,11 @@ msgstr "" "différences HTML côte à côte). Voir la documentation de :func:`ndiff` pour " "les valeurs par défaut des arguments et les descriptions." -#: library/difflib.rst:108 +#: library/difflib.rst:109 msgid "The following methods are public:" msgstr "Les méthodes suivantes sont publiques :" -#: library/difflib.rst:113 +#: library/difflib.rst:114 msgid "" "Compares *fromlines* and *tolines* (lists of strings) and returns a string " "which is a complete HTML file containing a table showing line by line " @@ -244,7 +244,7 @@ msgstr "" "un tableau montrant les différences ligne par ligne avec les changements " "inter-lignes et intralignes mis en évidence." -#: library/difflib.rst:117 +#: library/difflib.rst:118 msgid "" "*fromdesc* and *todesc* are optional keyword arguments to specify from/to " "file column header strings (both default to an empty string)." @@ -253,7 +253,7 @@ msgstr "" "les chaînes d'en-tête des colonnes *from/to* du fichier (les deux sont des " "chaînes vides par défaut)." -#: library/difflib.rst:120 +#: library/difflib.rst:121 msgid "" "*context* and *numlines* are both optional keyword arguments. Set *context* " "to ``True`` when contextual differences are to be shown, else the default is " @@ -277,7 +277,7 @@ msgstr "" "« suivants » placeraient le surlignage de différence suivant en haut du " "navigateur sans aucun contexte introductif)." -#: library/difflib.rst:131 +#: library/difflib.rst:132 msgid "" "*fromdesc* and *todesc* are interpreted as unescaped HTML and should be " "properly escaped while receiving input from untrusted sources." @@ -286,7 +286,7 @@ msgstr "" "être correctement échappés lors de la réception de données provenant de " "sources non fiables." -#: library/difflib.rst:134 +#: library/difflib.rst:135 msgid "" "*charset* keyword-only argument was added. The default charset of HTML " "document changed from ``'ISO-8859-1'`` to ``'utf-8'``." @@ -294,7 +294,7 @@ msgstr "" "l'argument mot-clé *charset* a été ajouté. Le jeu de caractères par défaut " "du document HTML est passé de ``'ISO-8859-1'`` à ``'utf-8'``." -#: library/difflib.rst:140 +#: library/difflib.rst:141 msgid "" "Compares *fromlines* and *tolines* (lists of strings) and returns a string " "which is a complete HTML table showing line by line differences with inter-" @@ -304,7 +304,7 @@ msgstr "" "qui est un tableau HTML complet montrant les différences ligne par ligne " "avec les changements inter-lignes et intralignes mis en évidence." -#: library/difflib.rst:144 +#: library/difflib.rst:145 msgid "" "The arguments for this method are the same as those for the :meth:" "`make_file` method." @@ -312,7 +312,7 @@ msgstr "" "Les arguments pour cette méthode sont les mêmes que ceux de la méthode :meth:" "`make_file`." -#: library/difflib.rst:147 +#: library/difflib.rst:148 msgid "" ":file:`Tools/scripts/diff.py` is a command-line front-end to this class and " "contains a good example of its use." @@ -320,7 +320,7 @@ msgstr "" ":file:`Tools/scripts/diff.py` est un frontal en ligne de commande de cette " "classe et contient un bon exemple de son utilisation." -#: library/difflib.rst:153 +#: library/difflib.rst:154 msgid "" "Compare *a* and *b* (lists of strings); return a delta (a :term:`generator` " "generating the delta lines) in context diff format." @@ -329,7 +329,7 @@ msgstr "" "term:`generateur ` générant les lignes delta) dans un format de " "différence de contexte." -#: library/difflib.rst:156 +#: library/difflib.rst:157 #, fuzzy msgid "" "Context diffs are a compact way of showing just the lines that have changed " @@ -341,7 +341,7 @@ msgstr "" "sont affichés dans un style avant/après. Le nombre de lignes de contexte " "est défini par *n*, qui est de trois par défaut." -#: library/difflib.rst:160 +#: library/difflib.rst:161 msgid "" "By default, the diff control lines (those with ``***`` or ``---``) are " "created with a trailing newline. This is helpful so that inputs created " @@ -355,7 +355,7 @@ msgstr "" "différences qui peuvent être utilisées avec :func:`io.IOBase.writelines` " "puisque les entrées et les sorties ont des nouvelles lignes de fin." -#: library/difflib.rst:166 library/difflib.rst:297 +#: library/difflib.rst:167 library/difflib.rst:298 msgid "" "For inputs that do not have trailing newlines, set the *lineterm* argument " "to ``\"\"`` so that the output will be uniformly newline free." @@ -364,7 +364,7 @@ msgstr "" "*lineterm* à ``\"\"`` afin que la sortie soit uniformément sans retour à la " "ligne." -#: library/difflib.rst:169 library/difflib.rst:300 +#: library/difflib.rst:170 library/difflib.rst:301 msgid "" "The context diff format normally has a header for filenames and modification " "times. Any or all of these may be specified using strings for *fromfile*, " @@ -379,13 +379,13 @@ msgstr "" "modification sont normalement exprimées dans le format ISO 8601. Si elles ne " "sont pas spécifiées, les chaînes de caractères sont par défaut vierges." -#: library/difflib.rst:192 library/difflib.rst:321 +#: library/difflib.rst:193 library/difflib.rst:322 msgid "See :ref:`difflib-interface` for a more detailed example." msgstr "" "Voir :ref:`une interface de ligne de commandes pour difflib ` pour un exemple plus détaillé." -#: library/difflib.rst:197 +#: library/difflib.rst:198 msgid "" "Return a list of the best \"good enough\" matches. *word* is a sequence for " "which close matches are desired (typically a string), and *possibilities* is " @@ -393,37 +393,37 @@ msgid "" "strings)." msgstr "" -#: library/difflib.rst:201 +#: library/difflib.rst:202 msgid "" "Optional argument *n* (default ``3``) is the maximum number of close matches " "to return; *n* must be greater than ``0``." msgstr "" -#: library/difflib.rst:204 +#: library/difflib.rst:205 msgid "" "Optional argument *cutoff* (default ``0.6``) is a float in the range [0, 1]. " "Possibilities that don't score at least that similar to *word* are ignored." msgstr "" -#: library/difflib.rst:207 +#: library/difflib.rst:208 msgid "" "The best (no more than *n*) matches among the possibilities are returned in " "a list, sorted by similarity score, most similar first." msgstr "" -#: library/difflib.rst:223 +#: library/difflib.rst:224 msgid "" "Compare *a* and *b* (lists of strings); return a :class:`Differ`\\ -style " "delta (a :term:`generator` generating the delta lines)." msgstr "" -#: library/difflib.rst:226 +#: library/difflib.rst:227 msgid "" "Optional keyword parameters *linejunk* and *charjunk* are filtering " "functions (or ``None``):" msgstr "" -#: library/difflib.rst:229 +#: library/difflib.rst:230 msgid "" "*linejunk*: A function that accepts a single string argument, and returns " "true if the string is junk, or false if not. The default is ``None``. There " @@ -434,7 +434,7 @@ msgid "" "this usually works better than using this function." msgstr "" -#: library/difflib.rst:237 +#: library/difflib.rst:238 msgid "" "*charjunk*: A function that accepts a character (a string of length 1), and " "returns if the character is junk, or false if not. The default is module-" @@ -442,33 +442,33 @@ msgid "" "characters (a blank or tab; it's a bad idea to include newline in this!)." msgstr "" -#: library/difflib.rst:242 +#: library/difflib.rst:243 msgid "" ":file:`Tools/scripts/ndiff.py` is a command-line front-end to this function." msgstr "" -#: library/difflib.rst:260 +#: library/difflib.rst:261 msgid "Return one of the two sequences that generated a delta." msgstr "" -#: library/difflib.rst:262 +#: library/difflib.rst:263 msgid "" "Given a *sequence* produced by :meth:`Differ.compare` or :func:`ndiff`, " "extract lines originating from file 1 or 2 (parameter *which*), stripping " "off line prefixes." msgstr "" -#: library/difflib.rst:266 +#: library/difflib.rst:267 msgid "Example:" msgstr "Exemple :" -#: library/difflib.rst:283 +#: library/difflib.rst:284 msgid "" "Compare *a* and *b* (lists of strings); return a delta (a :term:`generator` " "generating the delta lines) in unified diff format." msgstr "" -#: library/difflib.rst:286 +#: library/difflib.rst:287 msgid "" "Unified diffs are a compact way of showing just the lines that have changed " "plus a few lines of context. The changes are shown in an inline style " @@ -476,7 +476,7 @@ msgid "" "set by *n* which defaults to three." msgstr "" -#: library/difflib.rst:291 +#: library/difflib.rst:292 msgid "" "By default, the diff control lines (those with ``---``, ``+++``, or ``@@``) " "are created with a trailing newline. This is helpful so that inputs created " @@ -485,14 +485,14 @@ msgid "" "trailing newlines." msgstr "" -#: library/difflib.rst:325 +#: library/difflib.rst:326 msgid "" "Compare *a* and *b* (lists of bytes objects) using *dfunc*; yield a sequence " "of delta lines (also bytes) in the format returned by *dfunc*. *dfunc* must " "be a callable, typically either :func:`unified_diff` or :func:`context_diff`." msgstr "" -#: library/difflib.rst:330 +#: library/difflib.rst:331 msgid "" "Allows you to compare data with unknown or inconsistent encoding. All inputs " "except *n* must be bytes objects, not str. Works by losslessly converting " @@ -502,42 +502,42 @@ msgid "" "unknown/inconsistent encodings as *a* and *b*." msgstr "" -#: library/difflib.rst:341 +#: library/difflib.rst:342 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." msgstr "" -#: library/difflib.rst:348 +#: library/difflib.rst:349 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 " "for parameter *charjunk* in :func:`ndiff`." msgstr "" -#: library/difflib.rst:356 +#: library/difflib.rst:357 msgid "" "`Pattern Matching: The Gestalt Approach `_" msgstr "" -#: library/difflib.rst:356 +#: library/difflib.rst:357 msgid "" "Discussion of a similar algorithm by John W. Ratcliff and D. E. Metzener. " "This was published in `Dr. Dobb's Journal `_ in " "July, 1988." msgstr "" -#: library/difflib.rst:363 +#: library/difflib.rst:364 msgid "SequenceMatcher Objects" msgstr "" -#: library/difflib.rst:365 +#: library/difflib.rst:366 msgid "The :class:`SequenceMatcher` class has this constructor:" msgstr "" -#: library/difflib.rst:370 +#: library/difflib.rst:371 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 " @@ -546,26 +546,26 @@ msgid "" "ignored. For example, pass::" msgstr "" -#: library/difflib.rst:378 +#: library/difflib.rst:379 msgid "" "if you're comparing lines as sequences of characters, and don't want to " "synch up on blanks or hard tabs." msgstr "" -#: library/difflib.rst:381 +#: library/difflib.rst:382 msgid "" "The optional arguments *a* and *b* are sequences to be compared; both " "default to empty strings. The elements of both sequences must be :term:" "`hashable`." msgstr "" -#: library/difflib.rst:384 +#: library/difflib.rst:385 msgid "" "The optional argument *autojunk* can be used to disable the automatic junk " "heuristic." msgstr "" -#: library/difflib.rst:390 +#: library/difflib.rst:391 msgid "" "SequenceMatcher objects get three data attributes: *bjunk* is the set of " "elements of *b* for which *isjunk* is ``True``; *bpopular* is the set of non-" @@ -575,19 +575,19 @@ msgid "" "`set_seqs` or :meth:`set_seq2`." msgstr "" -#: library/difflib.rst:397 +#: library/difflib.rst:398 msgid "The *bjunk* and *bpopular* attributes." msgstr "" -#: library/difflib.rst:400 +#: library/difflib.rst:401 msgid ":class:`SequenceMatcher` objects have the following methods:" msgstr "" -#: library/difflib.rst:404 +#: library/difflib.rst:405 msgid "Set the two sequences to be compared." msgstr "" -#: library/difflib.rst:406 +#: library/difflib.rst:407 msgid "" ":class:`SequenceMatcher` computes and caches detailed information about the " "second sequence, so if you want to compare one sequence against many " @@ -595,23 +595,23 @@ msgid "" "call :meth:`set_seq1` repeatedly, once for each of the other sequences." msgstr "" -#: library/difflib.rst:414 +#: library/difflib.rst:415 msgid "" "Set the first sequence to be compared. The second sequence to be compared " "is not changed." msgstr "" -#: library/difflib.rst:420 +#: library/difflib.rst:421 msgid "" "Set the second sequence to be compared. The first sequence to be compared " "is not changed." msgstr "" -#: library/difflib.rst:426 +#: library/difflib.rst:427 msgid "Find longest matching block in ``a[alo:ahi]`` and ``b[blo:bhi]``." msgstr "" -#: library/difflib.rst:428 +#: library/difflib.rst:429 msgid "" "If *isjunk* was omitted or ``None``, :meth:`find_longest_match` returns " "``(i, j, k)`` such that ``a[i:i+k]`` is equal to ``b[j:j+k]``, where ``alo " @@ -623,7 +623,7 @@ msgid "" "that starts earliest in *b*." msgstr "" -#: library/difflib.rst:441 +#: library/difflib.rst:442 msgid "" "If *isjunk* was provided, first the longest matching block is determined as " "above, but with the additional restriction that no junk element appears in " @@ -632,7 +632,7 @@ msgid "" "junk except as identical junk happens to be adjacent to an interesting match." msgstr "" -#: library/difflib.rst:448 +#: library/difflib.rst:449 msgid "" "Here's the same example as before, but considering blanks to be junk. That " "prevents ``' abcd'`` from matching the ``' abcd'`` at the tail end of the " @@ -640,26 +640,26 @@ msgid "" "matches the leftmost ``'abcd'`` in the second sequence:" msgstr "" -#: library/difflib.rst:457 +#: library/difflib.rst:458 msgid "If no blocks match, this returns ``(alo, blo, 0)``." msgstr "" -#: library/difflib.rst:459 +#: library/difflib.rst:460 msgid "This method returns a :term:`named tuple` ``Match(a, b, size)``." msgstr "" -#: library/difflib.rst:461 +#: library/difflib.rst:462 msgid "Added default arguments." msgstr "" -#: library/difflib.rst:467 +#: library/difflib.rst:468 msgid "" "Return list of triples describing non-overlapping matching subsequences. " "Each triple is of the form ``(i, j, n)``, and means that ``a[i:i+n] == b[j:j" "+n]``. The triples are monotonically increasing in *i* and *j*." msgstr "" -#: library/difflib.rst:472 +#: library/difflib.rst:473 msgid "" "The last triple is a dummy, and has the value ``(len(a), len(b), 0)``. It " "is the only triple with ``n == 0``. If ``(i, j, n)`` and ``(i', j', n')`` " @@ -668,7 +668,7 @@ msgid "" "triples always describe non-adjacent equal blocks." msgstr "" -#: library/difflib.rst:489 +#: library/difflib.rst:490 msgid "" "Return list of 5-tuples describing how to turn *a* into *b*. Each tuple is " "of the form ``(tag, i1, i2, j1, j2)``. The first tuple has ``i1 == j1 == " @@ -676,101 +676,101 @@ msgid "" "tuple, and, likewise, *j1* equal to the previous *j2*." msgstr "" -#: library/difflib.rst:494 +#: library/difflib.rst:495 msgid "The *tag* values are strings, with these meanings:" msgstr "" -#: library/difflib.rst:497 +#: library/difflib.rst:498 msgid "Value" msgstr "Valeur" -#: library/difflib.rst:499 +#: library/difflib.rst:500 msgid "``'replace'``" msgstr "``'replace'``" -#: library/difflib.rst:499 +#: library/difflib.rst:500 msgid "``a[i1:i2]`` should be replaced by ``b[j1:j2]``." msgstr "" -#: library/difflib.rst:502 +#: library/difflib.rst:503 msgid "``'delete'``" msgstr "``'delete'``" -#: library/difflib.rst:502 +#: library/difflib.rst:503 msgid "``a[i1:i2]`` should be deleted. Note that ``j1 == j2`` in this case." msgstr "" -#: library/difflib.rst:505 +#: library/difflib.rst:506 msgid "``'insert'``" msgstr "``'insert'``" -#: library/difflib.rst:505 +#: library/difflib.rst:506 msgid "" "``b[j1:j2]`` should be inserted at ``a[i1:i1]``. Note that ``i1 == i2`` in " "this case." msgstr "" -#: library/difflib.rst:509 +#: library/difflib.rst:510 msgid "``'equal'``" msgstr "``'equal'``" -#: library/difflib.rst:509 +#: library/difflib.rst:510 msgid "``a[i1:i2] == b[j1:j2]`` (the sub-sequences are equal)." msgstr "" -#: library/difflib.rst:513 +#: library/difflib.rst:514 msgid "For example::" msgstr "Par exemple ::" -#: library/difflib.rst:530 +#: library/difflib.rst:531 msgid "Return a :term:`generator` of groups with up to *n* lines of context." msgstr "" -#: library/difflib.rst:532 +#: library/difflib.rst:533 msgid "" "Starting with the groups returned by :meth:`get_opcodes`, this method splits " "out smaller change clusters and eliminates intervening ranges which have no " "changes." msgstr "" -#: library/difflib.rst:536 +#: library/difflib.rst:537 msgid "The groups are returned in the same format as :meth:`get_opcodes`." msgstr "" -#: library/difflib.rst:541 +#: library/difflib.rst:542 msgid "" "Return a measure of the sequences' similarity as a float in the range [0, 1]." msgstr "" -#: library/difflib.rst:544 +#: library/difflib.rst:545 msgid "" "Where T is the total number of elements in both sequences, and M is the " "number of matches, this is 2.0\\*M / T. Note that this is ``1.0`` if the " "sequences are identical, and ``0.0`` if they have nothing in common." msgstr "" -#: library/difflib.rst:548 +#: library/difflib.rst:549 msgid "" "This is expensive to compute if :meth:`get_matching_blocks` or :meth:" "`get_opcodes` hasn't already been called, in which case you may want to try :" "meth:`quick_ratio` or :meth:`real_quick_ratio` first to get an upper bound." msgstr "" -#: library/difflib.rst:555 +#: library/difflib.rst:556 msgid "" "Caution: The result of a :meth:`ratio` call may depend on the order of the " "arguments. For instance::" msgstr "" -#: library/difflib.rst:566 +#: library/difflib.rst:567 msgid "Return an upper bound on :meth:`ratio` relatively quickly." msgstr "" -#: library/difflib.rst:571 +#: library/difflib.rst:572 msgid "Return an upper bound on :meth:`ratio` very quickly." msgstr "" -#: library/difflib.rst:574 +#: library/difflib.rst:575 msgid "" "The three methods that return the ratio of matching to total characters can " "give different results due to differing levels of approximation, although :" @@ -778,57 +778,57 @@ msgid "" "as :meth:`ratio`:" msgstr "" -#: library/difflib.rst:591 +#: library/difflib.rst:592 msgid "SequenceMatcher Examples" msgstr "" -#: library/difflib.rst:593 +#: library/difflib.rst:594 msgid "This example compares two strings, considering blanks to be \"junk\":" msgstr "" -#: library/difflib.rst:599 +#: library/difflib.rst:600 msgid "" ":meth:`ratio` returns a float in [0, 1], measuring the similarity of the " "sequences. As a rule of thumb, a :meth:`ratio` value over 0.6 means the " "sequences are close matches:" msgstr "" -#: library/difflib.rst:606 +#: library/difflib.rst:607 msgid "" "If you're only interested in where the sequences match, :meth:" "`get_matching_blocks` is handy:" msgstr "" -#: library/difflib.rst:615 +#: library/difflib.rst:616 msgid "" "Note that the last tuple returned by :meth:`get_matching_blocks` is always a " "dummy, ``(len(a), len(b), 0)``, and this is the only case in which the last " "tuple element (number of elements matched) is ``0``." msgstr "" -#: library/difflib.rst:619 +#: library/difflib.rst:620 msgid "" "If you want to know how to change the first sequence into the second, use :" "meth:`get_opcodes`:" msgstr "" -#: library/difflib.rst:630 +#: library/difflib.rst:631 msgid "" "The :func:`get_close_matches` function in this module which shows how simple " "code building on :class:`SequenceMatcher` can be used to do useful work." msgstr "" -#: library/difflib.rst:634 +#: library/difflib.rst:635 msgid "" "`Simple version control recipe `_ for a small application built with :class:`SequenceMatcher`." msgstr "" -#: library/difflib.rst:642 +#: library/difflib.rst:643 msgid "Differ Objects" msgstr "" -#: library/difflib.rst:644 +#: library/difflib.rst:645 msgid "" "Note that :class:`Differ`\\ -generated deltas make no claim to be " "**minimal** diffs. To the contrary, minimal diffs are often counter-" @@ -838,31 +838,31 @@ msgid "" "longer diff." msgstr "" -#: library/difflib.rst:650 +#: library/difflib.rst:651 msgid "The :class:`Differ` class has this constructor:" msgstr "" -#: library/difflib.rst:655 +#: library/difflib.rst:657 msgid "" "Optional keyword parameters *linejunk* and *charjunk* are for filter " "functions (or ``None``):" msgstr "" -#: library/difflib.rst:658 +#: library/difflib.rst:660 msgid "" "*linejunk*: A function that accepts a single string argument, and returns " "true if the string is junk. The default is ``None``, meaning that no line " "is considered junk." msgstr "" -#: library/difflib.rst:662 +#: library/difflib.rst:664 msgid "" "*charjunk*: A function that accepts a single character argument (a string of " "length 1), and returns true if the character is junk. The default is " "``None``, meaning that no character is considered junk." msgstr "" -#: library/difflib.rst:666 +#: library/difflib.rst:668 msgid "" "These junk-filtering functions speed up matching to find differences and do " "not cause any differing lines or characters to be ignored. Read the " @@ -870,17 +870,17 @@ msgid "" "*isjunk* parameter for an explanation." msgstr "" -#: library/difflib.rst:672 +#: library/difflib.rst:674 msgid "" ":class:`Differ` objects are used (deltas generated) via a single method:" msgstr "" -#: library/difflib.rst:677 +#: library/difflib.rst:679 msgid "" "Compare two sequences of lines, and generate the delta (a sequence of lines)." msgstr "" -#: library/difflib.rst:679 +#: library/difflib.rst:681 msgid "" "Each sequence must contain individual single-line strings ending with " "newlines. Such sequences can be obtained from the :meth:`~io.IOBase." @@ -889,11 +889,11 @@ msgid "" "IOBase.writelines` method of a file-like object." msgstr "" -#: library/difflib.rst:690 +#: library/difflib.rst:692 msgid "Differ Example" msgstr "" -#: library/difflib.rst:692 +#: library/difflib.rst:694 msgid "" "This example compares two texts. First we set up the texts, sequences of " "individual single-line strings ending with newlines (such sequences can also " @@ -901,34 +901,34 @@ msgid "" "objects):" msgstr "" -#: library/difflib.rst:711 +#: library/difflib.rst:713 msgid "Next we instantiate a Differ object:" msgstr "" -#: library/difflib.rst:715 +#: library/difflib.rst:717 msgid "" "Note that when instantiating a :class:`Differ` object we may pass functions " "to filter out line and character \"junk.\" See the :meth:`Differ` " "constructor for details." msgstr "" -#: library/difflib.rst:719 +#: library/difflib.rst:721 msgid "Finally, we compare the two:" msgstr "" -#: library/difflib.rst:723 +#: library/difflib.rst:725 msgid "``result`` is a list of strings, so let's pretty-print it:" msgstr "" -#: library/difflib.rst:738 +#: library/difflib.rst:740 msgid "As a single multi-line string it looks like this:" msgstr "" -#: library/difflib.rst:757 +#: library/difflib.rst:759 msgid "A command-line interface to difflib" msgstr "" -#: library/difflib.rst:759 +#: library/difflib.rst:761 msgid "" "This example shows how to use difflib to create a ``diff``-like utility. It " "is also contained in the Python source distribution, as :file:`Tools/scripts/" diff --git a/library/dis.po b/library/dis.po index 56a8f9c7..a20051c5 100644 --- a/library/dis.po +++ b/library/dis.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-07-18 21:03+0200\n" "Last-Translator: Aya Keddam \n" "Language-Team: FRENCH \n" @@ -729,7 +729,7 @@ msgstr "" #: library/dis.rst:643 msgid "" -"Calls ``list.append(TOS[-i], TOS)``. Used to implement list comprehensions." +"Calls ``list.append(TOS1[-i], TOS)``. Used to implement list comprehensions." msgstr "" #: library/dis.rst:648 diff --git a/library/distribution.po b/library/distribution.po index 4b290b22..047e28bc 100644 --- a/library/distribution.po +++ b/library/distribution.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-06-10 15:33+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/distutils.po b/library/distutils.po index ccdfd5fb..07b2adf5 100644 --- a/library/distutils.po +++ b/library/distutils.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 12:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/doctest.po b/library/doctest.po index 5f5a904d..c6862dd4 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.charset.po b/library/email.charset.po index 2f0e4f64..40174038 100644 --- a/library/email.charset.po +++ b/library/email.charset.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index 691899f6..5e704ab3 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.contentmanager.po b/library/email.contentmanager.po index 34c92535..90d02dba 100644 --- a/library/email.contentmanager.po +++ b/library/email.contentmanager.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-17 10:39+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.encoders.po b/library/email.encoders.po index 41dd8da1..46fd9480 100644 --- a/library/email.encoders.po +++ b/library/email.encoders.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-05 09:50+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/email.errors.po b/library/email.errors.po index 177feda5..5515b4d9 100644 --- a/library/email.errors.po +++ b/library/email.errors.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.examples.po b/library/email.examples.po index 93afe0aa..8abcb298 100644 --- a/library/email.examples.po +++ b/library/email.examples.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 13:01+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/email.generator.po b/library/email.generator.po index 2d696db5..a0ac3cb0 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.header.po b/library/email.header.po index 374874fb..e761d13c 100644 --- a/library/email.header.po +++ b/library/email.header.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index 32bdafc9..6019a94e 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-06 13:49+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.iterators.po b/library/email.iterators.po index 1f90f19c..e7f887ec 100644 --- a/library/email.iterators.po +++ b/library/email.iterators.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-02-08 09:58+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-20 19:13+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/email.message.po b/library/email.message.po index 8ce35836..218c868b 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.mime.po b/library/email.mime.po index 42979cd2..82196c4c 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.parser.po b/library/email.parser.po index 8dc61ac4..17c4aea1 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-08 16:44+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/email.po b/library/email.po index ac9ac31f..0795072a 100644 --- a/library/email.po +++ b/library/email.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.policy.po b/library/email.policy.po index cb96e9ef..f106b8e5 100644 --- a/library/email.policy.po +++ b/library/email.policy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/email.utils.po b/library/email.utils.po index 5df2ebdd..a185e2e2 100644 --- a/library/email.utils.po +++ b/library/email.utils.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/ensurepip.po b/library/ensurepip.po index 0791a8de..62e3711f 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-10 00:59+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/enum.po b/library/enum.po index 1f5f0803..f6187433 100644 --- a/library/enum.po +++ b/library/enum.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-11 11:26+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -86,14 +86,14 @@ msgstr "" "combinées avec des opérateurs de comparaison bit-à-bit, sans perdre leur " "qualité de :class:`Flag`." -#: library/enum.rst:54 +#: library/enum.rst:55 msgid "" "Enum class decorator that ensures only one name is bound to any one value." msgstr "" "Décorateur de classe qui garantit qu'une valeur ne puisse être associée qu'à " "un seul nom." -#: library/enum.rst:58 +#: library/enum.rst:59 #, fuzzy msgid "" "Instances are replaced with an appropriate value for Enum members. By " @@ -102,15 +102,15 @@ msgstr "" "Les instances de cette classe remplacent les membres d'une *Enum* par une " "valeur appropriée." -#: library/enum.rst:60 +#: library/enum.rst:61 msgid "``Flag``, ``IntFlag``, ``auto``" msgstr "``Flag``, ``IntFlag``, ``auto``" -#: library/enum.rst:64 +#: library/enum.rst:65 msgid "Creating an Enum" msgstr "Création d'une *Enum*" -#: library/enum.rst:66 +#: library/enum.rst:67 msgid "" "Enumerations are created using the :keyword:`class` syntax, which makes them " "easy to read and write. An alternative creation method is described in " @@ -122,11 +122,11 @@ msgstr "" "fonction`_. Pour définir une énumération, il faut hériter de :class:`Enum` " "de la manière suivante ::" -#: library/enum.rst:78 +#: library/enum.rst:79 msgid "Enum member values" msgstr "Valeurs des membres d'une *Enum*" -#: library/enum.rst:80 +#: library/enum.rst:81 msgid "" "Member values can be anything: :class:`int`, :class:`str`, etc.. If the " "exact value is unimportant you may use :class:`auto` instances and an " @@ -138,15 +138,15 @@ msgstr "" "instances de :class:`auto` et une valeur appropriée sera choisie pour vous. " "Soyez vigilant si vous mélangez :class:`auto` avec d'autres valeurs." -#: library/enum.rst:85 +#: library/enum.rst:86 msgid "Nomenclature" msgstr "Nomenclature" -#: library/enum.rst:87 +#: library/enum.rst:88 msgid "The class :class:`Color` is an *enumeration* (or *enum*)" msgstr "La classe :class:`Color` est une *énumération* (ou un *enum*)." -#: library/enum.rst:88 +#: library/enum.rst:89 msgid "" "The attributes :attr:`Color.RED`, :attr:`Color.GREEN`, etc., are " "*enumeration members* (or *enum members*) and are functionally constants." @@ -155,7 +155,7 @@ msgstr "" "*membres de l'énumération* (ou les *membres de l'enum*) et sont " "fonctionnellement des constantes." -#: library/enum.rst:90 +#: library/enum.rst:91 msgid "" "The enum members have *names* and *values* (the name of :attr:`Color.RED` is " "``RED``, the value of :attr:`Color.BLUE` is ``3``, etc.)" @@ -163,7 +163,7 @@ msgstr "" "Les membres de *l'enum* ont chacun un *nom* et une *valeur* ; le nom de :" "attr:`Color.RED` est ``RED``, la valeur de :attr:`Color.BLUE` est ``3``, etc." -#: library/enum.rst:96 +#: library/enum.rst:97 msgid "" "Even though we use the :keyword:`class` syntax to create Enums, Enums are " "not normal Python classes. See `How are Enums different?`_ for more details." @@ -172,31 +172,31 @@ msgstr "" "énumérations, les *Enums* ne sont pas des vraies classes Python. Voir `En " "quoi les Enums sont différentes ?`_ pour plus de détails." -#: library/enum.rst:100 +#: library/enum.rst:101 msgid "Enumeration members have human readable string representations::" msgstr "" "Les membres d'une énumération ont une représentation en chaîne de caractères " "compréhensible par un humain ::" -#: library/enum.rst:105 +#: library/enum.rst:106 msgid "...while their ``repr`` has more information::" msgstr "… tandis que leur ``repr`` contient plus d'informations ::" -#: library/enum.rst:110 +#: library/enum.rst:111 msgid "The *type* of an enumeration member is the enumeration it belongs to::" msgstr "Le *type* d'un membre est l'énumération auquel ce membre appartient ::" -#: library/enum.rst:118 +#: library/enum.rst:119 msgid "Enum members also have a property that contains just their item name::" msgstr "Les membres ont également un attribut qui contient leur nom ::" -#: library/enum.rst:123 +#: library/enum.rst:124 msgid "Enumerations support iteration, in definition order::" msgstr "" "Les énumérations sont itérables, l'ordre d'itération est celui dans lequel " "les membres sont déclarés ::" -#: library/enum.rst:139 +#: library/enum.rst:140 msgid "" "Enumeration members are hashable, so they can be used in dictionaries and " "sets::" @@ -204,11 +204,11 @@ msgstr "" "Les membres d'une énumération sont hachables, ils peuvent ainsi être " "utilisés dans des dictionnaires ou des ensembles ::" -#: library/enum.rst:149 +#: library/enum.rst:150 msgid "Programmatic access to enumeration members and their attributes" msgstr "Accès dynamique aux membres et à leurs attributs" -#: library/enum.rst:151 +#: library/enum.rst:152 msgid "" "Sometimes it's useful to access members in enumerations programmatically (i." "e. situations where ``Color.RED`` won't do because the exact color is not " @@ -219,25 +219,25 @@ msgstr "" "``Color.RED`` car la couleur précise n'est pas connue à l'écriture du " "programme). ``Enum`` permet de tels accès ::" -#: library/enum.rst:160 +#: library/enum.rst:161 msgid "If you want to access enum members by *name*, use item access::" msgstr "" "Pour accéder aux membres par leur *nom*, utilisez l'accès par indexation ::" -#: library/enum.rst:167 +#: library/enum.rst:168 msgid "If you have an enum member and need its :attr:`name` or :attr:`value`::" msgstr "Pour obtenir l'attribut :attr:`name` ou :attr:`value` d'un membre ::" -#: library/enum.rst:177 +#: library/enum.rst:178 msgid "Duplicating enum members and values" msgstr "Duplication de membres et de valeurs" -#: library/enum.rst:179 +#: library/enum.rst:180 msgid "Having two enum members with the same name is invalid::" msgstr "" "Il n'est pas possible d'avoir deux membres du même nom dans un *enum* ::" -#: library/enum.rst:189 +#: library/enum.rst:190 msgid "" "However, two enum members are allowed to have the same value. Given two " "members A and B with the same value (and A defined first), B is an alias to " @@ -249,7 +249,7 @@ msgstr "" "Un accès par valeur avec la valeur commune à A et B renverra A. Un accès à B " "par nom renverra aussi A ::" -#: library/enum.rst:209 +#: library/enum.rst:210 msgid "" "Attempting to create a member with the same name as an already defined " "attribute (another member, a method, etc.) or attempting to create an " @@ -259,11 +259,11 @@ msgstr "" "défini (un autre membre, une méthode, etc.) ou de créer un attribut avec le " "nom d'un membre." -#: library/enum.rst:215 +#: library/enum.rst:216 msgid "Ensuring unique enumeration values" msgstr "Coercition d'unicité des valeurs d'une énumération" -#: library/enum.rst:217 +#: library/enum.rst:218 msgid "" "By default, enumerations allow multiple names as aliases for the same value. " "When this behavior isn't desired, the following decorator can be used to " @@ -274,7 +274,7 @@ msgstr "" "décorateur suivant pour s'assurer que chaque valeur n'est utilisée qu'une " "seule fois au sein de l'énumération : ::" -#: library/enum.rst:223 +#: library/enum.rst:224 msgid "" "A :keyword:`class` decorator specifically for enumerations. It searches an " "enumeration's :attr:`__members__` gathering any aliases it finds; if any are " @@ -284,17 +284,17 @@ msgstr "" "l'attribut :attr:`__members__` d'une énumération et recherche des alias ; " "s'il en trouve, l'exception :exc:`ValueError` est levée avec des détails ::" -#: library/enum.rst:241 +#: library/enum.rst:242 msgid "Using automatic values" msgstr "Valeurs automatiques" -#: library/enum.rst:243 +#: library/enum.rst:244 msgid "If the exact value is unimportant you can use :class:`auto`::" msgstr "" "Si la valeur exacte n'a pas d'importance, vous pouvez utiliser :class:" "`auto` ::" -#: library/enum.rst:254 +#: library/enum.rst:255 msgid "" "The values are chosen by :func:`_generate_next_value_`, which can be " "overridden::" @@ -302,7 +302,7 @@ msgstr "" "Les valeurs sont déterminées par :func:`_generate_next_value_`, qui peut " "être redéfinie ::" -#: library/enum.rst:272 +#: library/enum.rst:273 msgid "" "The goal of the default :meth:`_generate_next_value_` methods is to provide " "the next :class:`int` in sequence with the last :class:`int` provided, but " @@ -312,20 +312,20 @@ msgstr "" "`int` suivant de la séquence en fonction du dernier :class:`int` fourni, " "mais la séquence générée dépend de l'implémentation Python." -#: library/enum.rst:278 +#: library/enum.rst:279 msgid "" "The :meth:`_generate_next_value_` method must be defined before any members." msgstr "" -#: library/enum.rst:281 +#: library/enum.rst:282 msgid "Iteration" msgstr "Itération" -#: library/enum.rst:283 +#: library/enum.rst:284 msgid "Iterating over the members of an enum does not provide the aliases::" msgstr "Itérer sur les membres d'une énumération ne parcourt pas les alias ::" -#: library/enum.rst:288 +#: library/enum.rst:289 msgid "" "The special attribute ``__members__`` is a read-only ordered mapping of " "names to members. It includes all names defined in the enumeration, " @@ -335,7 +335,7 @@ msgstr "" "ordonné qui fait correspondre les noms aux membres. Il inclut tous les noms " "définis dans l'énumération, alias compris ::" -#: library/enum.rst:300 +#: library/enum.rst:301 msgid "" "The ``__members__`` attribute can be used for detailed programmatic access " "to the enumeration members. For example, finding all the aliases::" @@ -343,15 +343,15 @@ msgstr "" "L'attribut ``__members__`` peut servir à accéder dynamiquement aux membres " "de l'énumération. Par exemple, pour trouver tous les alias ::" -#: library/enum.rst:308 +#: library/enum.rst:309 msgid "Comparisons" msgstr "Comparaisons" -#: library/enum.rst:310 +#: library/enum.rst:311 msgid "Enumeration members are compared by identity::" msgstr "Les membres d'une énumération sont comparés par identité ::" -#: library/enum.rst:319 +#: library/enum.rst:320 msgid "" "Ordered comparisons between enumeration values are *not* supported. Enum " "members are not integers (but see `IntEnum`_ below)::" @@ -360,11 +360,11 @@ msgstr "" "*pas* ; les membres d'un *enum* ne sont pas des entiers (voir cependant " "`IntEnum`_ ci-dessous) ::" -#: library/enum.rst:327 +#: library/enum.rst:328 msgid "Equality comparisons are defined though::" msgstr "A contrario, les comparaisons d'égalité existent ::" -#: library/enum.rst:336 +#: library/enum.rst:337 msgid "" "Comparisons against non-enumeration values will always compare not equal " "(again, :class:`IntEnum` was explicitly designed to behave differently, see " @@ -374,11 +374,11 @@ msgstr "" "toujours fausses (ici encore, :class:`IntEnum` a été conçue pour fonctionner " "différemment, voir ci-dessous) ::" -#: library/enum.rst:345 +#: library/enum.rst:346 msgid "Allowed members and attributes of enumerations" msgstr "Membres et attributs autorisés dans une énumération" -#: library/enum.rst:347 +#: library/enum.rst:348 msgid "" "The examples above use integers for enumeration values. Using integers is " "short and handy (and provided by default by the `Functional API`_), but not " @@ -393,7 +393,7 @@ msgstr "" "toutefois possible de donner une valeur arbitraire aux énumérations, si " "cette valeur est *vraiment* significative." -#: library/enum.rst:353 +#: library/enum.rst:354 msgid "" "Enumerations are Python classes, and can have methods and special methods as " "usual. If we have this enumeration::" @@ -401,11 +401,11 @@ msgstr "" "Les énumérations sont des classes Python et peuvent donc avoir des méthodes " "et des méthodes spéciales. L'énumération suivante ::" -#: library/enum.rst:373 +#: library/enum.rst:374 msgid "Then::" msgstr "amène ::" -#: library/enum.rst:382 +#: library/enum.rst:383 msgid "" "The rules for what is allowed are as follows: names that start and end with " "a single underscore are reserved by enum and cannot be used; all other " @@ -422,7 +422,7 @@ msgstr "" "méthodes sont aussi des descripteurs) et des noms de variable listés dans :" "attr:`_ignore_`." -#: library/enum.rst:389 +#: library/enum.rst:390 #, fuzzy msgid "" "Note: if your enumeration defines :meth:`__new__` and/or :meth:`__init__` " @@ -433,11 +433,11 @@ msgstr "" "alors la (ou les) valeur affectée au membre sera passée à ces méthodes. Voir " "l'exemple de `Planet`_." -#: library/enum.rst:395 +#: library/enum.rst:396 msgid "Restricted Enum subclassing" msgstr "Restrictions sur l'héritage" -#: library/enum.rst:397 +#: library/enum.rst:398 msgid "" "A new :class:`Enum` class must have one base Enum class, up to one concrete " "data type, and as many :class:`object`-based mixin classes as needed. The " @@ -448,7 +448,7 @@ msgstr "" "class:`object`) que nécessaire. L'ordre de ces classes de base est le " "suivant ::" -#: library/enum.rst:404 +#: library/enum.rst:405 msgid "" "Also, subclassing an enumeration is allowed only if the enumeration does not " "define any members. So this is forbidden::" @@ -456,11 +456,11 @@ msgstr "" "Hériter d'une énumération n'est permis que si cette énumération ne définit " "aucun membre. Le code suivant n'est pas autorisé ::" -#: library/enum.rst:414 +#: library/enum.rst:415 msgid "But this is allowed::" msgstr "Mais celui-ci est correct ::" -#: library/enum.rst:425 +#: library/enum.rst:426 msgid "" "Allowing subclassing of enums that define members would lead to a violation " "of some important invariants of types and instances. On the other hand, it " @@ -472,15 +472,15 @@ msgstr "" "d'autoriser un groupe d'énumérations à partager un comportement commun (voir " "par exemple `OrderedEnum`_)." -#: library/enum.rst:432 +#: library/enum.rst:433 msgid "Pickling" msgstr "Sérialisation" -#: library/enum.rst:434 +#: library/enum.rst:435 msgid "Enumerations can be pickled and unpickled::" msgstr "Les énumérations peuvent être sérialisées et déserialisées ::" -#: library/enum.rst:441 +#: library/enum.rst:442 msgid "" "The usual restrictions for pickling apply: picklable enums must be defined " "in the top level of a module, since unpickling requires them to be " @@ -491,7 +491,7 @@ msgstr "" "module car la déserialisation nécessite que ces *enums* puissent être " "importés depuis ce module." -#: library/enum.rst:447 +#: library/enum.rst:448 msgid "" "With pickle protocol version 4 it is possible to easily pickle enums nested " "in other classes." @@ -499,7 +499,7 @@ msgstr "" "Depuis la version 4 du protocole de *pickle*, il est possible de sérialiser " "facilement des *enums* imbriqués dans d'autres classes." -#: library/enum.rst:450 +#: library/enum.rst:451 msgid "" "It is possible to modify how Enum members are pickled/unpickled by defining :" "meth:`__reduce_ex__` in the enumeration class." @@ -507,17 +507,17 @@ msgstr "" "Redéfinir la méthode :meth:`__reduce_ex__` permet de modifier la " "sérialisation ou la dé-sérialisation des membres d'une énumération." -#: library/enum.rst:455 +#: library/enum.rst:456 msgid "Functional API" msgstr "API par fonction" -#: library/enum.rst:457 +#: library/enum.rst:458 msgid "" "The :class:`Enum` class is callable, providing the following functional API::" msgstr "" "La :class:`Enum` est appelable et implémente l'API par fonction suivante ::" -#: library/enum.rst:469 +#: library/enum.rst:470 msgid "" "The semantics of this API resemble :class:`~collections.namedtuple`. The " "first argument of the call to :class:`Enum` is the name of the enumeration." @@ -525,7 +525,7 @@ msgstr "" "La sémantique de cette API est similaire à :class:`~collections.namedtuple`. " "Le premier argument de l'appel à :class:`Enum` est le nom de l'énumération." -#: library/enum.rst:472 +#: library/enum.rst:473 msgid "" "The second argument is the *source* of enumeration member names. It can be " "a whitespace-separated string of names, a sequence of names, a sequence of 2-" @@ -546,7 +546,7 @@ msgstr "" "départ). Ceci renvoie une nouvelle classe dérivée de :class:`Enum`. En " "d'autres termes, la déclaration de :class:`Animal` ci-dessus équivaut à ::" -#: library/enum.rst:488 +#: library/enum.rst:489 msgid "" "The reason for defaulting to ``1`` as the starting number and not ``0`` is " "that ``0`` is ``False`` in a boolean sense, but enum members all evaluate to " @@ -556,7 +556,7 @@ msgstr "" "booléen vaut ``False`` alors que tous les membres d'une *enum* valent " "``True``." -#: library/enum.rst:492 +#: library/enum.rst:493 msgid "" "Pickling enums created with the functional API can be tricky as frame stack " "implementation details are used to try and figure out which module the " @@ -572,7 +572,7 @@ msgstr "" "Jython). La solution consiste à préciser explicitement le nom du module " "comme ceci ::" -#: library/enum.rst:502 +#: library/enum.rst:503 msgid "" "If ``module`` is not supplied, and Enum cannot determine what it is, the new " "Enum members will not be unpicklable; to keep errors closer to the source, " @@ -582,7 +582,7 @@ msgstr "" "nouveaux membres de *l'Enum* ne seront pas déserialisables ; pour garder les " "erreurs au plus près de leur origine, la sérialisation sera désactivée." -#: library/enum.rst:506 +#: library/enum.rst:507 msgid "" "The new pickle protocol 4 also, in some circumstances, relies on :attr:" "`~definition.__qualname__` being set to the location where pickle will be " @@ -595,7 +595,7 @@ msgstr "" "disponible depuis la classe *SomeData* dans l'espace de nom de plus haut " "niveau ::" -#: library/enum.rst:513 +#: library/enum.rst:514 msgid "The complete signature is::" msgstr "La signature complète est la suivante ::" @@ -603,7 +603,7 @@ msgstr "La signature complète est la suivante ::" msgid "value" msgstr "value" -#: library/enum.rst:517 +#: library/enum.rst:518 msgid "What the new Enum class will record as its name." msgstr "Le nom de la la nouvelle classe *Enum*." @@ -611,7 +611,7 @@ msgstr "Le nom de la la nouvelle classe *Enum*." msgid "names" msgstr "names" -#: library/enum.rst:519 +#: library/enum.rst:520 msgid "" "The Enum members. This can be a whitespace or comma separated string " "(values will start at 1 unless otherwise specified)::" @@ -620,15 +620,15 @@ msgstr "" "espaces ou des virgules (la valeur de départ est fixée à 1, sauf si " "spécifiée autrement) ::" -#: library/enum.rst:524 +#: library/enum.rst:525 msgid "or an iterator of names::" msgstr "ou un itérateur sur les noms ::" -#: library/enum.rst:528 +#: library/enum.rst:529 msgid "or an iterator of (name, value) pairs::" msgstr "ou un itérateur sur les tuples (nom, valeur) ::" -#: library/enum.rst:532 +#: library/enum.rst:533 msgid "or a mapping::" msgstr "ou une correspondance ::" @@ -636,7 +636,7 @@ msgstr "ou une correspondance ::" msgid "module" msgstr "module" -#: library/enum.rst:536 +#: library/enum.rst:537 msgid "name of module where new Enum class can be found." msgstr "nom du module dans lequel la classe *Enum* se trouve." @@ -644,7 +644,7 @@ msgstr "nom du module dans lequel la classe *Enum* se trouve." msgid "qualname" msgstr "qualname" -#: library/enum.rst:538 +#: library/enum.rst:539 msgid "where in module new Enum class can be found." msgstr "localisation de la nouvelle classe *Enum* dans le module." @@ -652,7 +652,7 @@ msgstr "localisation de la nouvelle classe *Enum* dans le module." msgid "type" msgstr "type" -#: library/enum.rst:540 +#: library/enum.rst:541 msgid "type to mix in to new Enum class." msgstr "le type à mélanger dans la nouvelle classe *Enum*." @@ -660,23 +660,23 @@ msgstr "le type à mélanger dans la nouvelle classe *Enum*." msgid "start" msgstr "start" -#: library/enum.rst:542 +#: library/enum.rst:543 msgid "number to start counting at if only names are passed in." msgstr "index de départ si uniquement des noms sont passés." -#: library/enum.rst:544 +#: library/enum.rst:545 msgid "The *start* parameter was added." msgstr "Ajout du paramètre *start*." -#: library/enum.rst:549 +#: library/enum.rst:550 msgid "Derived Enumerations" msgstr "Énumérations dérivées" -#: library/enum.rst:552 +#: library/enum.rst:553 msgid "IntEnum" msgstr "IntEnum" -#: library/enum.rst:554 +#: library/enum.rst:555 msgid "" "The first variation of :class:`Enum` that is provided is also a subclass of :" "class:`int`. Members of an :class:`IntEnum` can be compared to integers; by " @@ -688,7 +688,7 @@ msgstr "" "comparés à des entiers et, par extension, les comparaisons entre des " "énumérations entières de type différent sont possibles ::" -#: library/enum.rst:575 +#: library/enum.rst:576 msgid "" "However, they still can't be compared to standard :class:`Enum` " "enumerations::" @@ -696,18 +696,18 @@ msgstr "" "Elles ne peuvent cependant toujours pas être comparées à des énumérations " "standards de :class:`Enum` ::" -#: library/enum.rst:588 +#: library/enum.rst:589 msgid "" ":class:`IntEnum` values behave like integers in other ways you'd expect::" msgstr "" "Les valeurs de :class:`IntEnum` se comportent comme des entiers, comme on " "pouvait s'y attendre ::" -#: library/enum.rst:599 +#: library/enum.rst:600 msgid "IntFlag" msgstr "IntFlag" -#: library/enum.rst:601 +#: library/enum.rst:602 msgid "" "The next variation of :class:`Enum` provided, :class:`IntFlag`, is also " "based on :class:`int`. The difference being :class:`IntFlag` members can be " @@ -727,15 +727,15 @@ msgstr "" "`IntFlag`, autre qu'un opérateur bit-à-bit lui fait perdre sa qualité de :" "class:`IntFlag`." -#: library/enum.rst:611 +#: library/enum.rst:612 msgid "Sample :class:`IntFlag` class::" msgstr "Exemple d'une classe :class:`IntFlag` ::" -#: library/enum.rst:627 +#: library/enum.rst:628 msgid "It is also possible to name the combinations::" msgstr "Il est aussi possible de nommer les combinaisons ::" -#: library/enum.rst:639 +#: library/enum.rst:640 msgid "" "Another important difference between :class:`IntFlag` and :class:`Enum` is " "that if no flags are set (the value is 0), its boolean evaluation is :data:" @@ -745,7 +745,7 @@ msgstr "" "que, si aucune option n'est activée (la valeur vaut 0), son évaluation " "booléenne est :data:`False` ::" -#: library/enum.rst:647 +#: library/enum.rst:648 msgid "" "Because :class:`IntFlag` members are also subclasses of :class:`int` they " "can be combined with them::" @@ -753,11 +753,11 @@ msgstr "" "Comme les membres d'une classe :class:`IntFlag` héritent aussi de :class:" "`int`, ils peuvent être combinés avec eux ::" -#: library/enum.rst:655 +#: library/enum.rst:656 msgid "Flag" msgstr "Option" -#: library/enum.rst:657 +#: library/enum.rst:658 msgid "" "The last variation is :class:`Flag`. Like :class:`IntFlag`, :class:`Flag` " "members can be combined using the bitwise operators (&, \\|, ^, ~). Unlike :" @@ -775,7 +775,7 @@ msgstr "" "recommandé d'utiliser :class:`auto` comme valeur et de laisser :class:`Flag` " "choisir une valeur appropriée." -#: library/enum.rst:666 +#: library/enum.rst:667 msgid "" "Like :class:`IntFlag`, if a combination of :class:`Flag` members results in " "no flags being set, the boolean evaluation is :data:`False`::" @@ -784,7 +784,7 @@ msgstr "" "class:`Flag` n'active aucune option, l'évaluation booléenne de la " "comparaison est :data:`False` ::" -#: library/enum.rst:680 +#: library/enum.rst:681 msgid "" "Individual flags should have values that are powers of two (1, 2, 4, " "8, ...), while combinations of flags won't::" @@ -792,7 +792,7 @@ msgstr "" "Les options de base doivent avoir des puissances de deux pour valeurs (1, 2, " "4, 8, ...) mais pas les combinaisons ::" -#: library/enum.rst:692 +#: library/enum.rst:693 msgid "" "Giving a name to the \"no flags set\" condition does not change its boolean " "value::" @@ -800,7 +800,7 @@ msgstr "" "Donner un nom à la valeur « aucune option activée » ne change pas sa valeur " "booléenne ::" -#: library/enum.rst:708 +#: library/enum.rst:709 msgid "" "For the majority of new code, :class:`Enum` and :class:`Flag` are strongly " "recommended, since :class:`IntEnum` and :class:`IntFlag` break some semantic " @@ -819,11 +819,11 @@ msgstr "" "pas ; par exemple quand des constantes entières sont remplacées par des " "énumérations, ou pour l’interopérabilité avec d'autres systèmes." -#: library/enum.rst:718 +#: library/enum.rst:719 msgid "Others" msgstr "Autres" -#: library/enum.rst:720 +#: library/enum.rst:721 msgid "" "While :class:`IntEnum` is part of the :mod:`enum` module, it would be very " "simple to implement independently::" @@ -831,7 +831,7 @@ msgstr "" "Bien que :class:`IntEnum` fasse partie du module :mod:`enum`, elle serait " "très simple à implémenter hors de ce module ::" -#: library/enum.rst:726 +#: library/enum.rst:727 msgid "" "This demonstrates how similar derived enumerations can be defined; for " "example a :class:`StrEnum` that mixes in :class:`str` instead of :class:" @@ -841,11 +841,11 @@ msgstr "" "exemple une classe :class:`StrEnum` qui dériverait de :class:`str` au lieu " "de :class:`int`." -#: library/enum.rst:729 +#: library/enum.rst:730 msgid "Some rules:" msgstr "Quelques règles :" -#: library/enum.rst:731 +#: library/enum.rst:732 msgid "" "When subclassing :class:`Enum`, mix-in types must appear before :class:" "`Enum` itself in the sequence of bases, as in the :class:`IntEnum` example " @@ -855,7 +855,7 @@ msgstr "" "avant la classe :class:`Enum` elle-même dans la liste des classes de base, " "comme dans l'exemple de :class:`IntEnum` ci-dessus." -#: library/enum.rst:734 +#: library/enum.rst:735 #, fuzzy msgid "" "While :class:`Enum` can have members of any type, once you mix in an " @@ -869,7 +869,7 @@ msgstr "" "s'applique pas aux types de mélange qui ne font qu'ajouter des méthodes et " "ne définissent pas de type de données, tels :class:`int` ou :class:`str`. " -#: library/enum.rst:738 +#: library/enum.rst:739 msgid "" "When another data type is mixed in, the :attr:`value` attribute is *not the " "same* as the enum member itself, although it is equivalent and will compare " @@ -879,7 +879,7 @@ msgstr "" "*pas* identique au membre de l'énumération lui-même, bien qu'ils soient " "équivalents et égaux en comparaison." -#: library/enum.rst:741 +#: library/enum.rst:742 msgid "" "%-style formatting: `%s` and `%r` call the :class:`Enum` class's :meth:" "`__str__` and :meth:`__repr__` respectively; other codes (such as `%i` or `" @@ -890,7 +890,7 @@ msgstr "" "codes, comme `%i` ou `%h` pour *IntEnum*, s'appliquent au membre comme si " "celui-ci était converti en son type de mélange." -#: library/enum.rst:744 +#: library/enum.rst:745 #, fuzzy msgid "" ":ref:`Formatted string literals `, :meth:`str.format`, and :func:" @@ -905,18 +905,18 @@ msgstr "" "mélange. Pour appeler les fonctions :func:`str` ou :func:`repr` de la " "classe :class:`Enum`, il faut utiliser les codes de formatage `!s` ou `!r`." -#: library/enum.rst:752 +#: library/enum.rst:753 msgid "When to use :meth:`__new__` vs. :meth:`__init__`" msgstr "Quand utiliser :meth:`__new__` ou :meth:`__init__`" -#: library/enum.rst:754 +#: library/enum.rst:755 msgid "" ":meth:`__new__` must be used whenever you want to customize the actual value " "of the :class:`Enum` member. Any other modifications may go in either :meth:" "`__new__` or :meth:`__init__`, with :meth:`__init__` being preferred." msgstr "" -#: library/enum.rst:758 +#: library/enum.rst:759 msgid "" "For example, if you want to pass several items to the constructor, but only " "want one of them to be the value::" @@ -924,11 +924,11 @@ msgstr "" "Par exemple, si vous voulez passer plusieurs éléments au constructeur, mais " "qu'un seul d'entre eux soit la valeur ::" -#: library/enum.rst:784 +#: library/enum.rst:785 msgid "Interesting examples" msgstr "Exemples intéressants" -#: library/enum.rst:786 +#: library/enum.rst:787 msgid "" "While :class:`Enum`, :class:`IntEnum`, :class:`IntFlag`, and :class:`Flag` " "are expected to cover the majority of use-cases, they cannot cover them " @@ -941,11 +941,11 @@ msgstr "" "réutilisées telles quelles, ou peuvent servir d'exemple pour développer vos " "propres énumérations." -#: library/enum.rst:793 +#: library/enum.rst:794 msgid "Omitting values" msgstr "Omettre les valeurs" -#: library/enum.rst:795 +#: library/enum.rst:796 msgid "" "In many use-cases one doesn't care what the actual value of an enumeration " "is. There are several ways to define this type of simple enumeration:" @@ -954,19 +954,19 @@ msgstr "" "d'importance. Il y a plusieurs façons de définir ce type d'énumération " "simple :" -#: library/enum.rst:798 +#: library/enum.rst:799 msgid "use instances of :class:`auto` for the value" msgstr "affecter des instances de :class:`auto` aux valeurs" -#: library/enum.rst:799 +#: library/enum.rst:800 msgid "use instances of :class:`object` as the value" msgstr "affecter des instances de :class:`object` aux valeurs" -#: library/enum.rst:800 +#: library/enum.rst:801 msgid "use a descriptive string as the value" msgstr "affecter des chaînes de caractères aux valeurs pour les décrire" -#: library/enum.rst:801 +#: library/enum.rst:802 msgid "" "use a tuple as the value and a custom :meth:`__new__` to replace the tuple " "with an :class:`int` value" @@ -974,7 +974,7 @@ msgstr "" "affecter un n-uplet aux valeurs et définir une méthode :meth:`__new__` pour " "remplacer les n-uplets avec un :class:`int`" -#: library/enum.rst:804 +#: library/enum.rst:805 msgid "" "Using any of these methods signifies to the user that these values are not " "important, and also enables one to add, remove, or reorder members without " @@ -984,7 +984,7 @@ msgstr "" "pas d'importance. Cela permet aussi d'ajouter, de supprimer ou de ré-" "ordonner les membres sans avoir à ré-énumérer les membres existants." -#: library/enum.rst:808 +#: library/enum.rst:809 msgid "" "Whichever method you choose, you should provide a :meth:`repr` that also " "hides the (unimportant) value::" @@ -992,41 +992,41 @@ msgstr "" "Quelle que soit la méthode choisie, il faut fournir une méthode :meth:`repr` " "qui masque les valeurs (pas importantes de toute façon) ::" -#: library/enum.rst:818 +#: library/enum.rst:819 msgid "Using :class:`auto`" msgstr "Avec :class:`auto`" -#: library/enum.rst:820 +#: library/enum.rst:821 msgid "Using :class:`auto` would look like::" msgstr "On utilise :class:`auto` de la manière suivante ::" -#: library/enum.rst:832 +#: library/enum.rst:833 msgid "Using :class:`object`" msgstr "Avec :class:`object`" -#: library/enum.rst:834 +#: library/enum.rst:835 msgid "Using :class:`object` would look like::" msgstr "On utilise :class:`object` de la manière suivante ::" -#: library/enum.rst:846 +#: library/enum.rst:847 msgid "Using a descriptive string" msgstr "Avec une chaîne de caractères de description" -#: library/enum.rst:848 +#: library/enum.rst:849 msgid "Using a string as the value would look like::" msgstr "On utilise une chaîne de caractères de la manière suivante ::" -#: library/enum.rst:862 +#: library/enum.rst:863 msgid "Using a custom :meth:`__new__`" msgstr "Avec une méthode ad-hoc :meth:`__new__`" -#: library/enum.rst:864 +#: library/enum.rst:865 msgid "Using an auto-numbering :meth:`__new__` would look like::" msgstr "" "On utilise une méthode :meth:`__new__` d'énumération de la manière " "suivante ::" -#: library/enum.rst:886 +#: library/enum.rst:887 msgid "" "The :meth:`__new__` method, if defined, is used during creation of the Enum " "members; it is then replaced by Enum's :meth:`__new__` which is used after " @@ -1037,11 +1037,11 @@ msgstr "" "`__new__` de *Enum*, qui est utilisée après la création de la classe pour la " "recherche des membres existants." -#: library/enum.rst:892 +#: library/enum.rst:893 msgid "OrderedEnum" msgstr "OrderedEnum" -#: library/enum.rst:894 +#: library/enum.rst:895 msgid "" "An ordered enumeration that is not based on :class:`IntEnum` and so " "maintains the normal :class:`Enum` invariants (such as not being comparable " @@ -1052,18 +1052,18 @@ msgstr "" "par exemple l'impossibilité de pouvoir être comparée à d'autres " "énumérations) ::" -#: library/enum.rst:928 +#: library/enum.rst:929 msgid "DuplicateFreeEnum" msgstr "DuplicateFreeEnum" -#: library/enum.rst:930 +#: library/enum.rst:931 msgid "" "Raises an error if a duplicate member name is found instead of creating an " "alias::" msgstr "" "Lève une erreur si un membre est dupliqué, plutôt que de créer un alias ::" -#: library/enum.rst:955 +#: library/enum.rst:956 msgid "" "This is a useful example for subclassing Enum to add or change other " "behaviors as well as disallowing aliases. If the only desired change is " @@ -1073,11 +1073,11 @@ msgstr "" "des comportements comme interdire les alias. Si vous ne souhaitez " "qu'interdire les alias, il suffit d'utiliser le décorateur :func:`unique`." -#: library/enum.rst:961 +#: library/enum.rst:962 msgid "Planet" msgstr "Planet" -#: library/enum.rst:963 +#: library/enum.rst:964 msgid "" "If :meth:`__new__` or :meth:`__init__` is defined the value of the enum " "member will be passed to those methods::" @@ -1085,19 +1085,19 @@ msgstr "" "Si :meth:`__new__` ou :meth:`__init__` sont définies, la valeur du membre de " "l'énumération sera passée à ces méthodes ::" -#: library/enum.rst:991 +#: library/enum.rst:992 msgid "TimePeriod" msgstr "TimePeriod" -#: library/enum.rst:993 +#: library/enum.rst:994 msgid "An example to show the :attr:`_ignore_` attribute in use::" msgstr "Exemple d'utilisation de l'attribut :attr:`_ignore_` ::" -#: library/enum.rst:1010 +#: library/enum.rst:1011 msgid "How are Enums different?" msgstr "En quoi les *Enums* sont différentes ?" -#: library/enum.rst:1012 +#: library/enum.rst:1013 msgid "" "Enums have a custom metaclass that affects many aspects of both derived Enum " "classes and their instances (members)." @@ -1105,11 +1105,11 @@ msgstr "" "Les *enums* ont une métaclasse spéciale qui affecte de nombreux aspects des " "classes dérivées de *Enum* et de leur instances (membres)." -#: library/enum.rst:1017 +#: library/enum.rst:1018 msgid "Enum Classes" msgstr "Classes *Enum*" -#: library/enum.rst:1019 +#: library/enum.rst:1020 msgid "" "The :class:`EnumMeta` metaclass is responsible for providing the :meth:" "`__contains__`, :meth:`__dir__`, :meth:`__iter__` and other methods that " @@ -1127,11 +1127,11 @@ msgstr "" "finale :class:`Enum` sont correctes (comme :meth:`__new__`, :meth:" "`__getnewargs__`, :meth:`__str__` et :meth:`__repr__`)." -#: library/enum.rst:1029 +#: library/enum.rst:1030 msgid "Enum Members (aka instances)" msgstr "Membres d'Enum (c.-à-d. instances)" -#: library/enum.rst:1031 +#: library/enum.rst:1032 msgid "" "The most interesting thing about Enum members is that they are singletons. :" "class:`EnumMeta` creates them all while it is creating the :class:`Enum` " @@ -1146,15 +1146,15 @@ msgstr "" "membres déjà existantes pour être sûr de ne jamais en instancier de " "nouvelles." -#: library/enum.rst:1039 +#: library/enum.rst:1040 msgid "Finer Points" msgstr "Aspects approfondis" -#: library/enum.rst:1042 +#: library/enum.rst:1043 msgid "Supported ``__dunder__`` names" msgstr "Noms de la forme ``__dunder__`` disponibles" -#: library/enum.rst:1044 +#: library/enum.rst:1045 msgid "" ":attr:`__members__` is a read-only ordered mapping of ``member_name``:" "``member`` items. It is only available on the class." @@ -1162,7 +1162,7 @@ msgstr "" ":attr:`__members__` est un dictionnaire en lecture seule ordonné d'éléments " "``nom_du_membre`` / ``membre``. Il n'est disponible que depuis la classe." -#: library/enum.rst:1047 +#: library/enum.rst:1048 msgid "" ":meth:`__new__`, if specified, must create and return the enum members; it " "is also a very good idea to set the member's :attr:`_value_` appropriately. " @@ -1173,22 +1173,22 @@ msgstr "" "du membre est également conseillé. Une fois que tous les membres ont été " "créés, cette méthode n'est plus utilisée." -#: library/enum.rst:1053 +#: library/enum.rst:1054 msgid "Supported ``_sunder_`` names" msgstr "Noms de la forme ``_sunder_`` disponibles" -#: library/enum.rst:1055 +#: library/enum.rst:1056 msgid "``_name_`` -- name of the member" msgstr "``_name_`` -- nom du membre" -#: library/enum.rst:1056 +#: library/enum.rst:1057 msgid "" "``_value_`` -- value of the member; can be set / modified in ``__new__``" msgstr "" "``_value_`` -- valeur du membre ; il est possible d'y accéder ou de la muer " "dans ``__new__``" -#: library/enum.rst:1058 +#: library/enum.rst:1059 msgid "" "``_missing_`` -- a lookup function used when a value is not found; may be " "overridden" @@ -1196,7 +1196,7 @@ msgstr "" "``_missing_`` -- une fonction de recherche qui est appelée quand la valeur " "n'est pas trouvée ; elle peut être redéfinie" -#: library/enum.rst:1060 +#: library/enum.rst:1061 #, fuzzy msgid "" "``_ignore_`` -- a list of names, either as a :class:`list` or a :class:" @@ -1207,7 +1207,7 @@ msgstr "" "`str`, qui ne seront pas transformés en membres, et seront supprimés de la " "classe résultante" -#: library/enum.rst:1063 +#: library/enum.rst:1064 msgid "" "``_order_`` -- used in Python 2/3 code to ensure member order is consistent " "(class attribute, removed during class creation)" @@ -1216,7 +1216,7 @@ msgstr "" "membres est cohérent (attribut de classe, supprimé durant la création de la " "classe)" -#: library/enum.rst:1065 +#: library/enum.rst:1066 msgid "" "``_generate_next_value_`` -- used by the `Functional API`_ and by :class:" "`auto` to get an appropriate value for an enum member; may be overridden" @@ -1225,15 +1225,15 @@ msgstr "" "class:`auto` pour obtenir une valeur appropriée à affecter à un membre de " "*l'enum* ; elle peut être redéfinie" -#: library/enum.rst:1069 +#: library/enum.rst:1070 msgid "``_missing_``, ``_order_``, ``_generate_next_value_``" msgstr "``_missing_``, ``_order_``, ``_generate_next_value_``" -#: library/enum.rst:1070 +#: library/enum.rst:1071 msgid "``_ignore_``" msgstr "``_ignore_``" -#: library/enum.rst:1072 +#: library/enum.rst:1073 msgid "" "To help keep Python 2 / Python 3 code in sync an :attr:`_order_` attribute " "can be provided. It will be checked against the actual order of the " @@ -1243,7 +1243,7 @@ msgstr "" "`_order_` peut être défini. Il sera comparé au véritable ordre de " "l'énumération et lève une erreur si les deux ne correspondent pas ::" -#: library/enum.rst:1088 +#: library/enum.rst:1089 msgid "" "In Python 2 code the :attr:`_order_` attribute is necessary as definition " "order is lost before it can be recorded." @@ -1251,11 +1251,11 @@ msgstr "" "En Python 2, l'attribut :attr:`_order_` est indispensable car l'ordre de la " "définition est perdu avant de pouvoir être enregistré." -#: library/enum.rst:1092 +#: library/enum.rst:1093 msgid "``Enum`` member type" msgstr "Type des membres de ``Enum``" -#: library/enum.rst:1094 +#: library/enum.rst:1095 msgid "" ":class:`Enum` members are instances of their :class:`Enum` class, and are " "normally accessed as ``EnumClass.member``. Under certain circumstances they " @@ -1272,11 +1272,11 @@ msgstr "" "(c'est une autre bonne raison pour définir tous les noms des membres en " "majuscules) ::" -#: library/enum.rst:1115 +#: library/enum.rst:1116 msgid "Boolean value of ``Enum`` classes and members" msgstr "Valeur booléenne des classes ``Enum`` et de leurs membres" -#: library/enum.rst:1117 +#: library/enum.rst:1118 msgid "" ":class:`Enum` members that are mixed with non-:class:`Enum` types (such as :" "class:`int`, :class:`str`, etc.) are evaluated according to the mixed-in " @@ -1290,15 +1290,15 @@ msgstr "" "faire dépendre l'évaluation booléenne de votre propre *Enum* de la valeur du " "membre, il faut ajouter le code suivant à votre classe ::" -#: library/enum.rst:1126 +#: library/enum.rst:1127 msgid ":class:`Enum` classes always evaluate as :data:`True`." msgstr "Les classes :class:`Enum` valent toujours :data:`True`." -#: library/enum.rst:1130 +#: library/enum.rst:1131 msgid "``Enum`` classes with methods" msgstr "Classes ``Enum`` avec des méthodes" -#: library/enum.rst:1132 +#: library/enum.rst:1133 msgid "" "If you give your :class:`Enum` subclass extra methods, like the `Planet`_ " "class above, those methods will show up in a :func:`dir` of the member, but " @@ -1308,11 +1308,11 @@ msgstr "" "la classe `Planet`_ ci-dessus, elles s'afficheront avec un appel à :func:" "`dir` sur le membre, mais pas avec un appel sur la classe ::" -#: library/enum.rst:1143 +#: library/enum.rst:1144 msgid "Combining members of ``Flag``" msgstr "Combinaison de membres de ``Flag``" -#: library/enum.rst:1145 +#: library/enum.rst:1146 msgid "" "If a combination of Flag members is not named, the :func:`repr` will include " "all named flags and all named combinations of flags that are in the value::" diff --git a/library/errno.po b/library/errno.po index 65c41e17..8fbcdbf3 100644 --- a/library/errno.po +++ b/library/errno.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-11 12:59+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-10 15:48+0200\n" "Last-Translator: Dylan Gouin \n" "Language-Team: FRENCH \n" diff --git a/library/exceptions.po b/library/exceptions.po index 8d1750f1..99c0a378 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-30 23:32+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/faulthandler.po b/library/faulthandler.po index 0997063e..8efa6fe3 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/fcntl.po b/library/fcntl.po index b58c7d77..fd4d1271 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-10 00:59+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/filecmp.po b/library/filecmp.po index a41c1b3a..e9e81bce 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-04-07 11:17+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-23 20:39+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/fileformats.po b/library/fileformats.po index 51a8a3a0..b3450fe9 100644 --- a/library/fileformats.po +++ b/library/fileformats.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-09-24 21:35+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/fileinput.po b/library/fileinput.po index f17e4f21..5abdbfb3 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/filesys.po b/library/filesys.po index 146520fb..ec138748 100644 --- a/library/filesys.po +++ b/library/filesys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 11:33+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/fnmatch.po b/library/fnmatch.po index b079ca2c..46133761 100644 --- a/library/fnmatch.po +++ b/library/fnmatch.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-21 17:34+0100\n" "Last-Translator: Julien VITARD \n" "Language-Team: FRENCH \n" diff --git a/library/formatter.po b/library/formatter.po index 93863cbc..04e2d4fc 100644 --- a/library/formatter.po +++ b/library/formatter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/fractions.po b/library/fractions.po index 458fff4d..3c101669 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 11:32+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/frameworks.po b/library/frameworks.po index 061ce0c0..c04813c0 100644 --- a/library/frameworks.po +++ b/library/frameworks.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-07 22:57+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/ftplib.po b/library/ftplib.po index b0786896..582a0b61 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/functional.po b/library/functional.po index 4df443e9..617de83b 100644 --- a/library/functional.po +++ b/library/functional.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:43+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/functions.po b/library/functions.po index 50b64399..ca921aa0 100644 --- a/library/functions.po +++ b/library/functions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-17 14:15+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" @@ -1914,14 +1914,16 @@ msgstr "" "préfixe ``0o``, vous pouvez utiliser l'une des méthodes suivantes." #: library/functions.rst:1043 +#, fuzzy msgid "" "Open *file* and return a corresponding :term:`file object`. If the file " -"cannot be opened, an :exc:`OSError` is raised." +"cannot be opened, an :exc:`OSError` is raised. See :ref:`tut-files` for more " +"examples of how to use this function." msgstr "" "Ouvre *file* et donne un :term:`objet fichier ` correspondant. " "Si le fichier ne peut pas être ouvert, une :exc:`OSError` est levée." -#: library/functions.rst:1046 +#: library/functions.rst:1047 msgid "" "*file* is a :term:`path-like object` giving the pathname (absolute or " "relative to the current working directory) of the file to be opened or an " @@ -1935,7 +1937,7 @@ msgstr "" "descripteur de fichier est donné, il sera fermé en même temps que l'objet *I/" "O* renvoyé, sauf si *closefd* est mis à ``False``.)" -#: library/functions.rst:1052 +#: library/functions.rst:1053 msgid "" "*mode* is an optional string that specifies the mode in which the file is " "opened. It defaults to ``'r'`` which means open for reading in text mode. " @@ -1961,71 +1963,71 @@ msgstr "" "utilisez le mode binaire en laissant *encoding* non spécifié.) Les modes " "disponibles sont :" -#: library/functions.rst:1069 +#: library/functions.rst:1070 msgid "Character" msgstr "Caractère" -#: library/functions.rst:1069 +#: library/functions.rst:1070 msgid "Meaning" msgstr "Signification" -#: library/functions.rst:1071 +#: library/functions.rst:1072 msgid "``'r'``" msgstr "``'r'``" -#: library/functions.rst:1071 +#: library/functions.rst:1072 msgid "open for reading (default)" msgstr "ouvre en lecture (par défaut)" -#: library/functions.rst:1072 +#: library/functions.rst:1073 msgid "``'w'``" msgstr "``'w'``" -#: library/functions.rst:1072 +#: library/functions.rst:1073 msgid "open for writing, truncating the file first" msgstr "ouvre en écriture, tronquant le fichier" -#: library/functions.rst:1073 +#: library/functions.rst:1074 msgid "``'x'``" msgstr "``'x'``" -#: library/functions.rst:1073 +#: library/functions.rst:1074 msgid "open for exclusive creation, failing if the file already exists" msgstr "ouvre pour une création exclusive, échouant si le fichier existe déjà" -#: library/functions.rst:1074 +#: library/functions.rst:1075 msgid "``'a'``" msgstr "``'a'``" -#: library/functions.rst:1074 +#: library/functions.rst:1075 msgid "open for writing, appending to the end of the file if it exists" msgstr "ouvre en écriture, ajoutant à la fin du fichier s'il existe" -#: library/functions.rst:1075 +#: library/functions.rst:1076 msgid "``'b'``" msgstr "``'b'``" -#: library/functions.rst:1075 +#: library/functions.rst:1076 msgid "binary mode" msgstr "mode binaire" -#: library/functions.rst:1076 +#: library/functions.rst:1077 msgid "``'t'``" msgstr "``'t'``" -#: library/functions.rst:1076 +#: library/functions.rst:1077 msgid "text mode (default)" msgstr "mode texte (par défaut)" -#: library/functions.rst:1077 +#: library/functions.rst:1078 msgid "``'+'``" msgstr "``'+'``" -#: library/functions.rst:1077 +#: library/functions.rst:1078 msgid "open for updating (reading and writing)" msgstr "ouvre en modification (lecture et écriture)" -#: library/functions.rst:1080 +#: library/functions.rst:1081 #, fuzzy msgid "" "The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``). " @@ -2036,7 +2038,7 @@ msgstr "" "``'rt'``). Les modes ``'w+'`` et ``'w+b'`` ouvrent et vident le fichier. Les " "modes ``'r+'`` et ``'r+b'`` ouvrent le fichier sans le vider." -#: library/functions.rst:1084 +#: library/functions.rst:1085 msgid "" "As mentioned in the :ref:`io-overview`, Python distinguishes between binary " "and text I/O. Files opened in binary mode (including ``'b'`` in the *mode* " @@ -2054,7 +2056,7 @@ msgstr "" "octets ayant été décodés au préalable en utilisant un encodage déduit de " "l'environnement ou *encoding* s'il est donné." -#: library/functions.rst:1092 +#: library/functions.rst:1093 msgid "" "There is an additional mode character permitted, ``'U'``, which no longer " "has any effect, and is considered deprecated. It previously enabled :term:" @@ -2069,7 +2071,7 @@ msgstr "" "documentation du paramètre :ref:`newline ` pour plus " "de détails." -#: library/functions.rst:1100 +#: library/functions.rst:1101 msgid "" "Python doesn't depend on the underlying operating system's notion of text " "files; all the processing is done by Python itself, and is therefore " @@ -2079,7 +2081,7 @@ msgstr "" "jacent, tout le traitement est effectué par Python lui-même, et est ainsi " "indépendant de la plateforme." -#: library/functions.rst:1104 +#: library/functions.rst:1105 msgid "" "*buffering* is an optional integer used to set the buffering policy. Pass 0 " "to switch buffering off (only allowed in binary mode), 1 to select line " @@ -2094,7 +2096,7 @@ msgstr "" "en octets d'un tampon de taille fixe. Sans l'argument *buffering*, les " "comportements par défaut sont les suivants :" -#: library/functions.rst:1110 +#: library/functions.rst:1111 msgid "" "Binary files are buffered in fixed-size chunks; the size of the buffer is " "chosen using a heuristic trying to determine the underlying device's \"block " @@ -2107,7 +2109,7 @@ msgstr "" "DEFAULT_BUFFER_SIZE`. Sur de nombreux systèmes, le tampon sera de 4096 ou " "8192 octets." -#: library/functions.rst:1115 +#: library/functions.rst:1116 msgid "" "\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " "returns ``True``) use line buffering. Other text files use the policy " @@ -2117,7 +2119,7 @@ msgstr "" "isatty` renvoie ``True``) utilisent un tampon par lignes. Les autres " "fichiers texte sont traités comme les fichiers binaires." -#: library/functions.rst:1119 +#: library/functions.rst:1120 msgid "" "*encoding* is the name of the encoding used to decode or encode the file. " "This should only be used in text mode. The default encoding is platform " @@ -2132,7 +2134,7 @@ msgstr "" "par Python peut être utilisé. Voir :mod:`codecs` pour une liste des " "encodages pris en charge." -#: library/functions.rst:1126 +#: library/functions.rst:1127 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled—this cannot be used in binary mode. A variety of " @@ -2147,7 +2149,7 @@ msgstr "" "d'erreur enregistré avec :func:`codecs.register_error` est aussi un argument " "valide. Les noms standards sont :" -#: library/functions.rst:1134 +#: library/functions.rst:1135 msgid "" "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding " "error. The default value of ``None`` has the same effect." @@ -2155,7 +2157,7 @@ msgstr "" "``'strict'`` pour lever une :exc:`ValueError` si une erreur d'encodage est " "rencontrée. La valeur par défaut, ``None``, a le même effet." -#: library/functions.rst:1138 +#: library/functions.rst:1139 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." @@ -2163,7 +2165,7 @@ msgstr "" "``'ignore'`` ignore les erreurs. Notez qu'ignorer les erreurs d'encodage " "peut mener à des pertes de données." -#: library/functions.rst:1141 +#: library/functions.rst:1142 msgid "" "``'replace'`` causes a replacement marker (such as ``'?'``) to be inserted " "where there is malformed data." @@ -2171,7 +2173,7 @@ msgstr "" "``'replace'`` insère un marqueur de substitution (tel que ``'?'``) en place " "des données mal formées." -#: library/functions.rst:1144 +#: library/functions.rst:1145 msgid "" "``'surrogateescape'`` will represent any incorrect bytes as code points in " "the Unicode Private Use Area ranging from U+DC80 to U+DCFF. These private " @@ -2186,7 +2188,7 @@ msgstr "" "l'écriture de la donnée. C'est utile pour traiter des fichiers d'un encodage " "inconnu." -#: library/functions.rst:1151 +#: library/functions.rst:1152 msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " "not supported by the encoding are replaced with the appropriate XML " @@ -2196,7 +2198,7 @@ msgstr "" "Les caractères non gérés par l'encodage sont remplacés par une référence de " "caractère XML ``&#nnn;``." -#: library/functions.rst:1155 +#: library/functions.rst:1156 msgid "" "``'backslashreplace'`` replaces malformed data by Python's backslashed " "escape sequences." @@ -2204,7 +2206,7 @@ msgstr "" "``'backslashreplace'`` remplace les données mal formées par des séquences " "d'échappement Python (utilisant des *backslash*)." -#: library/functions.rst:1158 +#: library/functions.rst:1159 msgid "" "``'namereplace'`` (also only supported when writing) replaces unsupported " "characters with ``\\N{...}`` escape sequences." @@ -2212,7 +2214,7 @@ msgstr "" "``'namereplace'`` (aussi supporté lors de l'écriture) remplace les " "caractères non supportés par des séquences d'échappement ``\\N{...}``." -#: library/functions.rst:1166 +#: library/functions.rst:1167 msgid "" "*newline* controls how :term:`universal newlines` mode works (it only " "applies to text mode). It can be ``None``, ``''``, ``'\\n'``, ``'\\r'``, " @@ -2223,7 +2225,7 @@ msgstr "" "``None``, ``''``, ``'\\n'``, ``'\\r'``, et ``'\\r\\n'``. Il fonctionne comme " "suit :" -#: library/functions.rst:1170 +#: library/functions.rst:1171 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " "newlines mode is enabled. Lines in the input can end in ``'\\n'``, " @@ -2241,7 +2243,7 @@ msgstr "" "valeur autorisée, les lignes sont seulement terminées par la chaîne donnée, " "qui est rendue telle qu'elle." -#: library/functions.rst:1178 +#: library/functions.rst:1179 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -2255,7 +2257,7 @@ msgstr "" "*newline* est un autre caractère valide, chaque ``'\\n'`` sera remplacé par " "la chaîne donnée." -#: library/functions.rst:1184 +#: library/functions.rst:1185 msgid "" "If *closefd* is ``False`` and a file descriptor rather than a filename was " "given, the underlying file descriptor will be kept open when the file is " @@ -2267,7 +2269,7 @@ msgstr "" "le fichier sera fermé. Si un nom de fichier est donné, *closefd* doit rester " "``True`` (la valeur par défaut) sans quoi une erreur est levée." -#: library/functions.rst:1189 +#: library/functions.rst:1190 msgid "" "A custom opener can be used by passing a callable as *opener*. The " "underlying file descriptor for the file object is then obtained by calling " @@ -2281,13 +2283,13 @@ msgstr "" "descripteur de fichier ouvert (fournir :mod:`os.open` en tant qu'*opener* " "aura le même effet que donner ``None``)." -#: library/functions.rst:1195 +#: library/functions.rst:1196 msgid "The newly created file is :ref:`non-inheritable `." msgstr "" "Il n'est :ref:`pas possible d'hériter du fichier ` " "nouvellement créé." -#: library/functions.rst:1197 +#: library/functions.rst:1198 msgid "" "The following example uses the :ref:`dir_fd ` parameter of the :func:" "`os.open` function to open a file relative to a given directory::" @@ -2295,7 +2297,7 @@ msgstr "" "L'exemple suivant utilise le paramètre :ref:`dir_fd ` de la " "fonction :func:`os.open` pour ouvrir un fichier relatif au dossier courant ::" -#: library/functions.rst:1210 +#: library/functions.rst:1211 msgid "" "The type of :term:`file object` returned by the :func:`open` function " "depends on the mode. When :func:`open` is used to open a file in a text " @@ -2321,7 +2323,7 @@ msgstr "" "BufferedRandom`. Lorsque le tampon est désactivé, le flux brut, une classe " "fille de :class:`io.RawIOBase`, :class:`io.FileIO` est renvoyée." -#: library/functions.rst:1231 +#: library/functions.rst:1232 msgid "" "See also the file handling modules, such as, :mod:`fileinput`, :mod:`io` " "(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" @@ -2331,7 +2333,7 @@ msgstr "" "`fileinput`, :mod:`io` (où :func:`open` est déclarée), :mod:`os`, :mod:`os." "path`, :mod:`tmpfile`, et :mod:`shutil`." -#: library/functions.rst:1236 +#: library/functions.rst:1237 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``file``, " "``mode``, ``flags``." @@ -2339,7 +2341,7 @@ msgstr "" "Lève un :ref:`auditing event ` ``open`` avec les arguments " "``file``, ``mode``, ``flags``." -#: library/functions.rst:1237 +#: library/functions.rst:1238 msgid "" "The ``mode`` and ``flags`` arguments may have been modified or inferred from " "the original call." @@ -2347,21 +2349,21 @@ msgstr "" "Les arguments ``mode`` et ``flags`` peuvent avoir été modifiés ou déduits de " "l'appel original." -#: library/functions.rst:1243 +#: library/functions.rst:1244 msgid "The *opener* parameter was added." msgstr "Le paramètre *opener* a été ajouté." -#: library/functions.rst:1244 +#: library/functions.rst:1245 msgid "The ``'x'`` mode was added." msgstr "Le mode ``'x'`` a été ajouté." -#: library/functions.rst:1245 +#: library/functions.rst:1246 msgid ":exc:`IOError` used to be raised, it is now an alias of :exc:`OSError`." msgstr "" ":exc:`IOError` était normalement levée, elle est maintenant un alias de :exc:" "`OSError`." -#: library/functions.rst:1246 +#: library/functions.rst:1247 msgid "" ":exc:`FileExistsError` is now raised if the file opened in exclusive " "creation mode (``'x'``) already exists." @@ -2369,15 +2371,15 @@ msgstr "" ":exc:`FileExistsError` est maintenant levée si le fichier ouvert en mode " "création exclusive (``'x'``) existe déjà." -#: library/functions.rst:1252 +#: library/functions.rst:1253 msgid "The file is now non-inheritable." msgstr "Il n'est plus possible d'hériter de *file*." -#: library/functions.rst:1256 +#: library/functions.rst:1257 msgid "The ``'U'`` mode." msgstr "Le mode ``'U'``." -#: library/functions.rst:1261 +#: library/functions.rst:1262 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" @@ -2387,15 +2389,15 @@ msgstr "" "aucune exception, la fonction réessaye l'appel système au lieu de lever une :" "exc:`InterruptedError` (voir la :pep:`475` à propos du raisonnement)." -#: library/functions.rst:1264 +#: library/functions.rst:1265 msgid "The ``'namereplace'`` error handler was added." msgstr "Le gestionnaire d'erreurs ``'namereplace'`` a été ajouté." -#: library/functions.rst:1269 +#: library/functions.rst:1270 msgid "Support added to accept objects implementing :class:`os.PathLike`." msgstr "Ajout du support des objets implémentant :class:`os.PathLike`." -#: library/functions.rst:1270 +#: library/functions.rst:1271 msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." @@ -2403,7 +2405,7 @@ msgstr "" "Sous Windows, ouvrir un *buffer* du terminal peut renvoyer une sous-classe " "de :class:`io.RawIOBase` autre que :class:`io.FileIO`." -#: library/functions.rst:1275 +#: library/functions.rst:1276 msgid "" "Given a string representing one Unicode character, return an integer " "representing the Unicode code point of that character. For example, " @@ -2415,7 +2417,7 @@ msgstr "" "entier ``97`` et ``ord('€')`` (symbole Euro) renvoie ``8364``. Il s'agit de " "l'inverse de :func:`chr`." -#: library/functions.rst:1283 +#: library/functions.rst:1284 msgid "" "Return *base* to the power *exp*; if *mod* is present, return *base* to the " "power *exp*, modulo *mod* (computed more efficiently than ``pow(base, exp) % " @@ -2427,7 +2429,7 @@ msgstr "" "``pow(base, exp) % mod``). La forme à deux arguments ``pow(base, exp)`` est " "équivalente à l'opérateur puissance : ``base**exp``." -#: library/functions.rst:1288 +#: library/functions.rst:1289 msgid "" "The arguments must have numeric types. With mixed operand types, the " "coercion rules for binary arithmetic operators apply. For :class:`int` " @@ -2444,7 +2446,7 @@ msgstr "" "convertis en ``float``, et le résultat sera un ``float`` aussi. Par exemple, " "``10**2`` donne ``100``, alors que ``10**-2`` donne ``0.01``." -#: library/functions.rst:1295 +#: library/functions.rst:1296 msgid "" "For :class:`int` operands *base* and *exp*, if *mod* is present, *mod* must " "also be of integer type and *mod* must be nonzero. If *mod* is present and " @@ -2458,11 +2460,11 @@ msgstr "" "être premiers entre eux. Dans ce cas, ``pow(inv_base, -exp, mod)`` est " "renvoyé, où *inv_base* est un inverse de *base* modulo *mod*." -#: library/functions.rst:1301 +#: library/functions.rst:1302 msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::" msgstr "Voici un exemple de calcul d'un inverse de ``38`` modulo ``97`` ::" -#: library/functions.rst:1308 +#: library/functions.rst:1309 msgid "" "For :class:`int` operands, the three-argument form of ``pow`` now allows the " "second argument to be negative, permitting computation of modular inverses." @@ -2471,14 +2473,14 @@ msgstr "" "permet maintenant au deuxième argument d'être négatif, permettant le calcul " "des inverses modulaires." -#: library/functions.rst:1313 +#: library/functions.rst:1314 msgid "" "Allow keyword arguments. Formerly, only positional arguments were supported." msgstr "" "Autorise les arguments par mots-clés. Auparavant, seuls les arguments " "positionnels étaient autorisés." -#: library/functions.rst:1320 +#: library/functions.rst:1321 msgid "" "Print *objects* to the text stream *file*, separated by *sep* and followed " "by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as " @@ -2488,7 +2490,7 @@ msgstr "" "*end*. *sep*, *end*, *file*, et *flush*, s'ils sont présents, doivent être " "données par mot clé." -#: library/functions.rst:1324 +#: library/functions.rst:1325 msgid "" "All non-keyword arguments are converted to strings like :func:`str` does and " "written to the stream, separated by *sep* and followed by *end*. Both *sep* " @@ -2502,7 +2504,7 @@ msgstr "" "les valeurs par défaut. Si aucun *objects* n'est donné :func:`print` écris " "seulement *end*." -#: library/functions.rst:1330 +#: library/functions.rst:1331 msgid "" "The *file* argument must be an object with a ``write(string)`` method; if it " "is not present or ``None``, :data:`sys.stdout` will be used. Since printed " @@ -2515,7 +2517,7 @@ msgstr "" "peut pas être utilisé avec des fichiers ouverts en mode binaire. Pour ceux-" "ci utilisez plutôt ``file.write(...)``." -#: library/functions.rst:1335 +#: library/functions.rst:1336 msgid "" "Whether output is buffered is usually determined by *file*, but if the " "*flush* keyword argument is true, the stream is forcibly flushed." @@ -2523,15 +2525,15 @@ msgstr "" "Que la sortie utilise un *buffer* ou non est souvent décidé par *file*, mais " "si l'argument *flush* est vrai, le tampon du flux est vidé explicitement." -#: library/functions.rst:1338 +#: library/functions.rst:1339 msgid "Added the *flush* keyword argument." msgstr "Ajout de l'argument par mot clé *flush*." -#: library/functions.rst:1344 +#: library/functions.rst:1345 msgid "Return a property attribute." msgstr "Renvoie un attribut propriété." -#: library/functions.rst:1346 +#: library/functions.rst:1347 msgid "" "*fget* is a function for getting an attribute value. *fset* is a function " "for setting an attribute value. *fdel* is a function for deleting an " @@ -2542,11 +2544,11 @@ msgstr "" "supprimer la valeur d'un attribut, et *doc* créé une *docstring* pour " "l'attribut." -#: library/functions.rst:1350 +#: library/functions.rst:1351 msgid "A typical use is to define a managed attribute ``x``::" msgstr "Une utilisation typique : définir un attribut managé ``x`` ::" -#: library/functions.rst:1367 +#: library/functions.rst:1368 msgid "" "If *c* is an instance of *C*, ``c.x`` will invoke the getter, ``c.x = " "value`` will invoke the setter and ``del c.x`` the deleter." @@ -2554,7 +2556,7 @@ msgstr "" "Si *c* est une instance de *C*, ``c.x`` appellera le *getter*, ``c.x = " "value`` invoquera le *setter*, et ``del x`` le *deleter*." -#: library/functions.rst:1370 +#: library/functions.rst:1371 msgid "" "If given, *doc* will be the docstring of the property attribute. Otherwise, " "the property will copy *fget*'s docstring (if it exists). This makes it " @@ -2566,7 +2568,7 @@ msgstr "" "création de propriétés en lecture seule en utilisant simplement :func:" "`property` comme un :term:`décorateur ` ::" -#: library/functions.rst:1383 +#: library/functions.rst:1384 msgid "" "The ``@property`` decorator turns the :meth:`voltage` method into a \"getter" "\" for a read-only attribute with the same name, and it sets the docstring " @@ -2576,7 +2578,7 @@ msgstr "" "*getter* d'un attribut du même nom, et donne *\"Get the current voltage\"* " "comme *docstring* de *voltage*." -#: library/functions.rst:1387 +#: library/functions.rst:1388 msgid "" "A property object has :attr:`~property.getter`, :attr:`~property.setter`, " "and :attr:`~property.deleter` methods usable as decorators that create a " @@ -2588,7 +2590,7 @@ msgstr "" "une copie de la propriété avec les accesseurs correspondants définis par la " "fonction de décoration. C'est plus clair avec un exemple ::" -#: library/functions.rst:1409 +#: library/functions.rst:1410 msgid "" "This code is exactly equivalent to the first example. Be sure to give the " "additional functions the same name as the original property (``x`` in this " @@ -2598,7 +2600,7 @@ msgstr "" "donner aux fonctions additionnelles le même nom que la propriété (``x`` dans " "ce cas.)" -#: library/functions.rst:1413 +#: library/functions.rst:1414 msgid "" "The returned property object also has the attributes ``fget``, ``fset``, and " "``fdel`` corresponding to the constructor arguments." @@ -2606,11 +2608,11 @@ msgstr "" "L'objet propriété renvoyé à aussi les attributs ``fget``, ``fset`` et " "``fdel`` correspondants aux arguments du constructeur." -#: library/functions.rst:1416 +#: library/functions.rst:1417 msgid "The docstrings of property objects are now writeable." msgstr "Les *docstrings* des objets propriété peuvent maintenant être écrits." -#: library/functions.rst:1425 +#: library/functions.rst:1426 msgid "" "Rather than being a function, :class:`range` is actually an immutable " "sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." @@ -2618,7 +2620,7 @@ msgstr "" "Plutôt qu'être une fonction, :class:`range` est en fait une séquence " "immuable, tel que documenté dans :ref:`typesseq-range` et :ref:`typesseq`." -#: library/functions.rst:1431 +#: library/functions.rst:1432 msgid "" "Return a string containing a printable representation of an object. For " "many types, this function makes an attempt to return a string that would " @@ -2636,7 +2638,7 @@ msgstr "" "l'adresse de l'objet. Une classe peut contrôler ce que cette fonction " "renvoie pour ses instances en définissant une méthode :meth:`__repr__`." -#: library/functions.rst:1442 +#: library/functions.rst:1443 msgid "" "Return a reverse :term:`iterator`. *seq* must be an object which has a :" "meth:`__reversed__` method or supports the sequence protocol (the :meth:" @@ -2648,7 +2650,7 @@ msgstr "" "(la méthode :meth:`__len__` et la méthode :meth:`__getitem__` avec des " "arguments entiers commençant à zéro)." -#: library/functions.rst:1450 +#: library/functions.rst:1451 msgid "" "Return *number* rounded to *ndigits* precision after the decimal point. If " "*ndigits* is omitted or is ``None``, it returns the nearest integer to its " @@ -2658,7 +2660,7 @@ msgstr "" "virgule. Si *ndigits* est omis (ou est ``None``), l'entier le plus proche " "est renvoyé." -#: library/functions.rst:1454 +#: library/functions.rst:1455 msgid "" "For the built-in types supporting :func:`round`, values are rounded to the " "closest multiple of 10 to the power minus *ndigits*; if two multiples are " @@ -2676,7 +2678,7 @@ msgstr "" "zéro, ou négatif). La valeur renvoyée est un entier si *ndigits* n'est pas " "donné, (ou est ``None``). Sinon elle est du même type que *number*." -#: library/functions.rst:1463 +#: library/functions.rst:1464 msgid "" "For a general Python object ``number``, ``round`` delegates to ``number." "__round__``." @@ -2684,7 +2686,7 @@ msgstr "" "Pour tout autre objet Python ``number``, ``round`` délègue à ``number." "__round__``." -#: library/functions.rst:1468 +#: library/functions.rst:1469 msgid "" "The behavior of :func:`round` for floats can be surprising: for example, " "``round(2.675, 2)`` gives ``2.67`` instead of the expected ``2.68``. This is " @@ -2698,7 +2700,7 @@ msgstr "" "fractions de décimaux ne peuvent pas être représentés exactement en nombre a " "virgule flottante. Voir :ref:`tut-fp-issues` pour plus d'information." -#: library/functions.rst:1479 +#: library/functions.rst:1480 msgid "" "Return a new :class:`set` object, optionally with elements taken from " "*iterable*. ``set`` is a built-in class. See :class:`set` and :ref:`types-" @@ -2708,7 +2710,7 @@ msgstr "" "d'*iterable*. ``set`` est une classe native. Voir :class:`set` et :ref:" "`types-set` pour la documentation de cette classe." -#: library/functions.rst:1483 +#: library/functions.rst:1484 msgid "" "For other containers see the built-in :class:`frozenset`, :class:`list`, :" "class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " @@ -2718,7 +2720,7 @@ msgstr "" "`list`, :class:`tuple`, et :class:`dict`, ainsi que le module :mod:" "`collections`." -#: library/functions.rst:1490 +#: library/functions.rst:1491 msgid "" "This is the counterpart of :func:`getattr`. The arguments are an object, a " "string and an arbitrary value. The string may name an existing attribute or " @@ -2732,7 +2734,7 @@ msgstr "" "si l'objet l'autorise. Par exemple, ``setattr(x, 'foobar', 123)`` équivaut à " "``x.foobar = 123``." -#: library/functions.rst:1502 +#: library/functions.rst:1503 msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " @@ -2757,16 +2759,16 @@ msgstr "" "Voir :func:`itertools.islice` pour une version alternative renvoyant un " "itérateur." -#: library/functions.rst:1515 +#: library/functions.rst:1516 msgid "Return a new sorted list from the items in *iterable*." msgstr "Renvoie une nouvelle liste triée depuis les éléments d'*iterable*." -#: library/functions.rst:1517 +#: library/functions.rst:1518 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "A deux arguments optionnels qui doivent être fournis par mot clé." -#: library/functions.rst:1519 +#: library/functions.rst:1520 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each element in *iterable* (for example, ``key=str." @@ -2777,7 +2779,7 @@ msgstr "" "lower``). La valeur par défaut est ``None`` (compare les éléments " "directement)." -#: library/functions.rst:1523 +#: library/functions.rst:1524 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -2785,7 +2787,7 @@ msgstr "" "*reverse*, une valeur booléenne. Si elle est ``True``, la liste d'éléments " "est triée comme si toutes les comparaisons étaient inversées." -#: library/functions.rst:1526 +#: library/functions.rst:1527 msgid "" "Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a " "*key* function." @@ -2793,7 +2795,7 @@ msgstr "" "Utilisez :func:`functools.cmp_to_key` pour convertir l'ancienne notation " "*cmp* en une fonction *key*." -#: library/functions.rst:1529 +#: library/functions.rst:1530 msgid "" "The built-in :func:`sorted` function is guaranteed to be stable. A sort is " "stable if it guarantees not to change the relative order of elements that " @@ -2805,17 +2807,17 @@ msgstr "" "eux. C'est utile pour trier en plusieurs passes (par exemple par département " "puis par salaire)." -#: library/functions.rst:1534 +#: library/functions.rst:1535 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Pour des exemples de tris et un bref tutoriel, consultez :ref:`sortinghowto`." -#: library/functions.rst:1538 +#: library/functions.rst:1539 msgid "Transform a method into a static method." msgstr "Transforme une méthode en méthode statique." -#: library/functions.rst:1540 +#: library/functions.rst:1541 msgid "" "A static method does not receive an implicit first argument. To declare a " "static method, use this idiom::" @@ -2823,7 +2825,7 @@ msgstr "" "Une méthode statique ne reçoit pas de premier argument implicitement. Voilà " "comment déclarer une méthode statique ::" -#: library/functions.rst:1547 +#: library/functions.rst:1548 msgid "" "The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -2831,7 +2833,7 @@ msgstr "" "La forme ``@staticmethod`` est un :term:`décorateur ` de " "fonction. Consultez :ref:`function` pour plus de détails." -#: library/functions.rst:1550 +#: library/functions.rst:1551 msgid "" "A static method can be called either on the class (such as ``C.f()``) or on " "an instance (such as ``C().f()``)." @@ -2839,7 +2841,7 @@ msgstr "" "Elle peut être appelée soit sur une classe (tel que ``C.f()``) ou sur une " "instance (tel que ``C().f()``)." -#: library/functions.rst:1553 +#: library/functions.rst:1554 msgid "" "Static methods in Python are similar to those found in Java or C++. Also " "see :func:`classmethod` for a variant that is useful for creating alternate " @@ -2849,7 +2851,7 @@ msgstr "" "ou en C++. Consultez :func:`classmethod` pour une variante utile pour créer " "des constructeurs alternatifs." -#: library/functions.rst:1557 +#: library/functions.rst:1558 msgid "" "Like all decorators, it is also possible to call ``staticmethod`` as a " "regular function and do something with its result. This is needed in some " @@ -2863,19 +2865,19 @@ msgstr "" "depuis le corps d'une classe, et souhaiteriez éviter sa transformation en " "méthode d'instance. Pour ces cas, faites comme suit ::" -#: library/functions.rst:1566 +#: library/functions.rst:1567 msgid "For more information on static methods, see :ref:`types`." msgstr "" "Pour plus d'informations sur les méthodes statiques, consultez :ref:`types`." -#: library/functions.rst:1577 +#: library/functions.rst:1578 msgid "" "Return a :class:`str` version of *object*. See :func:`str` for details." msgstr "" "Renvoie une version d'*object* sous forme de :class:`str`. Voir :func:`str` " "pour plus de détails." -#: library/functions.rst:1579 +#: library/functions.rst:1580 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -2883,7 +2885,7 @@ msgstr "" "``str`` est la :term:`classe ` native des chaînes de caractères. Pour " "des informations générales à propos des chaînes, consultez :ref:`textseq`." -#: library/functions.rst:1585 +#: library/functions.rst:1586 msgid "" "Sums *start* and the items of an *iterable* from left to right and returns " "the total. The *iterable*'s items are normally numbers, and the start value " @@ -2893,7 +2895,7 @@ msgstr "" "donne le total. Les éléments de `iterable` sont normalement des nombres, et " "la valeur de *start* ne peut pas être une chaîne de caractères." -#: library/functions.rst:1589 +#: library/functions.rst:1590 msgid "" "For some use cases, there are good alternatives to :func:`sum`. The " "preferred, fast way to concatenate a sequence of strings is by calling ``''." @@ -2907,11 +2909,11 @@ msgstr "" "meilleure précision, voir :func:`math.fsum`. Pour concaténer une série " "d'itérables, utilisez plutôt :func:`itertools.chain`." -#: library/functions.rst:1595 +#: library/functions.rst:1596 msgid "The *start* parameter can be specified as a keyword argument." msgstr "Le paramètre *start* peut être spécifié comme un argument de mot-clé." -#: library/functions.rst:1600 +#: library/functions.rst:1601 msgid "" "Return a proxy object that delegates method calls to a parent or sibling " "class of *type*. This is useful for accessing inherited methods that have " @@ -2921,7 +2923,7 @@ msgstr "" "de méthode à une classe parente ou sœur de *type*. C'est utile pour accéder " "aux méthodes héritées qui ont été remplacées dans une classe." -#: library/functions.rst:1604 +#: library/functions.rst:1605 msgid "" "The *object-or-type* determines the :term:`method resolution order` to be " "searched. The search starts from the class right after the *type*." @@ -2930,7 +2932,7 @@ msgstr "" "` est utilisé pour la recherche. La recherche " "commence à partir de la classe qui suit immédiatement le *type*." -#: library/functions.rst:1608 +#: library/functions.rst:1609 msgid "" "For example, if :attr:`~class.__mro__` of *object-or-type* is ``D -> B -> C -" "> A -> object`` and the value of *type* is ``B``, then :func:`super` " @@ -2940,7 +2942,7 @@ msgstr "" "-> A -> object`` et la valeur de *type* est ``B``, alors :func:`super` " "recherche ``C -> A -> object``." -#: library/functions.rst:1612 +#: library/functions.rst:1613 msgid "" "The :attr:`~class.__mro__` attribute of the *object-or-type* lists the " "method resolution search order used by both :func:`getattr` and :func:" @@ -2952,7 +2954,7 @@ msgstr "" "`super`. L'attribut est dynamique et peut changer lorsque la hiérarchie " "d'héritage est modifiée." -#: library/functions.rst:1617 +#: library/functions.rst:1618 msgid "" "If the second argument is omitted, the super object returned is unbound. If " "the second argument is an object, ``isinstance(obj, type)`` must be true. " @@ -2964,7 +2966,7 @@ msgstr "" "le second argument est un type, ``issubclass(type2, type)`` doit être vrai " "(c'est utile pour les méthodes de classe)." -#: library/functions.rst:1622 +#: library/functions.rst:1623 msgid "" "There are two typical use cases for *super*. In a class hierarchy with " "single inheritance, *super* can be used to refer to parent classes without " @@ -2977,7 +2979,7 @@ msgstr "" "maintenable. Cet usage se rapproche de l'usage de *super* dans d'autres " "langages de programmation." -#: library/functions.rst:1627 +#: library/functions.rst:1628 msgid "" "The second use case is to support cooperative multiple inheritance in a " "dynamic execution environment. This use case is unique to Python and is not " @@ -3000,12 +3002,12 @@ msgstr "" "dans la hiérarchie, et parce que l'ordre peut inclure des classes sœurs " "inconnues avant l'exécution)." -#: library/functions.rst:1637 +#: library/functions.rst:1638 msgid "For both use cases, a typical superclass call looks like this::" msgstr "" "Dans tous les cas, un appel typique à une classe parente ressemble à ::" -#: library/functions.rst:1644 +#: library/functions.rst:1645 msgid "" "In addition to method lookups, :func:`super` also works for attribute " "lookups. One possible use case for this is calling :term:`descriptors " @@ -3015,7 +3017,7 @@ msgstr "" "la recherche d'attributs. Un cas d'utilisation possible est l'appel d'un :" "term:`descripteur ` d'une classe parente ou sœur." -#: library/functions.rst:1648 +#: library/functions.rst:1649 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " @@ -3032,7 +3034,7 @@ msgstr "" "n'est pas défini pour les recherches implicites via des instructions ou des " "opérateurs tel que ``super()[name]``." -#: library/functions.rst:1655 +#: library/functions.rst:1656 msgid "" "Also note that, aside from the zero argument form, :func:`super` is not " "limited to use inside methods. The two argument form specifies the " @@ -3049,7 +3051,7 @@ msgstr "" "propos de la classe en cours de définition, ainsi qu'accéder à l'instance " "courante pour les méthodes ordinaires." -#: library/functions.rst:1662 +#: library/functions.rst:1663 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_." -#: library/functions.rst:1671 +#: library/functions.rst:1672 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -3067,7 +3069,7 @@ msgstr "" "Plutôt qu'être une fonction, :class:`tuple` est en fait un type de séquence " "immuable, tel que documenté dans :ref:`typesseq-tuple` et :ref:`typesseq`." -#: library/functions.rst:1680 +#: library/functions.rst:1681 msgid "" "With one argument, return the type of an *object*. The return value is a " "type object and generally the same object as returned by :attr:`object." @@ -3077,7 +3079,7 @@ msgstr "" "objet type et généralement la même que la valeur de l'attribut :attr:`object." "__class__ `." -#: library/functions.rst:1684 +#: library/functions.rst:1685 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -3085,7 +3087,7 @@ msgstr "" "La fonction native :func:`isinstance` est recommandée pour tester le type " "d'un objet, car elle prend en compte l'héritage." -#: library/functions.rst:1688 +#: library/functions.rst:1689 msgid "" "With three arguments, return a new type object. This is essentially a " "dynamic form of the :keyword:`class` statement. The *name* string is the " @@ -3106,11 +3108,11 @@ msgstr "" "exemple, les deux instructions suivantes créent deux instances identiques " "de :class:`type` :" -#: library/functions.rst:1702 +#: library/functions.rst:1703 msgid "See also :ref:`bltin-type-objects`." msgstr "Voir aussi :ref:`bltin-type-objects`." -#: library/functions.rst:1704 +#: library/functions.rst:1705 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." @@ -3119,7 +3121,7 @@ msgstr "" "ne devraient plus utiliser la forme à un argument pour récupérer le type " "d'un objet." -#: library/functions.rst:1710 +#: library/functions.rst:1711 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -3128,7 +3130,7 @@ msgstr "" "instance ou de n'importe quel objet avec un attribut :attr:`~object." "__dict__`." -#: library/functions.rst:1713 +#: library/functions.rst:1714 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -3141,7 +3143,7 @@ msgstr "" "exemple, les classes utilisent un :class:`types.MappingProxyType` pour " "éviter les modifications directes du dictionnaire)." -#: library/functions.rst:1718 +#: library/functions.rst:1719 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -3151,11 +3153,18 @@ msgstr "" "dictionnaire des variables locales n'est utile qu'en lecture, car ses " "écritures sont ignorées." -#: library/functions.rst:1725 +#: library/functions.rst:1723 +msgid "" +"A :exc:`TypeError` exception is raised if an object is specified but it " +"doesn't have a :attr:`~object.__dict__` attribute (for example, if its class " +"defines the :attr:`~object.__slots__` attribute)." +msgstr "" + +#: library/functions.rst:1729 msgid "Make an iterator that aggregates elements from each of the iterables." msgstr "Construit un itérateur agrégeant les éléments de tous les itérables." -#: library/functions.rst:1727 +#: library/functions.rst:1731 msgid "" "Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th " "element from each of the argument sequences or iterables. The iterator " @@ -3169,7 +3178,7 @@ msgstr "" "un seul argument itérable, elle renvoie un itérateur sur des n-uplets d'un " "élément. Sans argument, elle renvoie un itérateur vide. Équivalent à ::" -#: library/functions.rst:1746 +#: library/functions.rst:1750 msgid "" "The left-to-right evaluation order of the iterables is guaranteed. This " "makes possible an idiom for clustering a data series into n-length groups " @@ -3183,7 +3192,7 @@ msgstr "" "que le n-uplet obtenu contient le résultat de ``n`` appels à l'itérateur. " "Cela a pour effet de diviser la séquence en morceaux de taille *n*." -#: library/functions.rst:1752 +#: library/functions.rst:1756 msgid "" ":func:`zip` should only be used with unequal length inputs when you don't " "care about trailing, unmatched values from the longer iterables. If those " @@ -3194,7 +3203,7 @@ msgstr "" "peuvent être ignorées. Si ces valeurs sont importantes, utilisez plutôt :" "func:`itertools.zip_longest`." -#: library/functions.rst:1756 +#: library/functions.rst:1760 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -3202,7 +3211,7 @@ msgstr "" ":func:`zip` peut être utilisée conjointement avec l'opérateur ``*`` pour " "dézipper une liste ::" -#: library/functions.rst:1777 +#: library/functions.rst:1781 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -3210,7 +3219,7 @@ msgstr "" "C'est une fonction avancée qui n'est pas fréquemment nécessaire, " "contrairement à :func:`importlib.import_module`." -#: library/functions.rst:1780 +#: library/functions.rst:1784 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -3231,7 +3240,7 @@ msgstr "" "`__import__` est aussi déconseillé en faveur de :func:`importlib." "import_module`." -#: library/functions.rst:1789 +#: library/functions.rst:1793 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3247,7 +3256,7 @@ msgstr "" "l'argument *locals* et n'utilise *globals* que pour déterminer le contexte " "du paquet de l'instruction :keyword:`import`." -#: library/functions.rst:1796 +#: library/functions.rst:1800 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3260,7 +3269,7 @@ msgstr "" "positive indique le nombre de dossiers parents relativement au dossier du " "module appelant :func:`__import__` (voir la :pep:`328`)." -#: library/functions.rst:1802 +#: library/functions.rst:1806 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -3272,7 +3281,7 @@ msgstr "" "le module nommé par *name*. Cependant, lorsqu'un argument *fromlist* est " "fourni, le module nommé par *name* est renvoyé." -#: library/functions.rst:1807 +#: library/functions.rst:1811 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3280,11 +3289,11 @@ msgstr "" "Par exemple, l'instruction ``import spam`` renvoie un code intermédiaire " "(*bytecode* en anglais) ressemblant au code suivant ::" -#: library/functions.rst:1812 +#: library/functions.rst:1816 msgid "The statement ``import spam.ham`` results in this call::" msgstr "L'instruction ``import spam.ham`` appelle ::" -#: library/functions.rst:1816 +#: library/functions.rst:1820 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -3292,7 +3301,7 @@ msgstr "" "Notez comment :func:`__import__` renvoie le module le plus haut ici parce " "que c'est l'objet lié à un nom par l'instruction :keyword:`import`." -#: library/functions.rst:1819 +#: library/functions.rst:1823 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3300,7 +3309,7 @@ msgstr "" "En revanche, l'instruction ``from spam.ham import eggs, sausage as saus`` " "donne ::" -#: library/functions.rst:1826 +#: library/functions.rst:1830 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3309,7 +3318,7 @@ msgstr "" "Ici le module ``spam.ham`` est renvoyé par :func:`__import__`. De cet objet, " "les noms à importer sont récupérés et assignés à leurs noms respectifs." -#: library/functions.rst:1830 +#: library/functions.rst:1834 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3317,7 +3326,7 @@ msgstr "" "Si vous voulez simplement importer un module (potentiellement dans un " "paquet) par son nom, utilisez :func:`importlib.import_module`." -#: library/functions.rst:1833 +#: library/functions.rst:1837 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3325,17 +3334,17 @@ msgstr "" "Des valeurs négatives pour *level* ne sont plus gérées (ce qui change la " "valeur par défaut pour 0)." -#: library/functions.rst:1837 +#: library/functions.rst:1841 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." msgstr "" -#: library/functions.rst:1842 +#: library/functions.rst:1846 msgid "Footnotes" msgstr "Notes" -#: library/functions.rst:1843 +#: library/functions.rst:1847 msgid "" "Note that the parser only accepts the Unix-style end of line convention. If " "you are reading the code from a file, make sure to use newline conversion " diff --git a/library/functools.po b/library/functools.po index 369007eb..fd2658d9 100644 --- a/library/functools.po +++ b/library/functools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-11 11:16+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/gc.po b/library/gc.po index c6bbef6d..4c87dca4 100644 --- a/library/gc.po +++ b/library/gc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -130,8 +130,10 @@ msgid "" "*threshold0*, collection starts. Initially only generation ``0`` is " "examined. If generation ``0`` has been examined more than *threshold1* " "times since generation ``1`` has been examined, then generation ``1`` is " -"examined as well. Similarly, *threshold2* controls the number of " -"collections of generation ``1`` before collecting generation ``2``." +"examined as well. With the third generation, things are a bit more " +"complicated, see `Collecting the oldest generation `_ for more " +"information." msgstr "" #: library/gc.rst:116 diff --git a/library/getopt.po b/library/getopt.po index 145f00df..34546067 100644 --- a/library/getopt.po +++ b/library/getopt.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/getpass.po b/library/getpass.po index 787fbd19..603d9378 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-02-08 09:58+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 12:39+0200\n" "Last-Translator: Paquerette \n" "Language-Team: FRENCH \n" diff --git a/library/gettext.po b/library/gettext.po index e7a7029b..9830782e 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-01-13 17:57+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/glob.po b/library/glob.po index 82a49751..6d72f947 100644 --- a/library/glob.po +++ b/library/glob.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 12:40+0200\n" "Last-Translator: Julien VITARD \n" "Language-Team: FRENCH \n" diff --git a/library/graphlib.po b/library/graphlib.po index a7105ad1..fdb75945 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/grp.po b/library/grp.po index 06ae29a1..11f4cf86 100644 --- a/library/grp.po +++ b/library/grp.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/gzip.po b/library/gzip.po index 756f33b6..fab1067f 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-07 15:03+0200\n" "Last-Translator: Lomanic \n" "Language-Team: FRENCH \n" diff --git a/library/hashlib.po b/library/hashlib.po index fd1de48a..1e9be7f9 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:47+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/heapq.po b/library/heapq.po index 78c84c6b..90fa7f77 100644 --- a/library/heapq.po +++ b/library/heapq.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-16 12:04+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/hmac.po b/library/hmac.po index 793b139b..1894d4fd 100644 --- a/library/hmac.po +++ b/library/hmac.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:24+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/html.entities.po b/library/html.entities.po index d7a937b1..bf2279fc 100644 --- a/library/html.entities.po +++ b/library/html.entities.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-27 15:05+0200\n" "Last-Translator: Bruno Inec \n" "Language-Team: FRENCH \n" diff --git a/library/html.parser.po b/library/html.parser.po index 2ad2e7fa..286c6742 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/html.po b/library/html.po index 293a50a7..f2953c1b 100644 --- a/library/html.po +++ b/library/html.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 17:52+0200\n" "Last-Translator: Bruno Inec \n" "Language-Team: FRENCH \n" diff --git a/library/http.client.po b/library/http.client.po index d30e8d8f..49e4f4cd 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index 8a84bbed..bd5e02ae 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/http.cookies.po b/library/http.cookies.po index 35042ca1..c7f857a5 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" -"PO-Revision-Date: 2020-09-03 12:15+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"PO-Revision-Date: 2019-05-23 21:39+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" "Language: fr\n" diff --git a/library/http.po b/library/http.po index 05694fad..986fa04d 100644 --- a/library/http.po +++ b/library/http.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:05+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/http.server.po b/library/http.server.po index 9e965487..2129dbb8 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/i18n.po b/library/i18n.po index 125dde8d..d1ae94e5 100644 --- a/library/i18n.po +++ b/library/i18n.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-07 22:58+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/idle.po b/library/idle.po index e201f130..ebae0de3 100644 --- a/library/idle.po +++ b/library/idle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-08 01:41+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/imaplib.po b/library/imaplib.po index 1ca0b967..5725c9ad 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/imghdr.po b/library/imghdr.po index 3e0b0002..22c24b79 100644 --- a/library/imghdr.po +++ b/library/imghdr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/imp.po b/library/imp.po index d69dadcd..70e39950 100644 --- a/library/imp.po +++ b/library/imp.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index bfd5169b..4a5b6582 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:42+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/importlib.po b/library/importlib.po index f9de372a..c1531c98 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-04 11:26+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1304,8 +1304,8 @@ msgstr "" #: library/importlib.rst:1073 msgid "" -":term:`Finder` for modules declared in the Windows registry. This class " -"implements the :class:`importlib.abc.MetaPathFinder` ABC." +":term:`Finder ` for modules declared in the Windows registry. This " +"class implements the :class:`importlib.abc.MetaPathFinder` ABC." msgstr "" #: library/importlib.rst:1081 @@ -1316,8 +1316,9 @@ msgstr "" #: library/importlib.rst:1088 msgid "" -"A :term:`Finder` for :data:`sys.path` and package ``__path__`` attributes. " -"This class implements the :class:`importlib.abc.MetaPathFinder` ABC." +"A :term:`Finder ` for :data:`sys.path` and package ``__path__`` " +"attributes. This class implements the :class:`importlib.abc.MetaPathFinder` " +"ABC." msgstr "" #: library/importlib.rst:1096 diff --git a/library/index.po b/library/index.po index f27ec761..0c47ea9c 100644 --- a/library/index.po +++ b/library/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 14:32+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/inspect.po b/library/inspect.po index 3d1afa22..ebcff4f8 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-06 13:49+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/internet.po b/library/internet.po index a721fb0a..c67e948f 100644 --- a/library/internet.po +++ b/library/internet.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 13:13+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/intro.po b/library/intro.po index 865ccc46..f4effcd9 100644 --- a/library/intro.po +++ b/library/intro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-27 11:44+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/io.po b/library/io.po index 69f5b8a6..9c4ba351 100644 --- a/library/io.po +++ b/library/io.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-03 11:13+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/ipaddress.po b/library/ipaddress.po index 514e90e2..dea617dd 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/ipc.po b/library/ipc.po index 2e1cc489..6ff554ec 100644 --- a/library/ipc.po +++ b/library/ipc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 17:33+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/itertools.po b/library/itertools.po index 7d703c44..c0ae7cdd 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-28 18:16+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/library/json.po b/library/json.po index 5fcd2222..cda210e0 100644 --- a/library/json.po +++ b/library/json.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-08-10 16:10+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -1073,7 +1073,8 @@ msgid "Parse every input line as separate JSON object." msgstr "Transforme chaque ligne d'entrée en un objet JSON individuel." #: library/json.rst:748 -msgid "Mutually exclusive options for whitespace control" +#, fuzzy +msgid "Mutually exclusive options for whitespace control." msgstr "" "Options mutuellement exclusives pour le contrôle des caractères " "d’espacements (caractères « blancs »)." diff --git a/library/keyword.po b/library/keyword.po index 7dbb5505..91a2129e 100644 --- a/library/keyword.po +++ b/library/keyword.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-10-19 08:07+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/language.po b/library/language.po index 46e0395b..9f9c7e7a 100644 --- a/library/language.po +++ b/library/language.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-27 15:08+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/linecache.po b/library/linecache.po index a2efae38..0b23cd08 100644 --- a/library/linecache.po +++ b/library/linecache.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-27 15:10+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/locale.po b/library/locale.po index 91e23a0f..256da51c 100644 --- a/library/locale.po +++ b/library/locale.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-28 20:05+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/logging.config.po b/library/logging.config.po index 1730c18e..fe7846a6 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 3a71037d..fc32cf83 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/logging.po b/library/logging.po index f0df06e4..e1b9af97 100644 --- a/library/logging.po +++ b/library/logging.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-23 22:54+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/lzma.po b/library/lzma.po index 6667c514..1e05394c 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-08-14 00:17+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/mailbox.po b/library/mailbox.po index 18b951eb..850b1700 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-26 15:35+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/mailcap.po b/library/mailcap.po index 45b7e9ca..87580bf3 100644 --- a/library/mailcap.po +++ b/library/mailcap.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 19:35+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/markup.po b/library/markup.po index 1fcf3db3..26abb47b 100644 --- a/library/markup.po +++ b/library/markup.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-09-24 21:40+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/marshal.po b/library/marshal.po index d14674a4..edeec5d0 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/math.po b/library/math.po index 6a691d61..8c2dbea0 100644 --- a/library/math.po +++ b/library/math.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-09 21:42+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/library/mimetypes.po b/library/mimetypes.po index f7e2aa55..4da26ac7 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/misc.po b/library/misc.po index 7927a2f0..caa1aaf6 100644 --- a/library/misc.po +++ b/library/misc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:44+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/mm.po b/library/mm.po index da95e13b..f56de18d 100644 --- a/library/mm.po +++ b/library/mm.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 19:23+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/mmap.po b/library/mmap.po index 32be070f..90260e01 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/modulefinder.po b/library/modulefinder.po index 0fbc555c..bb9ee072 100644 --- a/library/modulefinder.po +++ b/library/modulefinder.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 19:23+0200\n" "Last-Translator: Mickaël Bergem \n" "Language-Team: FRENCH \n" diff --git a/library/modules.po b/library/modules.po index 13d0d89a..5ac291dc 100644 --- a/library/modules.po +++ b/library/modules.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 19:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/msilib.po b/library/msilib.po index 50cdfa3d..c38986e5 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/msvcrt.po b/library/msvcrt.po index 52212575..8bdb0c73 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 7790d7dd..438cbfa8 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -28,14 +28,15 @@ msgid "Introduction" msgstr "Introduction" #: library/multiprocessing.rst:14 +#, fuzzy msgid "" ":mod:`multiprocessing` is a package that supports spawning processes using " "an API similar to the :mod:`threading` module. The :mod:`multiprocessing` " "package offers both local and remote concurrency, effectively side-stepping " -"the :term:`Global Interpreter Lock` by using subprocesses instead of " -"threads. Due to this, the :mod:`multiprocessing` module allows the " -"programmer to fully leverage multiple processors on a given machine. It " -"runs on both Unix and Windows." +"the :term:`Global Interpreter Lock ` by using " +"subprocesses instead of threads. Due to this, the :mod:`multiprocessing` " +"module allows the programmer to fully leverage multiple processors on a " +"given machine. It runs on both Unix and Windows." msgstr "" ":mod:`multiprocessing` est un paquet qui permet l'instanciation de processus " "via la même API que le module :mod:`threading`. Le paquet :mod:" @@ -46,7 +47,7 @@ msgstr "" "de bénéficier entièrement des multiples processeurs sur une machine. Il " "tourne à la fois sur les systèmes Unix et Windows." -#: library/multiprocessing.rst:22 +#: library/multiprocessing.rst:23 msgid "" "The :mod:`multiprocessing` module also introduces APIs which do not have " "analogs in the :mod:`threading` module. A prime example of this is the :" @@ -67,15 +68,15 @@ msgstr "" "processus fils puissent importer ce module avec succès. Cet exemple basique " "de parallélisme de données, utilisant :class:`~multiprocessing.pool.Pool`, ::" -#: library/multiprocessing.rst:40 +#: library/multiprocessing.rst:41 msgid "will print to standard output ::" msgstr "affiche sur la sortie standard ::" -#: library/multiprocessing.rst:46 +#: library/multiprocessing.rst:47 msgid "The :class:`Process` class" msgstr "La classe :class:`Process`" -#: library/multiprocessing.rst:48 +#: library/multiprocessing.rst:49 msgid "" "In :mod:`multiprocessing`, processes are spawned by creating a :class:" "`Process` object and then calling its :meth:`~Process.start` method. :class:" @@ -87,14 +88,14 @@ msgstr "" "start`. La classe :class:`Process` suit la même API que :class:`threading." "Thread`. Un exemple trivial d'un programme multi-processus est ::" -#: library/multiprocessing.rst:63 +#: library/multiprocessing.rst:64 msgid "" "To show the individual process IDs involved, here is an expanded example::" msgstr "" "Pour afficher les IDs des processus impliqués, voici un exemple plus " "étoffé ::" -#: library/multiprocessing.rst:84 +#: library/multiprocessing.rst:85 msgid "" "For an explanation of why the ``if __name__ == '__main__'`` part is " "necessary, see :ref:`multiprocessing-programming`." @@ -102,11 +103,11 @@ msgstr "" "La nécessité de la ligne ``if __name__ == '__main__'`` est expliquée par :" "ref:`multiprocessing-programming`." -#: library/multiprocessing.rst:90 +#: library/multiprocessing.rst:91 msgid "Contexts and start methods" msgstr "Contextes et méthodes de démarrage" -#: library/multiprocessing.rst:94 +#: library/multiprocessing.rst:95 msgid "" "Depending on the platform, :mod:`multiprocessing` supports three ways to " "start a process. These *start methods* are" @@ -114,11 +115,11 @@ msgstr "" "Suivant la plateforme, :mod:`multiprocessing` gère trois manières de " "démarrer un processus. Ces *méthodes de démarrage* sont" -#: library/multiprocessing.rst:105 +#: library/multiprocessing.rst:106 msgid "*spawn*" msgstr "*spawn*" -#: library/multiprocessing.rst:98 +#: library/multiprocessing.rst:99 msgid "" "The parent process starts a fresh python interpreter process. The child " "process will only inherit those resources necessary to run the process " @@ -134,15 +135,15 @@ msgstr "" "processus parent ne sont pas hérités. Démarrer un processus en utilisant " "cette méthode est plutôt lent par rapport à *fork* ou *forkserver*." -#: library/multiprocessing.rst:105 +#: library/multiprocessing.rst:106 msgid "Available on Unix and Windows. The default on Windows and macOS." msgstr "Disponible sur Unix et Windows. Par défaut sur Windows et macOS." -#: library/multiprocessing.rst:114 +#: library/multiprocessing.rst:115 msgid "*fork*" msgstr "*fork*" -#: library/multiprocessing.rst:108 +#: library/multiprocessing.rst:109 msgid "" "The parent process uses :func:`os.fork` to fork the Python interpreter. The " "child process, when it begins, is effectively identical to the parent " @@ -155,15 +156,15 @@ msgstr "" "Notez qu'il est problématique de *forker* sans danger un processus *multi-" "threadé*." -#: library/multiprocessing.rst:114 +#: library/multiprocessing.rst:115 msgid "Available on Unix only. The default on Unix." msgstr "Disponible uniquement sous Unix. Par défaut sous Unix." -#: library/multiprocessing.rst:125 +#: library/multiprocessing.rst:126 msgid "*forkserver*" msgstr "*forkserver*" -#: library/multiprocessing.rst:117 +#: library/multiprocessing.rst:118 msgid "" "When the program starts and selects the *forkserver* start method, a server " "process is started. From then on, whenever a new process is needed, the " @@ -178,7 +179,7 @@ msgstr "" "n'utilisant qu'un seul fil d'exécution, il peut utiliser :func:`os.fork` " "sans danger. Les ressources superflues ne sont pas héritées." -#: library/multiprocessing.rst:124 +#: library/multiprocessing.rst:125 msgid "" "Available on Unix platforms which support passing file descriptors over Unix " "pipes." @@ -186,7 +187,7 @@ msgstr "" "Disponible sur les plateformes Unix qui acceptent le passage de descripteurs " "de fichiers à travers des tubes (*pipes*) Unix." -#: library/multiprocessing.rst:129 +#: library/multiprocessing.rst:130 msgid "" "On macOS, the *spawn* start method is now the default. The *fork* start " "method should be considered unsafe as it can lead to crashes of the " @@ -196,7 +197,7 @@ msgstr "" "défaut. La méthode de démarrage *fork* doit être considérée comme dangereuse " "car elle peut entraîner des plantages du sous-processus. Voir :issue:`33725`." -#: library/multiprocessing.rst:133 +#: library/multiprocessing.rst:134 msgid "" "*spawn* added on all unix platforms, and *forkserver* added for some unix " "platforms. Child processes no longer inherit all of the parents inheritable " @@ -206,7 +207,7 @@ msgstr "" "certaines plateformes Unix. Les processus fils n'héritent plus de tous les " "descripteurs héritables du parent sous Windows." -#: library/multiprocessing.rst:139 +#: library/multiprocessing.rst:140 msgid "" "On Unix using the *spawn* or *forkserver* start methods will also start a " "*resource tracker* process which tracks the unlinked named system resources " @@ -233,7 +234,7 @@ msgstr "" "sémaphores et parce que les blocs de mémoire partagée prennent de la place " "dans la mémoire principale." -#: library/multiprocessing.rst:152 +#: library/multiprocessing.rst:153 msgid "" "To select a start method you use the :func:`set_start_method` in the ``if " "__name__ == '__main__'`` clause of the main module. For example::" @@ -242,14 +243,14 @@ msgstr "" "`set_start_method` dans la clause ``if __name__ == '__main__'`` du module " "principal. Par exemple ::" -#: library/multiprocessing.rst:169 +#: library/multiprocessing.rst:170 msgid "" ":func:`set_start_method` should not be used more than once in the program." msgstr "" ":func:`set_start_method` ne doit pas être utilisée plus d'une fois dans le " "programme." -#: library/multiprocessing.rst:172 +#: library/multiprocessing.rst:173 msgid "" "Alternatively, you can use :func:`get_context` to obtain a context object. " "Context objects have the same API as the multiprocessing module, and allow " @@ -260,7 +261,7 @@ msgstr "" "permettent l'utilisation de plusieurs méthodes de démarrage dans un même " "programme. ::" -#: library/multiprocessing.rst:190 +#: library/multiprocessing.rst:191 msgid "" "Note that objects related to one context may not be compatible with " "processes for a different context. In particular, locks created using the " @@ -272,7 +273,7 @@ msgstr "" "verrous créés avec le contexte *fork* ne peuvent pas être passés aux " "processus lancés avec les méthodes *spawn* ou *forkserver*." -#: library/multiprocessing.rst:195 +#: library/multiprocessing.rst:196 msgid "" "A library which wants to use a particular start method should probably use :" "func:`get_context` to avoid interfering with the choice of the library user." @@ -281,7 +282,7 @@ msgstr "" "devrait probablement faire appel à :func:`get_context` pour éviter " "d'interférer avec le choix de l'utilisateur de la bibliothèque." -#: library/multiprocessing.rst:201 +#: library/multiprocessing.rst:202 msgid "" "The ``'spawn'`` and ``'forkserver'`` start methods cannot currently be used " "with \"frozen\" executables (i.e., binaries produced by packages like " @@ -293,11 +294,11 @@ msgstr "" "produits par des paquets comme **PyInstaller** et **cx_Freeze**) sur Unix. " "La méthode de démarrage ``’fork’`` fonctionne." -#: library/multiprocessing.rst:208 +#: library/multiprocessing.rst:209 msgid "Exchanging objects between processes" msgstr "Échange d'objets entre les processus" -#: library/multiprocessing.rst:210 +#: library/multiprocessing.rst:211 msgid "" ":mod:`multiprocessing` supports two types of communication channel between " "processes:" @@ -305,11 +306,11 @@ msgstr "" ":mod:`multiprocessing` gère deux types de canaux de communication entre les " "processus :" -#: library/multiprocessing.rst:213 +#: library/multiprocessing.rst:214 msgid "**Queues**" msgstr "**Queues**" -#: library/multiprocessing.rst:215 +#: library/multiprocessing.rst:216 msgid "" "The :class:`Queue` class is a near clone of :class:`queue.Queue`. For " "example::" @@ -317,17 +318,17 @@ msgstr "" "La classe :class:`Queue` est un clone assez proche de :class:`queue.Queue`. " "Par exemple ::" -#: library/multiprocessing.rst:230 +#: library/multiprocessing.rst:231 msgid "Queues are thread and process safe." msgstr "" "Les queues peuvent être utilisées par plusieurs fils d'exécution ou " "processus." -#: library/multiprocessing.rst:232 +#: library/multiprocessing.rst:233 msgid "**Pipes**" msgstr "**Tubes** (*pipes*)" -#: library/multiprocessing.rst:234 +#: library/multiprocessing.rst:235 msgid "" "The :func:`Pipe` function returns a pair of connection objects connected by " "a pipe which by default is duplex (two-way). For example::" @@ -335,7 +336,7 @@ msgstr "" "La fonction :func:`Pipe` renvoie une paire d'objets de connexion connectés à " "un tube qui est par défaut duplex (à double sens). Par exemple ::" -#: library/multiprocessing.rst:250 +#: library/multiprocessing.rst:251 msgid "" "The two connection objects returned by :func:`Pipe` represent the two ends " "of the pipe. Each connection object has :meth:`~Connection.send` and :meth:" @@ -352,11 +353,11 @@ msgstr "" "temps. Évidemment il n'y a pas de risque de corruption si les processus " "utilisent deux bouts différents en même temps." -#: library/multiprocessing.rst:260 +#: library/multiprocessing.rst:261 msgid "Synchronization between processes" msgstr "Synchronisation entre processus" -#: library/multiprocessing.rst:262 +#: library/multiprocessing.rst:263 msgid "" ":mod:`multiprocessing` contains equivalents of all the synchronization " "primitives from :mod:`threading`. For instance one can use a lock to ensure " @@ -367,7 +368,7 @@ msgstr "" "un verrou pour s'assurer qu'un seul processus à la fois écrit sur la sortie " "standard ::" -#: library/multiprocessing.rst:281 +#: library/multiprocessing.rst:282 msgid "" "Without using the lock output from the different processes is liable to get " "all mixed up." @@ -375,11 +376,11 @@ msgstr "" "Sans le verrou, les sorties des différents processus risquent d'être " "mélangées." -#: library/multiprocessing.rst:286 +#: library/multiprocessing.rst:287 msgid "Sharing state between processes" msgstr "Partager un état entre les processus" -#: library/multiprocessing.rst:288 +#: library/multiprocessing.rst:289 msgid "" "As mentioned above, when doing concurrent programming it is usually best to " "avoid using shared state as far as possible. This is particularly true when " @@ -389,7 +390,7 @@ msgstr "" "que possible d'utiliser des états partagés en programmation concurrente. " "C'est particulièrement vrai quand plusieurs processus sont utilisés." -#: library/multiprocessing.rst:292 +#: library/multiprocessing.rst:293 msgid "" "However, if you really do need to use some shared data then :mod:" "`multiprocessing` provides a couple of ways of doing so." @@ -397,11 +398,11 @@ msgstr "" "Cependant, si vous devez réellement partager des données, :mod:" "`multiprocessing` permet de le faire de deux manières." -#: library/multiprocessing.rst:295 +#: library/multiprocessing.rst:296 msgid "**Shared memory**" msgstr "**Mémoire partagée**" -#: library/multiprocessing.rst:297 +#: library/multiprocessing.rst:298 msgid "" "Data can be stored in a shared memory map using :class:`Value` or :class:" "`Array`. For example, the following code ::" @@ -409,11 +410,11 @@ msgstr "" "Les données peuvent être stockées dans une mémoire partagée en utilisant " "des :class:`Value` ou des :class:`Array`. Par exemple, le code suivant ::" -#: library/multiprocessing.rst:318 library/multiprocessing.rst:364 +#: library/multiprocessing.rst:319 library/multiprocessing.rst:365 msgid "will print ::" msgstr "affiche ::" -#: library/multiprocessing.rst:323 +#: library/multiprocessing.rst:324 msgid "" "The ``'d'`` and ``'i'`` arguments used when creating ``num`` and ``arr`` are " "typecodes of the kind used by the :mod:`array` module: ``'d'`` indicates a " @@ -426,7 +427,7 @@ msgstr "" "entier signé. Ces objets peuvent être partagés sans problème entre processus " "ou entre fils d’exécution multiples." -#: library/multiprocessing.rst:328 +#: library/multiprocessing.rst:329 msgid "" "For more flexibility in using shared memory one can use the :mod:" "`multiprocessing.sharedctypes` module which supports the creation of " @@ -436,11 +437,11 @@ msgstr "" "utiliser le module :mod:`multiprocessing.sharedctypes` qui permet la " "création d'objets arbitraires *ctypes* alloués depuis la mémoire partagée." -#: library/multiprocessing.rst:332 +#: library/multiprocessing.rst:333 msgid "**Server process**" msgstr "**Processus serveur**" -#: library/multiprocessing.rst:334 +#: library/multiprocessing.rst:335 msgid "" "A manager object returned by :func:`Manager` controls a server process which " "holds Python objects and allows other processes to manipulate them using " @@ -450,7 +451,7 @@ msgstr "" "serveur qui détient les objets Python et autorise les autres processus à les " "manipuler à l'aide de mandataires." -#: library/multiprocessing.rst:338 +#: library/multiprocessing.rst:339 msgid "" "A manager returned by :func:`Manager` will support types :class:`list`, :" "class:`dict`, :class:`~managers.Namespace`, :class:`Lock`, :class:`RLock`, :" @@ -464,7 +465,7 @@ msgstr "" "class:`Event`, :class:`Barrier`, :class:`Queue`, :class:`Value` et :class:" "`Array`. Par exemple, ::" -#: library/multiprocessing.rst:369 +#: library/multiprocessing.rst:370 msgid "" "Server process managers are more flexible than using shared memory objects " "because they can be made to support arbitrary object types. Also, a single " @@ -477,11 +478,11 @@ msgstr "" "machines à travers le réseau. Cependant, ils sont plus lents que les " "mémoires partagées." -#: library/multiprocessing.rst:376 +#: library/multiprocessing.rst:377 msgid "Using a pool of workers" msgstr "Utiliser un réservoir de *workers*" -#: library/multiprocessing.rst:378 +#: library/multiprocessing.rst:379 msgid "" "The :class:`~multiprocessing.pool.Pool` class represents a pool of worker " "processes. It has methods which allows tasks to be offloaded to the worker " @@ -491,11 +492,11 @@ msgstr "" "processus de travail. Elle possède des méthodes qui permettent aux tâches " "d'être déchargées vers les processus de travail de différentes manières." -#: library/multiprocessing.rst:382 +#: library/multiprocessing.rst:383 msgid "For example::" msgstr "Par exemple ::" -#: library/multiprocessing.rst:426 +#: library/multiprocessing.rst:427 msgid "" "Note that the methods of a pool should only ever be used by the process " "which created it." @@ -503,7 +504,7 @@ msgstr "" "Notez que les méthodes d'une *pool* ne devraient être utilisées que par le " "processus qui l'a créée." -#: library/multiprocessing.rst:431 +#: library/multiprocessing.rst:432 msgid "" "Functionality within this package requires that the ``__main__`` module be " "importable by the children. This is covered in :ref:`multiprocessing-" @@ -517,7 +518,7 @@ msgstr "" "certains exemples, comme les exemples utilisant :class:`multiprocessing.pool." "Pool`, ne fonctionnent pas dans l'interpréteur interactif. Par exemple ::" -#: library/multiprocessing.rst:454 +#: library/multiprocessing.rst:455 msgid "" "(If you try this it will actually output three full tracebacks interleaved " "in a semi-random fashion, and then you may have to stop the parent process " @@ -527,11 +528,11 @@ msgstr "" "entrelacées de manière semi-aléatoire, et vous devrez vous débrouiller pour " "arrêter le processus maître." -#: library/multiprocessing.rst:460 +#: library/multiprocessing.rst:461 msgid "Reference" msgstr "Référence" -#: library/multiprocessing.rst:462 +#: library/multiprocessing.rst:463 msgid "" "The :mod:`multiprocessing` package mostly replicates the API of the :mod:" "`threading` module." @@ -539,11 +540,11 @@ msgstr "" "Le paquet :mod:`multiprocessing` reproduit en grande partie l'API du module :" "mod:`threading`." -#: library/multiprocessing.rst:467 +#: library/multiprocessing.rst:468 msgid ":class:`Process` and exceptions" msgstr ":class:`Process` et exceptions" -#: library/multiprocessing.rst:472 +#: library/multiprocessing.rst:473 msgid "" "Process objects represent activity that is run in a separate process. The :" "class:`Process` class has equivalents of all the methods of :class:" @@ -553,7 +554,7 @@ msgstr "" "séparé. La classe :class:`Process` a des équivalents à toutes les méthodes " "de :class:`threading.Thread`." -#: library/multiprocessing.rst:476 +#: library/multiprocessing.rst:477 msgid "" "The constructor should always be called with keyword arguments. *group* " "should always be ``None``; it exists solely for compatibility with :class:" @@ -577,11 +578,11 @@ msgstr "" "l'option :attr:`daemon` du processus à ``True`` ou ``False``. S'il est " "``None`` (par défaut), l'option est héritée par le processus créateur." -#: library/multiprocessing.rst:487 +#: library/multiprocessing.rst:488 msgid "By default, no arguments are passed to *target*." msgstr "Par défaut, aucun argument n'est passé à *target*." -#: library/multiprocessing.rst:489 +#: library/multiprocessing.rst:490 msgid "" "If a subclass overrides the constructor, it must make sure it invokes the " "base class constructor (:meth:`Process.__init__`) before doing anything else " @@ -591,15 +592,15 @@ msgstr "" "le constructeur de la classe de base (:meth:`Process.__init__`) avant de " "faire autre chose du processus." -#: library/multiprocessing.rst:493 +#: library/multiprocessing.rst:494 msgid "Added the *daemon* argument." msgstr "Ajout de l'argument *daemon*." -#: library/multiprocessing.rst:498 +#: library/multiprocessing.rst:499 msgid "Method representing the process's activity." msgstr "Méthode représentant l'activité du processus." -#: library/multiprocessing.rst:500 +#: library/multiprocessing.rst:501 msgid "" "You may override this method in a subclass. The standard :meth:`run` method " "invokes the callable object passed to the object's constructor as the target " @@ -611,11 +612,11 @@ msgstr "" "argument *target*, si fourni, avec les arguments séquentiels et nommés " "respectivement pris depuis les paramètres *args* et *kwargs*." -#: library/multiprocessing.rst:507 +#: library/multiprocessing.rst:508 msgid "Start the process's activity." msgstr "Démarre l'activité du processus." -#: library/multiprocessing.rst:509 +#: library/multiprocessing.rst:510 msgid "" "This must be called at most once per process object. It arranges for the " "object's :meth:`run` method to be invoked in a separate process." @@ -624,7 +625,7 @@ msgstr "" "pour que la méthode :meth:`run` de l'objet soit invoquée dans un processus " "séparé." -#: library/multiprocessing.rst:514 +#: library/multiprocessing.rst:515 msgid "" "If the optional argument *timeout* is ``None`` (the default), the method " "blocks until the process whose :meth:`join` method is called terminates. If " @@ -640,11 +641,11 @@ msgstr "" "le processus se termine ou si le temps d'exécution expire. Vérifiez " "l'attribut :attr:`exitcode` du processus pour déterminer s'il s'est terminé." -#: library/multiprocessing.rst:521 +#: library/multiprocessing.rst:522 msgid "A process can be joined many times." msgstr "*join* peut être appelée plusieurs fois sur un même processus." -#: library/multiprocessing.rst:523 +#: library/multiprocessing.rst:524 msgid "" "A process cannot join itself because this would cause a deadlock. It is an " "error to attempt to join a process before it has been started." @@ -653,7 +654,7 @@ msgstr "" "interblocage. C'est une erreur d'essayer d'attendre un processus avant qu'il " "ne soit démarré." -#: library/multiprocessing.rst:528 +#: library/multiprocessing.rst:529 msgid "" "The process's name. The name is a string used for identification purposes " "only. It has no semantics. Multiple processes may be given the same name." @@ -662,7 +663,7 @@ msgstr "" "pour l'identification du processus. Il n'a pas de sémantique. Plusieurs " "processus peuvent avoir le même nom." -#: library/multiprocessing.rst:532 +#: library/multiprocessing.rst:533 msgid "" "The initial name is set by the constructor. If no explicit name is provided " "to the constructor, a name of the form 'Process-N\\ :sub:`1`:N\\ :sub:" @@ -674,11 +675,11 @@ msgstr "" "sub:`2`:...:N\\ :sub:`k` » est construit, où chaque N\\ :sub:`k` est le N\\ :" "sup:`e` enfant de son parent." -#: library/multiprocessing.rst:539 +#: library/multiprocessing.rst:540 msgid "Return whether the process is alive." msgstr "Renvoie vrai si le processus est en vie, faux sinon." -#: library/multiprocessing.rst:541 +#: library/multiprocessing.rst:542 msgid "" "Roughly, a process object is alive from the moment the :meth:`start` method " "returns until the child process terminates." @@ -686,7 +687,7 @@ msgstr "" "Grossièrement, un objet processus est en vie depuis le moment où la méthode :" "meth:`start` finit de s'exécuter jusqu'à ce que le processus fils se termine." -#: library/multiprocessing.rst:546 +#: library/multiprocessing.rst:547 msgid "" "The process's daemon flag, a Boolean value. This must be set before :meth:" "`start` is called." @@ -694,11 +695,11 @@ msgstr "" "L'option *daemon* du processus, une valeur booléenne. L'option doit être " "réglée avant que la méthode :meth:`start` ne soit appelée." -#: library/multiprocessing.rst:549 +#: library/multiprocessing.rst:550 msgid "The initial value is inherited from the creating process." msgstr "La valeur initiale est héritée par le processus créateur." -#: library/multiprocessing.rst:551 +#: library/multiprocessing.rst:552 msgid "" "When a process exits, it attempts to terminate all of its daemonic child " "processes." @@ -706,7 +707,7 @@ msgstr "" "Quand un processus se ferme, il tente de terminer tous ses processus enfants " "*daemon*." -#: library/multiprocessing.rst:554 +#: library/multiprocessing.rst:555 msgid "" "Note that a daemonic process is not allowed to create child processes. " "Otherwise a daemonic process would leave its children orphaned if it gets " @@ -720,7 +721,7 @@ msgstr "" "*daemons* ou services Unix, ce sont des processus normaux qui seront " "terminés (et non attendus) si un processus non *daemon* se ferme." -#: library/multiprocessing.rst:560 +#: library/multiprocessing.rst:561 msgid "" "In addition to the :class:`threading.Thread` API, :class:`Process` objects " "also support the following attributes and methods:" @@ -728,14 +729,14 @@ msgstr "" "En plus de l'API :class:`threading.Thread`, les objets :class:`Process` " "supportent aussi les attributs et méthodes suivants :" -#: library/multiprocessing.rst:565 +#: library/multiprocessing.rst:566 msgid "" "Return the process ID. Before the process is spawned, this will be ``None``." msgstr "" "Renvoie l'ID du processus. Avant que le processus ne soit lancé, la valeur " "est ``None``." -#: library/multiprocessing.rst:570 +#: library/multiprocessing.rst:571 msgid "" "The child's exit code. This will be ``None`` if the process has not yet " "terminated. A negative value *-N* indicates that the child was terminated " @@ -745,11 +746,11 @@ msgstr "" "s'est pas encore terminé. Une valeur négative *-N* indique que le fils a été " "terminé par un signal *N*." -#: library/multiprocessing.rst:576 +#: library/multiprocessing.rst:577 msgid "The process's authentication key (a byte string)." msgstr "La clé d'authentification du processus (une chaîne d'octets)." -#: library/multiprocessing.rst:578 +#: library/multiprocessing.rst:579 msgid "" "When :mod:`multiprocessing` is initialized the main process is assigned a " "random string using :func:`os.urandom`." @@ -757,7 +758,7 @@ msgstr "" "Quand :mod:`multiprocessing` est initialisé, une chaîne aléatoire est " "assignée au processus principal, en utilisant :func:`os.urandom`." -#: library/multiprocessing.rst:581 +#: library/multiprocessing.rst:582 msgid "" "When a :class:`Process` object is created, it will inherit the " "authentication key of its parent process, although this may be changed by " @@ -767,11 +768,11 @@ msgstr "" "d'authentification de son parent, bien que cela puisse être changé à l'aide " "du paramètre :attr:`authkey` pour une autre chaîne d'octets." -#: library/multiprocessing.rst:585 +#: library/multiprocessing.rst:586 msgid "See :ref:`multiprocessing-auth-keys`." msgstr "Voir :ref:`multiprocessing-auth-keys`." -#: library/multiprocessing.rst:589 +#: library/multiprocessing.rst:590 msgid "" "A numeric handle of a system object which will become \"ready\" when the " "process ends." @@ -779,7 +780,7 @@ msgstr "" "Un identifiant numérique de l'objet système qui devient « prêt » quand le " "processus se termine." -#: library/multiprocessing.rst:592 +#: library/multiprocessing.rst:593 msgid "" "You can use this value if you want to wait on several events at once using :" "func:`multiprocessing.connection.wait`. Otherwise calling :meth:`join()` is " @@ -789,7 +790,7 @@ msgstr "" "événements à la fois en utilisant :func:`multiprocessing.connection.wait`. " "Autrement appeler :meth:`join()` est plus simple." -#: library/multiprocessing.rst:596 +#: library/multiprocessing.rst:597 msgid "" "On Windows, this is an OS handle usable with the ``WaitForSingleObject`` and " "``WaitForMultipleObjects`` family of API calls. On Unix, this is a file " @@ -800,7 +801,7 @@ msgstr "" "Unix, c'est un descripteur de fichier utilisable avec les primitives sur " "module :mod:`select`." -#: library/multiprocessing.rst:604 +#: library/multiprocessing.rst:605 msgid "" "Terminate the process. On Unix this is done using the ``SIGTERM`` signal; " "on Windows :c:func:`TerminateProcess` is used. Note that exit handlers and " @@ -811,7 +812,7 @@ msgstr "" "les gestionnaires de sortie, les clauses `finally` etc. ne sont pas " "exécutées." -#: library/multiprocessing.rst:608 +#: library/multiprocessing.rst:609 msgid "" "Note that descendant processes of the process will *not* be terminated -- " "they will simply become orphaned." @@ -819,7 +820,7 @@ msgstr "" "Notez que les descendants du processus ne *seront pas* terminés – ils " "deviendront simplement orphelins." -#: library/multiprocessing.rst:613 +#: library/multiprocessing.rst:614 msgid "" "If this method is used when the associated process is using a pipe or queue " "then the pipe or queue is liable to become corrupted and may become unusable " @@ -833,13 +834,13 @@ msgstr "" "si le processus a acquis un verrou, un sémaphore ou autre, alors le terminer " "est susceptible de provoquer des blocages dans les autres processus." -#: library/multiprocessing.rst:621 +#: library/multiprocessing.rst:622 msgid "Same as :meth:`terminate()` but using the ``SIGKILL`` signal on Unix." msgstr "" "Identique à :meth:`terminate()` mais utilisant le signal ``SIGKILL`` sous " "Unix." -#: library/multiprocessing.rst:627 +#: library/multiprocessing.rst:628 msgid "" "Close the :class:`Process` object, releasing all resources associated with " "it. :exc:`ValueError` is raised if the underlying process is still " @@ -852,7 +853,7 @@ msgstr "" "plupart des autres méthodes et attributs des objets :class:`Process` " "lèveront une :exc:`ValueError`." -#: library/multiprocessing.rst:635 +#: library/multiprocessing.rst:636 msgid "" "Note that the :meth:`start`, :meth:`join`, :meth:`is_alive`, :meth:" "`terminate` and :attr:`exitcode` methods should only be called by the " @@ -862,15 +863,15 @@ msgstr "" "`terminate` et :attr:`exitcode` ne devraient être appelées que par le " "processus ayant créé l'objet *process*." -#: library/multiprocessing.rst:639 +#: library/multiprocessing.rst:640 msgid "Example usage of some of the methods of :class:`Process`:" msgstr "Exemple d'utilisation de quelques méthodes de :class:`Process` :" -#: library/multiprocessing.rst:660 +#: library/multiprocessing.rst:661 msgid "The base class of all :mod:`multiprocessing` exceptions." msgstr "La classe de base de toutes les exceptions de :mod:`multiprocessing`." -#: library/multiprocessing.rst:664 +#: library/multiprocessing.rst:665 msgid "" "Exception raised by :meth:`Connection.recv_bytes_into()` when the supplied " "buffer object is too small for the message read." @@ -878,7 +879,7 @@ msgstr "" "Exception levée par :meth:`Connection.recv_bytes_into()` quand l'objet " "tampon fourni est trop petit pour le message à lire." -#: library/multiprocessing.rst:667 +#: library/multiprocessing.rst:668 msgid "" "If ``e`` is an instance of :exc:`BufferTooShort` then ``e.args[0]`` will " "give the message as a byte string." @@ -886,20 +887,20 @@ msgstr "" "Si ``e`` est une instance de :exc:`BufferTooShort` alors ``e.args[0]`` " "donnera un message sous forme d'une chaîne d'octets." -#: library/multiprocessing.rst:672 +#: library/multiprocessing.rst:673 msgid "Raised when there is an authentication error." msgstr "Levée quand il y a une erreur d'authentification." -#: library/multiprocessing.rst:676 +#: library/multiprocessing.rst:677 msgid "Raised by methods with a timeout when the timeout expires." msgstr "" "Levée par les méthodes avec temps d'exécution limité, quand ce temps expire." -#: library/multiprocessing.rst:679 +#: library/multiprocessing.rst:680 msgid "Pipes and Queues" msgstr "Tubes (*pipes*) et Queues" -#: library/multiprocessing.rst:681 +#: library/multiprocessing.rst:682 msgid "" "When using multiple processes, one generally uses message passing for " "communication between processes and avoids having to use any synchronization " @@ -909,7 +910,7 @@ msgstr "" "souvent mis en place pour la communication entre processus et éviter d'avoir " "à utiliser des primitives de synchronisation telles que des verrous." -#: library/multiprocessing.rst:685 +#: library/multiprocessing.rst:686 msgid "" "For passing messages one can use :func:`Pipe` (for a connection between two " "processes) or a queue (which allows multiple producers and consumers)." @@ -918,7 +919,7 @@ msgstr "" "connexion entre deux processus) ou une queue (qui autorise de multiples " "producteurs et consommateurs)." -#: library/multiprocessing.rst:688 +#: library/multiprocessing.rst:689 msgid "" "The :class:`Queue`, :class:`SimpleQueue` and :class:`JoinableQueue` types " "are multi-producer, multi-consumer :abbr:`FIFO (first-in, first-out)` queues " @@ -934,7 +935,7 @@ msgstr "" "méthodes :meth:`~queue.Queue.task_done` et :meth:`~queue.Queue.join` " "introduites dans la classe :class:`queue.Queue` par Python 2.5." -#: library/multiprocessing.rst:695 +#: library/multiprocessing.rst:696 msgid "" "If you use :class:`JoinableQueue` then you **must** call :meth:" "`JoinableQueue.task_done` for each task removed from the queue or else the " @@ -946,7 +947,7 @@ msgstr "" "le sémaphore utilisé pour compter le nombre de tâches non accomplies pourra " "éventuellement déborder, levant une exception." -#: library/multiprocessing.rst:700 +#: library/multiprocessing.rst:701 msgid "" "Note that one can also create a shared queue by using a manager object -- " "see :ref:`multiprocessing-managers`." @@ -954,7 +955,7 @@ msgstr "" "Notez que vous pouvez aussi créer une queue partagée en utilisant un objet " "gestionnaire – voir :ref:`multiprocessing-managers`." -#: library/multiprocessing.rst:705 +#: library/multiprocessing.rst:706 msgid "" ":mod:`multiprocessing` uses the usual :exc:`queue.Empty` and :exc:`queue." "Full` exceptions to signal a timeout. They are not available in the :mod:" @@ -965,7 +966,7 @@ msgstr "" "Elles ne sont pas disponibles dans l'espace de nommage :mod:" "`multiprocessing` donc vous devez les importer depuis le module :mod:`queue`." -#: library/multiprocessing.rst:712 +#: library/multiprocessing.rst:713 msgid "" "When an object is put on a queue, the object is pickled and a background " "thread later flushes the pickled data to an underlying pipe. This has some " @@ -980,7 +981,7 @@ msgstr "" "pratiques – si elles vous embêtent vraiment, alors vous pouvez à la place " "utiliser une queue créée avec un :ref:`manager `." -#: library/multiprocessing.rst:719 +#: library/multiprocessing.rst:720 msgid "" "After putting an object on an empty queue there may be an infinitesimal " "delay before the queue's :meth:`~Queue.empty` method returns :const:`False` " @@ -991,7 +992,7 @@ msgstr "" "const:`False` et que :meth:`~Queue.get_nowait` renvoie une valeur sans lever " "de :exc:`queue.Empty`." -#: library/multiprocessing.rst:724 +#: library/multiprocessing.rst:725 msgid "" "If multiple processes are enqueuing objects, it is possible for the objects " "to be received at the other end out-of-order. However, objects enqueued by " @@ -1003,7 +1004,7 @@ msgstr "" "les objets placés par un même processus seront toujours récupérés dans " "l'ordre attendu." -#: library/multiprocessing.rst:731 +#: library/multiprocessing.rst:732 msgid "" "If a process is killed using :meth:`Process.terminate` or :func:`os.kill` " "while it is trying to use a :class:`Queue`, then the data in the queue is " @@ -1016,7 +1017,7 @@ msgstr "" "levées d'exceptions dans les autres processus quand ils tenteront d'utiliser " "la queue." -#: library/multiprocessing.rst:738 +#: library/multiprocessing.rst:739 msgid "" "As mentioned above, if a child process has put items on a queue (and it has " "not used :meth:`JoinableQueue.cancel_join_thread ` -- see also :ref:`multiprocessing-listeners-clients`." @@ -1605,7 +1606,7 @@ msgstr "" "` – voir aussi :ref:`multiprocessing-listeners-" "clients`." -#: library/multiprocessing.rst:1083 +#: library/multiprocessing.rst:1084 msgid "" "Send an object to the other end of the connection which should be read " "using :meth:`recv`." @@ -1613,7 +1614,7 @@ msgstr "" "Envoie un objet sur l'autre bout de la connexion, qui devra être lu avec :" "meth:`recv`." -#: library/multiprocessing.rst:1086 +#: library/multiprocessing.rst:1087 msgid "" "The object must be picklable. Very large pickles (approximately 32 MiB+, " "though it depends on the OS) may raise a :exc:`ValueError` exception." @@ -1622,7 +1623,7 @@ msgstr "" "32 Mo+, bien que cela dépende de l'OS) pourront lever une exception :exc:" "`ValueError`." -#: library/multiprocessing.rst:1091 +#: library/multiprocessing.rst:1092 msgid "" "Return an object sent from the other end of the connection using :meth:" "`send`. Blocks until there is something to receive. Raises :exc:`EOFError` " @@ -1632,27 +1633,27 @@ msgstr "" "meth:`send`. Bloque jusqu'à ce que quelque chose soit reçu. Lève une :exc:" "`EOFError` s'il n'y a plus rien à recevoir et que l'autre bout a été fermé." -#: library/multiprocessing.rst:1098 +#: library/multiprocessing.rst:1099 msgid "Return the file descriptor or handle used by the connection." msgstr "" "Renvoie le descripteur de fichier ou identifiant utilisé par la connexion." -#: library/multiprocessing.rst:1102 +#: library/multiprocessing.rst:1103 msgid "Close the connection." msgstr "Ferme la connexion." -#: library/multiprocessing.rst:1104 +#: library/multiprocessing.rst:1105 msgid "This is called automatically when the connection is garbage collected." msgstr "" "Elle est appelée automatiquement quand la connexion est collectée par le " "ramasse-miettes." -#: library/multiprocessing.rst:1108 +#: library/multiprocessing.rst:1109 msgid "Return whether there is any data available to be read." msgstr "" "Renvoie vrai ou faux selon si des données sont disponibles à la lecture." -#: library/multiprocessing.rst:1110 +#: library/multiprocessing.rst:1111 msgid "" "If *timeout* is not specified then it will return immediately. If *timeout* " "is a number then this specifies the maximum time in seconds to block. If " @@ -1662,7 +1663,7 @@ msgstr "" "*timeout* est un nombre alors il spécifie le temps maximum de blocage en " "secondes. Si *timeout* est ``None``, un temps d'attente infini est utilisé." -#: library/multiprocessing.rst:1114 +#: library/multiprocessing.rst:1115 msgid "" "Note that multiple connection objects may be polled at once by using :func:" "`multiprocessing.connection.wait`." @@ -1670,13 +1671,13 @@ msgstr "" "Notez que plusieurs objets de connexions peuvent être attendus en même temps " "à l'aide de :func:`multiprocessing.connection.wait`." -#: library/multiprocessing.rst:1119 +#: library/multiprocessing.rst:1120 msgid "Send byte data from a :term:`bytes-like object` as a complete message." msgstr "" "Envoie des données binaires depuis un :term:`bytes-like object` comme un " "message complet." -#: library/multiprocessing.rst:1121 +#: library/multiprocessing.rst:1122 msgid "" "If *offset* is given then data is read from that position in *buffer*. If " "*size* is given then that many bytes will be read from buffer. Very large " @@ -1689,7 +1690,7 @@ msgstr "" "+, bien que cela dépende de l'OS) pourront lever une exception :exc:" "`ValueError`." -#: library/multiprocessing.rst:1128 +#: library/multiprocessing.rst:1129 msgid "" "Return a complete message of byte data sent from the other end of the " "connection as a string. Blocks until there is something to receive. Raises :" @@ -1701,7 +1702,7 @@ msgstr "" "ait quelque chose à recevoir. Lève une :exc:`EOFError` s'il ne reste rien à " "recevoir et que l'autre côté de la connexion a été fermé." -#: library/multiprocessing.rst:1133 +#: library/multiprocessing.rst:1134 msgid "" "If *maxlength* is specified and the message is longer than *maxlength* then :" "exc:`OSError` is raised and the connection will no longer be readable." @@ -1709,7 +1710,7 @@ msgstr "" "Si *maxlength* est précisé que que le message est plus long que *maxlength* " "alors une :exc:`OSError` est levée et la connexion n'est plus lisible." -#: library/multiprocessing.rst:1137 +#: library/multiprocessing.rst:1138 msgid "" "This function used to raise :exc:`IOError`, which is now an alias of :exc:" "`OSError`." @@ -1717,7 +1718,7 @@ msgstr "" "Cette fonction levait auparavant une :exc:`IOError`, qui est maintenant un " "alias pour :exc:`OSError`." -#: library/multiprocessing.rst:1144 +#: library/multiprocessing.rst:1145 msgid "" "Read into *buffer* a complete message of byte data sent from the other end " "of the connection and return the number of bytes in the message. Blocks " @@ -1730,7 +1731,7 @@ msgstr "" "exc:`EOFError` s'il ne reste rien à recevoir et que l'autre côté de la " "connexion a été fermé." -#: library/multiprocessing.rst:1150 +#: library/multiprocessing.rst:1151 msgid "" "*buffer* must be a writable :term:`bytes-like object`. If *offset* is given " "then the message will be written into the buffer from that position. Offset " @@ -1741,7 +1742,7 @@ msgstr "" "position. *offset* doit être un entier positif, inférieur à la taille de " "*buffer* (en octets)." -#: library/multiprocessing.rst:1155 +#: library/multiprocessing.rst:1156 msgid "" "If the buffer is too short then a :exc:`BufferTooShort` exception is raised " "and the complete message is available as ``e.args[0]`` where ``e`` is the " @@ -1751,7 +1752,7 @@ msgstr "" "le message complet est accessible via ``e.args[0]`` où ``e`` est l'instance " "de l'exception." -#: library/multiprocessing.rst:1159 +#: library/multiprocessing.rst:1160 msgid "" "Connection objects themselves can now be transferred between processes " "using :meth:`Connection.send` and :meth:`Connection.recv`." @@ -1760,7 +1761,7 @@ msgstr "" "les processus en utilisant :meth:`Connection.send` et :meth:`Connection." "recv`." -#: library/multiprocessing.rst:1163 +#: library/multiprocessing.rst:1164 msgid "" "Connection objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the " @@ -1771,11 +1772,11 @@ msgstr "" "`~contextmanager.__enter__` renvoie l'objet de connexion, et :meth:" "`~contextmanager.__exit__` appelle :meth:`close`." -#: library/multiprocessing.rst:1168 +#: library/multiprocessing.rst:1169 msgid "For example:" msgstr "Par exemple :" -#: library/multiprocessing.rst:1192 +#: library/multiprocessing.rst:1193 msgid "" "The :meth:`Connection.recv` method automatically unpickles the data it " "receives, which can be a security risk unless you can trust the process " @@ -1785,7 +1786,7 @@ msgstr "" "qu'elle reçoit, ce qui peut être un risque de sécurité à moins que vous ne " "fassiez réellement confiance au processus émetteur du message." -#: library/multiprocessing.rst:1196 +#: library/multiprocessing.rst:1197 msgid "" "Therefore, unless the connection object was produced using :func:`Pipe` you " "should only use the :meth:`~Connection.recv` and :meth:`~Connection.send` " @@ -1797,7 +1798,7 @@ msgstr "" "recv` et :meth:`~Connection.send` après avoir effectué une quelconque forme " "d'authentification. Voir :ref:`multiprocessing-auth-keys`." -#: library/multiprocessing.rst:1203 +#: library/multiprocessing.rst:1204 msgid "" "If a process is killed while it is trying to read or write to a pipe then " "the data in the pipe is likely to become corrupted, because it may become " @@ -1807,11 +1808,11 @@ msgstr "" "alors les données du tube ont des chances d'être corrompues, parce qu'il " "devient impossible d'être sûr d'où se trouvent les bornes du message." -#: library/multiprocessing.rst:1209 +#: library/multiprocessing.rst:1210 msgid "Synchronization primitives" msgstr "Primitives de synchronisation" -#: library/multiprocessing.rst:1213 +#: library/multiprocessing.rst:1214 msgid "" "Generally synchronization primitives are not as necessary in a multiprocess " "program as they are in a multithreaded program. See the documentation for :" @@ -1821,7 +1822,7 @@ msgstr "" "un programme multi-processus comme elles le sont dans un programme multi-" "fils d'exécution. Voir la documentation du module :mod:`threading`." -#: library/multiprocessing.rst:1217 +#: library/multiprocessing.rst:1218 msgid "" "Note that one can also create synchronization primitives by using a manager " "object -- see :ref:`multiprocessing-managers`." @@ -1829,11 +1830,11 @@ msgstr "" "Notez que vous pouvez aussi créer des primitives de synchronisation en " "utilisant un objet gestionnaire – voir :ref:`multiprocessing-managers`." -#: library/multiprocessing.rst:1222 +#: library/multiprocessing.rst:1223 msgid "A barrier object: a clone of :class:`threading.Barrier`." msgstr "Un objet barrière : un clone de :class:`threading.Barrier`." -#: library/multiprocessing.rst:1228 +#: library/multiprocessing.rst:1229 msgid "" "A bounded semaphore object: a close analog of :class:`threading." "BoundedSemaphore`." @@ -1841,7 +1842,7 @@ msgstr "" "Un objet sémaphore lié : un analogue proche de :class:`threading." "BoundedSemaphore`." -#: library/multiprocessing.rst:1231 library/multiprocessing.rst:1369 +#: library/multiprocessing.rst:1232 library/multiprocessing.rst:1370 msgid "" "A solitary difference from its close analog exists: its ``acquire`` method's " "first argument is named *block*, as is consistent with :meth:`Lock.acquire`." @@ -1850,7 +1851,7 @@ msgstr "" "de sa méthode ``acquire`` est appelé *block*, pour la cohérence avec :meth:" "`Lock.acquire`." -#: library/multiprocessing.rst:1235 +#: library/multiprocessing.rst:1236 msgid "" "On Mac OS X, this is indistinguishable from :class:`Semaphore` because " "``sem_getvalue()`` is not implemented on that platform." @@ -1858,12 +1859,12 @@ msgstr "" "Sur Mac OS X, elle n'est pas distinguable de la classe :class:`Semaphore` " "parce que ``sem_getvalue()`` n'est pas implémentée sur cette plateforme." -#: library/multiprocessing.rst:1240 +#: library/multiprocessing.rst:1241 msgid "A condition variable: an alias for :class:`threading.Condition`." msgstr "" "Une variable conditionnelle : un alias pour :class:`threading.Condition`." -#: library/multiprocessing.rst:1242 +#: library/multiprocessing.rst:1243 msgid "" "If *lock* is specified then it should be a :class:`Lock` or :class:`RLock` " "object from :mod:`multiprocessing`." @@ -1871,15 +1872,15 @@ msgstr "" "Si *lock* est spécifié il doit être un objet :class:`Lock` ou :class:`RLock` " "du module :mod:`multiprocessing`." -#: library/multiprocessing.rst:1245 library/multiprocessing.rst:1779 +#: library/multiprocessing.rst:1246 library/multiprocessing.rst:1780 msgid "The :meth:`~threading.Condition.wait_for` method was added." msgstr "La méthode :meth:`~threading.Condition.wait_for` a été ajoutée." -#: library/multiprocessing.rst:1250 +#: library/multiprocessing.rst:1251 msgid "A clone of :class:`threading.Event`." msgstr "Un clone de :class:`threading.Event`." -#: library/multiprocessing.rst:1255 +#: library/multiprocessing.rst:1256 msgid "" "A non-recursive lock object: a close analog of :class:`threading.Lock`. Once " "a process or thread has acquired a lock, subsequent attempts to acquire it " @@ -1898,7 +1899,7 @@ msgstr "" "dans :class:`multiprocessing.Lock` et s'appliquent aux processus et aux fils " "d'exécution, à l'exception de ce qui est indiqué." -#: library/multiprocessing.rst:1263 +#: library/multiprocessing.rst:1264 msgid "" "Note that :class:`Lock` is actually a factory function which returns an " "instance of ``multiprocessing.synchronize.Lock`` initialized with a default " @@ -1908,7 +1909,7 @@ msgstr "" "instance de ``multiprocessing.synchronize.Lock`` initialisée avec un " "contexte par défaut." -#: library/multiprocessing.rst:1267 +#: library/multiprocessing.rst:1268 msgid "" ":class:`Lock` supports the :term:`context manager` protocol and thus may be " "used in :keyword:`with` statements." @@ -1916,11 +1917,11 @@ msgstr "" ":class:`Lock` supporte le protocole :term:`context manager` et peut ainsi " "être utilisé avec une instruction :keyword:`with`." -#: library/multiprocessing.rst:1272 library/multiprocessing.rst:1323 +#: library/multiprocessing.rst:1273 library/multiprocessing.rst:1324 msgid "Acquire a lock, blocking or non-blocking." msgstr "Acquiert un verrou, bloquant ou non bloquant." -#: library/multiprocessing.rst:1274 +#: library/multiprocessing.rst:1275 msgid "" "With the *block* argument set to ``True`` (the default), the method call " "will block until the lock is in an unlocked state, then set it to locked and " @@ -1932,7 +1933,7 @@ msgstr "" "de renvoyer ``True``. Notez que le nom de ce premier argument diffère de " "celui de :meth:`threading.Lock.acquire`." -#: library/multiprocessing.rst:1279 +#: library/multiprocessing.rst:1280 msgid "" "With the *block* argument set to ``False``, the method call does not block. " "If the lock is currently in a locked state, return ``False``; otherwise set " @@ -1942,7 +1943,7 @@ msgstr "" "verrou est actuellement verrouillé, renvoie ``False`` ; autrement verrouille " "le verrou et renvoie ``True``." -#: library/multiprocessing.rst:1283 +#: library/multiprocessing.rst:1284 msgid "" "When invoked with a positive, floating-point value for *timeout*, block for " "at most the number of seconds specified by *timeout* as long as the lock can " @@ -1966,7 +1967,7 @@ msgstr "" "alors ignoré. Renvoie ``True`` si le verrou a été acquis et ``False`` si le " "temps de *timeout* a expiré." -#: library/multiprocessing.rst:1298 +#: library/multiprocessing.rst:1299 msgid "" "Release a lock. This can be called from any process or thread, not only the " "process or thread which originally acquired the lock." @@ -1975,7 +1976,7 @@ msgstr "" "fil d'exécution, pas uniquement le processus ou le fil qui a acquis le " "verrou à l'origine." -#: library/multiprocessing.rst:1301 +#: library/multiprocessing.rst:1302 msgid "" "Behavior is the same as in :meth:`threading.Lock.release` except that when " "invoked on an unlocked lock, a :exc:`ValueError` is raised." @@ -1984,7 +1985,7 @@ msgstr "" "lorsque la méthode est appelée sur un verrou déverrouillé, une :exc:" "`ValueError` est levée." -#: library/multiprocessing.rst:1307 +#: library/multiprocessing.rst:1308 msgid "" "A recursive lock object: a close analog of :class:`threading.RLock`. A " "recursive lock must be released by the process or thread that acquired it. " @@ -1998,7 +1999,7 @@ msgstr "" "même processus/fil peut l'acquérir à nouveau sans bloquer ; le processus/fil " "doit le libérer autant de fois qu'il l'acquiert." -#: library/multiprocessing.rst:1313 +#: library/multiprocessing.rst:1314 msgid "" "Note that :class:`RLock` is actually a factory function which returns an " "instance of ``multiprocessing.synchronize.RLock`` initialized with a default " @@ -2008,7 +2009,7 @@ msgstr "" "instance de ``multiprocessing.synchronize.RLock`` initialisée avec un " "contexte par défaut." -#: library/multiprocessing.rst:1317 +#: library/multiprocessing.rst:1318 msgid "" ":class:`RLock` supports the :term:`context manager` protocol and thus may be " "used in :keyword:`with` statements." @@ -2016,7 +2017,7 @@ msgstr "" ":class:`RLock` supporte le protocole :term:`context manager` et peut ainsi " "être utilisée avec une instruction :keyword:`with`." -#: library/multiprocessing.rst:1325 +#: library/multiprocessing.rst:1326 msgid "" "When invoked with the *block* argument set to ``True``, block until the lock " "is in an unlocked state (not owned by any process or thread) unless the lock " @@ -2037,7 +2038,7 @@ msgstr "" "le comportement de ce premier argument comparé à l'implémentation de :meth:" "`threading.RLock.acquire`, à commencer par le nom de l'argument lui-même." -#: library/multiprocessing.rst:1335 +#: library/multiprocessing.rst:1336 msgid "" "When invoked with the *block* argument set to ``False``, do not block. If " "the lock has already been acquired (and thus is owned) by another process or " @@ -2054,7 +2055,7 @@ msgstr "" "à ``False``. Si le verrou est déverrouillé, le processus/fil courant en " "prend possession et incrémente son niveau de récursion, renvoyant ``True``." -#: library/multiprocessing.rst:1343 +#: library/multiprocessing.rst:1344 msgid "" "Use and behaviors of the *timeout* argument are the same as in :meth:`Lock." "acquire`. Note that some of these behaviors of *timeout* differ from the " @@ -2064,7 +2065,7 @@ msgstr "" "pour :meth:`Lock.acquire`. Notez que certains de ces comportements diffèrent " "par rapport à ceux implémentés par :meth:`threading.RLock.acquire`." -#: library/multiprocessing.rst:1350 +#: library/multiprocessing.rst:1351 msgid "" "Release a lock, decrementing the recursion level. If after the decrement " "the recursion level is zero, reset the lock to unlocked (not owned by any " @@ -2081,7 +2082,7 @@ msgstr "" "récursion est toujours strictement positif, le verrou reste verrouillé et " "propriété du processus/fil appelant." -#: library/multiprocessing.rst:1358 +#: library/multiprocessing.rst:1359 msgid "" "Only call this method when the calling process or thread owns the lock. An :" "exc:`AssertionError` is raised if this method is called by a process or " @@ -2095,11 +2096,11 @@ msgstr "" "n'est pas verrouillé (possédé). Notez que le type d'exception levé dans " "cette situation diffère du comportement de :meth:`threading.RLock.release`." -#: library/multiprocessing.rst:1367 +#: library/multiprocessing.rst:1368 msgid "A semaphore object: a close analog of :class:`threading.Semaphore`." msgstr "Un objet sémaphore, proche analogue de :class:`threading.Semaphore`." -#: library/multiprocessing.rst:1374 +#: library/multiprocessing.rst:1375 msgid "" "On Mac OS X, ``sem_timedwait`` is unsupported, so calling ``acquire()`` with " "a timeout will emulate that function's behavior using a sleeping loop." @@ -2108,7 +2109,7 @@ msgstr "" "``acquire()`` avec un temps d'exécution limité émulera le comportement de " "cette fonction en utilisant une boucle d'attente." -#: library/multiprocessing.rst:1379 +#: library/multiprocessing.rst:1380 msgid "" "If the SIGINT signal generated by :kbd:`Ctrl-C` arrives while the main " "thread is blocked by a call to :meth:`BoundedSemaphore.acquire`, :meth:`Lock." @@ -2122,7 +2123,7 @@ msgstr "" "acquire`, :meth:`Condition.acquire` ou :meth:`Condition.wait`, l'appel sera " "immédiatement interrompu et une :exc:`KeyboardInterrupt` sera levée." -#: library/multiprocessing.rst:1385 +#: library/multiprocessing.rst:1386 msgid "" "This differs from the behaviour of :mod:`threading` where SIGINT will be " "ignored while the equivalent blocking calls are in progress." @@ -2130,7 +2131,7 @@ msgstr "" "Cela diffère du comportement de :mod:`threading` où le *SIGINT* est ignoré " "tant que les appels bloquants sont en cours." -#: library/multiprocessing.rst:1390 +#: library/multiprocessing.rst:1391 msgid "" "Some of this package's functionality requires a functioning shared semaphore " "implementation on the host operating system. Without one, the :mod:" @@ -2144,11 +2145,11 @@ msgstr "" "de l'importer lèveront une :exc:`ImportError`. Voir :issue:`3770` pour plus " "d'informations." -#: library/multiprocessing.rst:1398 +#: library/multiprocessing.rst:1399 msgid "Shared :mod:`ctypes` Objects" msgstr "Objets :mod:`ctypes` partagés" -#: library/multiprocessing.rst:1400 +#: library/multiprocessing.rst:1401 msgid "" "It is possible to create shared objects using shared memory which can be " "inherited by child processes." @@ -2156,7 +2157,7 @@ msgstr "" "Il est possible de créer des objets partagés utilisant une mémoire partagée " "pouvant être héritée par les processus enfants." -#: library/multiprocessing.rst:1405 +#: library/multiprocessing.rst:1406 msgid "" "Return a :mod:`ctypes` object allocated from shared memory. By default the " "return value is actually a synchronized wrapper for the object. The object " @@ -2167,7 +2168,7 @@ msgstr "" "L'objet en lui-même est accessible par l'attribut *value* de l'une :class:" "`Value`." -#: library/multiprocessing.rst:1409 library/multiprocessing.rst:1496 +#: library/multiprocessing.rst:1410 library/multiprocessing.rst:1497 msgid "" "*typecode_or_type* determines the type of the returned object: it is either " "a ctypes type or a one character typecode of the kind used by the :mod:" @@ -2177,7 +2178,7 @@ msgstr "" "d'un type *ctype* soit d'un caractère *typecode* tel qu'utilisé par le " "module :mod:`array`. *\\*args* est passé au constructeur de ce type." -#: library/multiprocessing.rst:1413 +#: library/multiprocessing.rst:1414 msgid "" "If *lock* is ``True`` (the default) then a new recursive lock object is " "created to synchronize access to the value. If *lock* is a :class:`Lock` " @@ -2193,7 +2194,7 @@ msgstr "" "automatiquement protégé par un verrou, donc il ne sera pas forcément " "« *process-safe* »." -#: library/multiprocessing.rst:1420 +#: library/multiprocessing.rst:1421 msgid "" "Operations like ``+=`` which involve a read and write are not atomic. So " "if, for instance, you want to atomically increment a shared value it is " @@ -2204,7 +2205,7 @@ msgstr "" "incrémentation atomique sur une valeur partagée, vous ne pouvez pas " "simplement faire ::" -#: library/multiprocessing.rst:1426 +#: library/multiprocessing.rst:1427 msgid "" "Assuming the associated lock is recursive (which it is by default) you can " "instead do ::" @@ -2212,12 +2213,12 @@ msgstr "" "En supposant que le verrou associé est récursif (ce qui est le cas par " "défaut), vous pouvez à la place faire ::" -#: library/multiprocessing.rst:1432 library/multiprocessing.rst:1522 -#: library/multiprocessing.rst:1537 +#: library/multiprocessing.rst:1433 library/multiprocessing.rst:1523 +#: library/multiprocessing.rst:1538 msgid "Note that *lock* is a keyword-only argument." msgstr "Notez que *lock* est un argument *keyword-only*." -#: library/multiprocessing.rst:1436 +#: library/multiprocessing.rst:1437 msgid "" "Return a ctypes array allocated from shared memory. By default the return " "value is actually a synchronized wrapper for the array." @@ -2225,7 +2226,7 @@ msgstr "" "Renvoie un tableau *ctypes* alloué depuis la mémoire partagée. Par défaut la " "valeur de retour est en fait un *wrapper* synchronisé autour du tableau." -#: library/multiprocessing.rst:1439 +#: library/multiprocessing.rst:1440 msgid "" "*typecode_or_type* determines the type of the elements of the returned " "array: it is either a ctypes type or a one character typecode of the kind " @@ -2241,7 +2242,7 @@ msgstr "" "zéros. Autrement, *size*or_initializer* est une séquence qui sera utilisée " "pour initialiser le tableau et dont la taille détermine celle du tableau." -#: library/multiprocessing.rst:1446 +#: library/multiprocessing.rst:1447 msgid "" "If *lock* is ``True`` (the default) then a new lock object is created to " "synchronize access to the value. If *lock* is a :class:`Lock` or :class:" @@ -2257,11 +2258,11 @@ msgstr "" "automatiquement protégé par un verrou, donc il ne sera pas forcément " "« *process-safe* »." -#: library/multiprocessing.rst:1453 +#: library/multiprocessing.rst:1454 msgid "Note that *lock* is a keyword only argument." msgstr "Notez que *lock* est un argument *keyword-only*." -#: library/multiprocessing.rst:1455 +#: library/multiprocessing.rst:1456 msgid "" "Note that an array of :data:`ctypes.c_char` has *value* and *raw* attributes " "which allow one to use it to store and retrieve strings." @@ -2270,11 +2271,11 @@ msgstr "" "*raw* qui permettent de l'utiliser pour stocker et récupérer des chaînes de " "caractères." -#: library/multiprocessing.rst:1460 +#: library/multiprocessing.rst:1461 msgid "The :mod:`multiprocessing.sharedctypes` module" msgstr "Le module :mod:`multiprocessing.sharedctypes`" -#: library/multiprocessing.rst:1465 +#: library/multiprocessing.rst:1466 msgid "" "The :mod:`multiprocessing.sharedctypes` module provides functions for " "allocating :mod:`ctypes` objects from shared memory which can be inherited " @@ -2284,7 +2285,7 @@ msgstr "" "allouer des objets :mod:`ctypes` depuis la mémoire partagée, qui peuvent " "être hérités par les processus fils." -#: library/multiprocessing.rst:1471 +#: library/multiprocessing.rst:1472 msgid "" "Although it is possible to store a pointer in shared memory remember that " "this will refer to a location in the address space of a specific process. " @@ -2298,11 +2299,11 @@ msgstr "" "chances d'être invalide dans le contexte d'un autre processus et " "déréférencer le pointeur depuis ce second processus peut causer un plantage." -#: library/multiprocessing.rst:1479 +#: library/multiprocessing.rst:1480 msgid "Return a ctypes array allocated from shared memory." msgstr "Renvoie un tableau *ctypes* alloué depuis la mémoire partagée." -#: library/multiprocessing.rst:1481 +#: library/multiprocessing.rst:1482 msgid "" "*typecode_or_type* determines the type of the elements of the returned " "array: it is either a ctypes type or a one character typecode of the kind " @@ -2319,7 +2320,7 @@ msgstr "" "*size_or_initializer* est une séquence qui sera utilisée pour initialiser le " "tableau et dont la taille détermine celle du tableau." -#: library/multiprocessing.rst:1488 +#: library/multiprocessing.rst:1489 msgid "" "Note that setting and getting an element is potentially non-atomic -- use :" "func:`Array` instead to make sure that access is automatically synchronized " @@ -2329,11 +2330,11 @@ msgstr "" "utilisez plutôt :func:`Array` pour vous assurer de synchroniser " "automatiquement avec un verrou." -#: library/multiprocessing.rst:1494 +#: library/multiprocessing.rst:1495 msgid "Return a ctypes object allocated from shared memory." msgstr "Renvoie un objet *ctypes* alloué depuis la mémoire partagée." -#: library/multiprocessing.rst:1500 +#: library/multiprocessing.rst:1501 msgid "" "Note that setting and getting the value is potentially non-atomic -- use :" "func:`Value` instead to make sure that access is automatically synchronized " @@ -2343,7 +2344,7 @@ msgstr "" "utilisez plutôt :func:`Value` pour vous assurer de synchroniser " "automatiquement avec un verrou." -#: library/multiprocessing.rst:1504 +#: library/multiprocessing.rst:1505 msgid "" "Note that an array of :data:`ctypes.c_char` has ``value`` and ``raw`` " "attributes which allow one to use it to store and retrieve strings -- see " @@ -2353,7 +2354,7 @@ msgstr "" "*raw* qui permettent de l'utiliser pour stocker et récupérer des chaînes de " "caractères – voir la documentation de :mod:`ctypes`." -#: library/multiprocessing.rst:1510 +#: library/multiprocessing.rst:1511 msgid "" "The same as :func:`RawArray` except that depending on the value of *lock* a " "process-safe synchronization wrapper may be returned instead of a raw ctypes " @@ -2363,7 +2364,7 @@ msgstr "" "un *wrapper* de synchronisation *process-safe* pourra être renvoyé à la " "place d'un tableau *ctypes* brut." -#: library/multiprocessing.rst:1514 library/multiprocessing.rst:1530 +#: library/multiprocessing.rst:1515 library/multiprocessing.rst:1531 msgid "" "If *lock* is ``True`` (the default) then a new lock object is created to " "synchronize access to the value. If *lock* is a :class:`~multiprocessing." @@ -2379,7 +2380,7 @@ msgstr "" "l'accès à l'objet renvoyé ne sera pas automatiquement protégé par un verrou, " "donc il ne sera pas forcément « *process-safe* »." -#: library/multiprocessing.rst:1526 +#: library/multiprocessing.rst:1527 msgid "" "The same as :func:`RawValue` except that depending on the value of *lock* a " "process-safe synchronization wrapper may be returned instead of a raw ctypes " @@ -2389,7 +2390,7 @@ msgstr "" "un *wrapper* de synchronisation *process-safe* pourra être renvoyé à la " "place d'un objet *ctypes* brut." -#: library/multiprocessing.rst:1541 +#: library/multiprocessing.rst:1542 msgid "" "Return a ctypes object allocated from shared memory which is a copy of the " "ctypes object *obj*." @@ -2397,7 +2398,7 @@ msgstr "" "Renvoie un objet *ctypes* alloué depuis la mémoire partagée, qui est une " "copie de l'objet *ctypes* *obj*." -#: library/multiprocessing.rst:1546 +#: library/multiprocessing.rst:1547 msgid "" "Return a process-safe wrapper object for a ctypes object which uses *lock* " "to synchronize access. If *lock* is ``None`` (the default) then a :class:" @@ -2407,7 +2408,7 @@ msgstr "" "*lock* pour synchroniser l'accès. Si *lock* est ``None`` (par défaut), un " "objet :class:`multiprocessing.RLock` est créé automatiquement." -#: library/multiprocessing.rst:1550 +#: library/multiprocessing.rst:1551 msgid "" "A synchronized wrapper will have two methods in addition to those of the " "object it wraps: :meth:`get_obj` returns the wrapped object and :meth:" @@ -2417,7 +2418,7 @@ msgstr "" "qu'il enveloppe : :meth:`get_obj` renvoie l'objet *wrappé* et :meth:" "`get_lock` renvoie le verrou utilisé pour la synchronisation." -#: library/multiprocessing.rst:1554 +#: library/multiprocessing.rst:1555 msgid "" "Note that accessing the ctypes object through the wrapper can be a lot " "slower than accessing the raw ctypes object." @@ -2425,12 +2426,12 @@ msgstr "" "Notez qu'accéder à l'objet *ctypes* à travers le *wrapper* peut s'avérer " "beaucoup plus lent qu'accéder directement à l'objet *ctypes* brut." -#: library/multiprocessing.rst:1557 +#: library/multiprocessing.rst:1558 msgid "Synchronized objects support the :term:`context manager` protocol." msgstr "" "Les objets synchronisés supportent le protocole :term:`context manager`." -#: library/multiprocessing.rst:1561 +#: library/multiprocessing.rst:1562 msgid "" "The table below compares the syntax for creating shared ctypes objects from " "shared memory with the normal ctypes syntax. (In the table ``MyStruct`` is " @@ -2441,63 +2442,63 @@ msgstr "" "le tableau, ``MyStruct`` est une sous-classe quelconque de :class:`ctypes." "Structure`.)" -#: library/multiprocessing.rst:1566 +#: library/multiprocessing.rst:1567 msgid "ctypes" msgstr "ctypes" -#: library/multiprocessing.rst:1566 +#: library/multiprocessing.rst:1567 msgid "sharedctypes using type" msgstr "*sharedctypes* utilisant un type" -#: library/multiprocessing.rst:1566 +#: library/multiprocessing.rst:1567 msgid "sharedctypes using typecode" msgstr "*sharedctypes* utilisant un *typecode*" -#: library/multiprocessing.rst:1568 +#: library/multiprocessing.rst:1569 msgid "c_double(2.4)" msgstr "c_double(2.4)" -#: library/multiprocessing.rst:1568 +#: library/multiprocessing.rst:1569 msgid "RawValue(c_double, 2.4)" msgstr "RawValue(c_double, 2.4)" -#: library/multiprocessing.rst:1568 +#: library/multiprocessing.rst:1569 msgid "RawValue('d', 2.4)" msgstr "RawValue('d', 2.4)" -#: library/multiprocessing.rst:1569 +#: library/multiprocessing.rst:1570 msgid "MyStruct(4, 6)" msgstr "MyStruct(4, 6)" -#: library/multiprocessing.rst:1569 +#: library/multiprocessing.rst:1570 msgid "RawValue(MyStruct, 4, 6)" msgstr "RawValue(MyStruct, 4, 6)" -#: library/multiprocessing.rst:1570 +#: library/multiprocessing.rst:1571 msgid "(c_short * 7)()" msgstr "(c_short * 7)()" -#: library/multiprocessing.rst:1570 +#: library/multiprocessing.rst:1571 msgid "RawArray(c_short, 7)" msgstr "RawArray(c_short, 7)" -#: library/multiprocessing.rst:1570 +#: library/multiprocessing.rst:1571 msgid "RawArray('h', 7)" msgstr "RawArray('h', 7)" -#: library/multiprocessing.rst:1571 +#: library/multiprocessing.rst:1572 msgid "(c_int * 3)(9, 2, 8)" msgstr "(c_int * 3)(9, 2, 8)" -#: library/multiprocessing.rst:1571 +#: library/multiprocessing.rst:1572 msgid "RawArray(c_int, (9, 2, 8))" msgstr "RawArray(c_int, (9, 2, 8))" -#: library/multiprocessing.rst:1571 +#: library/multiprocessing.rst:1572 msgid "RawArray('i', (9, 2, 8))" msgstr "RawArray('i', (9, 2, 8))" -#: library/multiprocessing.rst:1575 +#: library/multiprocessing.rst:1576 msgid "" "Below is an example where a number of ctypes objects are modified by a child " "process::" @@ -2505,15 +2506,15 @@ msgstr "" "Ci-dessous un exemple où des objets *ctypes* sont modifiés par un processus " "fils ::" -#: library/multiprocessing.rst:1613 +#: library/multiprocessing.rst:1614 msgid "The results printed are ::" msgstr "Les résultats affichés sont ::" -#: library/multiprocessing.rst:1626 +#: library/multiprocessing.rst:1627 msgid "Managers" msgstr "Gestionnaires" -#: library/multiprocessing.rst:1628 +#: library/multiprocessing.rst:1629 msgid "" "Managers provide a way to create data which can be shared between different " "processes, including sharing over a network between processes running on " @@ -2528,7 +2529,7 @@ msgstr "" "Les autres processus peuvent accéder aux objets partagés à l'aide de " "mandataires." -#: library/multiprocessing.rst:1636 +#: library/multiprocessing.rst:1637 msgid "" "Returns a started :class:`~multiprocessing.managers.SyncManager` object " "which can be used for sharing objects between processes. The returned " @@ -2541,7 +2542,7 @@ msgstr "" "des méthodes pour créer des objets partagés et renvoyer les mandataires " "correspondants." -#: library/multiprocessing.rst:1644 +#: library/multiprocessing.rst:1645 msgid "" "Manager processes will be shutdown as soon as they are garbage collected or " "their parent process exits. The manager classes are defined in the :mod:" @@ -2551,11 +2552,11 @@ msgstr "" "le ramasse-miettes ou que leur processus parent se terminera. Les classes " "gestionnaires sont définies dans le module :mod:`multiprocessing.managers` :" -#: library/multiprocessing.rst:1650 +#: library/multiprocessing.rst:1651 msgid "Create a BaseManager object." msgstr "Crée un objet *BaseManager*." -#: library/multiprocessing.rst:1652 +#: library/multiprocessing.rst:1653 msgid "" "Once created one should call :meth:`start` or ``get_server()." "serve_forever()`` to ensure that the manager object refers to a started " @@ -2565,7 +2566,7 @@ msgstr "" "serve_forever()`` pour assurer que l'objet gestionnaire référence un " "processus gestionnaire démarré." -#: library/multiprocessing.rst:1655 +#: library/multiprocessing.rst:1656 msgid "" "*address* is the address on which the manager process listens for new " "connections. If *address* is ``None`` then an arbitrary one is chosen." @@ -2574,7 +2575,7 @@ msgstr "" "de nouvelles connexions. Si *address* est ``None``, une adresse arbitraire " "est choisie." -#: library/multiprocessing.rst:1658 +#: library/multiprocessing.rst:1659 msgid "" "*authkey* is the authentication key which will be used to check the validity " "of incoming connections to the server process. If *authkey* is ``None`` " @@ -2586,7 +2587,7 @@ msgstr "" "``None`` alors ``current_process().authkey`` est utilisée. Autrement " "*authkey* est utilisée et doit être une chaîne d'octets." -#: library/multiprocessing.rst:1665 +#: library/multiprocessing.rst:1666 msgid "" "Start a subprocess to start the manager. If *initializer* is not ``None`` " "then the subprocess will call ``initializer(*initargs)`` when it starts." @@ -2595,7 +2596,7 @@ msgstr "" "n'est pas ``None`` alors le sous-processus appellera " "``initializer(*initargs)`` quand il démarrera." -#: library/multiprocessing.rst:1670 +#: library/multiprocessing.rst:1671 msgid "" "Returns a :class:`Server` object which represents the actual server under " "the control of the Manager. The :class:`Server` object supports the :meth:" @@ -2605,16 +2606,16 @@ msgstr "" "du gestionnaire. L'objet :class:`Server` supporte la méthode :meth:" "`serve_forever` ::" -#: library/multiprocessing.rst:1679 +#: library/multiprocessing.rst:1680 msgid ":class:`Server` additionally has an :attr:`address` attribute." msgstr ":class:`Server` possède en plus un attribut :attr:`address`." -#: library/multiprocessing.rst:1683 +#: library/multiprocessing.rst:1684 msgid "Connect a local manager object to a remote manager process::" msgstr "" "Connecte un objet gestionnaire local au processus gestionnaire distant ::" -#: library/multiprocessing.rst:1691 +#: library/multiprocessing.rst:1692 msgid "" "Stop the process used by the manager. This is only available if :meth:" "`start` has been used to start the server process." @@ -2623,11 +2624,11 @@ msgstr "" "uniquement si :meth:`start` a été utilisée pour démarrer le processus " "serveur." -#: library/multiprocessing.rst:1694 +#: library/multiprocessing.rst:1695 msgid "This can be called multiple times." msgstr "Cette méthode peut être appelée plusieurs fois." -#: library/multiprocessing.rst:1698 +#: library/multiprocessing.rst:1699 msgid "" "A classmethod which can be used for registering a type or callable with the " "manager class." @@ -2635,7 +2636,7 @@ msgstr "" "Une méthode de classe qui peut être utilisée pour enregistrer un type ou un " "appelable avec la classe gestionnaire." -#: library/multiprocessing.rst:1701 +#: library/multiprocessing.rst:1702 msgid "" "*typeid* is a \"type identifier\" which is used to identify a particular " "type of shared object. This must be a string." @@ -2643,7 +2644,7 @@ msgstr "" "*typeif* est un « *type identifier* » qui est utilisé pour identifier un " "type particulier d'objet partagé. Cela doit être une chaîne de caractères." -#: library/multiprocessing.rst:1704 +#: library/multiprocessing.rst:1705 msgid "" "*callable* is a callable used for creating objects for this type " "identifier. If a manager instance will be connected to the server using " @@ -2656,7 +2657,7 @@ msgstr "" "*create_method* vaut ``False`` alors cet argument peut être laissé à " "``None``." -#: library/multiprocessing.rst:1710 +#: library/multiprocessing.rst:1711 msgid "" "*proxytype* is a subclass of :class:`BaseProxy` which is used to create " "proxies for shared objects with this *typeid*. If ``None`` then a proxy " @@ -2666,7 +2667,7 @@ msgstr "" "des mandataires autour des objets partagés avec ce *typeid*. S'il est " "``None``, une classe mandataire sera créée automatiquement." -#: library/multiprocessing.rst:1714 +#: library/multiprocessing.rst:1715 msgid "" "*exposed* is used to specify a sequence of method names which proxies for " "this typeid should be allowed to access using :meth:`BaseProxy." @@ -2685,7 +2686,7 @@ msgstr "" "quel attribut qui possède une méthode :meth:`~object.__call__` et dont le " "nom ne commence pas par un ``'_'``.)" -#: library/multiprocessing.rst:1723 +#: library/multiprocessing.rst:1724 msgid "" "*method_to_typeid* is a mapping used to specify the return type of those " "exposed methods which should return a proxy. It maps method names to typeid " @@ -2702,7 +2703,7 @@ msgstr "" "de ce tableau associatif ou si la valeur associée est ``None``, l'objet " "renvoyé par la méthode sera une copie de la valeur." -#: library/multiprocessing.rst:1730 +#: library/multiprocessing.rst:1731 msgid "" "*create_method* determines whether a method should be created with name " "*typeid* which can be used to tell the server process to create a new shared " @@ -2713,17 +2714,17 @@ msgstr "" "un nouvel objet partagé et d'en renvoyer un mandataire. a valeur par défaut " "est ``True``." -#: library/multiprocessing.rst:1734 +#: library/multiprocessing.rst:1735 msgid ":class:`BaseManager` instances also have one read-only property:" msgstr "" "Les instances de :class:`BaseManager` ont aussi une propriété en lecture " "seule :" -#: library/multiprocessing.rst:1738 +#: library/multiprocessing.rst:1739 msgid "The address used by the manager." msgstr "L'adresse utilisée par le gestionnaire." -#: library/multiprocessing.rst:1740 +#: library/multiprocessing.rst:1741 msgid "" "Manager objects support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` starts the server " @@ -2736,7 +2737,7 @@ msgstr "" "l'objet gestionnaire. :meth:`~contextmanager.__exit__` appelle :meth:" "`shutdown`." -#: library/multiprocessing.rst:1746 +#: library/multiprocessing.rst:1747 msgid "" "In previous versions :meth:`~contextmanager.__enter__` did not start the " "manager's server process if it was not already started." @@ -2744,7 +2745,7 @@ msgstr "" "Dans les versions précédentes :meth:`~contextmanager.__enter__` ne démarrait " "pas le processus serveur du gestionnaire s'il n'était pas déjà démarré." -#: library/multiprocessing.rst:1751 +#: library/multiprocessing.rst:1752 msgid "" "A subclass of :class:`BaseManager` which can be used for the synchronization " "of processes. Objects of this type are returned by :func:`multiprocessing." @@ -2754,7 +2755,7 @@ msgstr "" "synchronisation entre processus. Des objets de ce type sont renvoyés par :" "func:`multiprocessing.Manager`." -#: library/multiprocessing.rst:1755 +#: library/multiprocessing.rst:1756 msgid "" "Its methods create and return :ref:`multiprocessing-proxy_objects` for a " "number of commonly used data types to be synchronized across processes. This " @@ -2765,14 +2766,14 @@ msgstr "" "synchronisés entre les processus. Elles incluent notamment des listes et " "dictionnaires partagés." -#: library/multiprocessing.rst:1761 +#: library/multiprocessing.rst:1762 msgid "" "Create a shared :class:`threading.Barrier` object and return a proxy for it." msgstr "" "Crée un objet :class:`threading.Barrier` partagé et renvoie un mandataire " "pour cet objet." -#: library/multiprocessing.rst:1768 +#: library/multiprocessing.rst:1769 msgid "" "Create a shared :class:`threading.BoundedSemaphore` object and return a " "proxy for it." @@ -2780,7 +2781,7 @@ msgstr "" "Crée un objet :class:`threading.BoundedSemaphore` partagé et renvoie un " "mandataire pour cet objet." -#: library/multiprocessing.rst:1773 +#: library/multiprocessing.rst:1774 msgid "" "Create a shared :class:`threading.Condition` object and return a proxy for " "it." @@ -2788,7 +2789,7 @@ msgstr "" "Crée un objet :class:`threading.Condition` partagé et renvoie un mandataire " "pour cet objet." -#: library/multiprocessing.rst:1776 +#: library/multiprocessing.rst:1777 msgid "" "If *lock* is supplied then it should be a proxy for a :class:`threading." "Lock` or :class:`threading.RLock` object." @@ -2796,40 +2797,40 @@ msgstr "" "Si *lock* est fourni alors il doit être un mandataire pour un objet :class:" "`threading.Lock` ou :class:`threading.RLock`." -#: library/multiprocessing.rst:1784 +#: library/multiprocessing.rst:1785 msgid "" "Create a shared :class:`threading.Event` object and return a proxy for it." msgstr "" "Crée un objet :class:`threading.Event` partagé et renvoie un mandataire pour " "cet objet." -#: library/multiprocessing.rst:1788 +#: library/multiprocessing.rst:1789 msgid "" "Create a shared :class:`threading.Lock` object and return a proxy for it." msgstr "" "Crée un objet :class:`threading.Lock` partagé et renvoie un mandataire pour " "cet objet." -#: library/multiprocessing.rst:1792 +#: library/multiprocessing.rst:1793 msgid "Create a shared :class:`Namespace` object and return a proxy for it." msgstr "" "Crée un objet :class:`Namespace` partagé et renvoie un mandataire pour cet " "objet." -#: library/multiprocessing.rst:1796 +#: library/multiprocessing.rst:1797 msgid "Create a shared :class:`queue.Queue` object and return a proxy for it." msgstr "" "Crée un objet :class:`queue.Queue` partagé et renvoie un mandataire pour cet " "objet." -#: library/multiprocessing.rst:1800 +#: library/multiprocessing.rst:1801 msgid "" "Create a shared :class:`threading.RLock` object and return a proxy for it." msgstr "" "Crée un objet :class:`threading.RLock` partagé et renvoie un mandataire pour " "cet objet." -#: library/multiprocessing.rst:1804 +#: library/multiprocessing.rst:1805 msgid "" "Create a shared :class:`threading.Semaphore` object and return a proxy for " "it." @@ -2837,11 +2838,11 @@ msgstr "" "Crée un objet :class:`threading.Semaphore` partagé et renvoie un mandataire " "pour cet objet." -#: library/multiprocessing.rst:1809 +#: library/multiprocessing.rst:1810 msgid "Create an array and return a proxy for it." msgstr "Crée un tableau et renvoie un mandataire pour cet objet." -#: library/multiprocessing.rst:1813 +#: library/multiprocessing.rst:1814 msgid "" "Create an object with a writable ``value`` attribute and return a proxy for " "it." @@ -2849,17 +2850,17 @@ msgstr "" "Crée un objet avec un attribut ``value`` accessible en écriture et renvoie " "un mandataire pour cet objet." -#: library/multiprocessing.rst:1820 +#: library/multiprocessing.rst:1821 msgid "Create a shared :class:`dict` object and return a proxy for it." msgstr "" "Crée un objet :class:`dict` partagé et renvoie un mandataire pour cet objet." -#: library/multiprocessing.rst:1825 +#: library/multiprocessing.rst:1826 msgid "Create a shared :class:`list` object and return a proxy for it." msgstr "" "Crée un objet :class:`list` partagé et renvoie un mandataire pour cet objet." -#: library/multiprocessing.rst:1827 +#: library/multiprocessing.rst:1828 msgid "" "Shared objects are capable of being nested. For example, a shared container " "object such as a shared list can contain other shared objects which will all " @@ -2869,11 +2870,11 @@ msgstr "" "partagé tel qu'une liste partagée peu contenir d'autres objets partagés qui " "seront aussi gérés et synchronisés par le :class:`SyncManager`." -#: library/multiprocessing.rst:1834 +#: library/multiprocessing.rst:1835 msgid "A type that can register with :class:`SyncManager`." msgstr "Un type qui peut être enregistré avec :class:`SyncManager`." -#: library/multiprocessing.rst:1836 +#: library/multiprocessing.rst:1837 msgid "" "A namespace object has no public methods, but does have writable attributes. " "Its representation shows the values of its attributes." @@ -2882,7 +2883,7 @@ msgstr "" "attributs accessibles en écriture. Sa représentation montre les valeurs de " "ses attributs." -#: library/multiprocessing.rst:1839 +#: library/multiprocessing.rst:1840 msgid "" "However, when using a proxy for a namespace object, an attribute beginning " "with ``'_'`` will be an attribute of the proxy and not an attribute of the " @@ -2891,11 +2892,11 @@ msgstr "" "Cependant, en utilisant un mandataire pour un espace de nommage, un attribut " "débutant par ``'_'`` est un attribut du mandataire et non de l'objet cible :" -#: library/multiprocessing.rst:1855 +#: library/multiprocessing.rst:1856 msgid "Customized managers" msgstr "Gestionnaires personnalisés" -#: library/multiprocessing.rst:1857 +#: library/multiprocessing.rst:1858 msgid "" "To create one's own manager, one creates a subclass of :class:`BaseManager` " "and uses the :meth:`~BaseManager.register` classmethod to register new types " @@ -2906,11 +2907,11 @@ msgstr "" "pour enregistrer de nouveaux types ou *callables* au gestionnaire. Par " "exemple ::" -#: library/multiprocessing.rst:1882 +#: library/multiprocessing.rst:1883 msgid "Using a remote manager" msgstr "Utiliser un gestionnaire distant" -#: library/multiprocessing.rst:1884 +#: library/multiprocessing.rst:1885 msgid "" "It is possible to run a manager server on one machine and have clients use " "it from other machines (assuming that the firewalls involved allow it)." @@ -2919,7 +2920,7 @@ msgstr "" "des clients l'utilisant sur d'autres machines (en supposant que les pare-" "feus impliqués l'autorisent)." -#: library/multiprocessing.rst:1887 +#: library/multiprocessing.rst:1888 msgid "" "Running the following commands creates a server for a single shared queue " "which remote clients can access::" @@ -2927,15 +2928,15 @@ msgstr "" "Exécuter les commandes suivantes crée un serveur pour une simple queue " "partagée à laquelle des clients distants peuvent accéder ::" -#: library/multiprocessing.rst:1899 +#: library/multiprocessing.rst:1900 msgid "One client can access the server as follows::" msgstr "Un client peut accéder au serveur comme suit ::" -#: library/multiprocessing.rst:1909 +#: library/multiprocessing.rst:1910 msgid "Another client can also use it::" msgstr "Un autre client peut aussi l'utiliser ::" -#: library/multiprocessing.rst:1920 +#: library/multiprocessing.rst:1921 msgid "" "Local processes can also access that queue, using the code from above on the " "client to access it remotely::" @@ -2943,11 +2944,11 @@ msgstr "" "Les processus locaux peuvent aussi accéder à cette queue, utilisant le code " "précédent sur le client pour y accéder à distance ::" -#: library/multiprocessing.rst:1945 +#: library/multiprocessing.rst:1946 msgid "Proxy Objects" msgstr "Objets mandataires" -#: library/multiprocessing.rst:1947 +#: library/multiprocessing.rst:1948 msgid "" "A proxy is an object which *refers* to a shared object which lives " "(presumably) in a different process. The shared object is said to be the " @@ -2958,7 +2959,7 @@ msgstr "" "*référent* du mandataire. Plusieurs mandataires peuvent avoir un même " "référent." -#: library/multiprocessing.rst:1951 +#: library/multiprocessing.rst:1952 msgid "" "A proxy object has methods which invoke corresponding methods of its " "referent (although not every method of the referent will necessarily be " @@ -2970,7 +2971,7 @@ msgstr "" "soient pas nécessairement accessibles à travers le mandataire). De cette " "manière, un mandataire peut être utilisé comme le serait sont référent :" -#: library/multiprocessing.rst:1969 +#: library/multiprocessing.rst:1970 msgid "" "Notice that applying :func:`str` to a proxy will return the representation " "of the referent, whereas applying :func:`repr` will return the " @@ -2979,7 +2980,7 @@ msgstr "" "Notez qu'appliquer :func:`str` à un mandataire renvoie la représentation du " "référent, alors que :func:`repr` renvoie celle du mandataire." -#: library/multiprocessing.rst:1973 +#: library/multiprocessing.rst:1974 msgid "" "An important feature of proxy objects is that they are picklable so they can " "be passed between processes. As such, a referent can contain :ref:" @@ -2992,13 +2993,13 @@ msgstr "" "d'imbriquer des listes et dictionnaires gérés ainsi que d'autres :ref:" "`multiprocessing-proxy_objects` :" -#: library/multiprocessing.rst:1989 +#: library/multiprocessing.rst:1990 msgid "Similarly, dict and list proxies may be nested inside one another::" msgstr "" "De même, les mandataires de listes et dictionnaires peuvent être imbriqués " "dans d'autres ::" -#: library/multiprocessing.rst:2002 +#: library/multiprocessing.rst:2003 msgid "" "If standard (non-proxy) :class:`list` or :class:`dict` objects are contained " "in a referent, modifications to those mutable values will not be propagated " @@ -3017,7 +3018,7 @@ msgstr "" "travers le gestionnaire et modifie effectivement l'élément, il est ainsi " "possible de réassigner la valeur modifiée au conteneur mandataire ::" -#: library/multiprocessing.rst:2021 +#: library/multiprocessing.rst:2022 msgid "" "This approach is perhaps less convenient than employing nested :ref:" "`multiprocessing-proxy_objects` for most use cases but also demonstrates a " @@ -3028,7 +3029,7 @@ msgstr "" "d'utilisation, mais démontre aussi un certain niveau de contrôle sur la " "synchronisation." -#: library/multiprocessing.rst:2027 +#: library/multiprocessing.rst:2028 msgid "" "The proxy types in :mod:`multiprocessing` do nothing to support comparisons " "by value. So, for instance, we have:" @@ -3036,40 +3037,40 @@ msgstr "" "Les types de mandataires de :mod:`multiprocessing` n'implémentent rien pour " "la comparaison par valeurs. Par exemple, on a :" -#: library/multiprocessing.rst:2035 +#: library/multiprocessing.rst:2036 msgid "" "One should just use a copy of the referent instead when making comparisons." msgstr "" "Il faut à la place simplement utiliser une copie du référent pour faire les " "comparaisons." -#: library/multiprocessing.rst:2039 +#: library/multiprocessing.rst:2040 msgid "Proxy objects are instances of subclasses of :class:`BaseProxy`." msgstr "" "Les objets mandataires sont des instances de sous-classes de :class:" "`BaseProxy`." -#: library/multiprocessing.rst:2043 +#: library/multiprocessing.rst:2044 msgid "Call and return the result of a method of the proxy's referent." msgstr "" "Appelle et renvoie le résultat d'une méthode du référent du mandataire." -#: library/multiprocessing.rst:2045 +#: library/multiprocessing.rst:2046 msgid "" "If ``proxy`` is a proxy whose referent is ``obj`` then the expression ::" msgstr "" "Si ``proxy`` est un mandataire sont le référent est ``obj``, alors " "l'expression ::" -#: library/multiprocessing.rst:2049 +#: library/multiprocessing.rst:2050 msgid "will evaluate the expression ::" msgstr "s'évalue comme ::" -#: library/multiprocessing.rst:2053 +#: library/multiprocessing.rst:2054 msgid "in the manager's process." msgstr "dans le processus du gestionnaire." -#: library/multiprocessing.rst:2055 +#: library/multiprocessing.rst:2056 msgid "" "The returned value will be a copy of the result of the call or a proxy to a " "new shared object -- see documentation for the *method_to_typeid* argument " @@ -3079,7 +3080,7 @@ msgstr "" "sur un nouvel objet partagé – voir l'a documentation de l'argument " "*method_to_typeid* de :meth:`BaseManager.register`." -#: library/multiprocessing.rst:2059 +#: library/multiprocessing.rst:2060 msgid "" "If an exception is raised by the call, then is re-raised by :meth:" "`_callmethod`. If some other exception is raised in the manager's process " @@ -3091,7 +3092,7 @@ msgstr "" "gestionnaire, elle est convertie en une :exc:`RemoteError` et est levée par :" "meth:`_callmethod`." -#: library/multiprocessing.rst:2064 +#: library/multiprocessing.rst:2065 msgid "" "Note in particular that an exception will be raised if *methodname* has not " "been *exposed*." @@ -3099,31 +3100,31 @@ msgstr "" "Notez en particulier qu'une exception est levée si *methodname* n'est pas " "*exposée*." -#: library/multiprocessing.rst:2067 +#: library/multiprocessing.rst:2068 msgid "An example of the usage of :meth:`_callmethod`:" msgstr "Un exemple d'utilisation de :meth:`_callmethod` :" -#: library/multiprocessing.rst:2083 +#: library/multiprocessing.rst:2084 msgid "Return a copy of the referent." msgstr "Renvoie une copie du référent." -#: library/multiprocessing.rst:2085 +#: library/multiprocessing.rst:2086 msgid "If the referent is unpicklable then this will raise an exception." msgstr "Si le référent n'est pas sérialisable, une exception est levée." -#: library/multiprocessing.rst:2089 +#: library/multiprocessing.rst:2090 msgid "Return a representation of the proxy object." msgstr "Renvoie la représentation de l'objet mandataire." -#: library/multiprocessing.rst:2093 +#: library/multiprocessing.rst:2094 msgid "Return the representation of the referent." msgstr "Renvoie la représentation du référent." -#: library/multiprocessing.rst:2097 +#: library/multiprocessing.rst:2098 msgid "Cleanup" msgstr "Nettoyage" -#: library/multiprocessing.rst:2099 +#: library/multiprocessing.rst:2100 msgid "" "A proxy object uses a weakref callback so that when it gets garbage " "collected it deregisters itself from the manager which owns its referent." @@ -3132,7 +3133,7 @@ msgstr "" "que quand il est collecté par le ramasse-miettes, il se désenregistre auprès " "du gestionnaire qui possède le référent." -#: library/multiprocessing.rst:2102 +#: library/multiprocessing.rst:2103 msgid "" "A shared object gets deleted from the manager process when there are no " "longer any proxies referring to it." @@ -3140,11 +3141,11 @@ msgstr "" "Un objet partagé est supprimé par le processus gestionnaire quand plus aucun " "mandataire ne le référence." -#: library/multiprocessing.rst:2107 +#: library/multiprocessing.rst:2108 msgid "Process Pools" msgstr "Pools de processus" -#: library/multiprocessing.rst:2112 +#: library/multiprocessing.rst:2113 msgid "" "One can create a pool of processes which will carry out tasks submitted to " "it with the :class:`Pool` class." @@ -3152,7 +3153,7 @@ msgstr "" "On peut créer un pool de processus qui exécuteront les tâches qui lui seront " "soumises avec la classe :class:`Pool`." -#: library/multiprocessing.rst:2117 +#: library/multiprocessing.rst:2118 msgid "" "A process pool object which controls a pool of worker processes to which " "jobs can be submitted. It supports asynchronous results with timeouts and " @@ -3163,7 +3164,7 @@ msgstr "" "*timeouts* et des *callabacks* et possède une implémentation parallèle de " "*map*." -#: library/multiprocessing.rst:2121 +#: library/multiprocessing.rst:2122 msgid "" "*processes* is the number of worker processes to use. If *processes* is " "``None`` then the number returned by :func:`os.cpu_count` is used." @@ -3171,7 +3172,7 @@ msgstr "" "*processes* est le nombre de processus *workers* à utiliser. Si *processes* " "est ``None``, le nombre renvoyé par :func:`os.cpu_count` est utilisé." -#: library/multiprocessing.rst:2124 +#: library/multiprocessing.rst:2125 msgid "" "If *initializer* is not ``None`` then each worker process will call " "``initializer(*initargs)`` when it starts." @@ -3179,7 +3180,7 @@ msgstr "" "Si *initializer* n'est pas ``None``, chaque processus *worker* appellera " "``initializer(*initargs)`` en démarrant." -#: library/multiprocessing.rst:2127 +#: library/multiprocessing.rst:2128 msgid "" "*maxtasksperchild* is the number of tasks a worker process can complete " "before it will exit and be replaced with a fresh worker process, to enable " @@ -3192,7 +3193,7 @@ msgstr "" "*maxtasksperchild* est ``None``, ce qui signifie que le *worker* vit aussi " "longtemps que le pool." -#: library/multiprocessing.rst:2132 +#: library/multiprocessing.rst:2133 msgid "" "*context* can be used to specify the context used for starting the worker " "processes. Usually a pool is created using the function :func:" @@ -3204,7 +3205,7 @@ msgstr "" "fonction :func:`multiprocessing.Pool` ou de la méthode :meth:`Pool` d'un " "objet de contexte. Dans les deux cas *context* est réglé de façon appropriée." -#: library/multiprocessing.rst:2138 +#: library/multiprocessing.rst:2139 msgid "" "Note that the methods of the pool object should only be called by the " "process which created the pool." @@ -3212,7 +3213,7 @@ msgstr "" "Notez que les méthodes de l'objet *pool* ne doivent être appelées que par le " "processus qui l'a créé." -#: library/multiprocessing.rst:2142 +#: library/multiprocessing.rst:2143 msgid "" ":class:`multiprocessing.pool` objects have internal resources that need to " "be properly managed (like any other resource) by using the pool as a context " @@ -3225,7 +3226,7 @@ msgstr "" "`terminate` manuellement. Si cela n'est pas fait, le processus peut être " "bloqué à la finalisation." -#: library/multiprocessing.rst:2147 +#: library/multiprocessing.rst:2148 msgid "" "Note that is **not correct** to rely on the garbage colletor to destroy the " "pool as CPython does not assure that the finalizer of the pool will be " @@ -3235,15 +3236,15 @@ msgstr "" "détruire le pool car CPython n'assure pas que le *finalizer* du pool sera " "appelé (voir :meth:`object.__del__` pour plus d'informations)." -#: library/multiprocessing.rst:2151 +#: library/multiprocessing.rst:2152 msgid "*maxtasksperchild*" msgstr "*maxtasksperchild*" -#: library/multiprocessing.rst:2154 +#: library/multiprocessing.rst:2155 msgid "*context*" msgstr "*context*" -#: library/multiprocessing.rst:2159 +#: library/multiprocessing.rst:2160 msgid "" "Worker processes within a :class:`Pool` typically live for the complete " "duration of the Pool's work queue. A frequent pattern found in other systems " @@ -3262,7 +3263,7 @@ msgstr "" "fraîchement lancé. L'argument *maxtasksperchild* de :class:`Pool` expose " "cette fonctionnalité à l'utilisateur final." -#: library/multiprocessing.rst:2169 +#: library/multiprocessing.rst:2170 msgid "" "Call *func* with arguments *args* and keyword arguments *kwds*. It blocks " "until the result is ready. Given this blocks, :meth:`apply_async` is better " @@ -3274,12 +3275,15 @@ msgstr "" "meth:`apply_async` est préférable pour exécuter du travail en parallèle. De " "plus, *func* est exécutée sur un seul des *workers* du pool." -#: library/multiprocessing.rst:2176 -msgid "A variant of the :meth:`apply` method which returns a result object." +#: library/multiprocessing.rst:2177 +#, fuzzy +msgid "" +"A variant of the :meth:`apply` method which returns a :class:" +"`~multiprocessing.pool.AsyncResult` object." msgstr "" "Une variante de la méthode :meth:`apply` qui renvoie un objet résultat." -#: library/multiprocessing.rst:2178 library/multiprocessing.rst:2208 +#: library/multiprocessing.rst:2180 library/multiprocessing.rst:2211 msgid "" "If *callback* is specified then it should be a callable which accepts a " "single argument. When the result becomes ready *callback* is applied to it, " @@ -3291,7 +3295,7 @@ msgstr "" "résultat, si l'appel n'échoue pas auquel cas *error_callback* est appelé à " "la place." -#: library/multiprocessing.rst:2183 library/multiprocessing.rst:2213 +#: library/multiprocessing.rst:2185 library/multiprocessing.rst:2216 msgid "" "If *error_callback* is specified then it should be a callable which accepts " "a single argument. If the target function fails, then the *error_callback* " @@ -3301,7 +3305,7 @@ msgstr "" "accepte un seul argument. Si la fonction cible échoue, alors " "*error_callback* est appelé avec l'instance de l'exception." -#: library/multiprocessing.rst:2187 library/multiprocessing.rst:2217 +#: library/multiprocessing.rst:2189 library/multiprocessing.rst:2220 msgid "" "Callbacks should complete immediately since otherwise the thread which " "handles the results will get blocked." @@ -3309,7 +3313,7 @@ msgstr "" "Les *callbacks* doivent se terminer immédiatement, autrement le fil " "d'exécution qui gère les résultats se retrouverait bloqué." -#: library/multiprocessing.rst:2192 +#: library/multiprocessing.rst:2194 msgid "" "A parallel equivalent of the :func:`map` built-in function (it supports only " "one *iterable* argument though, for multiple iterables see :meth:`starmap`). " @@ -3319,7 +3323,7 @@ msgstr "" "qu'un seul argument *itérable* ; pour en passer plusieurs, référez-vous à :" "meth:`starmap`). Elle bloque jusqu'à ce que le résultat soit prêt." -#: library/multiprocessing.rst:2196 +#: library/multiprocessing.rst:2198 msgid "" "This method chops the iterable into a number of chunks which it submits to " "the process pool as separate tasks. The (approximate) size of these chunks " @@ -3329,7 +3333,7 @@ msgstr "" "pool de processus comme des tâches séparées. La taille (approximative) de " "ces morceaux peut être précisée en passant à *chunksize* un entier positif." -#: library/multiprocessing.rst:2200 +#: library/multiprocessing.rst:2202 msgid "" "Note that it may cause high memory usage for very long iterables. Consider " "using :meth:`imap` or :meth:`imap_unordered` with explicit *chunksize* " @@ -3340,15 +3344,18 @@ msgstr "" "`imap_unordered` avec l'option *chunksize* explicite pour une meilleure " "efficacité." -#: library/multiprocessing.rst:2206 -msgid "A variant of the :meth:`.map` method which returns a result object." +#: library/multiprocessing.rst:2208 +#, fuzzy +msgid "" +"A variant of the :meth:`.map` method which returns a :class:" +"`~multiprocessing.pool.AsyncResult` object." msgstr "Une variante de la méthode :meth:`.map` qui renvoie un objet résultat." -#: library/multiprocessing.rst:2222 +#: library/multiprocessing.rst:2225 msgid "A lazier version of :meth:`.map`." msgstr "Une version paresseuse de :meth:`map`." -#: library/multiprocessing.rst:2224 +#: library/multiprocessing.rst:2227 msgid "" "The *chunksize* argument is the same as the one used by the :meth:`.map` " "method. For very long iterables using a large value for *chunksize* can " @@ -3359,7 +3366,7 @@ msgstr "" "*chunksize* peut faire s'exécuter la tâche **beaucoup** plus rapidement " "qu'en utilisant la valeur par défaut de ``1``." -#: library/multiprocessing.rst:2229 +#: library/multiprocessing.rst:2232 msgid "" "Also if *chunksize* is ``1`` then the :meth:`!next` method of the iterator " "returned by the :meth:`imap` method has an optional *timeout* parameter: " @@ -3371,7 +3378,7 @@ msgstr "" "*timeout* : ``next(timeout)`` lève une :exc:`multiprocessing.TimeoutError` " "si le résultat ne peut pas être renvoyé avant *timeout* secondes." -#: library/multiprocessing.rst:2236 +#: library/multiprocessing.rst:2239 msgid "" "The same as :meth:`imap` except that the ordering of the results from the " "returned iterator should be considered arbitrary. (Only when there is only " @@ -3381,7 +3388,7 @@ msgstr "" "l'itérateur renvoyé doit être considéré comme arbitraire. (L'ordre n'est " "garanti que quand il n'y a qu'un *worker*.)" -#: library/multiprocessing.rst:2242 +#: library/multiprocessing.rst:2245 msgid "" "Like :meth:`map` except that the elements of the *iterable* are expected to " "be iterables that are unpacked as arguments." @@ -3389,7 +3396,7 @@ msgstr "" "Semblable à :meth:`map` à l'exception que les éléments d'*iterable* doivent " "être des itérables qui seront dépaquetés comme arguments pour la fonction." -#: library/multiprocessing.rst:2245 +#: library/multiprocessing.rst:2248 msgid "" "Hence an *iterable* of ``[(1,2), (3, 4)]`` results in ``[func(1,2), " "func(3,4)]``." @@ -3397,7 +3404,7 @@ msgstr "" "Par conséquent un *iterable* ``[(1,2), (3, 4)]`` donnera pour résultat " "``[func(1,2), func(3,4)]``." -#: library/multiprocessing.rst:2252 +#: library/multiprocessing.rst:2255 msgid "" "A combination of :meth:`starmap` and :meth:`map_async` that iterates over " "*iterable* of iterables and calls *func* with the iterables unpacked. " @@ -3407,7 +3414,7 @@ msgstr "" "*iterable* (composé d'itérables) et appelle *func* pour chaque itérable " "dépaqueté. Renvoie l'objet résultat." -#: library/multiprocessing.rst:2260 +#: library/multiprocessing.rst:2263 msgid "" "Prevents any more tasks from being submitted to the pool. Once all the " "tasks have been completed the worker processes will exit." @@ -3415,7 +3422,7 @@ msgstr "" "Empêche de nouvelles tâches d'être envoyées à la *pool*. Les processus " "*workers* se terminent une fois que toutes les tâches ont été complétées." -#: library/multiprocessing.rst:2265 +#: library/multiprocessing.rst:2268 msgid "" "Stops the worker processes immediately without completing outstanding work. " "When the pool object is garbage collected :meth:`terminate` will be called " @@ -3425,7 +3432,7 @@ msgstr "" "courants. Quand l'objet *pool* est collecté par le ramasse-miettes, sa " "méthode :meth:`terminate` est appelée immédiatement." -#: library/multiprocessing.rst:2271 +#: library/multiprocessing.rst:2274 msgid "" "Wait for the worker processes to exit. One must call :meth:`close` or :meth:" "`terminate` before using :meth:`join`." @@ -3433,7 +3440,7 @@ msgstr "" "Attend que les processus *workers* se terminent. Il est nécessaire " "d'appeler :meth:`close` ou :meth:`terminate` avant d'utiliser :meth:`join`." -#: library/multiprocessing.rst:2274 +#: library/multiprocessing.rst:2277 msgid "" "Pool objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the pool " @@ -3444,7 +3451,7 @@ msgstr "" "__enter__` renvoie l'objet *pool* et :meth:`~contextmanager.__exit__` " "appelle :meth:`terminate`." -#: library/multiprocessing.rst:2282 +#: library/multiprocessing.rst:2285 msgid "" "The class of the result returned by :meth:`Pool.apply_async` and :meth:`Pool." "map_async`." @@ -3452,7 +3459,7 @@ msgstr "" "La classe des résultats renvoyés par :meth:`Pool.apply_async` et :meth:`Pool." "map_async`." -#: library/multiprocessing.rst:2287 +#: library/multiprocessing.rst:2290 msgid "" "Return the result when it arrives. If *timeout* is not ``None`` and the " "result does not arrive within *timeout* seconds then :exc:`multiprocessing." @@ -3464,16 +3471,16 @@ msgstr "" "TimeoutError` est levée. Si l'appel distance lève une exception, alors elle " "est relayée par :meth:`get`." -#: library/multiprocessing.rst:2294 +#: library/multiprocessing.rst:2297 msgid "Wait until the result is available or until *timeout* seconds pass." msgstr "" "Attend que le résultat soit disponible ou que *timeout* secondes s'écoulent." -#: library/multiprocessing.rst:2298 +#: library/multiprocessing.rst:2301 msgid "Return whether the call has completed." msgstr "Renvoie ``True`` ou ``False`` suivant si la tâche est accomplie." -#: library/multiprocessing.rst:2302 +#: library/multiprocessing.rst:2305 msgid "" "Return whether the call completed without raising an exception. Will raise :" "exc:`ValueError` if the result is not ready." @@ -3481,7 +3488,7 @@ msgstr "" "Renvoie ``True`` ou ``False`` suivant si la tâche est accomplie sans lever " "d'exception. Lève une :exc:`ValueError` si le résultat n'est pas prêt." -#: library/multiprocessing.rst:2305 +#: library/multiprocessing.rst:2308 msgid "" "If the result is not ready, :exc:`ValueError` is raised instead of :exc:" "`AssertionError`." @@ -3489,16 +3496,16 @@ msgstr "" "Si le résultat n'est pas prêt, une :exc:`ValueError` est levée au lieu " "d'une :exc:`AssertionError` auparavant." -#: library/multiprocessing.rst:2309 +#: library/multiprocessing.rst:2312 msgid "The following example demonstrates the use of a pool::" msgstr "" "Les exemples suivants présentent l'utilisation d'un pool de *workers* ::" -#: library/multiprocessing.rst:2336 +#: library/multiprocessing.rst:2339 msgid "Listeners and Clients" msgstr "Auditeurs et Clients" -#: library/multiprocessing.rst:2341 +#: library/multiprocessing.rst:2344 msgid "" "Usually message passing between processes is done using queues or by using :" "class:`~Connection` objects returned by :func:`~multiprocessing.Pipe`." @@ -3507,7 +3514,7 @@ msgstr "" "utilisant des queues ou des objets :class:`~Connection` renvoyés par :func:" "`~multiprocessing.Pipe`." -#: library/multiprocessing.rst:2345 +#: library/multiprocessing.rst:2348 msgid "" "However, the :mod:`multiprocessing.connection` module allows some extra " "flexibility. It basically gives a high level message oriented API for " @@ -3522,7 +3529,7 @@ msgstr "" "utilisant le module :mod:`hmac`, et pour interroger de multiples connexions " "en même temps." -#: library/multiprocessing.rst:2354 +#: library/multiprocessing.rst:2357 msgid "" "Send a randomly generated message to the other end of the connection and " "wait for a reply." @@ -3530,7 +3537,7 @@ msgstr "" "Envoie un message généré aléatoirement à l'autre bout de la connexion et " "attend une réponse." -#: library/multiprocessing.rst:2357 +#: library/multiprocessing.rst:2360 msgid "" "If the reply matches the digest of the message using *authkey* as the key " "then a welcome message is sent to the other end of the connection. " @@ -3540,7 +3547,7 @@ msgstr "" "alors un message de bienvenue est envoyé à l'autre bout de la connexion. " "Autrement, une :exc:`~multiprocessing.AuthenticationError` est levée." -#: library/multiprocessing.rst:2363 +#: library/multiprocessing.rst:2366 msgid "" "Receive a message, calculate the digest of the message using *authkey* as " "the key, and then send the digest back." @@ -3548,7 +3555,7 @@ msgstr "" "Reçoit un message, calcule le condensat du message en utilisant la clé " "*authkey*, et envoie le condensat en réponse." -#: library/multiprocessing.rst:2366 +#: library/multiprocessing.rst:2369 msgid "" "If a welcome message is not received, then :exc:`~multiprocessing." "AuthenticationError` is raised." @@ -3556,7 +3563,7 @@ msgstr "" "Si un message de bienvenue n'est pas reçu, une :exc:`~multiprocessing." "AuthenticationError` est levée." -#: library/multiprocessing.rst:2371 +#: library/multiprocessing.rst:2374 msgid "" "Attempt to set up a connection to the listener which is using address " "*address*, returning a :class:`~Connection`." @@ -3564,7 +3571,7 @@ msgstr "" "Essaie d'établir une connexion avec l'auditeur qui utilise l'adresse " "*address*, renvoie une :class:`~Connection`." -#: library/multiprocessing.rst:2374 +#: library/multiprocessing.rst:2377 msgid "" "The type of the connection is determined by *family* argument, but this can " "generally be omitted since it can usually be inferred from the format of " @@ -3574,7 +3581,7 @@ msgstr "" "généralement être omis puisqu'il peut être inféré depuis le format " "d'*address*. (Voir :ref:`multiprocessing-address-formats`)" -#: library/multiprocessing.rst:2378 library/multiprocessing.rst:2413 +#: library/multiprocessing.rst:2381 library/multiprocessing.rst:2416 msgid "" "If *authkey* is given and not None, it should be a byte string and will be " "used as the secret key for an HMAC-based authentication challenge. No " @@ -3588,7 +3595,7 @@ msgstr "" "``None``. Une :exc:`~multiprocessing.AuthenticationError` est levée si " "l'authentification échoue. Voir :ref:`multiprocessing-auth-keys`." -#: library/multiprocessing.rst:2386 +#: library/multiprocessing.rst:2389 msgid "" "A wrapper for a bound socket or Windows named pipe which is 'listening' for " "connections." @@ -3596,7 +3603,7 @@ msgstr "" "Une enveloppe autour d'un connecteur lié ou un tube nommé sous Windows qui " "écoute pour des connexions." -#: library/multiprocessing.rst:2389 +#: library/multiprocessing.rst:2392 msgid "" "*address* is the address to be used by the bound socket or named pipe of the " "listener object." @@ -3604,7 +3611,7 @@ msgstr "" "*address* est l'adresse à utiliser par le connecteur lié ou le tube nommé de " "l'objet auditeur." -#: library/multiprocessing.rst:2394 +#: library/multiprocessing.rst:2397 msgid "" "If an address of '0.0.0.0' is used, the address will not be a connectable " "end point on Windows. If you require a connectable end-point, you should use " @@ -3614,7 +3621,7 @@ msgstr "" "d'accès connectable sous Windows. Si vous avez besoin d'un point d'accès " "connectable, utilisez '127.0.0.1'." -#: library/multiprocessing.rst:2398 +#: library/multiprocessing.rst:2401 msgid "" "*family* is the type of socket (or named pipe) to use. This can be one of " "the strings ``'AF_INET'`` (for a TCP socket), ``'AF_UNIX'`` (for a Unix " @@ -3638,7 +3645,7 @@ msgstr "" "``'AF_UNIX'`` et qu'*address* est ``None``, le connecteur est créé dans un " "répertoire temporaire privé créé avec :func:`tempfile.mkstemp`." -#: library/multiprocessing.rst:2409 +#: library/multiprocessing.rst:2412 msgid "" "If the listener object uses a socket then *backlog* (1 by default) is passed " "to the :meth:`~socket.socket.listen` method of the socket once it has been " @@ -3648,7 +3655,7 @@ msgstr "" "passé à la méthode :meth:`~socket.socket.listen` du connecteur une fois " "qu'il a été lié." -#: library/multiprocessing.rst:2421 +#: library/multiprocessing.rst:2424 msgid "" "Accept a connection on the bound socket or named pipe of the listener object " "and return a :class:`~Connection` object. If authentication is attempted and " @@ -3659,7 +3666,7 @@ msgstr "" "d'authentification échoue, une :exc:`~multiprocessing.AuthenticationError` " "est levée." -#: library/multiprocessing.rst:2428 +#: library/multiprocessing.rst:2431 msgid "" "Close the bound socket or named pipe of the listener object. This is called " "automatically when the listener is garbage collected. However it is " @@ -3669,16 +3676,16 @@ msgstr "" "appelée automatiquement quand l'auditeur est collecté par le ramasse-" "miettes. Il est cependant conseillé de l'appeler explicitement." -#: library/multiprocessing.rst:2432 +#: library/multiprocessing.rst:2435 msgid "Listener objects have the following read-only properties:" msgstr "" "Les objets auditeurs ont aussi les propriétés en lecture seule suivantes :" -#: library/multiprocessing.rst:2436 +#: library/multiprocessing.rst:2439 msgid "The address which is being used by the Listener object." msgstr "L'adresse utilisée par l'objet auditeur." -#: library/multiprocessing.rst:2440 +#: library/multiprocessing.rst:2443 msgid "" "The address from which the last accepted connection came. If this is " "unavailable then it is ``None``." @@ -3686,7 +3693,7 @@ msgstr "" "L'adresse depuis laquelle a été établie la dernière connexion. ``None`` si " "aucune n'est disponible." -#: library/multiprocessing.rst:2443 +#: library/multiprocessing.rst:2446 msgid "" "Listener objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the " @@ -3697,7 +3704,7 @@ msgstr "" "renvoie l'objet auditeur, et :meth:`~contextmanager.__exit__` appelle :meth:" "`close`." -#: library/multiprocessing.rst:2450 +#: library/multiprocessing.rst:2453 msgid "" "Wait till an object in *object_list* is ready. Returns the list of those " "objects in *object_list* which are ready. If *timeout* is a float then the " @@ -3711,23 +3718,23 @@ msgstr "" "l'appelle bloquera pour une durée non limitée. Un *timeout* négatif est " "équivalent à un *timeout* nul." -#: library/multiprocessing.rst:2456 +#: library/multiprocessing.rst:2459 msgid "" "For both Unix and Windows, an object can appear in *object_list* if it is" msgstr "" "Pour Unix et Windows, un objet peut apparaître dans *object_list* s'il est" -#: library/multiprocessing.rst:2459 +#: library/multiprocessing.rst:2462 msgid "a readable :class:`~multiprocessing.connection.Connection` object;" msgstr "" "un objet :class:`~multiprocessing.connection.Connection` accessible en " "lecture ;" -#: library/multiprocessing.rst:2460 +#: library/multiprocessing.rst:2463 msgid "a connected and readable :class:`socket.socket` object; or" msgstr "un objet :class:`socket.socket` connecté et accessible en lecture ; ou" -#: library/multiprocessing.rst:2461 +#: library/multiprocessing.rst:2464 msgid "" "the :attr:`~multiprocessing.Process.sentinel` attribute of a :class:" "`~multiprocessing.Process` object." @@ -3735,7 +3742,7 @@ msgstr "" "l'attribut :attr:`~multiprocessing.Process.sentinel` d'un objet :class:" "`~multiprocessing.Process`." -#: library/multiprocessing.rst:2464 +#: library/multiprocessing.rst:2467 msgid "" "A connection or socket object is ready when there is data available to be " "read from it, or the other end has been closed." @@ -3743,7 +3750,7 @@ msgstr "" "Une connexion (*socket* en anglais) est prête quand il y a des données " "disponibles en lecture dessus, ou que l'autre bout a été fermé." -#: library/multiprocessing.rst:2467 +#: library/multiprocessing.rst:2470 msgid "" "**Unix**: ``wait(object_list, timeout)`` almost equivalent ``select." "select(object_list, [], [], timeout)``. The difference is that, if :func:" @@ -3756,7 +3763,7 @@ msgstr "" "`OSError` avec un numéro d'erreur ``EINTR``, alors que :func:`wait` ne le " "fera pas." -#: library/multiprocessing.rst:2473 +#: library/multiprocessing.rst:2476 msgid "" "**Windows**: An item in *object_list* must either be an integer handle which " "is waitable (according to the definition used by the documentation of the " @@ -3771,11 +3778,11 @@ msgstr "" "(notez que les identifiants de tubes et de connecteurs **ne sont pas** des " "identifiants *waitables*)." -#: library/multiprocessing.rst:2483 +#: library/multiprocessing.rst:2486 msgid "**Examples**" msgstr "**Exemples**" -#: library/multiprocessing.rst:2485 +#: library/multiprocessing.rst:2488 msgid "" "The following server code creates a listener which uses ``'secret " "password'`` as an authentication key. It then waits for a connection and " @@ -3785,13 +3792,13 @@ msgstr "" "comme clé d'authentification. Il attend ensuite une connexion et envoie les " "données au client ::" -#: library/multiprocessing.rst:2504 +#: library/multiprocessing.rst:2507 msgid "" "The following code connects to the server and receives some data from the " "server::" msgstr "Le code suivant se connecte au serveur et en reçoit des données ::" -#: library/multiprocessing.rst:2521 +#: library/multiprocessing.rst:2524 msgid "" "The following code uses :func:`~multiprocessing.connection.wait` to wait for " "messages from multiple processes at once::" @@ -3799,11 +3806,11 @@ msgstr "" "Le code suivant utilise :func:`~multiprocessing.connection.wait` pour " "attendre des messages depuis plusieurs processus à la fois ::" -#: library/multiprocessing.rst:2560 +#: library/multiprocessing.rst:2563 msgid "Address Formats" msgstr "Formats d'adresses" -#: library/multiprocessing.rst:2562 +#: library/multiprocessing.rst:2565 msgid "" "An ``'AF_INET'`` address is a tuple of the form ``(hostname, port)`` where " "*hostname* is a string and *port* is an integer." @@ -3811,7 +3818,7 @@ msgstr "" "Une adresse ``'AF_INET'`` est un *tuple* de la forme ``(hostname, port)`` où " "*hostname* est une chaîne et *port* un entier." -#: library/multiprocessing.rst:2565 +#: library/multiprocessing.rst:2568 msgid "" "An ``'AF_UNIX'`` address is a string representing a filename on the " "filesystem." @@ -3819,11 +3826,11 @@ msgstr "" "Une adresse ``'AF_UNIX'`` est une chaîne représentant un nom de fichier sur " "le système de fichiers." -#: library/multiprocessing.rst:2571 +#: library/multiprocessing.rst:2574 msgid "An ``'AF_PIPE'`` address is a string of the form" msgstr "Une adresse ``'AF_PIPE'`` est une chaîne de la forme" -#: library/multiprocessing.rst:2569 +#: library/multiprocessing.rst:2572 msgid "" ":samp:`r'\\\\\\\\.\\\\pipe\\\\{PipeName}'`. To use :func:`Client` to " "connect to a named pipe on a remote computer called *ServerName* one should " @@ -3835,7 +3842,7 @@ msgstr "" "*ServerName*, il faut plutôt utiliser une adresse de la forme :samp:`r'\\\\\\" "\\{ServerName}\\\\pipe\\\\{PipeName}'`." -#: library/multiprocessing.rst:2573 +#: library/multiprocessing.rst:2576 msgid "" "Note that any string beginning with two backslashes is assumed by default to " "be an ``'AF_PIPE'`` address rather than an ``'AF_UNIX'`` address." @@ -3844,11 +3851,11 @@ msgstr "" "défaut comme l'adresse d'un ``'AF_PIPE'`` plutôt qu'une adresse " "``'AF_UNIX'``." -#: library/multiprocessing.rst:2580 +#: library/multiprocessing.rst:2583 msgid "Authentication keys" msgstr "Clés d'authentification" -#: library/multiprocessing.rst:2582 +#: library/multiprocessing.rst:2585 msgid "" "When one uses :meth:`Connection.recv `, the data received " "is automatically unpickled. Unfortunately unpickling data from an untrusted " @@ -3861,7 +3868,7 @@ msgstr "" "sécurité. Par conséquent :class:`Listener` et :func:`Client` utilisent le " "module :mod:`hmac` pour fournir une authentification par condensat." -#: library/multiprocessing.rst:2588 +#: library/multiprocessing.rst:2591 msgid "" "An authentication key is a byte string which can be thought of as a " "password: once a connection is established both ends will demand proof that " @@ -3874,7 +3881,7 @@ msgstr "" "(Démontrer que les deux utilisent la même clé n'implique **pas** d'échanger " "la clé sur la connexion.)" -#: library/multiprocessing.rst:2594 +#: library/multiprocessing.rst:2597 msgid "" "If authentication is requested but no authentication key is specified then " "the return value of ``current_process().authkey`` is used (see :class:" @@ -3892,7 +3899,7 @@ msgstr "" "processus partageront une clé d'authentification unique qui peut être " "utilisée pour mettre en place des connexions entre-eux." -#: library/multiprocessing.rst:2602 +#: library/multiprocessing.rst:2605 msgid "" "Suitable authentication keys can also be generated by using :func:`os." "urandom`." @@ -3900,11 +3907,11 @@ msgstr "" "Des clés d'authentification adaptées peuvent aussi être générées par :func:" "`os.urandom`." -#: library/multiprocessing.rst:2606 +#: library/multiprocessing.rst:2609 msgid "Logging" msgstr "Journalisation" -#: library/multiprocessing.rst:2608 +#: library/multiprocessing.rst:2611 msgid "" "Some support for logging is available. Note, however, that the :mod:" "`logging` package does not use process shared locks so it is possible " @@ -3916,7 +3923,7 @@ msgstr "" "processus et il est donc possible (dépendant du type de gestionnaire) que " "les messages de différents processus soient mélangés." -#: library/multiprocessing.rst:2615 +#: library/multiprocessing.rst:2618 msgid "" "Returns the logger used by :mod:`multiprocessing`. If necessary, a new one " "will be created." @@ -3924,7 +3931,7 @@ msgstr "" "Renvoie le journaliseur utilisé par :mod:`multiprocessing`. Si nécessaire, " "un nouveau sera créé." -#: library/multiprocessing.rst:2618 +#: library/multiprocessing.rst:2621 msgid "" "When first created the logger has level :data:`logging.NOTSET` and no " "default handler. Messages sent to this logger will not by default propagate " @@ -3934,7 +3941,7 @@ msgstr "" "et pas de gestionnaire par défaut. Les messages envoyés à ce journaliseur ne " "seront pas propagés par défaut au journaliseur principal." -#: library/multiprocessing.rst:2622 +#: library/multiprocessing.rst:2625 msgid "" "Note that on Windows child processes will only inherit the level of the " "parent process's logger -- any other customization of the logger will not be " @@ -3944,7 +3951,7 @@ msgstr "" "journaliseur du processus parent – toute autre personnalisation du " "journaliseur ne sera pas héritée." -#: library/multiprocessing.rst:2629 +#: library/multiprocessing.rst:2632 msgid "" "This function performs a call to :func:`get_logger` but in addition to " "returning the logger created by get_logger, it adds a handler which sends " @@ -3956,22 +3963,22 @@ msgstr "" "qui envoie la sortie sur :data:`sys.stderr` en utilisant le format " "``'[%(levelname)s/%(processName)s] %(message)s'``." -#: library/multiprocessing.rst:2634 +#: library/multiprocessing.rst:2637 msgid "Below is an example session with logging turned on::" msgstr "" "L'exemple ci-dessous présente une session avec la journalisation activée ::" -#: library/multiprocessing.rst:2649 +#: library/multiprocessing.rst:2652 msgid "For a full table of logging levels, see the :mod:`logging` module." msgstr "" "Pour un tableau complet des niveaux de journalisation, voir le module :mod:" "`logging`." -#: library/multiprocessing.rst:2653 +#: library/multiprocessing.rst:2656 msgid "The :mod:`multiprocessing.dummy` module" msgstr "Le module :mod:`multiprocessing.dummy`" -#: library/multiprocessing.rst:2658 +#: library/multiprocessing.rst:2661 msgid "" ":mod:`multiprocessing.dummy` replicates the API of :mod:`multiprocessing` " "but is no more than a wrapper around the :mod:`threading` module." @@ -3979,11 +3986,11 @@ msgstr "" ":mod:`multiprocessing.dummy` réplique toute l'API de :mod:`multiprocessing` " "mais n'est rien de plus qu'un *wrapper* autour du module :mod:`threading`." -#: library/multiprocessing.rst:2665 +#: library/multiprocessing.rst:2668 msgid "Programming guidelines" msgstr "Lignes directrices de programmation" -#: library/multiprocessing.rst:2667 +#: library/multiprocessing.rst:2670 msgid "" "There are certain guidelines and idioms which should be adhered to when " "using :mod:`multiprocessing`." @@ -3991,19 +3998,19 @@ msgstr "" "Il y a certaines lignes directrices et idiomes auxquels il faut adhérer en " "utilisant :mod:`multiprocessing`." -#: library/multiprocessing.rst:2672 +#: library/multiprocessing.rst:2675 msgid "All start methods" msgstr "Toutes les méthodes de démarrage" -#: library/multiprocessing.rst:2674 +#: library/multiprocessing.rst:2677 msgid "The following applies to all start methods." msgstr "Les règles suivantes s'appliquent aux méthodes de démarrage." -#: library/multiprocessing.rst:2676 +#: library/multiprocessing.rst:2679 msgid "Avoid shared state" msgstr "Éviter les états partagés" -#: library/multiprocessing.rst:2678 +#: library/multiprocessing.rst:2681 msgid "" "As far as possible one should try to avoid shifting large amounts of data " "between processes." @@ -4011,7 +4018,7 @@ msgstr "" "Autant que possible, vous devriez éviter de déplacer de larges données entre " "les processus." -#: library/multiprocessing.rst:2681 +#: library/multiprocessing.rst:2684 msgid "" "It is probably best to stick to using queues or pipes for communication " "between processes rather than using the lower level synchronization " @@ -4021,21 +4028,21 @@ msgstr "" "tubes pour la communication entre processus plutôt que d'utiliser des " "primitives de synchronisation plus bas-niveau." -#: library/multiprocessing.rst:2685 +#: library/multiprocessing.rst:2688 msgid "Picklability" msgstr "Sérialisation" -#: library/multiprocessing.rst:2687 +#: library/multiprocessing.rst:2690 msgid "Ensure that the arguments to the methods of proxies are picklable." msgstr "" "Assurez-vous que les arguments passés aux méthodes des mandataires soient " "sérialisables (*pickables*)." -#: library/multiprocessing.rst:2689 +#: library/multiprocessing.rst:2692 msgid "Thread safety of proxies" msgstr "Sûreté des mandataires à travers les fils d'exécution" -#: library/multiprocessing.rst:2691 +#: library/multiprocessing.rst:2694 msgid "" "Do not use a proxy object from more than one thread unless you protect it " "with a lock." @@ -4043,18 +4050,18 @@ msgstr "" "N'utilisez pas d'objet mandataire depuis plus d'un fil d'exécution à moins " "que vous ne le protégiez avec un verrou." -#: library/multiprocessing.rst:2694 +#: library/multiprocessing.rst:2697 msgid "" "(There is never a problem with different processes using the *same* proxy.)" msgstr "" "(Il n'y a jamais de problème avec plusieurs processus utilisant un *même* " "mandataire.)" -#: library/multiprocessing.rst:2696 +#: library/multiprocessing.rst:2699 msgid "Joining zombie processes" msgstr "Attendre les processus zombies" -#: library/multiprocessing.rst:2698 +#: library/multiprocessing.rst:2701 msgid "" "On Unix when a process finishes but has not been joined it becomes a zombie. " "There should never be very many because each time a new process starts (or :" @@ -4073,11 +4080,11 @@ msgstr "" "processus. Toutefois il est probablement une bonne pratique d'attendre " "explicitement tous les processus que vous démarrez." -#: library/multiprocessing.rst:2706 +#: library/multiprocessing.rst:2709 msgid "Better to inherit than pickle/unpickle" msgstr "Préférez hériter que sérialiser/désérialiser" -#: library/multiprocessing.rst:2708 +#: library/multiprocessing.rst:2711 msgid "" "When using the *spawn* or *forkserver* start methods many types from :mod:" "`multiprocessing` need to be picklable so that child processes can use " @@ -4094,11 +4101,11 @@ msgstr "" "qu'un processus qui nécessite l'accès à une ressource partagée créée autre " "part qu'il en hérite depuis un de ses processus ancêtres." -#: library/multiprocessing.rst:2716 +#: library/multiprocessing.rst:2719 msgid "Avoid terminating processes" msgstr "Éviter de terminer les processus" -#: library/multiprocessing.rst:2718 +#: library/multiprocessing.rst:2721 msgid "" "Using the :meth:`Process.terminate ` " "method to stop a process is liable to cause any shared resources (such as " @@ -4110,7 +4117,7 @@ msgstr "" "indisponible aux autres processus des ressources partagées (comme des " "verrous, sémaphores, tubes et queues) actuellement utilisée par le processus." -#: library/multiprocessing.rst:2724 +#: library/multiprocessing.rst:2727 msgid "" "Therefore it is probably best to only consider using :meth:`Process." "terminate ` on processes which never use " @@ -4120,11 +4127,11 @@ msgstr "" "` que sur les processus qui n'utilisent " "jamais de ressources partagées." -#: library/multiprocessing.rst:2728 +#: library/multiprocessing.rst:2731 msgid "Joining processes that use queues" msgstr "Attendre les processus qui utilisent des queues" -#: library/multiprocessing.rst:2730 +#: library/multiprocessing.rst:2733 msgid "" "Bear in mind that a process that has put items in a queue will wait before " "terminating until all the buffered items are fed by the \"feeder\" thread to " @@ -4139,7 +4146,7 @@ msgstr "" "` de la queue pour éviter ce " "comportement.)" -#: library/multiprocessing.rst:2736 +#: library/multiprocessing.rst:2739 msgid "" "This means that whenever you use a queue you need to make sure that all " "items which have been put on the queue will eventually be removed before the " @@ -4154,11 +4161,11 @@ msgstr "" "termineront. Souvenez-vous aussi que tous les processus non *daemons* seront " "attendus automatiquement." -#: library/multiprocessing.rst:2742 +#: library/multiprocessing.rst:2745 msgid "An example which will deadlock is the following::" msgstr "L'exemple suivant provoquera un interblocage ::" -#: library/multiprocessing.rst:2756 +#: library/multiprocessing.rst:2759 msgid "" "A fix here would be to swap the last two lines (or simply remove the ``p." "join()`` line)." @@ -4166,11 +4173,11 @@ msgstr "" "Une solution ici serait d'intervertir les deux dernières lignes (ou " "simplement supprimer la ligne ``p.join()``)." -#: library/multiprocessing.rst:2759 +#: library/multiprocessing.rst:2762 msgid "Explicitly pass resources to child processes" msgstr "Passer explicitement les ressources aux processus fils" -#: library/multiprocessing.rst:2761 +#: library/multiprocessing.rst:2764 msgid "" "On Unix using the *fork* start method, a child process can make use of a " "shared resource created in a parent process using a global resource. " @@ -4182,7 +4189,7 @@ msgstr "" "utilisant une ressource globale. Cependant, il est préférable de passer " "l'objet en argument au constructeur du processus fils." -#: library/multiprocessing.rst:2766 +#: library/multiprocessing.rst:2769 msgid "" "Apart from making the code (potentially) compatible with Windows and the " "other start methods this also ensures that as long as the child process is " @@ -4197,24 +4204,24 @@ msgstr "" "libérées quand l'objet est collecté par le ramasse-miettes du processus " "parent." -#: library/multiprocessing.rst:2773 +#: library/multiprocessing.rst:2776 msgid "So for instance ::" msgstr "Donc par exemple ::" -#: library/multiprocessing.rst:2785 +#: library/multiprocessing.rst:2788 msgid "should be rewritten as ::" msgstr "devrait être réécrit comme ::" -#: library/multiprocessing.rst:2797 +#: library/multiprocessing.rst:2800 msgid "Beware of replacing :data:`sys.stdin` with a \"file like object\"" msgstr "" "Faire attention à remplacer :data:`sys.stdin` par un objet « *file-like* »" -#: library/multiprocessing.rst:2799 +#: library/multiprocessing.rst:2802 msgid ":mod:`multiprocessing` originally unconditionally called::" msgstr "À l'origine, :mod:`multiprocessing` appelait inconditionnellement ::" -#: library/multiprocessing.rst:2803 +#: library/multiprocessing.rst:2806 msgid "" "in the :meth:`multiprocessing.Process._bootstrap` method --- this resulted " "in issues with processes-in-processes. This has been changed to::" @@ -4222,7 +4229,7 @@ msgstr "" "dans la méthode :meth:`multiprocessing.Process._bootstrap` — cela provoquait " "des problèmes avec les processus imbriqués. Cela peut être changé en ::" -#: library/multiprocessing.rst:2809 +#: library/multiprocessing.rst:2812 msgid "" "Which solves the fundamental issue of processes colliding with each other " "resulting in a bad file descriptor error, but introduces a potential danger " @@ -4239,7 +4246,7 @@ msgstr "" "like*, cela peut amener les données à être transmises à l'objet à plusieurs " "reprises, résultant en une corruption." -#: library/multiprocessing.rst:2816 +#: library/multiprocessing.rst:2819 msgid "" "If you write a file-like object and implement your own caching, you can make " "it fork-safe by storing the pid whenever you append to the cache, and " @@ -4250,28 +4257,28 @@ msgstr "" "vous ajoutez des données au cache, et annulez le cache quand le *pip* " "change. Par exemple ::" -#: library/multiprocessing.rst:2828 +#: library/multiprocessing.rst:2831 msgid "" "For more information, see :issue:`5155`, :issue:`5313` and :issue:`5331`" msgstr "" "Pour plus d'informations, voir :issue:`5155`, :issue:`5313` et :issue:`5331`" -#: library/multiprocessing.rst:2831 +#: library/multiprocessing.rst:2834 msgid "The *spawn* and *forkserver* start methods" msgstr "Les méthodes de démarrage *spawn* et *forkserver*" -#: library/multiprocessing.rst:2833 +#: library/multiprocessing.rst:2836 msgid "" "There are a few extra restriction which don't apply to the *fork* start " "method." msgstr "" "Certaines restrictions ne s'appliquent pas à la méthode de démarrage *fork*." -#: library/multiprocessing.rst:2836 +#: library/multiprocessing.rst:2839 msgid "More picklability" msgstr "Plus de sérialisation" -#: library/multiprocessing.rst:2838 +#: library/multiprocessing.rst:2841 msgid "" "Ensure that all arguments to :meth:`Process.__init__` are picklable. Also, " "if you subclass :class:`~multiprocessing.Process` then make sure that " @@ -4284,11 +4291,11 @@ msgstr "" "sérialisables quand la méthode :meth:`Process.start ` est appelée." -#: library/multiprocessing.rst:2843 +#: library/multiprocessing.rst:2846 msgid "Global variables" msgstr "Variables globales" -#: library/multiprocessing.rst:2845 +#: library/multiprocessing.rst:2848 msgid "" "Bear in mind that if code run in a child process tries to access a global " "variable, then the value it sees (if any) may not be the same as the value " @@ -4301,7 +4308,7 @@ msgstr "" "moment même où :meth:`Process.start ` est " "appelée." -#: library/multiprocessing.rst:2850 +#: library/multiprocessing.rst:2853 msgid "" "However, global variables which are just module level constants cause no " "problems." @@ -4309,11 +4316,11 @@ msgstr "" "Cependant, les variables globales qui sont juste des constantes de modules " "ne posent pas de problèmes." -#: library/multiprocessing.rst:2853 +#: library/multiprocessing.rst:2856 msgid "Safe importing of main module" msgstr "Importation sûre du module principal" -#: library/multiprocessing.rst:2855 +#: library/multiprocessing.rst:2858 msgid "" "Make sure that the main module can be safely imported by a new Python " "interpreter without causing unintended side effects (such a starting a new " @@ -4323,7 +4330,7 @@ msgstr "" "un nouvel interpréteur Python sans causer d'effets de bord inattendus (comme " "le démarrage d'un nouveau processus)." -#: library/multiprocessing.rst:2859 +#: library/multiprocessing.rst:2862 msgid "" "For example, using the *spawn* or *forkserver* start method running the " "following module would fail with a :exc:`RuntimeError`::" @@ -4331,7 +4338,7 @@ msgstr "" "Par exemple, utiliser la méthode de démarrage *spawn* ou *forkserver* pour " "lancer le module suivant échouerait avec une :exc:`RuntimeError` ::" -#: library/multiprocessing.rst:2871 +#: library/multiprocessing.rst:2874 msgid "" "Instead one should protect the \"entry point\" of the program by using ``if " "__name__ == '__main__':`` as follows::" @@ -4339,7 +4346,7 @@ msgstr "" "Vous devriez plutôt protéger le « point d'entrée » du programme en utilisant " "``if __name__ == '__main__':`` comme suit ::" -#: library/multiprocessing.rst:2885 +#: library/multiprocessing.rst:2888 msgid "" "(The ``freeze_support()`` line can be omitted if the program will be run " "normally instead of frozen.)" @@ -4347,7 +4354,7 @@ msgstr "" "(La ligne ``freeze_support()`` peut être omise si le programme est " "uniquement lancé normalement et pas figé.)" -#: library/multiprocessing.rst:2888 +#: library/multiprocessing.rst:2891 msgid "" "This allows the newly spawned Python interpreter to safely import the module " "and then run the module's ``foo()`` function." @@ -4355,7 +4362,7 @@ msgstr "" "Cela permet aux interpréteurs Python fraîchement instanciés d'importer en " "toute sécurité le module et d'exécution ensuite la fonction ``foo()``." -#: library/multiprocessing.rst:2891 +#: library/multiprocessing.rst:2894 msgid "" "Similar restrictions apply if a pool or manager is created in the main " "module." @@ -4363,21 +4370,21 @@ msgstr "" "Des restrictions similaires s'appliquent si une *pool* ou un gestionnaire " "est créé dans le module principal." -#: library/multiprocessing.rst:2898 +#: library/multiprocessing.rst:2901 msgid "Examples" msgstr "Exemples" -#: library/multiprocessing.rst:2900 +#: library/multiprocessing.rst:2903 msgid "Demonstration of how to create and use customized managers and proxies:" msgstr "" "Démonstration de comment créer et utiliser des gestionnaires et mandataires " "personnalisés :" -#: library/multiprocessing.rst:2906 +#: library/multiprocessing.rst:2909 msgid "Using :class:`~multiprocessing.pool.Pool`:" msgstr "En utilisant :class:`~multiprocessing.pool.Pool` :" -#: library/multiprocessing.rst:2912 +#: library/multiprocessing.rst:2915 msgid "" "An example showing how to use queues to feed tasks to a collection of worker " "processes and collect the results:" diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index 907456e2..760c4d08 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:44+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/netdata.po b/library/netdata.po index 228c97c5..d59ba5f6 100644 --- a/library/netdata.po +++ b/library/netdata.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-09-24 22:55+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/netrc.po b/library/netrc.po index 4db34e56..6155ca0a 100644 --- a/library/netrc.po +++ b/library/netrc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-05 21:32+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/nis.po b/library/nis.po index d7e3a0e6..785d2ba5 100644 --- a/library/nis.po +++ b/library/nis.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-27 15:11+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/nntplib.po b/library/nntplib.po index e5613d2c..09982a50 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/numbers.po b/library/numbers.po index 18932ded..873643d1 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-30 23:41+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/numeric.po b/library/numeric.po index b0c1819d..28616739 100644 --- a/library/numeric.po +++ b/library/numeric.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:45+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/operator.po b/library/operator.po index 25f802f4..b1e76cb8 100644 --- a/library/operator.po +++ b/library/operator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-12-11 22:46+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/library/optparse.po b/library/optparse.po index 55261d9b..81ba60a5 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-03 10:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/os.path.po b/library/os.path.po index 3bb506f8..3bec0c72 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-29 18:28+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/os.po b/library/os.po index 8adbba2e..51e903e3 100644 --- a/library/os.po +++ b/library/os.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-06-08 12:50+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/ossaudiodev.po b/library/ossaudiodev.po index 05fa5d02..253d86c3 100644 --- a/library/ossaudiodev.po +++ b/library/ossaudiodev.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/othergui.po b/library/othergui.po index 347b5fbd..b63a15af 100644 --- a/library/othergui.po +++ b/library/othergui.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-31 18:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 17:51+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/parser.po b/library/parser.po index 2a326728..97f9dd32 100644 --- a/library/parser.po +++ b/library/parser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-20 14:07+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/pathlib.po b/library/pathlib.po index c27da624..f4112bd4 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:46+0200\n" "Last-Translator: Vincent Poulailleau \n" "Language-Team: FRENCH \n" @@ -1226,91 +1226,121 @@ msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr ":meth:`Path.expanduser` et :meth:`Path.home`" #: library/pathlib.rst:1199 +#, fuzzy +msgid ":func:`os.listdir`" +msgstr ":func:`os.mkdir`" + +#: library/pathlib.rst:1199 +#, fuzzy +msgid ":meth:`Path.iterdir`" +msgstr ":meth:`Path.rmdir`" + +#: library/pathlib.rst:1200 msgid ":func:`os.path.isdir`" msgstr ":func:`os.path.isdir`" -#: library/pathlib.rst:1199 +#: library/pathlib.rst:1200 msgid ":meth:`Path.is_dir`" msgstr ":meth:`Path.is_dir`" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1201 msgid ":func:`os.path.isfile`" msgstr ":func:`os.path.isfile`" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1201 msgid ":meth:`Path.is_file`" msgstr ":meth:`Path.is_file`" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1202 msgid ":func:`os.path.islink`" msgstr ":func:`os.path.islink`" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1202 msgid ":meth:`Path.is_symlink`" msgstr ":meth:`Path.is_symlink`" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1203 +#, fuzzy +msgid ":func:`os.link`" +msgstr ":func:`os.rmdir`" + +#: library/pathlib.rst:1203 +#, fuzzy +msgid ":meth:`Path.link_to`" +msgstr ":meth:`Path.unlink`" + +#: library/pathlib.rst:1204 +#, fuzzy +msgid ":func:`os.symlink`" +msgstr ":func:`os.rmdir`" + +#: library/pathlib.rst:1204 +#, fuzzy +msgid ":meth:`Path.symlink_to`" +msgstr ":meth:`Path.is_symlink`" + +#: library/pathlib.rst:1205 #, fuzzy msgid ":func:`os.readlink`" msgstr ":func:`os.rmdir`" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1205 #, fuzzy msgid ":meth:`Path.readlink`" msgstr ":meth:`Path.unlink`" -#: library/pathlib.rst:1203 +#: library/pathlib.rst:1206 msgid ":func:`os.stat`" msgstr ":func:`os.stat`" -#: library/pathlib.rst:1203 +#: library/pathlib.rst:1206 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" -#: library/pathlib.rst:1206 +#: library/pathlib.rst:1209 msgid ":func:`os.path.isabs`" msgstr ":func:`os.path.isabs`" -#: library/pathlib.rst:1206 +#: library/pathlib.rst:1209 msgid ":meth:`PurePath.is_absolute`" msgstr ":meth:`PurePath.is_absolute`" -#: library/pathlib.rst:1207 +#: library/pathlib.rst:1210 msgid ":func:`os.path.join`" msgstr ":func:`os.path.join`" -#: library/pathlib.rst:1207 +#: library/pathlib.rst:1210 msgid ":func:`PurePath.joinpath`" msgstr ":func:`PurePath.joinpath`" -#: library/pathlib.rst:1208 +#: library/pathlib.rst:1211 msgid ":func:`os.path.basename`" msgstr ":func:`os.path.basename`" -#: library/pathlib.rst:1208 +#: library/pathlib.rst:1211 msgid ":data:`PurePath.name`" msgstr ":data:`PurePath.name`" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1212 msgid ":func:`os.path.dirname`" msgstr ":func:`os.path.dirname`" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1212 msgid ":data:`PurePath.parent`" msgstr ":data:`PurePath.parent`" -#: library/pathlib.rst:1210 +#: library/pathlib.rst:1213 msgid ":func:`os.path.samefile`" msgstr ":func:`os.path.samefile`" -#: library/pathlib.rst:1210 +#: library/pathlib.rst:1213 msgid ":meth:`Path.samefile`" msgstr ":meth:`Path.samefile`" -#: library/pathlib.rst:1211 +#: library/pathlib.rst:1214 msgid ":func:`os.path.splitext`" msgstr ":func:`os.path.splitext`" -#: library/pathlib.rst:1211 +#: library/pathlib.rst:1214 msgid ":data:`PurePath.suffix`" msgstr ":data:`PurePath.suffix`" diff --git a/library/pdb.po b/library/pdb.po index bc657b5a..6759d482 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 19:59+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/persistence.po b/library/persistence.po index e828542b..766efa6e 100644 --- a/library/persistence.po +++ b/library/persistence.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 18:33+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/pickle.po b/library/pickle.po index 8daaa403..01dad9e1 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-26 12:09+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/pickletools.po b/library/pickletools.po index 014b486d..30e1baa4 100644 --- a/library/pickletools.po +++ b/library/pickletools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/pipes.po b/library/pipes.po index 7d7326b7..d374950b 100644 --- a/library/pipes.po +++ b/library/pipes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 18:32+0200\n" "Last-Translator: Bruno Inec \n" "Language-Team: FRENCH \n" diff --git a/library/pkgutil.po b/library/pkgutil.po index e6f3e932..d08b254b 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -98,7 +98,8 @@ msgid "" msgstr "" #: library/pkgutil.rst:71 -msgid ":term:`Loader` that wraps Python's \"classic\" import algorithm." +msgid "" +":term:`Loader ` that wraps Python's \"classic\" import algorithm." msgstr "" #: library/pkgutil.rst:80 diff --git a/library/platform.po b/library/platform.po index f1650cc1..4341dbaa 100644 --- a/library/platform.po +++ b/library/platform.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/plistlib.po b/library/plistlib.po index 833b40d4..fdc5b79a 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/poplib.po b/library/poplib.po index f7ae51c4..97efaf19 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/posix.po b/library/posix.po index 7ed2dc7f..ccae9ad4 100644 --- a/library/posix.po +++ b/library/posix.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-18 16:02+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/pprint.po b/library/pprint.po index 49fbb7c0..36585282 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-03 09:52+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/library/profile.po b/library/profile.po index 98340532..06d07f6e 100644 --- a/library/profile.po +++ b/library/profile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/pty.po b/library/pty.po index c83adb91..261d193c 100644 --- a/library/pty.po +++ b/library/pty.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-25 16:25+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/pwd.po b/library/pwd.po index 2e7f8a91..375dfa57 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-04-11 18:10+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/py_compile.po b/library/py_compile.po index 2db9a0d2..bada9eb8 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/pyclbr.po b/library/pyclbr.po index b58c2ef6..1da740ce 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/pydoc.po b/library/pydoc.po index 5595fa18..a0ab7a1a 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:41+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/pyexpat.po b/library/pyexpat.po index 3cf77d38..c061dc11 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/python.po b/library/python.po index 8e3a7bc6..55bd122b 100644 --- a/library/python.po +++ b/library/python.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 18:31+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/queue.po b/library/queue.po index 1d64eb01..d473c462 100644 --- a/library/queue.po +++ b/library/queue.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-01 17:35+0100\n" "Last-Translator: Lcaracol \n" "Language-Team: FRENCH \n" diff --git a/library/quopri.po b/library/quopri.po index 6b1190f0..1054b6df 100644 --- a/library/quopri.po +++ b/library/quopri.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-02-08 09:58+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-27 15:13+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/random.po b/library/random.po index 9a334231..6e57eb8e 100644 --- a/library/random.po +++ b/library/random.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-10-31 15:32+0100\n" "Last-Translator: Khaïs COLIN \n" "Language-Team: FRENCH \n" diff --git a/library/re.po b/library/re.po index 242c1633..b14af598 100644 --- a/library/re.po +++ b/library/re.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:48+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/readline.po b/library/readline.po index 2ae5bea6..31df4cc2 100644 --- a/library/readline.po +++ b/library/readline.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-03 22:10+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 14:14+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/reprlib.po b/library/reprlib.po index da8d5640..8ef8c222 100644 --- a/library/reprlib.po +++ b/library/reprlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-17 21:38+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/resource.po b/library/resource.po index 13e37494..3ccc5714 100644 --- a/library/resource.po +++ b/library/resource.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-29 21:18+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/rlcompleter.po b/library/rlcompleter.po index d3b0be42..4f06f3a7 100644 --- a/library/rlcompleter.po +++ b/library/rlcompleter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 09:51+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/runpy.po b/library/runpy.po index fda00a6e..ed001ed5 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-10 00:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/sched.po b/library/sched.po index e616b196..0a923678 100644 --- a/library/sched.po +++ b/library/sched.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/secrets.po b/library/secrets.po index 7ae0ab86..d8a72aac 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-16 15:20+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/select.po b/library/select.po index 33f59dfb..d68795c6 100644 --- a/library/select.po +++ b/library/select.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/selectors.po b/library/selectors.po index 37d2c62a..7b3db304 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-03 11:53+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/shelve.po b/library/shelve.po index a100b776..ff69220f 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:44+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/shlex.po b/library/shlex.po index 55c7daa5..ae86a5b4 100644 --- a/library/shlex.po +++ b/library/shlex.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/shutil.po b/library/shutil.po index 751d81fd..dd10da64 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-29 18:26+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/signal.po b/library/signal.po index fd90a010..2233a4dd 100644 --- a/library/signal.po +++ b/library/signal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-29 18:27+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/site.po b/library/site.po index e0dfd5f7..b77846da 100644 --- a/library/site.po +++ b/library/site.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-02-04 10:00+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/smtpd.po b/library/smtpd.po index 917ed756..456bff9f 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-03 10:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/smtplib.po b/library/smtplib.po index 7ad42fbc..f651f8d4 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-10 00:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/sndhdr.po b/library/sndhdr.po index 2cc35578..4e34a6af 100644 --- a/library/sndhdr.po +++ b/library/sndhdr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-29 17:46+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/socket.po b/library/socket.po index c48f6f09..ec81b038 100644 --- a/library/socket.po +++ b/library/socket.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-18 21:59+0200\n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -98,7 +98,7 @@ msgid "" msgstr "" #: library/socket.rst:63 library/socket.rst:965 library/socket.rst:1007 -#: library/socket.rst:1713 +#: library/socket.rst:1715 msgid "Writable :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." @@ -857,7 +857,7 @@ msgid "" "method. The socket is assumed to be in blocking mode." msgstr "" -#: library/socket.rst:718 library/socket.rst:1738 +#: library/socket.rst:718 library/socket.rst:1740 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -1873,7 +1873,7 @@ msgid "" "type`." msgstr "" -#: library/socket.rst:1702 +#: library/socket.rst:1704 msgid "" "Set the value of the given socket option (see the Unix manual page :manpage:" "`setsockopt(2)`). The needed symbolic constants are defined in the :mod:" @@ -1886,11 +1886,11 @@ msgid "" "C function with ``optval=NULL`` and ``optlen=optlen``." msgstr "" -#: library/socket.rst:1716 +#: library/socket.rst:1718 msgid "setsockopt(level, optname, None, optlen: int) form added." msgstr "" -#: library/socket.rst:1722 +#: library/socket.rst:1724 msgid "" "Shut down one or both halves of the connection. If *how* is :const:" "`SHUT_RD`, further receives are disallowed. If *how* is :const:`SHUT_WR`, " @@ -1898,7 +1898,7 @@ msgid "" "and receives are disallowed." msgstr "" -#: library/socket.rst:1730 +#: library/socket.rst:1732 msgid "" "Duplicate a socket and prepare it for sharing with a target process. The " "target process must be provided with *process_id*. The resulting bytes " @@ -1909,48 +1909,48 @@ msgid "" "process." msgstr "" -#: library/socket.rst:1742 +#: library/socket.rst:1744 msgid "" "Note that there are no methods :meth:`read` or :meth:`write`; use :meth:" "`~socket.recv` and :meth:`~socket.send` without *flags* argument instead." msgstr "" -#: library/socket.rst:1745 +#: library/socket.rst:1747 msgid "" "Socket objects also have these (read-only) attributes that correspond to the " "values given to the :class:`~socket.socket` constructor." msgstr "" -#: library/socket.rst:1751 +#: library/socket.rst:1753 msgid "The socket family." msgstr "" -#: library/socket.rst:1756 +#: library/socket.rst:1758 msgid "The socket type." msgstr "" -#: library/socket.rst:1761 +#: library/socket.rst:1763 msgid "The socket protocol." msgstr "" -#: library/socket.rst:1768 +#: library/socket.rst:1770 msgid "Notes on socket timeouts" msgstr "" -#: library/socket.rst:1770 +#: library/socket.rst:1772 msgid "" "A socket object can be in one of three modes: blocking, non-blocking, or " "timeout. Sockets are by default always created in blocking mode, but this " "can be changed by calling :func:`setdefaulttimeout`." msgstr "" -#: library/socket.rst:1774 +#: library/socket.rst:1776 msgid "" "In *blocking mode*, operations block until complete or the system returns an " "error (such as connection timed out)." msgstr "" -#: library/socket.rst:1777 +#: library/socket.rst:1779 msgid "" "In *non-blocking mode*, operations fail (with an error that is unfortunately " "system-dependent) if they cannot be completed immediately: functions from " @@ -1958,14 +1958,14 @@ msgid "" "for reading or writing." msgstr "" -#: library/socket.rst:1782 +#: library/socket.rst:1784 msgid "" "In *timeout mode*, operations fail if they cannot be completed within the " "timeout specified for the socket (they raise a :exc:`timeout` exception) or " "if the system returns an error." msgstr "" -#: library/socket.rst:1787 +#: library/socket.rst:1789 msgid "" "At the operating system level, sockets in *timeout mode* are internally set " "in non-blocking mode. Also, the blocking and timeout modes are shared " @@ -1974,11 +1974,11 @@ msgid "" "you decide to use the :meth:`~socket.fileno()` of a socket." msgstr "" -#: library/socket.rst:1794 +#: library/socket.rst:1796 msgid "Timeouts and the ``connect`` method" msgstr "" -#: library/socket.rst:1796 +#: library/socket.rst:1798 msgid "" "The :meth:`~socket.connect` operation is also subject to the timeout " "setting, and in general it is recommended to call :meth:`~socket.settimeout` " @@ -1988,24 +1988,24 @@ msgid "" "setting." msgstr "" -#: library/socket.rst:1804 +#: library/socket.rst:1806 msgid "Timeouts and the ``accept`` method" msgstr "" -#: library/socket.rst:1806 +#: library/socket.rst:1808 msgid "" "If :func:`getdefaulttimeout` is not :const:`None`, sockets returned by the :" "meth:`~socket.accept` method inherit that timeout. Otherwise, the behaviour " "depends on settings of the listening socket:" msgstr "" -#: library/socket.rst:1810 +#: library/socket.rst:1812 msgid "" "if the listening socket is in *blocking mode* or in *timeout mode*, the " "socket returned by :meth:`~socket.accept` is in *blocking mode*;" msgstr "" -#: library/socket.rst:1813 +#: library/socket.rst:1815 msgid "" "if the listening socket is in *non-blocking mode*, whether the socket " "returned by :meth:`~socket.accept` is in blocking or non-blocking mode is " @@ -2013,11 +2013,11 @@ msgid "" "it is recommended you manually override this setting." msgstr "" -#: library/socket.rst:1822 +#: library/socket.rst:1824 msgid "Example" msgstr "Exemple" -#: library/socket.rst:1824 +#: library/socket.rst:1826 msgid "" "Here are four minimal example programs using the TCP/IP protocol: a server " "that echoes all data that it receives back (servicing only one client), and " @@ -2030,11 +2030,11 @@ msgid "" "new socket returned by :meth:`~socket.accept`." msgstr "" -#: library/socket.rst:1834 +#: library/socket.rst:1836 msgid "The first two examples support IPv4 only. ::" msgstr "" -#: library/socket.rst:1865 +#: library/socket.rst:1867 msgid "" "The next two examples are identical to the above two, but support both IPv4 " "and IPv6. The server side will listen to the first address family available " @@ -2044,73 +2044,73 @@ msgid "" "resolution, and sends traffic to the first one connected successfully. ::" msgstr "" -#: library/socket.rst:1937 +#: library/socket.rst:1939 msgid "" "The next example shows how to write a very simple network sniffer with raw " "sockets on Windows. The example requires administrator privileges to modify " "the interface::" msgstr "" -#: library/socket.rst:1962 +#: library/socket.rst:1964 msgid "" "The next example shows how to use the socket interface to communicate to a " "CAN network using the raw socket protocol. To use CAN with the broadcast " "manager protocol instead, open a socket with::" msgstr "" -#: library/socket.rst:1968 +#: library/socket.rst:1970 msgid "" "After binding (:const:`CAN_RAW`) or connecting (:const:`CAN_BCM`) the " "socket, you can use the :meth:`socket.send`, and the :meth:`socket.recv` " "operations (and their counterparts) on the socket object as usual." msgstr "" -#: library/socket.rst:1972 +#: library/socket.rst:1974 msgid "This last example might require special privileges::" msgstr "" -#: library/socket.rst:2012 +#: library/socket.rst:2014 msgid "" "Running an example several times with too small delay between executions, " "could lead to this error::" msgstr "" -#: library/socket.rst:2017 +#: library/socket.rst:2019 msgid "" "This is because the previous execution has left the socket in a " "``TIME_WAIT`` state, and can't be immediately reused." msgstr "" -#: library/socket.rst:2020 +#: library/socket.rst:2022 msgid "" "There is a :mod:`socket` flag to set, in order to prevent this, :data:" "`socket.SO_REUSEADDR`::" msgstr "" -#: library/socket.rst:2027 +#: library/socket.rst:2029 msgid "" "the :data:`SO_REUSEADDR` flag tells the kernel to reuse a local socket in " "``TIME_WAIT`` state, without waiting for its natural timeout to expire." msgstr "" -#: library/socket.rst:2033 +#: library/socket.rst:2035 msgid "" "For an introduction to socket programming (in C), see the following papers:" msgstr "" -#: library/socket.rst:2035 +#: library/socket.rst:2037 msgid "" "*An Introductory 4.3BSD Interprocess Communication Tutorial*, by Stuart " "Sechrest" msgstr "" -#: library/socket.rst:2037 +#: library/socket.rst:2039 msgid "" "*An Advanced 4.3BSD Interprocess Communication Tutorial*, by Samuel J. " "Leffler et al," msgstr "" -#: library/socket.rst:2040 +#: library/socket.rst:2042 msgid "" "both in the UNIX Programmer's Manual, Supplementary Documents 1 (sections " "PS1:7 and PS1:8). The platform-specific reference material for the various " diff --git a/library/socketserver.po b/library/socketserver.po index ddc7c498..e16d5def 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/spwd.po b/library/spwd.po index f749c69b..647c29cd 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-11 12:59+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-12-17 19:00+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/sqlite3.po b/library/sqlite3.po index 872ea577..954f2e42 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-26 15:55+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/ssl.po b/library/ssl.po index c8161d72..31a3d3ee 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-30 22:31+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/stat.po b/library/stat.po index 1e155c50..b0a79721 100644 --- a/library/stat.po +++ b/library/stat.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/statistics.po b/library/statistics.po index daca8fe4..aed93760 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-14 16:36+0200\n" "Last-Translator: Nicolas Audebert \n" "Language-Team: FRENCH \n" diff --git a/library/stdtypes.po b/library/stdtypes.po index 67d2a70f..4f08ce49 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-08-09 15:32+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/string.po b/library/string.po index 768275a4..1f481186 100644 --- a/library/string.po +++ b/library/string.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-28 18:47+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/stringprep.po b/library/stringprep.po index 7d30fae8..d321b303 100644 --- a/library/stringprep.po +++ b/library/stringprep.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-12-05 23:16+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-18 08:18+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/struct.po b/library/struct.po index 3521308c..dbbd3525 100644 --- a/library/struct.po +++ b/library/struct.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-01-18 17:44+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/subprocess.po b/library/subprocess.po index e3ff9f1c..e73fca28 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-25 23:34+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/sunau.po b/library/sunau.po index 2ccf457e..67081b85 100644 --- a/library/sunau.po +++ b/library/sunau.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/superseded.po b/library/superseded.po index ccd0e27e..be582515 100644 --- a/library/superseded.po +++ b/library/superseded.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-10-18 09:27+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/symbol.po b/library/symbol.po index e5bf98d9..a4761127 100644 --- a/library/symbol.po +++ b/library/symbol.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-29 18:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/symtable.po b/library/symtable.po index 29b964db..604fdb47 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/sys.po b/library/sys.po index ca4a2072..f3258e24 100644 --- a/library/sys.po +++ b/library/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-24 12:18+0200\n" "Last-Translator: louisMaury \n" "Language-Team: FRENCH \n" diff --git a/library/sysconfig.po b/library/sysconfig.po index 8b7ac871..64a5969b 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/syslog.po b/library/syslog.po index 564c97b0..610949ce 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tabnanny.po b/library/tabnanny.po index d4be3ed8..e59a3275 100644 --- a/library/tabnanny.po +++ b/library/tabnanny.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-04 12:17+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/tarfile.po b/library/tarfile.po index 8af21695..facb943b 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-05 09:09+0100\n" "Last-Translator: ALJI Mohamed \n" "Language-Team: FRENCH \n" @@ -385,15 +385,15 @@ msgstr "``'w|xz'``" msgid "Open an lzma compressed *stream* for writing." msgstr "Ouvre un *flux* compressé avec *lzma* en écriture." -#: library/tarfile.rst:146 library/tarfile.rst:332 +#: library/tarfile.rst:146 library/tarfile.rst:333 msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "le mode ``'x'`` (création exclusive) a été ajouté." -#: library/tarfile.rst:149 library/tarfile.rst:335 library/tarfile.rst:503 +#: library/tarfile.rst:149 library/tarfile.rst:336 library/tarfile.rst:504 msgid "The *name* parameter accepts a :term:`path-like object`." msgstr "le paramètre *name* accepte un :term:`path-like object`." -#: library/tarfile.rst:155 +#: library/tarfile.rst:156 msgid "" "Class for reading and writing tar archives. Do not use this class directly: " "use :func:`tarfile.open` instead. See :ref:`tarfile-objects`." @@ -402,7 +402,7 @@ msgstr "" "classe directement, préférez :func:`tarfile.open`. Voir :ref:`tarfile-" "objects`." -#: library/tarfile.rst:161 +#: library/tarfile.rst:162 #, fuzzy msgid "" "Return :const:`True` if *name* is a tar archive file, that the :mod:" @@ -412,19 +412,19 @@ msgstr "" "Renvoie :const:`True` si *name* est un fichier d'archive *tar*, que le " "module :mod:`tarfile` peut lire." -#: library/tarfile.rst:164 +#: library/tarfile.rst:165 msgid "Support for file and file-like objects." msgstr "" -#: library/tarfile.rst:165 +#: library/tarfile.rst:169 msgid "The :mod:`tarfile` module defines the following exceptions:" msgstr "Le module :mod:`tarfile` définit les exceptions suivantes :" -#: library/tarfile.rst:173 +#: library/tarfile.rst:174 msgid "Base class for all :mod:`tarfile` exceptions." msgstr "Classe de base pour toutes les exceptions du module :mod:`tarfile`." -#: library/tarfile.rst:178 +#: library/tarfile.rst:179 msgid "" "Is raised when a tar archive is opened, that either cannot be handled by " "the :mod:`tarfile` module or is somehow invalid." @@ -432,7 +432,7 @@ msgstr "" "Est levée lors de l'ouverture d'une archive *tar*, qui ne peut pas être " "gérée par le module :mod:`tarfile` ou est invalide." -#: library/tarfile.rst:184 +#: library/tarfile.rst:185 msgid "" "Is raised when a compression method is not supported or when the data cannot " "be decoded properly." @@ -440,7 +440,7 @@ msgstr "" "Est levée lorsqu'une méthode de compression n'est pas prise en charge ou " "lorsque les données ne peuvent pas être décodées correctement." -#: library/tarfile.rst:190 +#: library/tarfile.rst:191 msgid "" "Is raised for the limitations that are typical for stream-like :class:" "`TarFile` objects." @@ -448,7 +448,7 @@ msgstr "" "Est levée pour les limitations typiques des objets de type flux :class:" "`TarFile`." -#: library/tarfile.rst:196 +#: library/tarfile.rst:197 msgid "" "Is raised for *non-fatal* errors when using :meth:`TarFile.extract`, but " "only if :attr:`TarFile.errorlevel`\\ ``== 2``." @@ -456,17 +456,17 @@ msgstr "" "Est levée pour des erreurs *non-fatales* lors de l'utilisation de :meth:" "`TarFile.extract`, mais uniquement si :attr:`TarFile.errorlevel`\\ `` == 2``." -#: library/tarfile.rst:202 +#: library/tarfile.rst:203 msgid "Is raised by :meth:`TarInfo.frombuf` if the buffer it gets is invalid." msgstr "" "Est levée par :meth:`TarInfo.frombuf` si le tampon qu'il obtient n'est pas " "valide." -#: library/tarfile.rst:205 +#: library/tarfile.rst:206 msgid "The following constants are available at the module level:" msgstr "Les constantes suivantes sont disponibles au niveau du module :" -#: library/tarfile.rst:209 +#: library/tarfile.rst:210 msgid "" "The default character encoding: ``'utf-8'`` on Windows, the value returned " "by :func:`sys.getfilesystemencoding` otherwise." @@ -474,7 +474,7 @@ msgstr "" "L'encodage des caractères par défaut est ``'utf-8'`` sous Windows, sinon la " "valeur renvoyée par :func:`sys.getfilesystemencoding`." -#: library/tarfile.rst:213 +#: library/tarfile.rst:214 msgid "" "Each of the following constants defines a tar archive format that the :mod:" "`tarfile` module is able to create. See section :ref:`tar-formats` for " @@ -484,19 +484,19 @@ msgstr "" "module :mod:`tarfile` est capable de créer. Voir la section :ref:`tar-" "formats` pour plus de détails." -#: library/tarfile.rst:220 +#: library/tarfile.rst:221 msgid "POSIX.1-1988 (ustar) format." msgstr "Le format *POSIX.1-1988* (*ustar*)." -#: library/tarfile.rst:225 +#: library/tarfile.rst:226 msgid "GNU tar format." msgstr "Le format GNU *tar*." -#: library/tarfile.rst:230 +#: library/tarfile.rst:231 msgid "POSIX.1-2001 (pax) format." msgstr "Le format *POSIX.1-2001* (*pax*)." -#: library/tarfile.rst:235 +#: library/tarfile.rst:236 msgid "" "The default format for creating archives. This is currently :const:" "`PAX_FORMAT`." @@ -504,7 +504,7 @@ msgstr "" "Format par défaut pour la création d'archives. C'est actuellement :const:" "`PAX_FORMAT`." -#: library/tarfile.rst:237 +#: library/tarfile.rst:238 msgid "" "The default format for new archives was changed to :const:`PAX_FORMAT` from :" "const:`GNU_FORMAT`." @@ -512,19 +512,19 @@ msgstr "" "Le format par défaut des nouvelles archives a été changé de :const:" "`GNU_FORMAT` en :const:`PAX_FORMAT`." -#: library/tarfile.rst:245 +#: library/tarfile.rst:246 msgid "Module :mod:`zipfile`" msgstr "Module :mod:`zipfile`" -#: library/tarfile.rst:245 +#: library/tarfile.rst:246 msgid "Documentation of the :mod:`zipfile` standard module." msgstr "Documentation du module standard :mod:`zipfile`." -#: library/tarfile.rst:249 +#: library/tarfile.rst:250 msgid ":ref:`archiving-operations`" msgstr ":ref:`archiving-operations`" -#: library/tarfile.rst:248 +#: library/tarfile.rst:249 msgid "" "Documentation of the higher-level archiving facilities provided by the " "standard :mod:`shutil` module." @@ -532,7 +532,7 @@ msgstr "" "Documentation des outils d'archivage de haut niveau fournis par le module " "standard :mod:`shutil`." -#: library/tarfile.rst:251 +#: library/tarfile.rst:252 msgid "" "`GNU tar manual, Basic Tar Format `_" @@ -540,17 +540,17 @@ msgstr "" "`Manuel GNU *tar*, format *tar* basique (en anglais) `_" -#: library/tarfile.rst:252 +#: library/tarfile.rst:253 msgid "Documentation for tar archive files, including GNU tar extensions." msgstr "" "Documentation pour les fichiers d'archive *tar*, y compris les extensions " "*tar* GNU." -#: library/tarfile.rst:258 +#: library/tarfile.rst:259 msgid "TarFile Objects" msgstr "Les objets *TarFile*" -#: library/tarfile.rst:260 +#: library/tarfile.rst:261 msgid "" "The :class:`TarFile` object provides an interface to a tar archive. A tar " "archive is a sequence of blocks. An archive member (a stored file) is made " @@ -565,7 +565,7 @@ msgstr "" "membre d'archive est représenté par un objet :class:`TarInfo`, voir :ref:" "`tarinfo-objects` pour plus de détails." -#: library/tarfile.rst:266 +#: library/tarfile.rst:267 msgid "" "A :class:`TarFile` object can be used as a context manager in a :keyword:" "`with` statement. It will automatically be closed when the block is " @@ -579,11 +579,11 @@ msgstr "" "en écriture ne sera pas finalisée ; seul l'objet fichier utilisé en interne " "sera fermé. Voir la section :ref:`tar-examples` pour un cas d'utilisation." -#: library/tarfile.rst:272 +#: library/tarfile.rst:273 msgid "Added support for the context management protocol." msgstr "Ajout de la prise en charge du protocole de gestion de contexte." -#: library/tarfile.rst:277 +#: library/tarfile.rst:278 msgid "" "All following arguments are optional and can be accessed as instance " "attributes as well." @@ -591,7 +591,7 @@ msgstr "" "Tous les arguments suivants sont facultatifs et sont également accessibles " "en tant qu'instance d'attributs." -#: library/tarfile.rst:280 +#: library/tarfile.rst:281 msgid "" "*name* is the pathname of the archive. *name* may be a :term:`path-like " "object`. It can be omitted if *fileobj* is given. In this case, the file " @@ -601,7 +601,7 @@ msgstr "" "`path-like object`. Il peut être omis si *fileobj* est donné. Dans ce cas, " "l'attribut :attr:`name` de l'objet fichier est utilisé s'il existe." -#: library/tarfile.rst:284 +#: library/tarfile.rst:285 msgid "" "*mode* is either ``'r'`` to read from an existing archive, ``'a'`` to append " "data to an existing file, ``'w'`` to create a new file overwriting an " @@ -613,7 +613,7 @@ msgstr "" "un nouveau fichier en écrasant un existant , ou ``'x'`` pour créer un " "nouveau fichier uniquement s'il n'existe pas déjà." -#: library/tarfile.rst:288 +#: library/tarfile.rst:289 msgid "" "If *fileobj* is given, it is used for reading or writing data. If it can be " "determined, *mode* is overridden by *fileobj*'s mode. *fileobj* will be used " @@ -623,11 +623,11 @@ msgstr "" "S'il peut être déterminé, le *mode* est remplacé par le mode de *fileobj*. " "*fileobj* sera utilisé à partir de la position 0." -#: library/tarfile.rst:294 +#: library/tarfile.rst:295 msgid "*fileobj* is not closed, when :class:`TarFile` is closed." msgstr "*fileobj* n'est pas fermé, lorsque :class:`TarFile` est fermé." -#: library/tarfile.rst:296 +#: library/tarfile.rst:297 msgid "" "*format* controls the archive format for writing. It must be one of the " "constants :const:`USTAR_FORMAT`, :const:`GNU_FORMAT` or :const:`PAX_FORMAT` " @@ -640,7 +640,7 @@ msgstr "" "sera automatiquement détecté, même si différents formats sont présents dans " "une même archive." -#: library/tarfile.rst:301 +#: library/tarfile.rst:302 msgid "" "The *tarinfo* argument can be used to replace the default :class:`TarInfo` " "class with a different one." @@ -648,7 +648,7 @@ msgstr "" "L'argument *tarinfo* peut être utilisé pour remplacer la classe par défaut :" "class:`TarInfo` par une autre." -#: library/tarfile.rst:304 +#: library/tarfile.rst:305 msgid "" "If *dereference* is :const:`False`, add symbolic and hard links to the " "archive. If it is :const:`True`, add the content of the target files to the " @@ -659,7 +659,7 @@ msgstr "" "fichiers cibles à l'archive. Cela n'a aucun effet sur les systèmes qui ne " "prennent pas en charge les liens symboliques." -#: library/tarfile.rst:308 +#: library/tarfile.rst:309 msgid "" "If *ignore_zeros* is :const:`False`, treat an empty block as the end of the " "archive. If it is :const:`True`, skip empty (and invalid) blocks and try to " @@ -671,7 +671,7 @@ msgstr "" "invalides) et essaye d'obtenir autant de membres que possible. Ceci n'est " "utile que pour lire des archives concaténées ou endommagées." -#: library/tarfile.rst:312 +#: library/tarfile.rst:313 msgid "" "*debug* can be set from ``0`` (no debug messages) up to ``3`` (all debug " "messages). The messages are written to ``sys.stderr``." @@ -679,7 +679,7 @@ msgstr "" "*debug* peut être défini de ``0`` (aucun message de débogage) à ``3`` (tous " "les messages de débogage). Les messages sont écrits dans ``sys.stderr``." -#: library/tarfile.rst:315 +#: library/tarfile.rst:316 msgid "" "If *errorlevel* is ``0``, all errors are ignored when using :meth:`TarFile." "extract`. Nevertheless, they appear as error messages in the debug output, " @@ -694,7 +694,7 @@ msgstr "" "exceptions :exc:`OSError` . Si ``2``, toutes les erreurs *non-fatales* sont " "déclenchées comme des exceptions :exc:`TarError` également." -#: library/tarfile.rst:321 +#: library/tarfile.rst:322 msgid "" "The *encoding* and *errors* arguments define the character encoding to be " "used for reading or writing the archive and how conversion errors are going " @@ -707,7 +707,7 @@ msgstr "" "des utilisateurs. Voir la section :ref:`tar-unicode` pour des informations " "détaillées." -#: library/tarfile.rst:326 +#: library/tarfile.rst:327 msgid "" "The *pax_headers* argument is an optional dictionary of strings which will " "be added as a pax global header if *format* is :const:`PAX_FORMAT`." @@ -716,13 +716,13 @@ msgstr "" "caractères qui sera ajouté en tant qu'en-tête global *pax* si le *format* " "est :const:`PAX_FORMAT`." -#: library/tarfile.rst:329 library/tarfile.rst:556 +#: library/tarfile.rst:330 library/tarfile.rst:557 msgid "Use ``'surrogateescape'`` as the default for the *errors* argument." msgstr "" "Utilise ``'surrogateescape'`` comme valeur par défaut pour l'argument " "*errors*." -#: library/tarfile.rst:341 +#: library/tarfile.rst:342 msgid "" "Alternative constructor. The :func:`tarfile.open` function is actually a " "shortcut to this classmethod." @@ -730,7 +730,7 @@ msgstr "" "Constructeur alternatif. La fonction :func:`tarfile.open` est en fait un " "raccourci vers cette méthode de classe." -#: library/tarfile.rst:347 +#: library/tarfile.rst:348 msgid "" "Return a :class:`TarInfo` object for member *name*. If *name* can not be " "found in the archive, :exc:`KeyError` is raised." @@ -738,7 +738,7 @@ msgstr "" "Renvoie un objet :class:`TarInfo` pour le membre *name*. Si *name* est " "introuvable dans l'archive, :exc:`KeyError` est levée." -#: library/tarfile.rst:352 +#: library/tarfile.rst:353 msgid "" "If a member occurs more than once in the archive, its last occurrence is " "assumed to be the most up-to-date version." @@ -746,7 +746,7 @@ msgstr "" "Si un membre apparaît plus d'une fois dans l'archive, sa dernière occurrence " "est supposée être la version la plus récente." -#: library/tarfile.rst:358 +#: library/tarfile.rst:359 msgid "" "Return the members of the archive as a list of :class:`TarInfo` objects. The " "list has the same order as the members in the archive." @@ -754,7 +754,7 @@ msgstr "" "Renvoie les membres de l'archive sous la forme d'une liste d'objets :class:" "`TarInfo`. La liste a le même ordre que les membres de l'archive." -#: library/tarfile.rst:364 +#: library/tarfile.rst:365 msgid "" "Return the members as a list of their names. It has the same order as the " "list returned by :meth:`getmembers`." @@ -762,7 +762,7 @@ msgstr "" "Renvoie les membres comme une liste de leurs noms. Il a le même ordre que la " "liste renvoyée par :meth:`getmembers`." -#: library/tarfile.rst:370 +#: library/tarfile.rst:371 msgid "" "Print a table of contents to ``sys.stdout``. If *verbose* is :const:`False`, " "only the names of the members are printed. If it is :const:`True`, output " @@ -775,11 +775,11 @@ msgstr "" "*membres* facultatifs sont fournis, il doit s'agir d'un sous-ensemble de la " "liste renvoyée par :meth:`getmembers`." -#: library/tarfile.rst:375 +#: library/tarfile.rst:376 msgid "Added the *members* parameter." msgstr "Ajout du paramètre *members*." -#: library/tarfile.rst:381 +#: library/tarfile.rst:382 msgid "" "Return the next member of the archive as a :class:`TarInfo` object, when :" "class:`TarFile` is opened for reading. Return :const:`None` if there is no " @@ -789,7 +789,7 @@ msgstr "" "lorsque la classe :class:`TarFile` est ouverte en lecture. Renvoie :const:" "`None` s'il n'y a pas." -#: library/tarfile.rst:388 +#: library/tarfile.rst:389 msgid "" "Extract all members from the archive to the current working directory or " "directory *path*. If optional *members* is given, it must be a subset of the " @@ -810,7 +810,7 @@ msgstr "" "est créé. Et, si les autorisations d'un répertoire ne permettent pas " "l'écriture, l'extraction de fichiers échoue." -#: library/tarfile.rst:396 library/tarfile.rst:422 +#: library/tarfile.rst:397 library/tarfile.rst:423 msgid "" "If *numeric_owner* is :const:`True`, the uid and gid numbers from the " "tarfile are used to set the owner/group for the extracted files. Otherwise, " @@ -820,7 +820,7 @@ msgstr "" "*tar* sont utilisés pour définir le propriétaire et le groupe des fichiers " "extraits. Sinon, les valeurs nommées du fichier *tar* sont utilisées." -#: library/tarfile.rst:402 +#: library/tarfile.rst:403 msgid "" "Never extract archives from untrusted sources without prior inspection. It " "is possible that files are created outside of *path*, e.g. members that have " @@ -832,15 +832,15 @@ msgstr "" "*chemin*, par ex: les membres qui ont des noms de fichiers absolus " "commençant par ``\"/\"`` ou des noms de fichiers avec deux points ``\"..\"``." -#: library/tarfile.rst:407 library/tarfile.rst:438 +#: library/tarfile.rst:408 library/tarfile.rst:439 msgid "Added the *numeric_owner* parameter." msgstr "Ajout du paramètre *numeric_owner*." -#: library/tarfile.rst:410 library/tarfile.rst:441 +#: library/tarfile.rst:411 library/tarfile.rst:442 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "Le paramètre *path* accepte un :term:`path-like object`." -#: library/tarfile.rst:416 +#: library/tarfile.rst:417 msgid "" "Extract a member from the archive to the current working directory, using " "its full name. Its file information is extracted as accurately as possible. " @@ -856,7 +856,7 @@ msgstr "" "attributs de fichier (propriétaire, *mtime*, mode) sont définis sauf si " "*set_attrs* est faux." -#: library/tarfile.rst:428 +#: library/tarfile.rst:429 msgid "" "The :meth:`extract` method does not take care of several extraction issues. " "In most cases you should consider using the :meth:`extractall` method." @@ -865,15 +865,15 @@ msgstr "" "d'extraction. Dans la plupart des cas, vous devriez envisager d'utiliser la " "méthode :meth:`extractall`." -#: library/tarfile.rst:433 +#: library/tarfile.rst:434 msgid "See the warning for :meth:`extractall`." msgstr "Voir l'avertissement pour :meth:`extractall`." -#: library/tarfile.rst:435 +#: library/tarfile.rst:436 msgid "Added the *set_attrs* parameter." msgstr "Ajout du paramètre *set_attrs*." -#: library/tarfile.rst:447 +#: library/tarfile.rst:448 msgid "" "Extract a member from the archive as a file object. *member* may be a " "filename or a :class:`TarInfo` object. If *member* is a regular file or a " @@ -885,11 +885,11 @@ msgstr "" "normal ou un lien, un objet :class:`io.BufferedReader` est renvoyé. Sinon, :" "const:`None` est renvoyé." -#: library/tarfile.rst:452 +#: library/tarfile.rst:453 msgid "Return an :class:`io.BufferedReader` object." msgstr "Renvoie un objet :class:`io.BufferedReader`." -#: library/tarfile.rst:458 +#: library/tarfile.rst:459 msgid "" "Add the file *name* to the archive. *name* may be any type of file " "(directory, fifo, symbolic link, etc.). If given, *arcname* specifies an " @@ -912,15 +912,15 @@ msgstr "" "l'objet :class:`TarInfo` sera exclu de l'archive. Voir :ref:`tar-examples` " "pour un exemple." -#: library/tarfile.rst:469 +#: library/tarfile.rst:470 msgid "Added the *filter* parameter." msgstr "Ajout du paramètre *filter*." -#: library/tarfile.rst:472 +#: library/tarfile.rst:473 msgid "Recursion adds entries in sorted order." msgstr "La récursivité ajoute les entrées dans un ordre trié." -#: library/tarfile.rst:478 +#: library/tarfile.rst:479 msgid "" "Add the :class:`TarInfo` object *tarinfo* to the archive. If *fileobj* is " "given, it should be a :term:`binary file`, and ``tarinfo.size`` bytes are " @@ -933,7 +933,7 @@ msgstr "" "pouvez créer des objets :class:`TarInfo` directement, ou en utilisant :meth:" "`gettarinfo`." -#: library/tarfile.rst:486 +#: library/tarfile.rst:487 msgid "" "Create a :class:`TarInfo` object from the result of :func:`os.stat` or " "equivalent on an existing file. The file is either named by *name*, or " @@ -951,7 +951,7 @@ msgstr "" "sinon, le nom est tiré de l'attribut *fileobj* :attr:`~io.FileIO.name`, ou " "de l'argument *name*. Le nom doit être une chaîne de texte." -#: library/tarfile.rst:495 +#: library/tarfile.rst:496 msgid "" "You can modify some of the :class:`TarInfo`’s attributes before you add it " "using :meth:`addfile`. If the file object is not an ordinary file object " @@ -968,7 +968,7 @@ msgstr "" "également être modifié, auquel cas *arcname* pourrait être une chaîne " "factice." -#: library/tarfile.rst:509 +#: library/tarfile.rst:510 msgid "" "Close the :class:`TarFile`. In write mode, two finishing zero blocks are " "appended to the archive." @@ -976,16 +976,16 @@ msgstr "" "Ferme le :class:`TarFile`. En mode écriture, deux blocs de finition à zéro " "sont ajoutés à l'archive." -#: library/tarfile.rst:515 +#: library/tarfile.rst:516 msgid "A dictionary containing key-value pairs of pax global headers." msgstr "" "Un dictionnaire contenant des paires clé-valeur d'en-têtes globaux *pax*." -#: library/tarfile.rst:522 +#: library/tarfile.rst:523 msgid "TarInfo Objects" msgstr "Les objets *TarInfo*" -#: library/tarfile.rst:524 +#: library/tarfile.rst:525 msgid "" "A :class:`TarInfo` object represents one member in a :class:`TarFile`. Aside " "from storing all required attributes of a file (like file type, size, time, " @@ -998,7 +998,7 @@ msgstr "" "fournit quelques méthodes utiles pour déterminer son type. Il ne contient " "pas les données du fichier lui-même." -#: library/tarfile.rst:529 +#: library/tarfile.rst:530 msgid "" ":class:`TarInfo` objects are returned by :class:`TarFile`'s methods :meth:" "`getmember`, :meth:`getmembers` and :meth:`gettarinfo`." @@ -1006,20 +1006,20 @@ msgstr "" "Les objets :class:`TarInfo` sont renvoyés par les méthodes de :class:" "`TarFile` :meth:`getmember`, :meth:`getmembers` et :meth:`gettarinfo`." -#: library/tarfile.rst:535 +#: library/tarfile.rst:536 msgid "Create a :class:`TarInfo` object." msgstr "Crée un objet :class:`TarInfo`." -#: library/tarfile.rst:540 +#: library/tarfile.rst:541 msgid "Create and return a :class:`TarInfo` object from string buffer *buf*." msgstr "" "Crée et renvoie un objet :class:`TarInfo` à partir de la chaîne tampon *buf*." -#: library/tarfile.rst:542 +#: library/tarfile.rst:543 msgid "Raises :exc:`HeaderError` if the buffer is invalid." msgstr "Lève :exc:`HeaderError` si le tampon n'est pas valide." -#: library/tarfile.rst:547 +#: library/tarfile.rst:548 msgid "" "Read the next member from the :class:`TarFile` object *tarfile* and return " "it as a :class:`TarInfo` object." @@ -1027,7 +1027,7 @@ msgstr "" "Lit le membre suivant dans l'objet :class:`TarFile` *tarfile* et le renvoie " "comme un objet :class:`TarInfo`." -#: library/tarfile.rst:553 +#: library/tarfile.rst:554 msgid "" "Create a string buffer from a :class:`TarInfo` object. For information on " "the arguments see the constructor of the :class:`TarFile` class." @@ -1036,27 +1036,27 @@ msgstr "" "Pour plus d'informations sur les arguments, voir le constructeur de la " "classe :class:`TarFile`." -#: library/tarfile.rst:560 +#: library/tarfile.rst:561 msgid "A ``TarInfo`` object has the following public data attributes:" msgstr "Un objet ``TarInfo`` a les attributs de données publics suivants :" -#: library/tarfile.rst:565 +#: library/tarfile.rst:566 msgid "Name of the archive member." msgstr "Nom du membre de l'archive." -#: library/tarfile.rst:570 +#: library/tarfile.rst:571 msgid "Size in bytes." msgstr "La taille en octets." -#: library/tarfile.rst:575 +#: library/tarfile.rst:576 msgid "Time of last modification." msgstr "L'heure de la dernière modification." -#: library/tarfile.rst:580 +#: library/tarfile.rst:581 msgid "Permission bits." msgstr "Bits d'autorisation." -#: library/tarfile.rst:585 +#: library/tarfile.rst:586 msgid "" "File type. *type* is usually one of these constants: :const:`REGTYPE`, :" "const:`AREGTYPE`, :const:`LNKTYPE`, :const:`SYMTYPE`, :const:`DIRTYPE`, :" @@ -1070,7 +1070,7 @@ msgstr "" "const:`BLKTYPE`, :const:`GNUTYPE_SPARSE`. Pour déterminer plus facilement le " "type d'un objet :class:`TarInfo`, utilisez les méthodes ``is*()`` ci-dessous." -#: library/tarfile.rst:594 +#: library/tarfile.rst:595 msgid "" "Name of the target file name, which is only present in :class:`TarInfo` " "objects of type :const:`LNKTYPE` and :const:`SYMTYPE`." @@ -1078,80 +1078,80 @@ msgstr "" "Nom du fichier cible, qui n'est présent que dans les objets :class:" "`TarInfo` de type :const:`LNKTYPE` et :const:`SYMTYPE`." -#: library/tarfile.rst:600 +#: library/tarfile.rst:601 msgid "User ID of the user who originally stored this member." msgstr "ID de l'utilisateur qui a initialement stocké ce membre." -#: library/tarfile.rst:605 +#: library/tarfile.rst:606 msgid "Group ID of the user who originally stored this member." msgstr "ID de groupe de l'utilisateur qui a initialement stocké ce membre." -#: library/tarfile.rst:610 +#: library/tarfile.rst:611 msgid "User name." msgstr "Nom d'utilisateur." -#: library/tarfile.rst:615 +#: library/tarfile.rst:616 msgid "Group name." msgstr "Nom de groupe." -#: library/tarfile.rst:620 +#: library/tarfile.rst:621 msgid "" "A dictionary containing key-value pairs of an associated pax extended header." msgstr "" "Un dictionnaire contenant des paires clé-valeur d'un en-tête étendu *pax* " "associé." -#: library/tarfile.rst:623 +#: library/tarfile.rst:624 msgid "A :class:`TarInfo` object also provides some convenient query methods:" msgstr "" "Un objet :class:`TarInfo` fournit également des méthodes de requête " "pratiques :" -#: library/tarfile.rst:628 +#: library/tarfile.rst:629 msgid "Return :const:`True` if the :class:`Tarinfo` object is a regular file." msgstr "" "Renvoie :const:`True` si l'objet :class:`Tarinfo` est un fichier normal." -#: library/tarfile.rst:633 +#: library/tarfile.rst:634 msgid "Same as :meth:`isfile`." msgstr "Identique à :meth:`isfile`." -#: library/tarfile.rst:638 +#: library/tarfile.rst:639 msgid "Return :const:`True` if it is a directory." msgstr "Renvoie :const:`True` si c'est un dossier." -#: library/tarfile.rst:643 +#: library/tarfile.rst:644 msgid "Return :const:`True` if it is a symbolic link." msgstr "Renvoie :const:`True` s'il s'agit d'un lien symbolique." -#: library/tarfile.rst:648 +#: library/tarfile.rst:649 msgid "Return :const:`True` if it is a hard link." msgstr "Renvoie :const:`True` s'il s'agit d'un lien physique." -#: library/tarfile.rst:653 +#: library/tarfile.rst:654 msgid "Return :const:`True` if it is a character device." msgstr "Renvoie :const:`True` s'il s'agit d'un périphérique de caractères." -#: library/tarfile.rst:658 +#: library/tarfile.rst:659 msgid "Return :const:`True` if it is a block device." msgstr "Renvoie :const:`True` s'il s'agit d'un périphérique de bloc." -#: library/tarfile.rst:663 +#: library/tarfile.rst:664 msgid "Return :const:`True` if it is a FIFO." msgstr "Renvoie :const:`True` s'il s'agit d'un tube nommé (*FIFO*)." -#: library/tarfile.rst:668 +#: library/tarfile.rst:669 msgid "" "Return :const:`True` if it is one of character device, block device or FIFO." msgstr "" "Renvoie :const:`True` s'il s'agit d'un périphérique de caractères, d'un " "périphérique de bloc ou d'un tube nommé." -#: library/tarfile.rst:675 +#: library/tarfile.rst:676 msgid "Command-Line Interface" msgstr "Interface en ligne de commande" -#: library/tarfile.rst:676 +#: library/tarfile.rst:680 msgid "" "The :mod:`tarfile` module provides a simple command-line interface to " "interact with tar archives." @@ -1159,7 +1159,7 @@ msgstr "" "Le module :mod:`tarfile` fournit une interface de ligne de commande simple " "pour interagir avec les archives *tar*." -#: library/tarfile.rst:682 +#: library/tarfile.rst:683 msgid "" "If you want to create a new tar archive, specify its name after the :option:" "`-c` option and then list the filename(s) that should be included:" @@ -1167,11 +1167,11 @@ msgstr "" "Si vous souhaitez créer une nouvelle archive *tar*, spécifiez son nom après " "l'option :option:`-c`, puis répertorie-le ou les noms de fichiers à inclure :" -#: library/tarfile.rst:689 +#: library/tarfile.rst:690 msgid "Passing a directory is also acceptable:" msgstr "Passer un répertoire est aussi possible :" -#: library/tarfile.rst:695 +#: library/tarfile.rst:696 msgid "" "If you want to extract a tar archive into the current directory, use the :" "option:`-e` option:" @@ -1179,7 +1179,7 @@ msgstr "" "Si vous souhaitez extraire une archive *tar* dans le répertoire courant, " "utilisez l'option :option:`-e`:" -#: library/tarfile.rst:702 +#: library/tarfile.rst:703 msgid "" "You can also extract a tar archive into a different directory by passing the " "directory's name:" @@ -1187,49 +1187,49 @@ msgstr "" "Vous pouvez également extraire une archive *tar* dans un autre répertoire en " "passant le nom du répertoire:" -#: library/tarfile.rst:709 +#: library/tarfile.rst:710 msgid "For a list of the files in a tar archive, use the :option:`-l` option:" msgstr "" "Pour une liste des fichiers dans une archive *tar*, utilisez l'option :" "option:`-l` :" -#: library/tarfile.rst:717 +#: library/tarfile.rst:718 msgid "Command-line options" msgstr "Options de la ligne de commande" -#: library/tarfile.rst:722 +#: library/tarfile.rst:723 msgid "List files in a tarfile." msgstr "Liste les fichiers dans une archive *tar*." -#: library/tarfile.rst:727 +#: library/tarfile.rst:728 msgid "Create tarfile from source files." msgstr "Crée une archive *tar* à partir des fichiers sources." -#: library/tarfile.rst:732 +#: library/tarfile.rst:733 msgid "" "Extract tarfile into the current directory if *output_dir* is not specified." msgstr "" "Extrait l'archive *tar* dans le répertoire courant si *output_dir* n'est pas " "spécifié." -#: library/tarfile.rst:737 +#: library/tarfile.rst:738 msgid "Test whether the tarfile is valid or not." msgstr "Teste si l'archive *tar* est valide ou non." -#: library/tarfile.rst:741 +#: library/tarfile.rst:742 msgid "Verbose output." msgstr "Sortie verbeuse." -#: library/tarfile.rst:746 +#: library/tarfile.rst:747 msgid "Examples" msgstr "Exemples" -#: library/tarfile.rst:748 +#: library/tarfile.rst:749 msgid "How to extract an entire tar archive to the current working directory::" msgstr "" "Comment extraire une archive *tar* dans le dossier de travail courant ::" -#: library/tarfile.rst:755 +#: library/tarfile.rst:756 msgid "" "How to extract a subset of a tar archive with :meth:`TarFile.extractall` " "using a generator function instead of a list::" @@ -1237,17 +1237,17 @@ msgstr "" "Comment extraire un sous-ensemble d'une archive *tar* avec :meth:`TarFile." "extractall` en utilisant une fonction de générateur au lieu d'une liste ::" -#: library/tarfile.rst:770 +#: library/tarfile.rst:771 msgid "How to create an uncompressed tar archive from a list of filenames::" msgstr "" "Comment créer une archive *tar* non compressée à partir d'une liste de noms " "de fichiers ::" -#: library/tarfile.rst:778 +#: library/tarfile.rst:779 msgid "The same example using the :keyword:`with` statement::" msgstr "Le même exemple en utilisant l'instruction :keyword:`with` ::" -#: library/tarfile.rst:785 +#: library/tarfile.rst:786 msgid "" "How to read a gzip compressed tar archive and display some member " "information::" @@ -1255,7 +1255,7 @@ msgstr "" "Comment lire une archive *tar* compressée avec *gzip* et afficher des " "informations des membres ::" -#: library/tarfile.rst:799 +#: library/tarfile.rst:800 msgid "" "How to create an archive and reset the user information using the *filter* " "parameter in :meth:`TarFile.add`::" @@ -1263,11 +1263,11 @@ msgstr "" "Comment créer une archive et réinitialiser les informations de l'utilisateur " "en utilisant le paramètre *filter* dans :meth:`TarFile.add` ::" -#: library/tarfile.rst:815 +#: library/tarfile.rst:816 msgid "Supported tar formats" msgstr "Formats *tar* pris en charge" -#: library/tarfile.rst:817 +#: library/tarfile.rst:818 msgid "" "There are three tar formats that can be created with the :mod:`tarfile` " "module:" @@ -1275,7 +1275,7 @@ msgstr "" "Il existe trois formats *tar* qui peuvent être créés avec le module :mod:" "`tarfile` :" -#: library/tarfile.rst:819 +#: library/tarfile.rst:820 msgid "" "The POSIX.1-1988 ustar format (:const:`USTAR_FORMAT`). It supports filenames " "up to a length of at best 256 characters and linknames up to 100 characters. " @@ -1287,7 +1287,7 @@ msgstr "" "noms de liens jusqu'à 100 caractères. La taille maximale du fichier est de " "8 Go. Il s'agit d'un format ancien et limité mais largement pris en charge." -#: library/tarfile.rst:824 +#: library/tarfile.rst:825 msgid "" "The GNU tar format (:const:`GNU_FORMAT`). It supports long filenames and " "linknames, files bigger than 8 GiB and sparse files. It is the de facto " @@ -1300,7 +1300,7 @@ msgstr "" "`tarfile` prend entièrement en charge les extensions GNU *tar* pour les noms " "longs, la prise en charge des fichiers discontinus est en lecture seule." -#: library/tarfile.rst:829 +#: library/tarfile.rst:830 msgid "" "The POSIX.1-2001 pax format (:const:`PAX_FORMAT`). It is the most flexible " "format with virtually no limits. It supports long filenames and linknames, " @@ -1321,7 +1321,7 @@ msgstr "" "pris en charge. Il s'agit du format par défaut actuel pour les nouvelles " "archives." -#: library/tarfile.rst:837 +#: library/tarfile.rst:838 msgid "" "It extends the existing *ustar* format with extra headers for information " "that cannot be stored otherwise. There are two flavours of pax headers: " @@ -1336,7 +1336,7 @@ msgstr "" "et affectent tous les fichiers suivants. Toutes les données d'un en-tête " "*pax* sont encodées en *UTF-8* pour des raisons de portabilité." -#: library/tarfile.rst:843 +#: library/tarfile.rst:844 msgid "" "There are some more variants of the tar format which can be read, but not " "created:" @@ -1344,7 +1344,7 @@ msgstr "" "Il existe d'autres variantes du format *tar* qui peuvent être lues, mais pas " "créées" -#: library/tarfile.rst:846 +#: library/tarfile.rst:847 msgid "" "The ancient V7 format. This is the first tar format from Unix Seventh " "Edition, storing only regular files and directories. Names must not be " @@ -1358,7 +1358,7 @@ msgstr "" "d'utilisateur / groupe. Certaines archives ont des sommes de contrôle d'en-" "tête mal calculées dans le cas de champs avec des caractères non ASCII." -#: library/tarfile.rst:851 +#: library/tarfile.rst:852 msgid "" "The SunOS tar extended format. This format is a variant of the POSIX.1-2001 " "pax format, but is not compatible." @@ -1366,11 +1366,11 @@ msgstr "" "Format étendu *SunOS* *tar*. Ce format est une variante du format " "*POSIX.1-2001* *pax*, mais n'est pas compatible." -#: library/tarfile.rst:857 +#: library/tarfile.rst:858 msgid "Unicode issues" msgstr "Problèmes *unicode*" -#: library/tarfile.rst:859 +#: library/tarfile.rst:860 msgid "" "The tar format was originally conceived to make backups on tape drives with " "the main focus on preserving file system information. Nowadays tar archives " @@ -1400,7 +1400,7 @@ msgstr "" "métadonnées non ASCII en utilisant l'encodage universel des caractères " "*UTF-8*." -#: library/tarfile.rst:871 +#: library/tarfile.rst:872 msgid "" "The details of character conversion in :mod:`tarfile` are controlled by the " "*encoding* and *errors* keyword arguments of the :class:`TarFile` class." @@ -1409,7 +1409,7 @@ msgstr "" "contrôlés par les arguments de mot-clé *encoding* et *errors* de la classe :" "class:`TarFile`." -#: library/tarfile.rst:874 +#: library/tarfile.rst:875 msgid "" "*encoding* defines the character encoding to use for the metadata in the " "archive. The default value is :func:`sys.getfilesystemencoding` or " @@ -1423,7 +1423,7 @@ msgstr "" "écrite, les métadonnées doivent être décodées ou encodées. Si l'encodage " "n'est pas défini correctement, cette conversion peut échouer." -#: library/tarfile.rst:880 +#: library/tarfile.rst:881 msgid "" "The *errors* argument defines how characters are treated that cannot be " "converted. Possible values are listed in section :ref:`error-handlers`. The " @@ -1436,7 +1436,7 @@ msgstr "" "utilise également pour ses appels de système de fichiers, voir :ref:`os-" "filenames`." -#: library/tarfile.rst:885 +#: library/tarfile.rst:886 msgid "" "For :const:`PAX_FORMAT` archives (the default), *encoding* is generally not " "needed because all the metadata is stored using *UTF-8*. *encoding* is only " diff --git a/library/telnetlib.po b/library/telnetlib.po index d39bbdf1..8a6b71f3 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tempfile.po b/library/tempfile.po index 0bd6d63c..d76adacc 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-11 11:19+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -136,7 +136,7 @@ msgstr "" "L'option :py:data:`os.O_TMPFILE` est utilisé s'il est disponible et " "fonctionne (Linux exclusivement, nécessite un noyau Linux 3.11 ou plus)." -#: library/tempfile.rst:66 library/tempfile.rst:91 library/tempfile.rst:187 +#: library/tempfile.rst:66 library/tempfile.rst:91 library/tempfile.rst:186 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -255,7 +255,7 @@ msgstr "" "Le répertoire peut être explicitement nettoyé en appelant la méthode :func:" "`cleanup`." -#: library/tempfile.rst:138 library/tempfile.rst:213 +#: library/tempfile.rst:138 library/tempfile.rst:212 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." @@ -346,14 +346,11 @@ msgstr "" #: library/tempfile.rst:178 msgid "" -"If *text* is specified, it indicates whether to open the file in binary mode " -"(the default) or text mode. On some platforms, this makes no difference." +"If *text* is specified and true, the file is opened in text mode. Otherwise, " +"(the default) the file is opened in binary mode." msgstr "" -"Si *text* est spécifié, cela indique si le fichier doit être ouvert en mode " -"binaire (par défaut) ou en mode texte. Sur certaines plateformes, cela ne " -"fait aucune différence." -#: library/tempfile.rst:182 +#: library/tempfile.rst:181 msgid "" ":func:`mkstemp` returns a tuple containing an OS-level handle to an open " "file (as would be returned by :func:`os.open`) and the absolute pathname of " @@ -364,7 +361,7 @@ msgstr "" "que renvoie :func:`os.open`) et le chemin d'accès absolu de ce fichier, dans " "cet ordre." -#: library/tempfile.rst:188 library/tempfile.rst:214 +#: library/tempfile.rst:187 library/tempfile.rst:213 msgid "" "*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to " "obtain a bytes return value. Prior to this, only str was allowed. *suffix* " @@ -376,14 +373,14 @@ msgstr "" "seul autorisé. *suffix* et *prefix* acceptent maintenant la valeur par " "défaut ``None`` pour que la valeur par défaut appropriée soit utilisée." -#: library/tempfile.rst:194 library/tempfile.rst:220 +#: library/tempfile.rst:193 library/tempfile.rst:219 #, fuzzy msgid "The *dir* parameter now accepts a :term:`path-like object`." msgstr "" "Le paramètre *file* accepte un objet fichier-compatible :term:`path-like " "object`." -#: library/tempfile.rst:200 +#: library/tempfile.rst:199 msgid "" "Creates a temporary directory in the most secure manner possible. There are " "no race conditions in the directory's creation. The directory is readable, " @@ -394,7 +391,7 @@ msgstr "" "du répertoire. Le répertoire est accessible en lecture, en écriture, et son " "contenu lisible uniquement pour l'ID de l'utilisateur créateur." -#: library/tempfile.rst:204 +#: library/tempfile.rst:203 msgid "" "The user of :func:`mkdtemp` is responsible for deleting the temporary " "directory and its contents when done with it." @@ -402,7 +399,7 @@ msgstr "" "L'utilisateur de :func:`mkdtemp` est responsable de la suppression du " "répertoire temporaire et de son contenu lorsqu'il n'en a plus besoin." -#: library/tempfile.rst:207 +#: library/tempfile.rst:206 msgid "" "The *prefix*, *suffix*, and *dir* arguments are the same as for :func:" "`mkstemp`." @@ -410,11 +407,11 @@ msgstr "" "Les arguments *prefix*, *suffix*, et *dir* sont les mêmes que pour :func:" "`mkstemp`." -#: library/tempfile.rst:210 +#: library/tempfile.rst:209 msgid ":func:`mkdtemp` returns the absolute pathname of the new directory." msgstr ":func:`mkdtemp` renvoie le chemin absolu du nouveau répertoire." -#: library/tempfile.rst:226 +#: library/tempfile.rst:225 msgid "" "Return the name of the directory used for temporary files. This defines the " "default value for the *dir* argument to all functions in this module." @@ -422,7 +419,7 @@ msgstr "" "Renvoie le nom du répertoire utilisé pour les fichiers temporaires. C'est la " "valeur par défaut pour l'argument *dir* de toutes les fonctions de ce module." -#: library/tempfile.rst:230 +#: library/tempfile.rst:229 msgid "" "Python searches a standard list of directories to find one which the calling " "user can create files in. The list is:" @@ -430,26 +427,26 @@ msgstr "" "Python cherche un répertoire parmi une liste standard de répertoires dans " "lequel l'utilisateur final peut créer des fichiers. La liste est :" -#: library/tempfile.rst:233 +#: library/tempfile.rst:232 msgid "The directory named by the :envvar:`TMPDIR` environment variable." msgstr "" "Le répertoire correspondant à la variable d'environnement :envvar:`TMPDIR`." -#: library/tempfile.rst:235 +#: library/tempfile.rst:234 msgid "The directory named by the :envvar:`TEMP` environment variable." msgstr "" "Le répertoire correspondant à la variable d'environnement :envvar:`TEMP`." -#: library/tempfile.rst:237 +#: library/tempfile.rst:236 msgid "The directory named by the :envvar:`TMP` environment variable." msgstr "" "Le répertoire correspondant à la variable d'environnement :envvar:`TMP`." -#: library/tempfile.rst:239 +#: library/tempfile.rst:238 msgid "A platform-specific location:" msgstr "Un emplacement dépendant à la plateforme :" -#: library/tempfile.rst:241 +#: library/tempfile.rst:240 msgid "" "On Windows, the directories :file:`C:\\\\TEMP`, :file:`C:\\\\TMP`, :file:`\\" "\\TEMP`, and :file:`\\\\TMP`, in that order." @@ -457,7 +454,7 @@ msgstr "" "Sur Windows, les répertoires :file:`C:\\\\TEMP`, :file:`C:\\\\TMP`, :file:`\\" "\\TEMP`, et :file:`\\\\TMP`, dans cet ordre." -#: library/tempfile.rst:244 +#: library/tempfile.rst:243 msgid "" "On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and :" "file:`/usr/tmp`, in that order." @@ -465,11 +462,11 @@ msgstr "" "Sur toutes les autres plate-formes, les répertoires :file:`/tmp`, :file:`/" "var/tmp`, et :file:`/usr/tmp`, dans cet ordre." -#: library/tempfile.rst:247 +#: library/tempfile.rst:246 msgid "As a last resort, the current working directory." msgstr "En dernier ressort, le répertoire de travail courant." -#: library/tempfile.rst:249 +#: library/tempfile.rst:248 msgid "" "The result of this search is cached, see the description of :data:`tempdir` " "below." @@ -477,12 +474,12 @@ msgstr "" "Le résultat de cette recherche est mis en cache, voir la description de :" "data:`tempdir` dessous." -#: library/tempfile.rst:254 +#: library/tempfile.rst:253 msgid "Same as :func:`gettempdir` but the return value is in bytes." msgstr "" "Similaire à :func:`gettempdir` mais la valeur retournée est en *bytes*." -#: library/tempfile.rst:260 +#: library/tempfile.rst:259 msgid "" "Return the filename prefix used to create temporary files. This does not " "contain the directory component." @@ -490,12 +487,12 @@ msgstr "" "Renvoie le préfixe de nom de fichier utilisé pour créer les fichiers " "temporaires. Cela ne contient pas le nom du répertoire." -#: library/tempfile.rst:265 +#: library/tempfile.rst:264 msgid "Same as :func:`gettempprefix` but the return value is in bytes." msgstr "" "Similaire à :func:`gettempprefix` mais la valeur retournée est en *bytes*." -#: library/tempfile.rst:269 +#: library/tempfile.rst:268 msgid "" "The module uses a global variable to store the name of the directory used " "for temporary files returned by :func:`gettempdir`. It can be set directly " @@ -510,7 +507,7 @@ msgstr "" "prennent un argument *dir* qui peut être utilisé pour spécifier le " "répertoire. Il s'agit de la méthode recommandée." -#: library/tempfile.rst:277 +#: library/tempfile.rst:276 msgid "" "When set to a value other than ``None``, this variable defines the default " "value for the *dir* argument to the functions defined in this module." @@ -519,7 +516,7 @@ msgstr "" "valeur par défaut pour l'argument *dir* des fonctions définies dans ce " "module." -#: library/tempfile.rst:281 +#: library/tempfile.rst:280 msgid "" "If ``tempdir`` is ``None`` (the default) at any call to any of the above " "functions except :func:`gettempprefix` it is initialized following the " @@ -529,20 +526,20 @@ msgstr "" "fonctions ci-dessus, sauf :func:`gettempprefix`, la variable est initialisée " "suivant l'algorithme décrit dans :func:`gettempdir`." -#: library/tempfile.rst:288 +#: library/tempfile.rst:287 msgid "Examples" msgstr "Exemples" -#: library/tempfile.rst:290 +#: library/tempfile.rst:289 msgid "Here are some examples of typical usage of the :mod:`tempfile` module::" msgstr "" "Voici quelques exemples classiques d'utilisation du module :mod:`tempfile` ::" -#: library/tempfile.rst:321 +#: library/tempfile.rst:320 msgid "Deprecated functions and variables" msgstr "Fonctions et variables obsolètes" -#: library/tempfile.rst:323 +#: library/tempfile.rst:322 msgid "" "A historical way to create temporary files was to first generate a file name " "with the :func:`mktemp` function and then create a file using this name. " @@ -561,11 +558,11 @@ msgstr "" "de créer le fichier immédiatement. Cette approche est utilisée par :func:" "`mkstemp` et les autres fonctions décrites plus haut." -#: library/tempfile.rst:334 +#: library/tempfile.rst:333 msgid "Use :func:`mkstemp` instead." msgstr "Utilisez :func:`mkstemp` à la place." -#: library/tempfile.rst:337 +#: library/tempfile.rst:336 msgid "" "Return an absolute pathname of a file that did not exist at the time the " "call is made. The *prefix*, *suffix*, and *dir* arguments are similar to " @@ -577,7 +574,7 @@ msgstr "" "func:`mkstemp` mais les noms de fichiers en *bytes*, ``sufix=None`` et " "``prefix=None`` ne sont pas implémentées." -#: library/tempfile.rst:344 +#: library/tempfile.rst:343 msgid "" "Use of this function may introduce a security hole in your program. By the " "time you get around to doing anything with the file name it returns, someone " @@ -590,3 +587,12 @@ msgstr "" "nom de fichier renvoyé, quelqu'un peut l'utiliser. L'utilisation de :func:" "`mktemp` peut être remplacée facilement avec :func:`NamedTemporaryFile` en y " "passant le paramètre ``delete=False`` ::" + +#~ msgid "" +#~ "If *text* is specified, it indicates whether to open the file in binary " +#~ "mode (the default) or text mode. On some platforms, this makes no " +#~ "difference." +#~ msgstr "" +#~ "Si *text* est spécifié, cela indique si le fichier doit être ouvert en " +#~ "mode binaire (par défaut) ou en mode texte. Sur certaines plateformes, " +#~ "cela ne fait aucune différence." diff --git a/library/termios.po b/library/termios.po index ff849c82..c0132b48 100644 --- a/library/termios.po +++ b/library/termios.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-27 12:03+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/test.po b/library/test.po index b897e18a..ca6b639c 100644 --- a/library/test.po +++ b/library/test.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/text.po b/library/text.po index e92425ae..03531cfd 100644 --- a/library/text.po +++ b/library/text.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-08 00:03+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/textwrap.po b/library/textwrap.po index f172ee00..17de619a 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-21 13:34+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" diff --git a/library/threading.po b/library/threading.po index 9b8893c8..e48fcf13 100644 --- a/library/threading.po +++ b/library/threading.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-29 11:56+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -755,14 +755,15 @@ msgstr "" "ce dernier directement." #: library/threading.rst:398 +#, fuzzy msgid "" -"In CPython, due to the :term:`Global Interpreter Lock`, only one thread can " -"execute Python code at once (even though certain performance-oriented " -"libraries might overcome this limitation). If you want your application to " -"make better use of the computational resources of multi-core machines, you " -"are advised to use :mod:`multiprocessing` or :class:`concurrent.futures." -"ProcessPoolExecutor`. However, threading is still an appropriate model if " -"you want to run multiple I/O-bound tasks simultaneously." +"In CPython, due to the :term:`Global Interpreter Lock `, only one thread can execute Python code at once (even though certain " +"performance-oriented libraries might overcome this limitation). If you want " +"your application to make better use of the computational resources of multi-" +"core machines, you are advised to use :mod:`multiprocessing` or :class:" +"`concurrent.futures.ProcessPoolExecutor`. However, threading is still an " +"appropriate model if you want to run multiple I/O-bound tasks simultaneously." msgstr "" "En CPython, en raison du verrou global de l'interpréteur (:term:`Global " "Interpreter Lock`), un seul fil d'exécution peut exécuter du code Python à " @@ -774,11 +775,11 @@ msgstr "" "modèle approprié si vous souhaitez exécuter simultanément plusieurs tâches " "limitées par les performances des entrées-sorties." -#: library/threading.rst:411 +#: library/threading.rst:412 msgid "Lock Objects" msgstr "Verrous" -#: library/threading.rst:413 +#: library/threading.rst:414 msgid "" "A primitive lock is a synchronization primitive that is not owned by a " "particular thread when locked. In Python, it is currently the lowest level " @@ -790,7 +791,7 @@ msgstr "" "plus bas-niveau qui soit disponible, implémentée directement par le module " "d'extension :mod:`_thread`." -#: library/threading.rst:418 +#: library/threading.rst:419 msgid "" "A primitive lock is in one of two states, \"locked\" or \"unlocked\". It is " "created in the unlocked state. It has two basic methods, :meth:`~Lock." @@ -815,11 +816,11 @@ msgstr "" "Déverrouiller un verrou qui n'est pas verrouillé provoque une :exc:" "`RuntimeError`." -#: library/threading.rst:429 +#: library/threading.rst:430 msgid "Locks also support the :ref:`context management protocol `." msgstr "" -#: library/threading.rst:431 +#: library/threading.rst:432 msgid "" "When more than one thread is blocked in :meth:`~Lock.acquire` waiting for " "the state to turn to unlocked, only one thread proceeds when a :meth:`~Lock." @@ -827,42 +828,42 @@ msgid "" "proceeds is not defined, and may vary across implementations." msgstr "" -#: library/threading.rst:436 +#: library/threading.rst:437 msgid "All methods are executed atomically." msgstr "" -#: library/threading.rst:441 +#: library/threading.rst:442 msgid "" "The class implementing primitive lock objects. Once a thread has acquired a " "lock, subsequent attempts to acquire it block, until it is released; any " "thread may release it." msgstr "" -#: library/threading.rst:445 +#: library/threading.rst:446 msgid "" "Note that ``Lock`` is actually a factory function which returns an instance " "of the most efficient version of the concrete Lock class that is supported " "by the platform." msgstr "" -#: library/threading.rst:452 library/threading.rst:532 +#: library/threading.rst:453 library/threading.rst:533 msgid "Acquire a lock, blocking or non-blocking." msgstr "Acquiert un verrou, bloquant ou non bloquant." -#: library/threading.rst:454 +#: library/threading.rst:455 msgid "" "When invoked with the *blocking* argument set to ``True`` (the default), " "block until the lock is unlocked, then set it to locked and return ``True``." msgstr "" -#: library/threading.rst:457 +#: library/threading.rst:458 msgid "" "When invoked with the *blocking* argument set to ``False``, do not block. If " "a call with *blocking* set to ``True`` would block, return ``False`` " "immediately; otherwise, set the lock to locked and return ``True``." msgstr "" -#: library/threading.rst:461 +#: library/threading.rst:462 msgid "" "When invoked with the floating-point *timeout* argument set to a positive " "value, block for at most the number of seconds specified by *timeout* and as " @@ -871,53 +872,53 @@ msgid "" "*blocking* is false." msgstr "" -#: library/threading.rst:467 +#: library/threading.rst:468 msgid "" "The return value is ``True`` if the lock is acquired successfully, ``False`` " "if not (for example if the *timeout* expired)." msgstr "" -#: library/threading.rst:470 library/threading.rst:554 -#: library/threading.rst:799 +#: library/threading.rst:471 library/threading.rst:555 +#: library/threading.rst:800 msgid "The *timeout* parameter is new." msgstr "Le paramètre *timeout* est nouveau." -#: library/threading.rst:473 +#: library/threading.rst:474 msgid "" "Lock acquisition can now be interrupted by signals on POSIX if the " "underlying threading implementation supports it." msgstr "" -#: library/threading.rst:480 +#: library/threading.rst:481 msgid "" "Release a lock. This can be called from any thread, not only the thread " "which has acquired the lock." msgstr "" -#: library/threading.rst:483 +#: library/threading.rst:484 msgid "" "When the lock is locked, reset it to unlocked, and return. If any other " "threads are blocked waiting for the lock to become unlocked, allow exactly " "one of them to proceed." msgstr "" -#: library/threading.rst:487 +#: library/threading.rst:488 msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised." msgstr "" -#: library/threading.rst:489 library/threading.rst:570 +#: library/threading.rst:490 library/threading.rst:571 msgid "There is no return value." msgstr "Il n'y a pas de valeur de retour." -#: library/threading.rst:493 +#: library/threading.rst:494 msgid "Return true if the lock is acquired." msgstr "Renvoie ``True`` si le verrou est acquis." -#: library/threading.rst:500 +#: library/threading.rst:501 msgid "RLock Objects" msgstr "" -#: library/threading.rst:502 +#: library/threading.rst:503 msgid "" "A reentrant lock is a synchronization primitive that may be acquired " "multiple times by the same thread. Internally, it uses the concepts of " @@ -926,7 +927,7 @@ msgid "" "lock; in the unlocked state, no thread owns it." msgstr "" -#: library/threading.rst:508 +#: library/threading.rst:509 msgid "" "To lock the lock, a thread calls its :meth:`~RLock.acquire` method; this " "returns once the thread owns the lock. To unlock the lock, a thread calls " @@ -937,13 +938,13 @@ msgid "" "proceed." msgstr "" -#: library/threading.rst:515 +#: library/threading.rst:516 msgid "" "Reentrant locks also support the :ref:`context management protocol `." msgstr "" -#: library/threading.rst:520 +#: library/threading.rst:521 msgid "" "This class implements reentrant lock objects. A reentrant lock must be " "released by the thread that acquired it. Once a thread has acquired a " @@ -951,14 +952,14 @@ msgid "" "thread must release it once for each time it has acquired it." msgstr "" -#: library/threading.rst:525 +#: library/threading.rst:526 msgid "" "Note that ``RLock`` is actually a factory function which returns an instance " "of the most efficient version of the concrete RLock class that is supported " "by the platform." msgstr "" -#: library/threading.rst:534 +#: library/threading.rst:535 msgid "" "When invoked without arguments: if this thread already owns the lock, " "increment the recursion level by one, and return immediately. Otherwise, if " @@ -969,13 +970,13 @@ msgid "" "ownership of the lock. There is no return value in this case." msgstr "" -#: library/threading.rst:542 +#: library/threading.rst:543 msgid "" "When invoked with the *blocking* argument set to true, do the same thing as " "when called without arguments, and return ``True``." msgstr "" -#: library/threading.rst:545 +#: library/threading.rst:546 msgid "" "When invoked with the *blocking* argument set to false, do not block. If a " "call without an argument would block, return ``False`` immediately; " @@ -983,7 +984,7 @@ msgid "" "``True``." msgstr "" -#: library/threading.rst:549 +#: library/threading.rst:550 msgid "" "When invoked with the floating-point *timeout* argument set to a positive " "value, block for at most the number of seconds specified by *timeout* and as " @@ -991,7 +992,7 @@ msgid "" "acquired, false if the timeout has elapsed." msgstr "" -#: library/threading.rst:560 +#: library/threading.rst:561 msgid "" "Release a lock, decrementing the recursion level. If after the decrement it " "is zero, reset the lock to unlocked (not owned by any thread), and if any " @@ -1000,17 +1001,17 @@ msgid "" "is still nonzero, the lock remains locked and owned by the calling thread." msgstr "" -#: library/threading.rst:566 +#: library/threading.rst:567 msgid "" "Only call this method when the calling thread owns the lock. A :exc:" "`RuntimeError` is raised if this method is called when the lock is unlocked." msgstr "" -#: library/threading.rst:576 +#: library/threading.rst:577 msgid "Condition Objects" msgstr "" -#: library/threading.rst:578 +#: library/threading.rst:579 msgid "" "A condition variable is always associated with some kind of lock; this can " "be passed in or one will be created by default. Passing one in is useful " @@ -1018,7 +1019,7 @@ msgid "" "of the condition object: you don't have to track it separately." msgstr "" -#: library/threading.rst:583 +#: library/threading.rst:584 msgid "" "A condition variable obeys the :ref:`context management protocol `: using the ``with`` statement acquires the associated lock for the " @@ -1027,7 +1028,7 @@ msgid "" "associated lock." msgstr "" -#: library/threading.rst:589 +#: library/threading.rst:590 msgid "" "Other methods must be called with the associated lock held. The :meth:" "`~Condition.wait` method releases the lock, and then blocks until another " @@ -1036,14 +1037,14 @@ msgid "" "and returns. It is also possible to specify a timeout." msgstr "" -#: library/threading.rst:595 +#: library/threading.rst:596 msgid "" "The :meth:`~Condition.notify` method wakes up one of the threads waiting for " "the condition variable, if any are waiting. The :meth:`~Condition." "notify_all` method wakes up all threads waiting for the condition variable." msgstr "" -#: library/threading.rst:599 +#: library/threading.rst:600 msgid "" "Note: the :meth:`~Condition.notify` and :meth:`~Condition.notify_all` " "methods don't release the lock; this means that the thread or threads " @@ -1052,7 +1053,7 @@ msgid "" "or :meth:`~Condition.notify_all` finally relinquishes ownership of the lock." msgstr "" -#: library/threading.rst:605 +#: library/threading.rst:606 msgid "" "The typical programming style using condition variables uses the lock to " "synchronize access to some shared state; threads that are interested in a " @@ -1064,7 +1065,7 @@ msgid "" "situation with unlimited buffer capacity::" msgstr "" -#: library/threading.rst:625 +#: library/threading.rst:626 msgid "" "The ``while`` loop checking for the application's condition is necessary " "because :meth:`~Condition.wait` can return after an arbitrary long time, and " @@ -1074,7 +1075,7 @@ msgid "" "checking, and eases the computation of timeouts::" msgstr "" -#: library/threading.rst:637 +#: library/threading.rst:638 msgid "" "To choose between :meth:`~Condition.notify` and :meth:`~Condition." "notify_all`, consider whether one state change can be interesting for only " @@ -1083,45 +1084,45 @@ msgid "" "thread." msgstr "" -#: library/threading.rst:645 +#: library/threading.rst:646 msgid "" "This class implements condition variable objects. A condition variable " "allows one or more threads to wait until they are notified by another thread." msgstr "" -#: library/threading.rst:648 +#: library/threading.rst:649 msgid "" "If the *lock* argument is given and not ``None``, it must be a :class:`Lock` " "or :class:`RLock` object, and it is used as the underlying lock. Otherwise, " "a new :class:`RLock` object is created and used as the underlying lock." msgstr "" -#: library/threading.rst:652 library/threading.rst:774 -#: library/threading.rst:820 library/threading.rst:872 -#: library/threading.rst:941 +#: library/threading.rst:653 library/threading.rst:775 +#: library/threading.rst:821 library/threading.rst:873 +#: library/threading.rst:942 msgid "changed from a factory function to a class." msgstr "" -#: library/threading.rst:657 +#: library/threading.rst:658 msgid "" "Acquire the underlying lock. This method calls the corresponding method on " "the underlying lock; the return value is whatever that method returns." msgstr "" -#: library/threading.rst:662 +#: library/threading.rst:663 msgid "" "Release the underlying lock. This method calls the corresponding method on " "the underlying lock; there is no return value." msgstr "" -#: library/threading.rst:667 +#: library/threading.rst:668 msgid "" "Wait until notified or until a timeout occurs. If the calling thread has not " "acquired the lock when this method is called, a :exc:`RuntimeError` is " "raised." msgstr "" -#: library/threading.rst:671 +#: library/threading.rst:672 msgid "" "This method releases the underlying lock, and then blocks until it is " "awakened by a :meth:`notify` or :meth:`notify_all` call for the same " @@ -1129,14 +1130,14 @@ msgid "" "Once awakened or timed out, it re-acquires the lock and returns." msgstr "" -#: library/threading.rst:676 +#: library/threading.rst:677 msgid "" "When the *timeout* argument is present and not ``None``, it should be a " "floating point number specifying a timeout for the operation in seconds (or " "fractions thereof)." msgstr "" -#: library/threading.rst:680 +#: library/threading.rst:681 msgid "" "When the underlying lock is an :class:`RLock`, it is not released using its :" "meth:`release` method, since this may not actually unlock the lock when it " @@ -1146,24 +1147,24 @@ msgid "" "used to restore the recursion level when the lock is reacquired." msgstr "" -#: library/threading.rst:688 +#: library/threading.rst:689 msgid "" "The return value is ``True`` unless a given *timeout* expired, in which case " "it is ``False``." msgstr "" -#: library/threading.rst:691 library/threading.rst:906 +#: library/threading.rst:692 library/threading.rst:907 msgid "Previously, the method always returned ``None``." msgstr "" -#: library/threading.rst:696 +#: library/threading.rst:697 msgid "" "Wait until a condition evaluates to true. *predicate* should be a callable " "which result will be interpreted as a boolean value. A *timeout* may be " "provided giving the maximum time to wait." msgstr "" -#: library/threading.rst:700 +#: library/threading.rst:701 msgid "" "This utility method may call :meth:`wait` repeatedly until the predicate is " "satisfied, or until a timeout occurs. The return value is the last return " @@ -1171,33 +1172,33 @@ msgid "" "out." msgstr "" -#: library/threading.rst:705 +#: library/threading.rst:706 msgid "" "Ignoring the timeout feature, calling this method is roughly equivalent to " "writing::" msgstr "" -#: library/threading.rst:711 +#: library/threading.rst:712 msgid "" "Therefore, the same rules apply as with :meth:`wait`: The lock must be held " "when called and is re-acquired on return. The predicate is evaluated with " "the lock held." msgstr "" -#: library/threading.rst:719 +#: library/threading.rst:720 msgid "" "By default, wake up one thread waiting on this condition, if any. If the " "calling thread has not acquired the lock when this method is called, a :exc:" "`RuntimeError` is raised." msgstr "" -#: library/threading.rst:723 +#: library/threading.rst:724 msgid "" "This method wakes up at most *n* of the threads waiting for the condition " "variable; it is a no-op if no threads are waiting." msgstr "" -#: library/threading.rst:726 +#: library/threading.rst:727 msgid "" "The current implementation wakes up exactly *n* threads, if at least *n* " "threads are waiting. However, it's not safe to rely on this behavior. A " @@ -1205,14 +1206,14 @@ msgid "" "threads." msgstr "" -#: library/threading.rst:731 +#: library/threading.rst:732 msgid "" "Note: an awakened thread does not actually return from its :meth:`wait` call " "until it can reacquire the lock. Since :meth:`notify` does not release the " "lock, its caller should." msgstr "" -#: library/threading.rst:737 +#: library/threading.rst:738 msgid "" "Wake up all threads waiting on this condition. This method acts like :meth:" "`notify`, but wakes up all waiting threads instead of one. If the calling " @@ -1220,11 +1221,11 @@ msgid "" "`RuntimeError` is raised." msgstr "" -#: library/threading.rst:746 +#: library/threading.rst:747 msgid "Semaphore Objects" msgstr "" -#: library/threading.rst:748 +#: library/threading.rst:749 msgid "" "This is one of the oldest synchronization primitives in the history of " "computer science, invented by the early Dutch computer scientist Edsger W. " @@ -1232,7 +1233,7 @@ msgid "" "acquire` and :meth:`~Semaphore.release`)." msgstr "" -#: library/threading.rst:753 +#: library/threading.rst:754 msgid "" "A semaphore manages an internal counter which is decremented by each :meth:" "`~Semaphore.acquire` call and incremented by each :meth:`~Semaphore.release` " @@ -1241,12 +1242,12 @@ msgid "" "meth:`~Semaphore.release`." msgstr "" -#: library/threading.rst:759 +#: library/threading.rst:760 msgid "" "Semaphores also support the :ref:`context management protocol `." msgstr "" -#: library/threading.rst:764 +#: library/threading.rst:765 msgid "" "This class implements semaphore objects. A semaphore manages an atomic " "counter representing the number of :meth:`release` calls minus the number " @@ -1255,28 +1256,28 @@ msgid "" "If not given, *value* defaults to 1." msgstr "" -#: library/threading.rst:770 +#: library/threading.rst:771 msgid "" "The optional argument gives the initial *value* for the internal counter; it " "defaults to ``1``. If the *value* given is less than 0, :exc:`ValueError` is " "raised." msgstr "" -#: library/threading.rst:779 +#: library/threading.rst:780 msgid "Acquire a semaphore." msgstr "" -#: library/threading.rst:781 +#: library/threading.rst:782 msgid "When invoked without arguments:" msgstr "" -#: library/threading.rst:783 +#: library/threading.rst:784 msgid "" "If the internal counter is larger than zero on entry, decrement it by one " "and return ``True`` immediately." msgstr "" -#: library/threading.rst:785 +#: library/threading.rst:786 msgid "" "If the internal counter is zero on entry, block until awoken by a call to :" "meth:`~Semaphore.release`. Once awoken (and the counter is greater than 0), " @@ -1285,32 +1286,32 @@ msgid "" "threads are awoken should not be relied on." msgstr "" -#: library/threading.rst:791 +#: library/threading.rst:792 msgid "" "When invoked with *blocking* set to false, do not block. If a call without " "an argument would block, return ``False`` immediately; otherwise, do the " "same thing as when called without arguments, and return ``True``." msgstr "" -#: library/threading.rst:795 +#: library/threading.rst:796 msgid "" "When invoked with a *timeout* other than ``None``, it will block for at most " "*timeout* seconds. If acquire does not complete successfully in that " "interval, return ``False``. Return ``True`` otherwise." msgstr "" -#: library/threading.rst:804 +#: library/threading.rst:805 msgid "" "Release a semaphore, incrementing the internal counter by *n*. When it was " "zero on entry and other threads are waiting for it to become larger than " "zero again, wake up *n* of those threads." msgstr "" -#: library/threading.rst:808 +#: library/threading.rst:809 msgid "Added the *n* parameter to release multiple waiting threads at once." msgstr "" -#: library/threading.rst:814 +#: library/threading.rst:815 msgid "" "Class implementing bounded semaphore objects. A bounded semaphore checks to " "make sure its current value doesn't exceed its initial value. If it does, :" @@ -1319,11 +1320,11 @@ msgid "" "times it's a sign of a bug. If not given, *value* defaults to 1." msgstr "" -#: library/threading.rst:827 +#: library/threading.rst:828 msgid ":class:`Semaphore` Example" msgstr "" -#: library/threading.rst:829 +#: library/threading.rst:830 msgid "" "Semaphores are often used to guard resources with limited capacity, for " "example, a database server. In any situation where the size of the resource " @@ -1331,37 +1332,37 @@ msgid "" "threads, your main thread would initialize the semaphore::" msgstr "" -#: library/threading.rst:838 +#: library/threading.rst:839 msgid "" "Once spawned, worker threads call the semaphore's acquire and release " "methods when they need to connect to the server::" msgstr "" -#: library/threading.rst:848 +#: library/threading.rst:849 msgid "" "The use of a bounded semaphore reduces the chance that a programming error " "which causes the semaphore to be released more than it's acquired will go " "undetected." msgstr "" -#: library/threading.rst:855 +#: library/threading.rst:856 msgid "Event Objects" msgstr "" -#: library/threading.rst:857 +#: library/threading.rst:858 msgid "" "This is one of the simplest mechanisms for communication between threads: " "one thread signals an event and other threads wait for it." msgstr "" -#: library/threading.rst:860 +#: library/threading.rst:861 msgid "" "An event object manages an internal flag that can be set to true with the :" "meth:`~Event.set` method and reset to false with the :meth:`~Event.clear` " "method. The :meth:`~Event.wait` method blocks until the flag is true." msgstr "" -#: library/threading.rst:867 +#: library/threading.rst:868 msgid "" "Class implementing event objects. An event manages a flag that can be set " "to true with the :meth:`~Event.set` method and reset to false with the :meth:" @@ -1369,39 +1370,39 @@ msgid "" "flag is initially false." msgstr "" -#: library/threading.rst:877 +#: library/threading.rst:878 msgid "Return ``True`` if and only if the internal flag is true." msgstr "" -#: library/threading.rst:881 +#: library/threading.rst:882 msgid "" "Set the internal flag to true. All threads waiting for it to become true are " "awakened. Threads that call :meth:`wait` once the flag is true will not " "block at all." msgstr "" -#: library/threading.rst:887 +#: library/threading.rst:888 msgid "" "Reset the internal flag to false. Subsequently, threads calling :meth:`wait` " "will block until :meth:`.set` is called to set the internal flag to true " "again." msgstr "" -#: library/threading.rst:893 +#: library/threading.rst:894 msgid "" "Block until the internal flag is true. If the internal flag is true on " "entry, return immediately. Otherwise, block until another thread calls :" "meth:`.set` to set the flag to true, or until the optional timeout occurs." msgstr "" -#: library/threading.rst:897 +#: library/threading.rst:898 msgid "" "When the timeout argument is present and not ``None``, it should be a " "floating point number specifying a timeout for the operation in seconds (or " "fractions thereof)." msgstr "" -#: library/threading.rst:901 +#: library/threading.rst:902 msgid "" "This method returns ``True`` if and only if the internal flag has been set " "to true, either before the wait call or after the wait starts, so it will " @@ -1409,11 +1410,11 @@ msgid "" "out." msgstr "" -#: library/threading.rst:913 +#: library/threading.rst:914 msgid "Timer Objects" msgstr "" -#: library/threading.rst:915 +#: library/threading.rst:916 msgid "" "This class represents an action that should be run only after a certain " "amount of time has passed --- a timer. :class:`Timer` is a subclass of :" @@ -1421,7 +1422,7 @@ msgid "" "threads." msgstr "" -#: library/threading.rst:919 +#: library/threading.rst:920 msgid "" "Timers are started, as with threads, by calling their :meth:`~Timer.start` " "method. The timer can be stopped (before its action has begun) by calling " @@ -1430,11 +1431,11 @@ msgid "" "by the user." msgstr "" -#: library/threading.rst:925 +#: library/threading.rst:926 msgid "For example::" msgstr "Par exemple ::" -#: library/threading.rst:936 +#: library/threading.rst:937 msgid "" "Create a timer that will run *function* with arguments *args* and keyword " "arguments *kwargs*, after *interval* seconds have passed. If *args* is " @@ -1442,17 +1443,17 @@ msgid "" "``None`` (the default) then an empty dict will be used." msgstr "" -#: library/threading.rst:946 +#: library/threading.rst:947 msgid "" "Stop the timer, and cancel the execution of the timer's action. This will " "only work if the timer is still in its waiting stage." msgstr "" -#: library/threading.rst:951 +#: library/threading.rst:952 msgid "Barrier Objects" msgstr "" -#: library/threading.rst:955 +#: library/threading.rst:956 msgid "" "This class provides a simple synchronization primitive for use by a fixed " "number of threads that need to wait for each other. Each of the threads " @@ -1461,18 +1462,18 @@ msgid "" "calls. At this point, the threads are released simultaneously." msgstr "" -#: library/threading.rst:961 +#: library/threading.rst:962 msgid "" "The barrier can be reused any number of times for the same number of threads." msgstr "" -#: library/threading.rst:963 +#: library/threading.rst:964 msgid "" "As an example, here is a simple way to synchronize a client and server " "thread::" msgstr "" -#: library/threading.rst:983 +#: library/threading.rst:984 msgid "" "Create a barrier object for *parties* number of threads. An *action*, when " "provided, is a callable to be called by one of the threads when they are " @@ -1480,7 +1481,7 @@ msgid "" "the :meth:`wait` method." msgstr "" -#: library/threading.rst:990 +#: library/threading.rst:991 msgid "" "Pass the barrier. When all the threads party to the barrier have called " "this function, they are all released simultaneously. If a *timeout* is " @@ -1488,44 +1489,44 @@ msgid "" "constructor." msgstr "" -#: library/threading.rst:995 +#: library/threading.rst:996 msgid "" "The return value is an integer in the range 0 to *parties* -- 1, different " "for each thread. This can be used to select a thread to do some special " "housekeeping, e.g.::" msgstr "" -#: library/threading.rst:1004 +#: library/threading.rst:1005 msgid "" "If an *action* was provided to the constructor, one of the threads will have " "called it prior to being released. Should this call raise an error, the " "barrier is put into the broken state." msgstr "" -#: library/threading.rst:1008 +#: library/threading.rst:1009 msgid "If the call times out, the barrier is put into the broken state." msgstr "" -#: library/threading.rst:1010 +#: library/threading.rst:1011 msgid "" "This method may raise a :class:`BrokenBarrierError` exception if the barrier " "is broken or reset while a thread is waiting." msgstr "" -#: library/threading.rst:1015 +#: library/threading.rst:1016 msgid "" "Return the barrier to the default, empty state. Any threads waiting on it " "will receive the :class:`BrokenBarrierError` exception." msgstr "" -#: library/threading.rst:1018 +#: library/threading.rst:1019 msgid "" "Note that using this function may require some external synchronization if " "there are other threads whose state is unknown. If a barrier is broken it " "may be better to just leave it and create a new one." msgstr "" -#: library/threading.rst:1024 +#: library/threading.rst:1025 msgid "" "Put the barrier into a broken state. This causes any active or future calls " "to :meth:`wait` to fail with the :class:`BrokenBarrierError`. Use this for " @@ -1533,36 +1534,36 @@ msgid "" "application." msgstr "" -#: library/threading.rst:1029 +#: library/threading.rst:1030 msgid "" "It may be preferable to simply create the barrier with a sensible *timeout* " "value to automatically guard against one of the threads going awry." msgstr "" -#: library/threading.rst:1035 +#: library/threading.rst:1036 msgid "The number of threads required to pass the barrier." msgstr "" -#: library/threading.rst:1039 +#: library/threading.rst:1040 msgid "The number of threads currently waiting in the barrier." msgstr "" -#: library/threading.rst:1043 +#: library/threading.rst:1044 msgid "A boolean that is ``True`` if the barrier is in the broken state." msgstr "" -#: library/threading.rst:1048 +#: library/threading.rst:1049 msgid "" "This exception, a subclass of :exc:`RuntimeError`, is raised when the :class:" "`Barrier` object is reset or broken." msgstr "" -#: library/threading.rst:1055 +#: library/threading.rst:1056 msgid "" "Using locks, conditions, and semaphores in the :keyword:`!with` statement" msgstr "" -#: library/threading.rst:1057 +#: library/threading.rst:1058 msgid "" "All of the objects provided by this module that have :meth:`acquire` and :" "meth:`release` methods can be used as context managers for a :keyword:`with` " @@ -1571,11 +1572,11 @@ msgid "" "Hence, the following snippet::" msgstr "" -#: library/threading.rst:1066 +#: library/threading.rst:1067 msgid "is equivalent to::" msgstr "est équivalente à ::" -#: library/threading.rst:1074 +#: library/threading.rst:1075 msgid "" "Currently, :class:`Lock`, :class:`RLock`, :class:`Condition`, :class:" "`Semaphore`, and :class:`BoundedSemaphore` objects may be used as :keyword:" diff --git a/library/time.po b/library/time.po index 6331a21a..5e5911d3 100644 --- a/library/time.po +++ b/library/time.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-27 13:21+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/timeit.po b/library/timeit.po index 9a3c1750..7cf8f3db 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-18 00:04+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/tk.po b/library/tk.po index c99c37d2..d05c24d7 100644 --- a/library/tk.po +++ b/library/tk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 11:34+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.colorchooser.po b/library/tkinter.colorchooser.po index dd8fe458..d1b6b66e 100644 --- a/library/tkinter.colorchooser.po +++ b/library/tkinter.colorchooser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.dnd.po b/library/tkinter.dnd.po index 0bceb273..483f01f5 100644 --- a/library/tkinter.dnd.po +++ b/library/tkinter.dnd.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.font.po b/library/tkinter.font.po index 45667bfc..4ea13aa9 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.messagebox.po b/library/tkinter.messagebox.po index 57890bf8..bd946246 100644 --- a/library/tkinter.messagebox.po +++ b/library/tkinter.messagebox.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.po b/library/tkinter.po index 96f637ae..a4bc9571 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 23:41+0100\n" "Last-Translator: pierre choffe \n" "Language-Team: FRENCH \n" @@ -592,7 +592,7 @@ msgstr "" "paramètres d'une ligne de commande du shell Unix, et les valeurs sont mises " "entre guillemets si elles font plus d'un mot." -#: library/tkinter.rst:281 library/tkinter.rst:543 library/tkinter.rst:718 +#: library/tkinter.rst:281 library/tkinter.rst:542 library/tkinter.rst:721 msgid "For example::" msgstr "Par exemple ::" @@ -976,14 +976,15 @@ msgid "The Packer" msgstr "L'empaqueteur" #: library/tkinter.rst:466 +#, fuzzy msgid "" "The packer is one of Tk's geometry-management mechanisms. Geometry " -"managers are used to specify the relative positioning of the positioning of " -"widgets within their container - their mutual *master*. In contrast to the " -"more cumbersome *placer* (which is used less commonly, and we do not cover " -"here), the packer takes qualitative relationship specification - *above*, " -"*to the left of*, *filling*, etc - and works everything out to determine the " -"exact placement coordinates for you." +"managers are used to specify the relative positioning of widgets within " +"their container - their mutual *master*. In contrast to the more cumbersome " +"*placer* (which is used less commonly, and we do not cover here), the packer " +"takes qualitative relationship specification - *above*, *to the left of*, " +"*filling*, etc - and works everything out to determine the exact placement " +"coordinates for you." msgstr "" "L'empaqueteur est l'un des mécanismes de Tk pour la gestion de la " "disposition des éléments sur l'écran. Les gestionnaires de géométrie sont " @@ -994,7 +995,7 @@ msgstr "" "qualitatives de relation — *above*, *to the left of*, *filling*, etc — et " "calcule tout pour déterminer les coordonnées exactes du placement pour vous." -#: library/tkinter.rst:474 +#: library/tkinter.rst:473 msgid "" "The size of any *master* widget is determined by the size of the \"slave " "widgets\" inside. The packer is used to control where slave widgets appear " @@ -1012,7 +1013,7 @@ msgstr "" "l'arrangement est ajusté dynamiquement pour s'adapter aux changements " "incrémentiels de la configuration, une fois qu'elle est empaquetées." -#: library/tkinter.rst:481 +#: library/tkinter.rst:480 msgid "" "Note that widgets do not appear until they have had their geometry specified " "with a geometry manager. It's a common early mistake to leave out the " @@ -1027,7 +1028,7 @@ msgstr "" "rien n'apparaît. Un objet graphique n'apparaît qu'après que, par exemple, " "la méthode :meth:`pack` de l'empaqueteur lui ait été appliquée." -#: library/tkinter.rst:487 +#: library/tkinter.rst:486 msgid "" "The pack() method can be called with keyword-option/value pairs that control " "where the widget is to appear within its container, and how it is to behave " @@ -1038,11 +1039,11 @@ msgstr "" "comment il doit se comporter lorsque la fenêtre principale de l'application " "est redimensionnée. En voici quelques exemples ::" -#: library/tkinter.rst:497 +#: library/tkinter.rst:496 msgid "Packer Options" msgstr "Options de l'empaqueteur" -#: library/tkinter.rst:499 +#: library/tkinter.rst:498 msgid "" "For more extensive information on the packer and the options that it can " "take, see the man pages and page 183 of John Ousterhout's book." @@ -1050,68 +1051,68 @@ msgstr "" "Pour de plus amples informations sur l'empaqueteur et les options qu'il peut " "prendre, voir les pages de manuel et la page 183 du livre de John Ousterhout." -#: library/tkinter.rst:503 library/tkinter.rst:619 +#: library/tkinter.rst:502 library/tkinter.rst:622 msgid "anchor" msgstr "*anchor*" -#: library/tkinter.rst:503 +#: library/tkinter.rst:502 msgid "" "Anchor type. Denotes where the packer is to place each slave in its parcel." msgstr "" "Type d'ancrage. Indique l'endroit où l'empaqueteur doit placer chaque " "enfant dans son espace." -#: library/tkinter.rst:506 +#: library/tkinter.rst:505 msgid "expand" msgstr "*expand*" -#: library/tkinter.rst:506 +#: library/tkinter.rst:505 msgid "Boolean, ``0`` or ``1``." msgstr "Booléen, ``0`` ou ``1``." -#: library/tkinter.rst:509 +#: library/tkinter.rst:508 msgid "fill" msgstr "*fill*" -#: library/tkinter.rst:509 +#: library/tkinter.rst:508 msgid "Legal values: ``'x'``, ``'y'``, ``'both'``, ``'none'``." msgstr "Valeurs acceptées : ``'x'``, ``'y'``, ``'both'``, ``'none'``." -#: library/tkinter.rst:512 +#: library/tkinter.rst:511 msgid "ipadx and ipady" msgstr "*ipadx* et *ipady*" -#: library/tkinter.rst:512 +#: library/tkinter.rst:511 msgid "" "A distance - designating internal padding on each side of the slave widget." msgstr "" "Une distance — désignant l'écart interne de chaque côté de l'objet graphique " "hérité." -#: library/tkinter.rst:515 +#: library/tkinter.rst:514 msgid "padx and pady" msgstr "*padx* et *pady*" -#: library/tkinter.rst:515 +#: library/tkinter.rst:514 msgid "" "A distance - designating external padding on each side of the slave widget." msgstr "" "Une distance — désignant l'écart externe de chaque côté de l'objet graphique " "hérité." -#: library/tkinter.rst:519 +#: library/tkinter.rst:518 msgid "side" msgstr "*side*" -#: library/tkinter.rst:518 +#: library/tkinter.rst:517 msgid "Legal values are: ``'left'``, ``'right'``, ``'top'``, ``'bottom'``." msgstr "Valeurs acceptées : ``'left'``, ``'right'``, ``'top'``, ``'bottom'``." -#: library/tkinter.rst:522 +#: library/tkinter.rst:521 msgid "Coupling Widget Variables" msgstr "Association des variables de l'objet graphique" -#: library/tkinter.rst:524 +#: library/tkinter.rst:523 msgid "" "The current-value setting of some widgets (like text entry widgets) can be " "connected directly to application variables by using special options. These " @@ -1128,7 +1129,7 @@ msgstr "" "ou pour une autre, l'objet graphique auquel elle est connectée est mis à " "jour pour refléter la nouvelle valeur." -#: library/tkinter.rst:530 +#: library/tkinter.rst:529 msgid "" "Unfortunately, in the current implementation of :mod:`tkinter` it is not " "possible to hand over an arbitrary Python variable to a widget through a " @@ -1143,7 +1144,7 @@ msgstr "" "classées à partir d'une classe appelée `Variable`, définie dans :mod:" "`tkinter`." -#: library/tkinter.rst:536 +#: library/tkinter.rst:535 msgid "" "There are many useful subclasses of Variable already defined: :class:" "`StringVar`, :class:`IntVar`, :class:`DoubleVar`, and :class:`BooleanVar`. " @@ -1159,11 +1160,11 @@ msgstr "" "meth:`!set`. Si vous suivez ce protocole, l'objet graphique suivra toujours " "la valeur de la variable, sans autre intervention de votre part." -#: library/tkinter.rst:572 +#: library/tkinter.rst:575 msgid "The Window Manager" msgstr "Le gestionnaire de fenêtres" -#: library/tkinter.rst:576 +#: library/tkinter.rst:579 msgid "" "In Tk, there is a utility command, ``wm``, for interacting with the window " "manager. Options to the ``wm`` command allow you to control things like " @@ -1180,7 +1181,7 @@ msgstr "" "graphiques de haut niveau sont sous-classés à partir de la classe :class:" "`Wm`, ils peuvent donc appeler directement les méthodes de :class:`Wm`." -#: library/tkinter.rst:583 +#: library/tkinter.rst:586 msgid "" "To get at the toplevel window that contains a given widget, you can often " "just refer to the widget's master. Of course if the widget has been packed " @@ -1200,15 +1201,15 @@ msgstr "" "fait partie de l'implémentation, et non d'une interface avec la " "fonctionnalité Tk." -#: library/tkinter.rst:590 +#: library/tkinter.rst:593 msgid "Here are some examples of typical usage::" msgstr "Voici quelques exemples d'utilisation courante ::" -#: library/tkinter.rst:613 +#: library/tkinter.rst:616 msgid "Tk Option Data Types" msgstr "Types de données des options Tk" -#: library/tkinter.rst:618 +#: library/tkinter.rst:621 msgid "" "Legal values are points of the compass: ``\"n\"``, ``\"ne\"``, ``\"e\"``, ``" "\"se\"``, ``\"s\"``, ``\"sw\"``, ``\"w\"``, ``\"nw\"``, and also ``\"center" @@ -1218,11 +1219,11 @@ msgstr "" "e »``, ``« se »``, ``« s »``, ``« sw »``, ``« w »``, ``« nw »`` et ``« " "center »``." -#: library/tkinter.rst:625 +#: library/tkinter.rst:628 msgid "bitmap" msgstr "*bitmap*" -#: library/tkinter.rst:622 +#: library/tkinter.rst:625 msgid "" "There are eight built-in, named bitmaps: ``'error'``, ``'gray25'``, " "``'gray50'``, ``'hourglass'``, ``'info'``, ``'questhead'``, ``'question'``, " @@ -1235,30 +1236,30 @@ msgstr "" "le chemin complet du fichier, précédé de ``@``, comme dans ``\"@/usr/contrib/" "bitmap/gumby.bit\"``." -#: library/tkinter.rst:628 +#: library/tkinter.rst:631 msgid "boolean" msgstr "*boolean*" -#: library/tkinter.rst:628 +#: library/tkinter.rst:631 msgid "You can pass integers 0 or 1 or the strings ``\"yes\"`` or ``\"no\"``." msgstr "" "Vous pouvez lui donner les entiers 0 ou 1 ou les chaînes de caractères ``" "\"yes\"`` ou ``\"no\"``." -#: library/tkinter.rst:635 +#: library/tkinter.rst:638 msgid "callback" msgstr "*callback*" -#: library/tkinter.rst:631 +#: library/tkinter.rst:634 msgid "This is any Python function that takes no arguments. For example::" msgstr "" "N'importe quelle fonction Python qui ne prend pas d'argument. Par exemple ::" -#: library/tkinter.rst:641 +#: library/tkinter.rst:644 msgid "color" msgstr "*color*" -#: library/tkinter.rst:638 +#: library/tkinter.rst:641 msgid "" "Colors can be given as the names of X colors in the rgb.txt file, or as " "strings representing RGB values in 4 bit: ``\"#RGB\"``, 8 bit: ``\"#RRGGBB" @@ -1273,11 +1274,11 @@ msgstr "" "hexadécimal valide. Voir page 160 du livre d'Ousterhout pour plus de " "détails." -#: library/tkinter.rst:647 +#: library/tkinter.rst:650 msgid "cursor" msgstr "*cursor*" -#: library/tkinter.rst:644 +#: library/tkinter.rst:647 msgid "" "The standard X cursor names from :file:`cursorfont.h` can be used, without " "the ``XC_`` prefix. For example to get a hand cursor (:const:`XC_hand2`), " @@ -1290,11 +1291,11 @@ msgstr "" "»``. Vous pouvez également spécifier votre propre bitmap et fichier masque. " "Voir page 179 du livre d'Ousterhout." -#: library/tkinter.rst:654 +#: library/tkinter.rst:657 msgid "distance" msgstr "*distance*" -#: library/tkinter.rst:650 +#: library/tkinter.rst:653 msgid "" "Screen distances can be specified in either pixels or absolute distances. " "Pixels are given as numbers and absolute distances as strings, with the " @@ -1309,11 +1310,11 @@ msgstr "" "anglais), ``m`` pour les millimètres, ``p`` pour les points d'impression. " "Par exemple, 3,5 pouces est noté ``« 3.5i »``." -#: library/tkinter.rst:659 +#: library/tkinter.rst:662 msgid "font" msgstr "*font*" -#: library/tkinter.rst:657 +#: library/tkinter.rst:660 msgid "" "Tk uses a list font name format, such as ``{courier 10 bold}``. Font sizes " "with positive numbers are measured in points; sizes with negative numbers " @@ -1324,11 +1325,11 @@ msgstr "" "mesurées en points ; les tailles avec des nombres négatifs sont mesurées en " "pixels." -#: library/tkinter.rst:664 +#: library/tkinter.rst:667 msgid "geometry" msgstr "*geometry*" -#: library/tkinter.rst:662 +#: library/tkinter.rst:665 msgid "" "This is a string of the form ``widthxheight``, where width and height are " "measured in pixels for most widgets (in characters for widgets displaying " @@ -1339,11 +1340,11 @@ msgstr "" "graphiques (en caractères pour les objets graphiques affichant du texte). " "Par exemple : ``fred[\"geometry\"] = \"200x100\"``." -#: library/tkinter.rst:668 +#: library/tkinter.rst:671 msgid "justify" msgstr "*justify*" -#: library/tkinter.rst:667 +#: library/tkinter.rst:670 msgid "" "Legal values are the strings: ``\"left\"``, ``\"center\"``, ``\"right\"``, " "and ``\"fill\"``." @@ -1351,11 +1352,11 @@ msgstr "" "Les valeurs acceptées sont les chaînes de caractères : `« left »``, ``« " "center »``, ``« right »`` et ``« fill »``." -#: library/tkinter.rst:673 +#: library/tkinter.rst:676 msgid "region" msgstr "*region*" -#: library/tkinter.rst:671 +#: library/tkinter.rst:674 msgid "" "This is a string with four space-delimited elements, each of which is a " "legal distance (see above). For example: ``\"2 3 4 5\"`` and ``\"3i 2i 4.5i " @@ -1366,11 +1367,11 @@ msgstr "" "\"2 3 4 5\"``et ``\" 3i 2i 4.5i 2i\"``et ``\"3c 2c 4c 10.43c\"`` sont toutes " "des régions valides." -#: library/tkinter.rst:677 +#: library/tkinter.rst:680 msgid "relief" msgstr "*relief*" -#: library/tkinter.rst:676 +#: library/tkinter.rst:679 msgid "" "Determines what the border style of a widget will be. Legal values are: ``" "\"raised\"``, ``\"sunken\"``, ``\"flat\"``, ``\"groove\"``, and ``\"ridge" @@ -1380,11 +1381,11 @@ msgstr "" "sont : ``\"raised\"``, ``\"sunken\"``, ``\"flat\"``, ``\"groove\"``, et ``" "\"ridge\"``." -#: library/tkinter.rst:681 +#: library/tkinter.rst:684 msgid "scrollcommand" msgstr "*scrollcommand*" -#: library/tkinter.rst:680 +#: library/tkinter.rst:683 msgid "" "This is almost always the :meth:`!set` method of some scrollbar widget, but " "can be any widget method that takes a single argument." @@ -1393,20 +1394,20 @@ msgstr "" "défilement, mais peut être n'importe quelle méthode d'objet graphique qui " "prend un seul argument." -#: library/tkinter.rst:684 +#: library/tkinter.rst:687 #, fuzzy msgid "wrap" msgstr "*wrap*" -#: library/tkinter.rst:684 +#: library/tkinter.rst:687 msgid "Must be one of: ``\"none\"``, ``\"char\"``, or ``\"word\"``." msgstr "Doit être l'un d'eux : ``\"none\"``, ``\"char\"``, ou ``\"word\"``." -#: library/tkinter.rst:689 +#: library/tkinter.rst:692 msgid "Bindings and Events" msgstr "Liaisons et événements" -#: library/tkinter.rst:695 +#: library/tkinter.rst:698 msgid "" "The bind method from the widget command allows you to watch for certain " "events and to have a callback function trigger when that event type occurs. " @@ -1417,15 +1418,15 @@ msgstr "" "ce type d'événement se produit. La forme de la méthode de liaison est la " "suivante ::" -#: library/tkinter.rst:701 +#: library/tkinter.rst:704 msgid "where:" msgstr "où :" -#: library/tkinter.rst:705 +#: library/tkinter.rst:708 msgid "sequence" msgstr "*sequence*" -#: library/tkinter.rst:704 +#: library/tkinter.rst:707 msgid "" "is a string that denotes the target kind of event. (See the bind man page " "and page 201 of John Ousterhout's book for details)." @@ -1434,11 +1435,11 @@ msgstr "" "la page du manuel de *bind* et la page 201 du livre de John Ousterhout pour " "plus de détails)." -#: library/tkinter.rst:710 +#: library/tkinter.rst:713 msgid "func" msgstr "*func*" -#: library/tkinter.rst:708 +#: library/tkinter.rst:711 msgid "" "is a Python function, taking one argument, to be invoked when the event " "occurs. An Event instance will be passed as the argument. (Functions " @@ -1449,11 +1450,11 @@ msgstr "" "déployées de cette façon sont communément appelées *callbacks* ou « " "fonctions de rappel » en français)." -#: library/tkinter.rst:716 +#: library/tkinter.rst:719 msgid "add" msgstr "*add*" -#: library/tkinter.rst:713 +#: library/tkinter.rst:716 msgid "" "is optional, either ``''`` or ``'+'``. Passing an empty string denotes that " "this binding is to replace any other bindings that this event is associated " @@ -1465,7 +1466,7 @@ msgstr "" "cet événement est associé. L'envoi de``«+»`` signifie que cette fonction " "doit être ajoutée à la liste des fonctions liées à ce type d'événement." -#: library/tkinter.rst:725 +#: library/tkinter.rst:728 msgid "" "Notice how the widget field of the event is being accessed in the " "``turn_red()`` callback. This field contains the widget that caught the X " @@ -1480,147 +1481,147 @@ msgstr "" "dans Tk, ce qui peut être utile lorsque vous vous référez aux pages de " "manuel Tk." -#: library/tkinter.rst:731 +#: library/tkinter.rst:734 msgid "Tk" msgstr "Tk" -#: library/tkinter.rst:731 +#: library/tkinter.rst:734 msgid "Tkinter Event Field" msgstr "Champ *évènement* de Tkinter" -#: library/tkinter.rst:733 +#: library/tkinter.rst:736 msgid "%f" msgstr "%f" -#: library/tkinter.rst:733 +#: library/tkinter.rst:736 msgid "focus" msgstr "focus" -#: library/tkinter.rst:733 +#: library/tkinter.rst:736 msgid "%A" msgstr "%A" -#: library/tkinter.rst:733 +#: library/tkinter.rst:736 msgid "char" msgstr "char" -#: library/tkinter.rst:735 +#: library/tkinter.rst:738 msgid "%h" msgstr "%h" -#: library/tkinter.rst:735 +#: library/tkinter.rst:738 msgid "height" msgstr "hauteur" -#: library/tkinter.rst:735 +#: library/tkinter.rst:738 msgid "%E" msgstr "%E" -#: library/tkinter.rst:735 +#: library/tkinter.rst:738 msgid "send_event" msgstr "send_event" -#: library/tkinter.rst:737 +#: library/tkinter.rst:740 msgid "%k" msgstr "%k" -#: library/tkinter.rst:737 +#: library/tkinter.rst:740 msgid "keycode" msgstr "keycode" -#: library/tkinter.rst:737 +#: library/tkinter.rst:740 msgid "%K" msgstr "%K" -#: library/tkinter.rst:737 +#: library/tkinter.rst:740 msgid "keysym" msgstr "keysym" -#: library/tkinter.rst:739 +#: library/tkinter.rst:742 msgid "%s" msgstr "%s" -#: library/tkinter.rst:739 +#: library/tkinter.rst:742 msgid "state" msgstr "state" -#: library/tkinter.rst:739 +#: library/tkinter.rst:742 msgid "%N" msgstr "%N" -#: library/tkinter.rst:739 +#: library/tkinter.rst:742 msgid "keysym_num" msgstr "keysym_num" -#: library/tkinter.rst:741 +#: library/tkinter.rst:744 msgid "%t" msgstr "%t" -#: library/tkinter.rst:741 +#: library/tkinter.rst:744 msgid "time" msgstr "time" -#: library/tkinter.rst:741 +#: library/tkinter.rst:744 msgid "%T" msgstr "%T" -#: library/tkinter.rst:741 +#: library/tkinter.rst:744 msgid "type" msgstr "type" -#: library/tkinter.rst:743 +#: library/tkinter.rst:746 msgid "%w" msgstr "%w" -#: library/tkinter.rst:743 +#: library/tkinter.rst:746 msgid "width" msgstr "width" -#: library/tkinter.rst:743 +#: library/tkinter.rst:746 msgid "%W" msgstr "%W" -#: library/tkinter.rst:743 +#: library/tkinter.rst:746 msgid "widget" msgstr "widget" -#: library/tkinter.rst:745 +#: library/tkinter.rst:748 msgid "%x" msgstr "%x" -#: library/tkinter.rst:745 +#: library/tkinter.rst:748 msgid "x" msgstr "x" -#: library/tkinter.rst:745 +#: library/tkinter.rst:748 msgid "%X" msgstr "%X" -#: library/tkinter.rst:745 +#: library/tkinter.rst:748 msgid "x_root" msgstr "x_root" -#: library/tkinter.rst:747 +#: library/tkinter.rst:750 msgid "%y" msgstr "%y" -#: library/tkinter.rst:747 +#: library/tkinter.rst:750 msgid "y" msgstr "y" -#: library/tkinter.rst:747 +#: library/tkinter.rst:750 msgid "%Y" msgstr "%Y" -#: library/tkinter.rst:747 +#: library/tkinter.rst:750 msgid "y_root" msgstr "y_root" -#: library/tkinter.rst:752 +#: library/tkinter.rst:755 msgid "The index Parameter" msgstr "Le paramètre index" -#: library/tkinter.rst:754 +#: library/tkinter.rst:757 msgid "" "A number of widgets require \"index\" parameters to be passed. These are " "used to point at a specific place in a Text widget, or to particular " @@ -1632,12 +1633,12 @@ msgstr "" "un objet graphique de type *Entrée*, ou vers des éléments de menu " "particuliers dans un objet graphique de type *Menu*." -#: library/tkinter.rst:761 +#: library/tkinter.rst:764 msgid "Entry widget indexes (index, view index, etc.)" msgstr "" "Index des objets graphique de type *Entrée* (``index``, ``view index``, etc.)" -#: library/tkinter.rst:759 +#: library/tkinter.rst:762 msgid "" "Entry widgets have options that refer to character positions in the text " "being displayed. You can use these :mod:`tkinter` functions to access these " @@ -1648,11 +1649,11 @@ msgstr "" "fonctions :mod:`tkinter` pour accéder à ces points spéciaux dans les objets " "graphiques texte :" -#: library/tkinter.rst:765 +#: library/tkinter.rst:768 msgid "Text widget indexes" msgstr "Index des objets graphiques texte" -#: library/tkinter.rst:764 +#: library/tkinter.rst:767 msgid "" "The index notation for Text widgets is very rich and is best described in " "the Tk man pages." @@ -1660,11 +1661,11 @@ msgstr "" "La notation de l'index des objets graphiques de type *Texte* est très riche " "et mieux décrite dans les pages du manuel Tk." -#: library/tkinter.rst:790 +#: library/tkinter.rst:793 msgid "Menu indexes (menu.invoke(), menu.entryconfig(), etc.)" msgstr "Index menu (`menu.invoke()`, `menu.entryconfig()`, etc.)" -#: library/tkinter.rst:768 +#: library/tkinter.rst:771 msgid "" "Some options and methods for menus manipulate specific menu entries. Anytime " "a menu index is needed for an option or a parameter, you may pass in:" @@ -1673,7 +1674,7 @@ msgstr "" "éléments de spécifiques. Chaque fois qu'un index de menu est nécessaire pour " "une option ou un paramètre, vous pouvez utiliser :" -#: library/tkinter.rst:771 +#: library/tkinter.rst:774 msgid "" "an integer which refers to the numeric position of the entry in the widget, " "counted from the top, starting with 0;" @@ -1681,7 +1682,7 @@ msgstr "" "un entier qui fait référence à la position numérique de l'entrée dans " "l'objet graphique, comptée à partir du haut, en commençant par 0 ;" -#: library/tkinter.rst:774 +#: library/tkinter.rst:777 msgid "" "the string ``\"active\"``, which refers to the menu position that is " "currently under the cursor;" @@ -1689,13 +1690,13 @@ msgstr "" "la chaîne de caractères ``\"active\"``, qui fait référence à la position du " "menu qui se trouve actuellement sous le curseur ;" -#: library/tkinter.rst:777 +#: library/tkinter.rst:780 msgid "the string ``\"last\"`` which refers to the last menu item;" msgstr "" "la chaîne de caractères ``\"last\"`` qui fait référence au dernier élément " "du menu ;" -#: library/tkinter.rst:779 +#: library/tkinter.rst:782 msgid "" "An integer preceded by ``@``, as in ``@6``, where the integer is interpreted " "as a y pixel coordinate in the menu's coordinate system;" @@ -1703,7 +1704,7 @@ msgstr "" "un entier précédé de ``@``, comme dans ``@6``, où l'entier est interprété " "comme une coordonnée y de pixels dans le système de coordonnées du menu ;" -#: library/tkinter.rst:782 +#: library/tkinter.rst:785 msgid "" "the string ``\"none\"``, which indicates no menu entry at all, most often " "used with menu.activate() to deactivate all entries, and finally," @@ -1712,7 +1713,7 @@ msgstr "" "le plus souvent utilisée avec ``menu.activate()`` pour désactiver toutes les " "entrées, et enfin," -#: library/tkinter.rst:785 +#: library/tkinter.rst:788 msgid "" "a text string that is pattern matched against the label of the menu entry, " "as scanned from the top of the menu to the bottom. Note that this index " @@ -1726,11 +1727,11 @@ msgstr "" "correspondances pour les éléments de menu étiquetés ``last``, ``active`` ou " "``none`` peuvent être interprétés comme les littéraux ci-dessus, plutôt." -#: library/tkinter.rst:793 +#: library/tkinter.rst:796 msgid "Images" msgstr "Images" -#: library/tkinter.rst:795 +#: library/tkinter.rst:798 msgid "" "Images of different formats can be created through the corresponding " "subclass of :class:`tkinter.Image`:" @@ -1738,11 +1739,11 @@ msgstr "" "Des images de différents formats peuvent être créées à travers la sous-" "classe correspondante de :class:`tkinter.Image` :" -#: library/tkinter.rst:798 +#: library/tkinter.rst:801 msgid ":class:`BitmapImage` for images in XBM format." msgstr ":class:`BitmapImage` pour les images au format *XBM*." -#: library/tkinter.rst:800 +#: library/tkinter.rst:803 msgid "" ":class:`PhotoImage` for images in PGM, PPM, GIF and PNG formats. The latter " "is supported starting with Tk 8.6." @@ -1750,7 +1751,7 @@ msgstr "" ":class:`PhotoImage` pour les images aux formats *PGM*, *PPM*, *GIF* et " "*PNG*. Ce dernier est géré à partir de Tk 8.6." -#: library/tkinter.rst:803 +#: library/tkinter.rst:806 msgid "" "Either type of image is created through either the ``file`` or the ``data`` " "option (other options are available as well)." @@ -1758,7 +1759,7 @@ msgstr "" "L'un ou l'autre type d'image est créé par l'option ``file`` ou ``data`` " "(d'autres options sont également disponibles)." -#: library/tkinter.rst:806 +#: library/tkinter.rst:809 msgid "" "The image object can then be used wherever an ``image`` option is supported " "by some widget (e.g. labels, buttons, menus). In these cases, Tk will not " @@ -1773,7 +1774,7 @@ msgstr "" "également supprimées, et Tk affiche une boite vide à l'endroit où l'image " "était utilisée." -#: library/tkinter.rst:814 +#: library/tkinter.rst:817 msgid "" "The `Pillow `_ package adds support for formats " "such as BMP, JPEG, TIFF, and WebP, among others." @@ -1781,11 +1782,11 @@ msgstr "" "Le paquet `Pillow `_ ajoute la prise en charge de " "formats tels que *BMP*, *JPEG*, *TIFF* et *WebP*, entre autres." -#: library/tkinter.rst:820 +#: library/tkinter.rst:823 msgid "File Handlers" msgstr "Gestionnaires de fichiers" -#: library/tkinter.rst:822 +#: library/tkinter.rst:825 msgid "" "Tk allows you to register and unregister a callback function which will be " "called from the Tk mainloop when I/O is possible on a file descriptor. Only " @@ -1796,11 +1797,11 @@ msgstr "" "sorties sont possibles sur un descripteur de fichier. Un seul gestionnaire " "peut être enregistré par descripteur de fichier. Exemple de code ::" -#: library/tkinter.rst:833 +#: library/tkinter.rst:836 msgid "This feature is not available on Windows." msgstr "Cette fonction n'est pas disponible sous Windows." -#: library/tkinter.rst:835 +#: library/tkinter.rst:838 msgid "" "Since you don't know how many bytes are available for reading, you may not " "want to use the :class:`~io.BufferedIOBase` or :class:`~io.TextIOBase` :meth:" @@ -1819,7 +1820,7 @@ msgstr "" "fichiers, utilisez des lectures brutes ou ``os.read(file.fileno(), " "maxbytecount)``." -#: library/tkinter.rst:846 +#: library/tkinter.rst:849 msgid "" "Registers the file handler callback function *func*. The *file* argument may " "either be an object with a :meth:`~io.IOBase.fileno` method (such as a file " @@ -1834,10 +1835,10 @@ msgstr "" "l'une des trois constantes ci-dessous. La fonction de rappel s'utilise comme " "suit ::" -#: library/tkinter.rst:857 +#: library/tkinter.rst:860 msgid "Unregisters a file handler." msgstr "Désenregistre un gestionnaire de fichiers." -#: library/tkinter.rst:864 +#: library/tkinter.rst:867 msgid "Constants used in the *mask* arguments." msgstr "Constantes utilisées dans les arguments ``mask``." diff --git a/library/tkinter.scrolledtext.po b/library/tkinter.scrolledtext.po index e286e264..d564e74e 100644 --- a/library/tkinter.scrolledtext.po +++ b/library/tkinter.scrolledtext.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-06-17 22:27+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.tix.po b/library/tkinter.tix.po index 285a351c..4b385a5b 100644 --- a/library/tkinter.tix.po +++ b/library/tkinter.tix.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-11 12:59+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 8beefd56..c059f403 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/token.po b/library/token.po index 146c227b..00e68c95 100644 --- a/library/token.po +++ b/library/token.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 10:04+0200\n" "Last-Translator: Mickaël Bergem \n" "Language-Team: FRENCH \n" @@ -300,22 +300,22 @@ msgstr "" "initial. Le premier jeton renvoyé par :func:`tokenize.tokenize` sera " "toujours un jeton ``ENCODING``." -#: library/token.rst:74 +#: library/token.rst:75 msgid "" "Token value indicating that a type comment was recognized. Such tokens are " "only produced when :func:`ast.parse()` is invoked with " "``type_comments=True``." msgstr "" -#: library/token.rst:79 +#: library/token.rst:80 msgid "Added :data:`AWAIT` and :data:`ASYNC` tokens." msgstr "Ajout des jetons :data:`AWAIT` et :data:`ASYNC`." -#: library/token.rst:82 +#: library/token.rst:83 msgid "Added :data:`COMMENT`, :data:`NL` and :data:`ENCODING` tokens." msgstr "Ajout des jetons :data:`COMMENT`, :data:`NL` et :data:`ENCODING`." -#: library/token.rst:85 +#: library/token.rst:86 msgid "" "Removed :data:`AWAIT` and :data:`ASYNC` tokens. \"async\" and \"await\" are " "now tokenized as :data:`NAME` tokens." @@ -323,7 +323,7 @@ msgstr "" "Suppression des jetons :data:`AWAIT` et :data:`ASYNC`. ``async`` et " "``await`` sont maintenant transformés en jetons :data:`NAME`." -#: library/token.rst:89 +#: library/token.rst:90 msgid "" "Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :" "data:`AWAIT` and :data:`ASYNC` tokens back (they're needed to support " diff --git a/library/tokenize.po b/library/tokenize.po index 5136d87b..20a481c1 100644 --- a/library/tokenize.po +++ b/library/tokenize.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 10:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/trace.po b/library/trace.po index 460eae6d..5d9bae05 100644 --- a/library/trace.po +++ b/library/trace.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/traceback.po b/library/traceback.po index 97b38a5b..1fd2eb7d 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tracemalloc.po b/library/tracemalloc.po index c518faf5..005dc0d7 100644 --- a/library/tracemalloc.po +++ b/library/tracemalloc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/tty.po b/library/tty.po index 03883c9a..7865e060 100644 --- a/library/tty.po +++ b/library/tty.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-08 19:28+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/turtle.po b/library/turtle.po index eecba004..aee2ca7d 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-22 15:01+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -256,7 +256,7 @@ msgstr ":func:`setheading` | :func:`seth`" msgid ":func:`home`" msgstr ":func:`home`" -#: library/turtle.rst:0 library/turtle.rst:2456 +#: library/turtle.rst:0 library/turtle.rst:2459 msgid ":func:`circle`" msgstr ":func:`circle`" @@ -264,7 +264,7 @@ msgstr ":func:`circle`" msgid ":func:`dot`" msgstr ":func:`dot`" -#: library/turtle.rst:0 library/turtle.rst:2434 +#: library/turtle.rst:0 library/turtle.rst:2437 msgid ":func:`stamp`" msgstr ":func:`stamp`" @@ -400,11 +400,11 @@ msgstr ":func:`clear`" msgid ":func:`write`" msgstr ":func:`write`" -#: library/turtle.rst:172 library/turtle.rst:1115 +#: library/turtle.rst:172 library/turtle.rst:1117 msgid "Turtle state" msgstr "État de la tortue" -#: library/turtle.rst:161 library/turtle.rst:1118 +#: library/turtle.rst:161 library/turtle.rst:1120 msgid "Visibility" msgstr "Visibilité" @@ -420,7 +420,7 @@ msgstr ":func:`hideturtle` | :func:`ht`" msgid ":func:`isvisible`" msgstr ":func:`isvisible`" -#: library/turtle.rst:172 library/turtle.rst:1157 +#: library/turtle.rst:172 library/turtle.rst:1159 msgid "Appearance" msgstr "Apparence" @@ -460,11 +460,11 @@ msgstr ":func:`shapetransform`" msgid ":func:`get_shapepoly`" msgstr ":func:`get_shapepoly`" -#: library/turtle.rst:177 library/turtle.rst:1362 +#: library/turtle.rst:177 library/turtle.rst:1364 msgid "Using events" msgstr "Utilisation des événements" -#: library/turtle.rst:0 library/turtle.rst:2428 +#: library/turtle.rst:0 library/turtle.rst:2431 msgid ":func:`onclick`" msgstr ":func:`onclick`" @@ -472,11 +472,11 @@ msgstr ":func:`onclick`" msgid ":func:`onrelease`" msgstr ":func:`onrelease`" -#: library/turtle.rst:0 library/turtle.rst:2411 +#: library/turtle.rst:0 library/turtle.rst:2414 msgid ":func:`ondrag`" msgstr ":func:`ondrag`" -#: library/turtle.rst:188 library/turtle.rst:1435 +#: library/turtle.rst:188 library/turtle.rst:1438 msgid "Special Turtle methods" msgstr "Méthodes spéciales de la tortue" @@ -492,7 +492,7 @@ msgstr ":func:`end_poly`" msgid ":func:`get_poly`" msgstr ":func:`get_poly`" -#: library/turtle.rst:0 library/turtle.rst:2447 +#: library/turtle.rst:0 library/turtle.rst:2450 msgid ":func:`clone`" msgstr ":func:`clone`" @@ -516,7 +516,7 @@ msgstr ":func:`undobufferentries`" msgid "Methods of TurtleScreen/Screen" msgstr "Méthodes de *TurtleScreen*/*Screen*" -#: library/turtle.rst:199 library/turtle.rst:1589 +#: library/turtle.rst:199 library/turtle.rst:1592 msgid "Window control" msgstr "Réglage de la fenêtre" @@ -544,7 +544,7 @@ msgstr ":func:`screensize`" msgid ":func:`setworldcoordinates`" msgstr ":func:`setworldcoordinates`" -#: library/turtle.rst:204 library/turtle.rst:1706 +#: library/turtle.rst:204 library/turtle.rst:1709 msgid "Animation control" msgstr "Réglage de l'animation" @@ -560,7 +560,7 @@ msgstr ":func:`tracer`" msgid ":func:`update`" msgstr ":func:`update`" -#: library/turtle.rst:212 library/turtle.rst:1759 +#: library/turtle.rst:212 library/turtle.rst:1762 msgid "Using screen events" msgstr "Utilisation des événements concernant l'écran" @@ -588,7 +588,7 @@ msgstr ":func:`ontimer`" msgid ":func:`mainloop` | :func:`done`" msgstr ":func:`mainloop` | :func:`done`" -#: library/turtle.rst:222 library/turtle.rst:1904 +#: library/turtle.rst:222 library/turtle.rst:1907 msgid "Settings and special methods" msgstr "Paramétrages et méthodes spéciales" @@ -624,7 +624,7 @@ msgstr ":func:`window_height`" msgid ":func:`window_width`" msgstr ":func:`window_width`" -#: library/turtle.rst:226 library/turtle.rst:1868 +#: library/turtle.rst:226 library/turtle.rst:1871 msgid "Input methods" msgstr "Méthodes de saisie" @@ -686,7 +686,7 @@ msgstr "" "dirige." #: library/turtle.rst:269 library/turtle.rst:473 library/turtle.rst:748 -#: library/turtle.rst:1256 library/turtle.rst:1275 +#: library/turtle.rst:1258 library/turtle.rst:1277 msgid "a number" msgstr "un nombre" @@ -1314,7 +1314,7 @@ msgstr "" "l'étoile (*Turtle star* en anglais) ci-dessus peut être entièrement jaune ou " "comporter quelques régions blanches." -#: library/turtle.rst:1073 +#: library/turtle.rst:1074 msgid "" "Delete the turtle's drawings from the screen, re-center the turtle and set " "variables to the default values." @@ -1322,7 +1322,7 @@ msgstr "" "Supprime les dessins de la tortue de l'écran, recentre la tortue et assigne " "les variables aux valeurs par défaut." -#: library/turtle.rst:1094 +#: library/turtle.rst:1096 msgid "" "Delete the turtle's drawings from the screen. Do not move turtle. State " "and position of the turtle as well as drawings of other turtles are not " @@ -1332,25 +1332,25 @@ msgstr "" "L'état et la position de la tortue ainsi que les dessins des autres tortues " "ne sont pas affectés." -#: library/turtle.rst:1100 +#: library/turtle.rst:1102 msgid "object to be written to the TurtleScreen" msgstr "objet à écrire sur le *TurtleScreen*" -#: library/turtle.rst:1101 +#: library/turtle.rst:1103 msgid "True/False" msgstr "``True`` / ``False``" -#: library/turtle.rst:1102 +#: library/turtle.rst:1104 msgid "one of the strings \"left\", \"center\" or right\"" msgstr "" "l'une des chaînes de caractères suivantes : `\"left\"`, `\"center\"` ou `" "\"right\"`" -#: library/turtle.rst:1103 +#: library/turtle.rst:1105 msgid "a triple (fontname, fontsize, fonttype)" msgstr "" -#: library/turtle.rst:1105 +#: library/turtle.rst:1107 msgid "" "Write text - the string representation of *arg* - at the current turtle " "position according to *align* (\"left\", \"center\" or right\") and with the " @@ -1358,27 +1358,27 @@ msgid "" "of the text. By default, *move* is ``False``." msgstr "" -#: library/turtle.rst:1123 +#: library/turtle.rst:1125 msgid "" "Make the turtle invisible. It's a good idea to do this while you're in the " "middle of doing some complex drawing, because hiding the turtle speeds up " "the drawing observably." msgstr "" -#: library/turtle.rst:1136 +#: library/turtle.rst:1138 msgid "Make the turtle visible." msgstr "Rend la tortue visible." -#: library/turtle.rst:1146 +#: library/turtle.rst:1148 msgid "Return ``True`` if the Turtle is shown, ``False`` if it's hidden." msgstr "" "Renvoie ``True`` si la tortue est visible, et ``False`` si elle est cachée." -#: library/turtle.rst:1161 +#: library/turtle.rst:1163 msgid "a string which is a valid shapename" msgstr "une chaîne de caractères qui correspond à un nom de forme valide" -#: library/turtle.rst:1163 +#: library/turtle.rst:1165 msgid "" "Set turtle shape to shape with given *name* or, if name is not given, return " "name of current shape. Shape with *name* must exist in the TurtleScreen's " @@ -1387,18 +1387,18 @@ msgid "" "about how to deal with shapes see Screen method :func:`register_shape`." msgstr "" -#: library/turtle.rst:1181 +#: library/turtle.rst:1183 msgid "one of the strings \"auto\", \"user\", \"noresize\"" msgstr "l'une des chaînes suivantes : `\"auto\"`, `\"user\"`, `\"noresize\"`" -#: library/turtle.rst:1183 +#: library/turtle.rst:1185 msgid "" "Set resizemode to one of the values: \"auto\", \"user\", \"noresize\". If " "*rmode* is not given, return current resizemode. Different resizemodes have " "the following effects:" msgstr "" -#: library/turtle.rst:1187 +#: library/turtle.rst:1189 msgid "" "\"auto\": adapts the appearance of the turtle corresponding to the value of " "pensize." @@ -1406,7 +1406,7 @@ msgstr "" "*\"auto\"* : adapte l'apparence de la tortue en fonction de la largeur du " "pinceau (*value of pensize* en anglais)." -#: library/turtle.rst:1188 +#: library/turtle.rst:1190 msgid "" "\"user\": adapts the appearance of the turtle according to the values of " "stretchfactor and outlinewidth (outline), which are set by :func:`shapesize`." @@ -1415,21 +1415,21 @@ msgstr "" "paramètre d'étirement et de la largeur des contours, déterminés par :func:" "`shapesize`." -#: library/turtle.rst:1191 +#: library/turtle.rst:1193 msgid "\"noresize\": no adaption of the turtle's appearance takes place." msgstr "" "*\"noresize\"* : il n'y a pas de modification de l'apparence de la tortue." -#: library/turtle.rst:1193 +#: library/turtle.rst:1195 msgid "" "resizemode(\"user\") is called by :func:`shapesize` when used with arguments." msgstr "" -#: library/turtle.rst:1208 library/turtle.rst:1209 library/turtle.rst:1210 +#: library/turtle.rst:1210 library/turtle.rst:1211 library/turtle.rst:1212 msgid "positive number" msgstr "nombre positif" -#: library/turtle.rst:1212 +#: library/turtle.rst:1214 msgid "" "Return or set the pen's attributes x/y-stretchfactors and/or outline. Set " "resizemode to \"user\". If and only if resizemode is set to \"user\", the " @@ -1439,12 +1439,12 @@ msgid "" "determines the width of the shapes's outline." msgstr "" -#: library/turtle.rst:1235 library/turtle.rst:1887 library/turtle.rst:1888 -#: library/turtle.rst:1889 +#: library/turtle.rst:1237 library/turtle.rst:1890 library/turtle.rst:1891 +#: library/turtle.rst:1892 msgid "number (optional)" msgstr "un nombre (facultatif)" -#: library/turtle.rst:1237 +#: library/turtle.rst:1239 msgid "" "Set or return the current shearfactor. Shear the turtleshape according to " "the given shearfactor shear, which is the tangent of the shear angle. Do " @@ -1460,25 +1460,25 @@ msgstr "" "celui par rapport auquel les lignes parallèles à la direction de la tortue " "sont cisaillées." -#: library/turtle.rst:1258 +#: library/turtle.rst:1260 msgid "" "Rotate the turtleshape by *angle* from its current tilt-angle, but do *not* " "change the turtle's heading (direction of movement)." msgstr "" -#: library/turtle.rst:1277 +#: library/turtle.rst:1279 msgid "" "Rotate the turtleshape to point in the direction specified by *angle*, " "regardless of its current tilt-angle. *Do not* change the turtle's heading " "(direction of movement)." msgstr "" -#: library/turtle.rst:1297 library/turtle.rst:1320 library/turtle.rst:1321 -#: library/turtle.rst:1322 library/turtle.rst:1323 +#: library/turtle.rst:1299 library/turtle.rst:1322 library/turtle.rst:1323 +#: library/turtle.rst:1324 library/turtle.rst:1325 msgid "a number (optional)" msgstr "un nombre (facultatif)" -#: library/turtle.rst:1299 +#: library/turtle.rst:1301 msgid "" "Set or return the current tilt-angle. If angle is given, rotate the " "turtleshape to point in the direction specified by angle, regardless of its " @@ -1488,11 +1488,11 @@ msgid "" "turtle (its direction of movement)." msgstr "" -#: library/turtle.rst:1325 +#: library/turtle.rst:1327 msgid "Set or return the current transformation matrix of the turtle shape." msgstr "" -#: library/turtle.rst:1327 +#: library/turtle.rst:1329 msgid "" "If none of the matrix elements are given, return the transformation matrix " "as a tuple of 4 elements. Otherwise set the given elements and transform the " @@ -1502,14 +1502,14 @@ msgid "" "tiltangle according to the given matrix." msgstr "" -#: library/turtle.rst:1349 +#: library/turtle.rst:1351 msgid "" "Return the current shape polygon as tuple of coordinate pairs. This can be " "used to define a new shape or components of a compound shape." msgstr "" -#: library/turtle.rst:1366 library/turtle.rst:1388 library/turtle.rst:1413 -#: library/turtle.rst:1811 +#: library/turtle.rst:1369 library/turtle.rst:1391 library/turtle.rst:1416 +#: library/turtle.rst:1814 msgid "" "a function with two arguments which will be called with the coordinates of " "the clicked point on the canvas" @@ -1517,88 +1517,88 @@ msgstr "" "une fonction à deux arguments qui sera appelée avec les coordonnées du point " "cliqué sur le canevas" -#: library/turtle.rst:1368 library/turtle.rst:1390 library/turtle.rst:1415 -#: library/turtle.rst:1813 +#: library/turtle.rst:1371 library/turtle.rst:1393 library/turtle.rst:1418 +#: library/turtle.rst:1816 msgid "number of the mouse-button, defaults to 1 (left mouse button)" msgstr "" -#: library/turtle.rst:1369 library/turtle.rst:1391 library/turtle.rst:1416 -#: library/turtle.rst:1814 +#: library/turtle.rst:1372 library/turtle.rst:1394 library/turtle.rst:1419 +#: library/turtle.rst:1817 msgid "" "``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise " "it will replace a former binding" msgstr "" -#: library/turtle.rst:1372 +#: library/turtle.rst:1375 msgid "" "Bind *fun* to mouse-click events on this turtle. If *fun* is ``None``, " "existing bindings are removed. Example for the anonymous turtle, i.e. the " "procedural way:" msgstr "" -#: library/turtle.rst:1394 +#: library/turtle.rst:1397 msgid "" "Bind *fun* to mouse-button-release events on this turtle. If *fun* is " "``None``, existing bindings are removed." msgstr "" -#: library/turtle.rst:1419 +#: library/turtle.rst:1422 msgid "" "Bind *fun* to mouse-move events on this turtle. If *fun* is ``None``, " "existing bindings are removed." msgstr "" -#: library/turtle.rst:1422 +#: library/turtle.rst:1425 msgid "" "Remark: Every sequence of mouse-move-events on a turtle is preceded by a " "mouse-click event on that turtle." msgstr "" -#: library/turtle.rst:1430 +#: library/turtle.rst:1433 msgid "" "Subsequently, clicking and dragging the Turtle will move it across the " "screen thereby producing handdrawings (if pen is down)." msgstr "" -#: library/turtle.rst:1439 +#: library/turtle.rst:1442 msgid "" "Start recording the vertices of a polygon. Current turtle position is first " "vertex of polygon." msgstr "" -#: library/turtle.rst:1445 +#: library/turtle.rst:1448 msgid "" "Stop recording the vertices of a polygon. Current turtle position is last " "vertex of polygon. This will be connected with the first vertex." msgstr "" -#: library/turtle.rst:1451 +#: library/turtle.rst:1454 msgid "Return the last recorded polygon." msgstr "Renvoie le dernier polygone sauvegardé." -#: library/turtle.rst:1470 +#: library/turtle.rst:1473 msgid "" "Create and return a clone of the turtle with same position, heading and " "turtle properties." msgstr "" -#: library/turtle.rst:1483 +#: library/turtle.rst:1486 msgid "" "Return the Turtle object itself. Only reasonable use: as a function to " "return the \"anonymous turtle\":" msgstr "" -#: library/turtle.rst:1497 +#: library/turtle.rst:1500 msgid "" "Return the :class:`TurtleScreen` object the turtle is drawing on. " "TurtleScreen methods can then be called for that object." msgstr "" -#: library/turtle.rst:1511 +#: library/turtle.rst:1514 msgid "an integer or ``None``" msgstr "un entier ou ``None``" -#: library/turtle.rst:1513 +#: library/turtle.rst:1516 msgid "" "Set or disable undobuffer. If *size* is an integer an empty undobuffer of " "given size is installed. *size* gives the maximum number of turtle actions " @@ -1606,75 +1606,75 @@ msgid "" "``None``, the undobuffer is disabled." msgstr "" -#: library/turtle.rst:1526 +#: library/turtle.rst:1529 msgid "Return number of entries in the undobuffer." msgstr "" -#: library/turtle.rst:1539 +#: library/turtle.rst:1542 msgid "Compound shapes" msgstr "Formes composées" -#: library/turtle.rst:1541 +#: library/turtle.rst:1544 msgid "" "To use compound turtle shapes, which consist of several polygons of " "different color, you must use the helper class :class:`Shape` explicitly as " "described below:" msgstr "" -#: library/turtle.rst:1545 +#: library/turtle.rst:1548 msgid "Create an empty Shape object of type \"compound\"." msgstr "" -#: library/turtle.rst:1546 +#: library/turtle.rst:1549 msgid "" "Add as many components to this object as desired, using the :meth:" "`addcomponent` method." msgstr "" -#: library/turtle.rst:1549 +#: library/turtle.rst:1552 msgid "For example:" msgstr "Par exemple :" -#: library/turtle.rst:1560 +#: library/turtle.rst:1563 msgid "Now add the Shape to the Screen's shapelist and use it:" msgstr "" -#: library/turtle.rst:1571 +#: library/turtle.rst:1574 msgid "" "The :class:`Shape` class is used internally by the :func:`register_shape` " "method in different ways. The application programmer has to deal with the " "Shape class *only* when using compound shapes like shown above!" msgstr "" -#: library/turtle.rst:1577 +#: library/turtle.rst:1580 msgid "Methods of TurtleScreen/Screen and corresponding functions" msgstr "" -#: library/turtle.rst:1579 +#: library/turtle.rst:1582 msgid "" "Most of the examples in this section refer to a TurtleScreen instance called " "``screen``." msgstr "" -#: library/turtle.rst:1593 +#: library/turtle.rst:1596 msgid "" "a color string or three numbers in the range 0..colormode or a 3-tuple of " "such numbers" msgstr "" -#: library/turtle.rst:1597 +#: library/turtle.rst:1600 msgid "Set or return background color of the TurtleScreen." msgstr "" "Définit ou renvoie la couleur de fond de l'écran de la tortue " "(*TurtleScreen* en anglais)." -#: library/turtle.rst:1612 +#: library/turtle.rst:1615 msgid "a string, name of a gif-file or ``\"nopic\"``, or ``None``" msgstr "" "une chaîne de caractères, le nom d'un fichier *gif*, ou ``\"nopic\"``, ou " "``None``" -#: library/turtle.rst:1614 +#: library/turtle.rst:1617 msgid "" "Set background image or return name of current backgroundimage. If " "*picname* is a filename, set the corresponding image as background. If " @@ -1682,48 +1682,48 @@ msgid "" "*picname* is ``None``, return the filename of the current backgroundimage. ::" msgstr "" -#: library/turtle.rst:1629 +#: library/turtle.rst:1632 msgid "" "Delete all drawings and all turtles from the TurtleScreen. Reset the now " "empty TurtleScreen to its initial state: white background, no background " "image, no event bindings and tracing on." msgstr "" -#: library/turtle.rst:1634 +#: library/turtle.rst:1637 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``clearscreen``. The global function ``clear`` is a different one " "derived from the Turtle method ``clear``." msgstr "" -#: library/turtle.rst:1642 +#: library/turtle.rst:1645 msgid "Reset all Turtles on the Screen to their initial state." msgstr "Remet toutes les tortues à l'écran dans leur état initial." -#: library/turtle.rst:1645 +#: library/turtle.rst:1648 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``resetscreen``. The global function ``reset`` is another one derived " "from the Turtle method ``reset``." msgstr "" -#: library/turtle.rst:1652 +#: library/turtle.rst:1655 msgid "positive integer, new width of canvas in pixels" msgstr "" "nombre entier positif, nouvelle largeur du canevas (zone sur laquelle se " "déplace la tortue), en pixels" -#: library/turtle.rst:1653 +#: library/turtle.rst:1656 msgid "positive integer, new height of canvas in pixels" msgstr "nombre entier positif, nouvelle hauteur du canevas, en pixels" -#: library/turtle.rst:1654 +#: library/turtle.rst:1657 msgid "colorstring or color-tuple, new background color" msgstr "" "chaîne de caractères indiquant la couleur ou n-uplet de couleurs, nouvelle " "couleur de fond" -#: library/turtle.rst:1656 +#: library/turtle.rst:1659 msgid "" "If no arguments are given, return current (canvaswidth, canvasheight). Else " "resize the canvas the turtles are drawing on. Do not alter the drawing " @@ -1732,34 +1732,34 @@ msgid "" "outside the canvas before." msgstr "" -#: library/turtle.rst:1668 +#: library/turtle.rst:1671 msgid "e.g. to search for an erroneously escaped turtle ;-)" msgstr "par exemple, chercher une tortue échappée de manière erronée" -#: library/turtle.rst:1673 +#: library/turtle.rst:1676 msgid "a number, x-coordinate of lower left corner of canvas" msgstr "un nombre, coordonnée x du coin inférieur gauche du canevas" -#: library/turtle.rst:1674 +#: library/turtle.rst:1677 msgid "a number, y-coordinate of lower left corner of canvas" msgstr "un nombre, la coordonnée y du coin inférieur gauche du canevas" -#: library/turtle.rst:1675 +#: library/turtle.rst:1678 msgid "a number, x-coordinate of upper right corner of canvas" msgstr "un nombre, la coordonnée x du coin supérieur droit du canevas" -#: library/turtle.rst:1676 +#: library/turtle.rst:1679 msgid "a number, y-coordinate of upper right corner of canvas" msgstr "un nombre, la coordonnée y du coin supérieur droit du canevas" -#: library/turtle.rst:1678 +#: library/turtle.rst:1681 msgid "" "Set up user-defined coordinate system and switch to mode \"world\" if " "necessary. This performs a ``screen.reset()``. If mode \"world\" is " "already active, all drawings are redrawn according to the new coordinates." msgstr "" -#: library/turtle.rst:1682 +#: library/turtle.rst:1685 msgid "" "**ATTENTION**: in user-defined coordinate systems angles may appear " "distorted." @@ -1767,26 +1767,26 @@ msgstr "" "**ATTENTION** : dans les systèmes de coordonnées définis par l'utilisateur, " "les angles peuvent apparaître déformés." -#: library/turtle.rst:1710 +#: library/turtle.rst:1713 msgid "positive integer" msgstr "entier positif" -#: library/turtle.rst:1712 +#: library/turtle.rst:1715 msgid "" "Set or return the drawing *delay* in milliseconds. (This is approximately " "the time interval between two consecutive canvas updates.) The longer the " "drawing delay, the slower the animation." msgstr "" -#: library/turtle.rst:1716 +#: library/turtle.rst:1719 msgid "Optional argument:" msgstr "Argument facultatif :" -#: library/turtle.rst:1730 library/turtle.rst:1731 +#: library/turtle.rst:1733 library/turtle.rst:1734 msgid "nonnegative integer" msgstr "entier non-négatif" -#: library/turtle.rst:1733 +#: library/turtle.rst:1736 msgid "" "Turn turtle animation on/off and set delay for update drawings. If *n* is " "given, only each n-th regular screen update is really performed. (Can be " @@ -1795,17 +1795,17 @@ msgid "" "delay value (see :func:`delay`)." msgstr "" -#: library/turtle.rst:1753 +#: library/turtle.rst:1756 msgid "Perform a TurtleScreen update. To be used when tracer is turned off." msgstr "" "Effectue une mise à jour de *TurtleScreen*. À utiliser lorsque le traceur " "est désactivé." -#: library/turtle.rst:1755 +#: library/turtle.rst:1758 msgid "See also the RawTurtle/Turtle method :func:`speed`." msgstr "Voir aussi la méthode :func:`speed` de *RawTurtle*/*Turtle*." -#: library/turtle.rst:1763 +#: library/turtle.rst:1766 msgid "" "Set focus on TurtleScreen (in order to collect key-events). Dummy arguments " "are provided in order to be able to pass :func:`listen` to the onclick " @@ -1815,60 +1815,60 @@ msgstr "" "arguments factices sont fournis afin de pouvoir passer :func:`listen` à la " "méthode *onclick*." -#: library/turtle.rst:1770 library/turtle.rst:1790 +#: library/turtle.rst:1773 library/turtle.rst:1793 msgid "a function with no arguments or ``None``" msgstr "une fonction sans arguments ou ``None``" -#: library/turtle.rst:1771 library/turtle.rst:1791 +#: library/turtle.rst:1774 library/turtle.rst:1794 msgid "a string: key (e.g. \"a\") or key-symbol (e.g. \"space\")" msgstr "" -#: library/turtle.rst:1773 +#: library/turtle.rst:1776 msgid "" "Bind *fun* to key-release event of key. If *fun* is ``None``, event " "bindings are removed. Remark: in order to be able to register key-events, " "TurtleScreen must have the focus. (See method :func:`listen`.)" msgstr "" -#: library/turtle.rst:1793 +#: library/turtle.rst:1796 msgid "" "Bind *fun* to key-press event of key if key is given, or to any key-press-" "event if no key is given. Remark: in order to be able to register key-" "events, TurtleScreen must have focus. (See method :func:`listen`.)" msgstr "" -#: library/turtle.rst:1817 +#: library/turtle.rst:1820 msgid "" "Bind *fun* to mouse-click events on this screen. If *fun* is ``None``, " "existing bindings are removed." msgstr "" -#: library/turtle.rst:1820 +#: library/turtle.rst:1823 msgid "" "Example for a TurtleScreen instance named ``screen`` and a Turtle instance " "named turtle:" msgstr "" -#: library/turtle.rst:1831 +#: library/turtle.rst:1834 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``onscreenclick``. The global function ``onclick`` is another one " "derived from the Turtle method ``onclick``." msgstr "" -#: library/turtle.rst:1838 +#: library/turtle.rst:1841 msgid "a function with no arguments" msgstr "une fonction sans arguments" -#: library/turtle.rst:1839 +#: library/turtle.rst:1842 msgid "a number >= 0" msgstr "un nombre supérieur ou égal à 0" -#: library/turtle.rst:1841 +#: library/turtle.rst:1844 msgid "Install a timer that calls *fun* after *t* milliseconds." msgstr "" -#: library/turtle.rst:1859 +#: library/turtle.rst:1862 msgid "" "Starts event loop - calling Tkinter's mainloop function. Must be the last " "statement in a turtle graphics program. Must *not* be used if a script is " @@ -1876,12 +1876,12 @@ msgid "" "turtle graphics. ::" msgstr "" -#: library/turtle.rst:1872 library/turtle.rst:1873 library/turtle.rst:1885 -#: library/turtle.rst:1886 +#: library/turtle.rst:1875 library/turtle.rst:1876 library/turtle.rst:1888 +#: library/turtle.rst:1889 msgid "string" msgstr "chaîne de caractères" -#: library/turtle.rst:1875 +#: library/turtle.rst:1878 msgid "" "Pop up a dialog window for input of a string. Parameter title is the title " "of the dialog window, prompt is a text mostly describing what information to " @@ -1889,7 +1889,7 @@ msgid "" "``None``. ::" msgstr "" -#: library/turtle.rst:1891 +#: library/turtle.rst:1894 msgid "" "Pop up a dialog window for input of a number. title is the title of the " "dialog window, prompt is a text mostly describing what numerical information " @@ -1900,18 +1900,18 @@ msgid "" "return ``None``. ::" msgstr "" -#: library/turtle.rst:1908 +#: library/turtle.rst:1911 msgid "one of the strings \"standard\", \"logo\" or \"world\"" msgstr "" "l'une des chaînes de caractères : `\"standard\"`, `\"logo\"` ou `\"world\"`" -#: library/turtle.rst:1910 +#: library/turtle.rst:1913 msgid "" "Set turtle mode (\"standard\", \"logo\" or \"world\") and perform reset. If " "mode is not given, current mode is returned." msgstr "" -#: library/turtle.rst:1913 +#: library/turtle.rst:1916 msgid "" "Mode \"standard\" is compatible with old :mod:`turtle`. Mode \"logo\" is " "compatible with most Logo turtle graphics. Mode \"world\" uses user-defined " @@ -1919,121 +1919,121 @@ msgid "" "if ``x/y`` unit-ratio doesn't equal 1." msgstr "" -#: library/turtle.rst:1919 +#: library/turtle.rst:1922 msgid "Mode" msgstr "Mode" -#: library/turtle.rst:1919 +#: library/turtle.rst:1922 msgid "Initial turtle heading" msgstr "Orientation initiale de la tortue" -#: library/turtle.rst:1919 +#: library/turtle.rst:1922 msgid "positive angles" msgstr "angles positifs" -#: library/turtle.rst:1921 +#: library/turtle.rst:1924 msgid "\"standard\"" msgstr "\"standard\"" -#: library/turtle.rst:1921 +#: library/turtle.rst:1924 msgid "to the right (east)" msgstr "vers la droite (vers l'Est)" -#: library/turtle.rst:1921 +#: library/turtle.rst:1924 msgid "counterclockwise" msgstr "dans le sens inverse des aiguilles d'une montre" -#: library/turtle.rst:1922 +#: library/turtle.rst:1925 msgid "\"logo\"" msgstr "\"logo\"" -#: library/turtle.rst:1922 +#: library/turtle.rst:1925 msgid "upward (north)" msgstr "vers le haut (vers le Nord)" -#: library/turtle.rst:1922 +#: library/turtle.rst:1925 msgid "clockwise" msgstr "dans le sens des aiguilles d'une montre" -#: library/turtle.rst:1935 +#: library/turtle.rst:1938 msgid "one of the values 1.0 or 255" msgstr "l'une des valeurs suivantes : 1.0 ou 255" -#: library/turtle.rst:1937 +#: library/turtle.rst:1940 msgid "" "Return the colormode or set it to 1.0 or 255. Subsequently *r*, *g*, *b* " "values of color triples have to be in the range 0..\\ *cmode*." msgstr "" -#: library/turtle.rst:1958 +#: library/turtle.rst:1961 msgid "" "Return the Canvas of this TurtleScreen. Useful for insiders who know what " "to do with a Tkinter Canvas." msgstr "" -#: library/turtle.rst:1971 +#: library/turtle.rst:1974 msgid "Return a list of names of all currently available turtle shapes." msgstr "" -#: library/turtle.rst:1983 +#: library/turtle.rst:1986 msgid "There are three different ways to call this function:" msgstr "" -#: library/turtle.rst:1985 +#: library/turtle.rst:1988 msgid "" "*name* is the name of a gif-file and *shape* is ``None``: Install the " "corresponding image shape. ::" msgstr "" -#: library/turtle.rst:1991 +#: library/turtle.rst:1994 msgid "" "Image shapes *do not* rotate when turning the turtle, so they do not display " "the heading of the turtle!" msgstr "" -#: library/turtle.rst:1994 +#: library/turtle.rst:1997 msgid "" "*name* is an arbitrary string and *shape* is a tuple of pairs of " "coordinates: Install the corresponding polygon shape." msgstr "" -#: library/turtle.rst:2002 +#: library/turtle.rst:2005 msgid "" "*name* is an arbitrary string and shape is a (compound) :class:`Shape` " "object: Install the corresponding compound shape." msgstr "" -#: library/turtle.rst:2005 +#: library/turtle.rst:2008 msgid "" "Add a turtle shape to TurtleScreen's shapelist. Only thusly registered " "shapes can be used by issuing the command ``shape(shapename)``." msgstr "" -#: library/turtle.rst:2011 +#: library/turtle.rst:2014 msgid "Return the list of turtles on the screen." msgstr "Renvoie la liste des tortues présentes sur l'écran." -#: library/turtle.rst:2022 +#: library/turtle.rst:2025 msgid "Return the height of the turtle window. ::" msgstr "" -#: library/turtle.rst:2030 +#: library/turtle.rst:2033 msgid "Return the width of the turtle window. ::" msgstr "" -#: library/turtle.rst:2039 +#: library/turtle.rst:2042 msgid "Methods specific to Screen, not inherited from TurtleScreen" msgstr "" -#: library/turtle.rst:2043 +#: library/turtle.rst:2046 msgid "Shut the turtlegraphics window." msgstr "" -#: library/turtle.rst:2048 +#: library/turtle.rst:2051 msgid "Bind bye() method to mouse clicks on the Screen." msgstr "" -#: library/turtle.rst:2051 +#: library/turtle.rst:2054 msgid "" "If the value \"using_IDLE\" in the configuration dictionary is ``False`` " "(default value), also enter mainloop. Remark: If IDLE with the ``-n`` " @@ -2042,7 +2042,7 @@ msgid "" "client script." msgstr "" -#: library/turtle.rst:2060 +#: library/turtle.rst:2063 msgid "" "Set the size and position of the main window. Default values of arguments " "are stored in the configuration dictionary and can be changed via a :file:" @@ -2052,7 +2052,7 @@ msgstr "" "défaut des arguments sont stockées dans le dictionnaire de configuration et " "peuvent être modifiées via un fichier :file:`turtle.cfg`." -#: library/turtle.rst:2064 +#: library/turtle.rst:2067 msgid "" "if an integer, a size in pixels, if a float, a fraction of the screen; " "default is 50% of screen" @@ -2061,7 +2061,7 @@ msgstr "" "nombre flottant, une fraction de l'écran ; la valeur par défaut est de 50 % " "de l'écran" -#: library/turtle.rst:2066 +#: library/turtle.rst:2069 msgid "" "if an integer, the height in pixels, if a float, a fraction of the screen; " "default is 75% of screen" @@ -2070,7 +2070,7 @@ msgstr "" "nombre flottant, une fraction de l'écran ; la valeur par défaut est 75 % de " "l'écran" -#: library/turtle.rst:2068 +#: library/turtle.rst:2071 msgid "" "if positive, starting position in pixels from the left edge of the screen, " "if negative from the right edge, if ``None``, center window horizontally" @@ -2080,27 +2080,27 @@ msgstr "" "en pixels à partir du bord droit, si c'est ``None``, centre la fenêtre " "horizontalement" -#: library/turtle.rst:2071 +#: library/turtle.rst:2074 msgid "" "if positive, starting position in pixels from the top edge of the screen, if " "negative from the bottom edge, if ``None``, center window vertically" msgstr "" -#: library/turtle.rst:2086 +#: library/turtle.rst:2089 msgid "a string that is shown in the titlebar of the turtle graphics window" msgstr "" "chaîne de caractères affichée dans la barre de titre de la fenêtre graphique " "de la tortue" -#: library/turtle.rst:2089 +#: library/turtle.rst:2092 msgid "Set title of turtle window to *titlestring*." msgstr "" -#: library/turtle.rst:2098 +#: library/turtle.rst:2101 msgid "Public classes" msgstr "Classes publiques" -#: library/turtle.rst:2104 +#: library/turtle.rst:2107 msgid "" "a :class:`tkinter.Canvas`, a :class:`ScrolledCanvas` or a :class:" "`TurtleScreen`" @@ -2108,51 +2108,51 @@ msgstr "" "un :class:`tkinter.Canvas`, un :class:`ScrolledCanvas` ou un :class:" "`TurtleScreen`" -#: library/turtle.rst:2107 +#: library/turtle.rst:2110 msgid "" "Create a turtle. The turtle has all methods described above as \"methods of " "Turtle/RawTurtle\"." msgstr "" -#: library/turtle.rst:2113 +#: library/turtle.rst:2116 msgid "" "Subclass of RawTurtle, has the same interface but draws on a default :class:" "`Screen` object created automatically when needed for the first time." msgstr "" -#: library/turtle.rst:2119 +#: library/turtle.rst:2122 msgid "a :class:`tkinter.Canvas`" msgstr "un :class:`tkinter.Canvas`" -#: library/turtle.rst:2121 +#: library/turtle.rst:2124 msgid "" "Provides screen oriented methods like :func:`setbg` etc. that are described " "above." msgstr "" -#: library/turtle.rst:2126 +#: library/turtle.rst:2129 msgid "" "Subclass of TurtleScreen, with :ref:`four methods added `." msgstr "" -#: library/turtle.rst:2131 +#: library/turtle.rst:2134 msgid "" "some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas " "with scrollbars added" msgstr "" -#: library/turtle.rst:2134 +#: library/turtle.rst:2137 msgid "" "Used by class Screen, which thus automatically provides a ScrolledCanvas as " "playground for the turtles." msgstr "" -#: library/turtle.rst:2139 +#: library/turtle.rst:2142 msgid "one of the strings \"polygon\", \"image\", \"compound\"" msgstr "" "l'une des chaînes suivantes : `\"polygon\"`, `\"image\"` ou `\"compound\"`" -#: library/turtle.rst:2141 +#: library/turtle.rst:2144 msgid "" "Data structure modeling shapes. The pair ``(type_, data)`` must follow this " "specification:" @@ -2160,37 +2160,37 @@ msgstr "" "Formes de modélisation de la structure des données. La paire ``(type_, " "data)`` doit suivre cette spécification :" -#: library/turtle.rst:2146 +#: library/turtle.rst:2149 msgid "*type_*" msgstr "*type_*" -#: library/turtle.rst:2146 +#: library/turtle.rst:2149 msgid "*data*" msgstr "*données*" -#: library/turtle.rst:2148 +#: library/turtle.rst:2151 msgid "\"polygon\"" msgstr "\"polygon\"" -#: library/turtle.rst:2148 +#: library/turtle.rst:2151 msgid "a polygon-tuple, i.e. a tuple of pairs of coordinates" msgstr "" "un polygone n-uplet, c'est-à-dire un n-uplet constitué de paires (chaque " "paire définissant des coordonnées)" -#: library/turtle.rst:2149 +#: library/turtle.rst:2152 msgid "\"image\"" msgstr "\"image\"" -#: library/turtle.rst:2149 +#: library/turtle.rst:2152 msgid "an image (in this form only used internally!)" msgstr "une image (utilisée uniquement en interne sous ce format !)" -#: library/turtle.rst:2150 +#: library/turtle.rst:2153 msgid "\"compound\"" msgstr "\"compound\"" -#: library/turtle.rst:2150 +#: library/turtle.rst:2153 msgid "" "``None`` (a compound shape has to be constructed using the :meth:" "`addcomponent` method)" @@ -2198,70 +2198,70 @@ msgstr "" "``None`` (une forme composée doit être construite en utilisant la méthode :" "meth:`addcomponent`)" -#: library/turtle.rst:2156 +#: library/turtle.rst:2159 msgid "a polygon, i.e. a tuple of pairs of numbers" msgstr "un polygone, c.-à-d. un n-uplet de paires de nombres" -#: library/turtle.rst:2157 +#: library/turtle.rst:2160 msgid "a color the *poly* will be filled with" msgstr "" -#: library/turtle.rst:2158 +#: library/turtle.rst:2161 msgid "a color for the poly's outline (if given)" msgstr "une couleur pour le contour du polygone (si elle est donnée)" -#: library/turtle.rst:2160 +#: library/turtle.rst:2163 msgid "Example:" msgstr "Exemple :" -#: library/turtle.rst:2170 +#: library/turtle.rst:2173 msgid "See :ref:`compoundshapes`." msgstr "Voir :ref:`compoundshapes`." -#: library/turtle.rst:2175 +#: library/turtle.rst:2178 msgid "" "A two-dimensional vector class, used as a helper class for implementing " "turtle graphics. May be useful for turtle graphics programs too. Derived " "from tuple, so a vector is a tuple!" msgstr "" -#: library/turtle.rst:2179 +#: library/turtle.rst:2182 msgid "Provides (for *a*, *b* vectors, *k* number):" msgstr "" -#: library/turtle.rst:2181 +#: library/turtle.rst:2184 msgid "``a + b`` vector addition" msgstr "``a + b`` addition de vecteurs" -#: library/turtle.rst:2182 +#: library/turtle.rst:2185 msgid "``a - b`` vector subtraction" msgstr "``a - b`` soustraction de deux vecteurs" -#: library/turtle.rst:2183 +#: library/turtle.rst:2186 msgid "``a * b`` inner product" msgstr "``a * b`` produit scalaire" -#: library/turtle.rst:2184 +#: library/turtle.rst:2187 msgid "``k * a`` and ``a * k`` multiplication with scalar" msgstr "``k * a`` et ``a * k`` multiplication avec un scalaire" -#: library/turtle.rst:2185 +#: library/turtle.rst:2188 msgid "``abs(a)`` absolute value of a" msgstr "``abs(a)`` valeur absolue de a" -#: library/turtle.rst:2186 +#: library/turtle.rst:2189 msgid "``a.rotate(angle)`` rotation" msgstr "``a.rotate(angle)`` rotation" -#: library/turtle.rst:2190 +#: library/turtle.rst:2193 msgid "Help and configuration" msgstr "Aide et configuration" -#: library/turtle.rst:2193 +#: library/turtle.rst:2196 msgid "How to use help" msgstr "Utilisation de l'aide" -#: library/turtle.rst:2195 +#: library/turtle.rst:2198 msgid "" "The public methods of the Screen and Turtle classes are documented " "extensively via docstrings. So these can be used as online-help via the " @@ -2271,23 +2271,23 @@ msgstr "" "documentées dans les *docstrings*. Elles peuvent donc être utilisées comme " "aide en ligne via les fonctions d'aide de Python :" -#: library/turtle.rst:2199 +#: library/turtle.rst:2202 msgid "" "When using IDLE, tooltips show the signatures and first lines of the " "docstrings of typed in function-/method calls." msgstr "" -#: library/turtle.rst:2202 +#: library/turtle.rst:2205 msgid "Calling :func:`help` on methods or functions displays the docstrings::" msgstr "" -#: library/turtle.rst:2233 +#: library/turtle.rst:2236 msgid "" "The docstrings of the functions which are derived from methods have a " "modified form::" msgstr "" -#: library/turtle.rst:2267 +#: library/turtle.rst:2270 msgid "" "These modified docstrings are created automatically together with the " "function definitions that are derived from the methods at import time." @@ -2296,22 +2296,22 @@ msgstr "" "définitions de fonctions qui sont dérivées des méthodes au moment de " "l'importation." -#: library/turtle.rst:2272 +#: library/turtle.rst:2275 msgid "Translation of docstrings into different languages" msgstr "Traduction de chaînes de documents en différentes langues" -#: library/turtle.rst:2274 +#: library/turtle.rst:2277 msgid "" "There is a utility to create a dictionary the keys of which are the method " "names and the values of which are the docstrings of the public methods of " "the classes Screen and Turtle." msgstr "" -#: library/turtle.rst:2280 +#: library/turtle.rst:2283 msgid "a string, used as filename" msgstr "une chaîne de caractères, utilisée en tant que nom de fichier" -#: library/turtle.rst:2282 +#: library/turtle.rst:2285 msgid "" "Create and write docstring-dictionary to a Python script with the given " "filename. This function has to be called explicitly (it is not used by the " @@ -2320,37 +2320,37 @@ msgid "" "for translation of the docstrings into different languages." msgstr "" -#: library/turtle.rst:2288 +#: library/turtle.rst:2291 msgid "" "If you (or your students) want to use :mod:`turtle` with online help in your " "native language, you have to translate the docstrings and save the resulting " "file as e.g. :file:`turtle_docstringdict_german.py`." msgstr "" -#: library/turtle.rst:2292 +#: library/turtle.rst:2295 msgid "" "If you have an appropriate entry in your :file:`turtle.cfg` file this " "dictionary will be read in at import time and will replace the original " "English docstrings." msgstr "" -#: library/turtle.rst:2295 +#: library/turtle.rst:2298 msgid "" "At the time of this writing there are docstring dictionaries in German and " "in Italian. (Requests please to glingl@aon.at.)" msgstr "" -#: library/turtle.rst:2301 +#: library/turtle.rst:2304 msgid "How to configure Screen and Turtles" msgstr "Comment configurer *Screen* et *Turtle*" -#: library/turtle.rst:2303 +#: library/turtle.rst:2306 msgid "" "The built-in default configuration mimics the appearance and behaviour of " "the old turtle module in order to retain best possible compatibility with it." msgstr "" -#: library/turtle.rst:2306 +#: library/turtle.rst:2309 msgid "" "If you want to use a different configuration which better reflects the " "features of this module or which better fits to your needs, e.g. for use in " @@ -2359,22 +2359,22 @@ msgid "" "settings." msgstr "" -#: library/turtle.rst:2311 +#: library/turtle.rst:2314 msgid "" "The built in configuration would correspond to the following turtle.cfg::" msgstr "" -#: library/turtle.rst:2334 +#: library/turtle.rst:2337 msgid "Short explanation of selected entries:" msgstr "Brève explication des entrées sélectionnées :" -#: library/turtle.rst:2336 +#: library/turtle.rst:2339 msgid "" "The first four lines correspond to the arguments of the :meth:`Screen.setup` " "method." msgstr "" -#: library/turtle.rst:2338 +#: library/turtle.rst:2341 msgid "" "Line 5 and 6 correspond to the arguments of the method :meth:`Screen." "screensize`." @@ -2382,20 +2382,20 @@ msgstr "" "Les lignes 5 et 6 correspondent aux arguments de la méthode :meth:`Screen." "screensize`." -#: library/turtle.rst:2340 +#: library/turtle.rst:2343 msgid "" "*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For " "more info try ``help(shape)``." msgstr "" -#: library/turtle.rst:2342 +#: library/turtle.rst:2345 msgid "" "If you want to use no fillcolor (i.e. make the turtle transparent), you have " "to write ``fillcolor = \"\"`` (but all nonempty strings must not have quotes " "in the cfg-file)." msgstr "" -#: library/turtle.rst:2345 +#: library/turtle.rst:2348 msgid "" "If you want to reflect the turtle its state, you have to use ``resizemode = " "auto``." @@ -2403,14 +2403,14 @@ msgstr "" "Si vous voulez refléter l'état de la tortue, vous devez utiliser " "``resizemode = auto``." -#: library/turtle.rst:2347 +#: library/turtle.rst:2350 msgid "" "If you set e.g. ``language = italian`` the docstringdict :file:" "`turtle_docstringdict_italian.py` will be loaded at import time (if present " "on the import path, e.g. in the same directory as :mod:`turtle`." msgstr "" -#: library/turtle.rst:2350 +#: library/turtle.rst:2353 msgid "" "The entries *exampleturtle* and *examplescreen* define the names of these " "objects as they occur in the docstrings. The transformation of method-" @@ -2418,302 +2418,302 @@ msgid "" "docstrings." msgstr "" -#: library/turtle.rst:2354 +#: library/turtle.rst:2357 msgid "" "*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -" "n switch (\"no subprocess\"). This will prevent :func:`exitonclick` to " "enter the mainloop." msgstr "" -#: library/turtle.rst:2358 +#: library/turtle.rst:2361 msgid "" "There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` " "is stored and an additional one in the current working directory. The " "latter will override the settings of the first one." msgstr "" -#: library/turtle.rst:2362 +#: library/turtle.rst:2365 msgid "" "The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. " "You can study it as an example and see its effects when running the demos " "(preferably not from within the demo-viewer)." msgstr "" -#: library/turtle.rst:2368 +#: library/turtle.rst:2371 msgid ":mod:`turtledemo` --- Demo scripts" msgstr ":mod:`turtledemo` — Scripts de démonstration" -#: library/turtle.rst:2373 +#: library/turtle.rst:2376 msgid "" "The :mod:`turtledemo` package includes a set of demo scripts. These scripts " "can be run and viewed using the supplied demo viewer as follows::" msgstr "" -#: library/turtle.rst:2378 +#: library/turtle.rst:2381 msgid "" "Alternatively, you can run the demo scripts individually. For example, ::" msgstr "" -#: library/turtle.rst:2382 +#: library/turtle.rst:2385 msgid "The :mod:`turtledemo` package directory contains:" msgstr "Le paquet :mod:`turtledemo` contient :" -#: library/turtle.rst:2384 +#: library/turtle.rst:2387 msgid "" "A demo viewer :file:`__main__.py` which can be used to view the sourcecode " "of the scripts and run them at the same time." msgstr "" -#: library/turtle.rst:2386 +#: library/turtle.rst:2389 msgid "" "Multiple scripts demonstrating different features of the :mod:`turtle` " "module. Examples can be accessed via the Examples menu. They can also be " "run standalone." msgstr "" -#: library/turtle.rst:2389 +#: library/turtle.rst:2392 msgid "" "A :file:`turtle.cfg` file which serves as an example of how to write and use " "such files." msgstr "" -#: library/turtle.rst:2392 +#: library/turtle.rst:2395 msgid "The demo scripts are:" msgstr "Les scripts de démonstration sont :" -#: library/turtle.rst:2397 +#: library/turtle.rst:2400 msgid "Name" msgstr "Nom" -#: library/turtle.rst:2397 +#: library/turtle.rst:2400 msgid "Description" msgstr "Description" -#: library/turtle.rst:2397 +#: library/turtle.rst:2400 msgid "Features" msgstr "Caractéristiques" -#: library/turtle.rst:2399 +#: library/turtle.rst:2402 msgid "bytedesign" msgstr "*bytedesign*" -#: library/turtle.rst:2399 +#: library/turtle.rst:2402 msgid "complex classical turtle graphics pattern" msgstr "motif complexe de la tortue graphique classique" -#: library/turtle.rst:2399 +#: library/turtle.rst:2402 msgid ":func:`tracer`, delay, :func:`update`" msgstr ":func:`tracer`, temps mort, :func:`update`" -#: library/turtle.rst:2402 +#: library/turtle.rst:2405 msgid "chaos" msgstr "chaos" -#: library/turtle.rst:2402 +#: library/turtle.rst:2405 msgid "" "graphs Verhulst dynamics, shows that computer's computations can generate " "results sometimes against the common sense expectations" msgstr "" -#: library/turtle.rst:2402 +#: library/turtle.rst:2405 msgid "world coordinates" msgstr "*world coordinates*" -#: library/turtle.rst:2408 +#: library/turtle.rst:2411 msgid "clock" msgstr "*clock*" -#: library/turtle.rst:2408 +#: library/turtle.rst:2411 msgid "analog clock showing time of your computer" msgstr "horloge analogique indiquant l'heure de votre ordinateur" -#: library/turtle.rst:2408 +#: library/turtle.rst:2411 msgid "turtles as clock's hands, ontimer" msgstr "tortues sous forme des aiguilles d'horloge, sur minuterie" -#: library/turtle.rst:2411 +#: library/turtle.rst:2414 msgid "colormixer" msgstr "*colormixer* (mélangeur de couleurs)" -#: library/turtle.rst:2411 +#: library/turtle.rst:2414 msgid "experiment with r, g, b" msgstr "des expériences en rouge, vert, bleu" -#: library/turtle.rst:2413 +#: library/turtle.rst:2416 msgid "forest" msgstr "*forest* (forêt)" -#: library/turtle.rst:2413 +#: library/turtle.rst:2416 msgid "3 breadth-first trees" msgstr "" -#: library/turtle.rst:2413 +#: library/turtle.rst:2416 msgid "randomization" msgstr "*randomization* (répartition aléatoire)" -#: library/turtle.rst:2415 +#: library/turtle.rst:2418 msgid "fractalcurves" msgstr "*fractalcurves*" -#: library/turtle.rst:2415 +#: library/turtle.rst:2418 msgid "Hilbert & Koch curves" msgstr "Courbes de Hilbert et de Koch" -#: library/turtle.rst:2415 +#: library/turtle.rst:2418 msgid "recursion" msgstr "récursivité" -#: library/turtle.rst:2417 +#: library/turtle.rst:2420 msgid "lindenmayer" msgstr "*lindenmayer*" -#: library/turtle.rst:2417 +#: library/turtle.rst:2420 msgid "ethnomathematics (indian kolams)" msgstr "ethnomathématiques (kolams indiens)" -#: library/turtle.rst:2417 +#: library/turtle.rst:2420 msgid "L-System" msgstr "*L-Système*" -#: library/turtle.rst:2420 +#: library/turtle.rst:2423 msgid "minimal_hanoi" msgstr "*minimal_hanoi*" -#: library/turtle.rst:2420 +#: library/turtle.rst:2423 msgid "Towers of Hanoi" msgstr "Tours de Hanoï" -#: library/turtle.rst:2420 +#: library/turtle.rst:2423 msgid "Rectangular Turtles as Hanoi discs (shape, shapesize)" msgstr "" "Des tortues rectangulaires à la place des disques (*shape*, *shapesize*)" -#: library/turtle.rst:2424 +#: library/turtle.rst:2427 msgid "nim" msgstr "*nim*" -#: library/turtle.rst:2424 +#: library/turtle.rst:2427 msgid "" "play the classical nim game with three heaps of sticks against the computer." msgstr "" -#: library/turtle.rst:2424 +#: library/turtle.rst:2427 msgid "turtles as nimsticks, event driven (mouse, keyboard)" msgstr "" -#: library/turtle.rst:2428 +#: library/turtle.rst:2431 msgid "paint" msgstr "*paint* (peinture)" -#: library/turtle.rst:2428 +#: library/turtle.rst:2431 msgid "super minimalistic drawing program" msgstr "programme de dessin extra minimaliste" -#: library/turtle.rst:2431 +#: library/turtle.rst:2434 msgid "peace" msgstr "*peace* (paix)" -#: library/turtle.rst:2431 +#: library/turtle.rst:2434 msgid "elementary" msgstr "basique" -#: library/turtle.rst:2431 +#: library/turtle.rst:2434 msgid "turtle: appearance and animation" msgstr "tortue : apparence et animation" -#: library/turtle.rst:2434 +#: library/turtle.rst:2437 msgid "penrose" msgstr "*penrose*" -#: library/turtle.rst:2434 +#: library/turtle.rst:2437 msgid "aperiodic tiling with kites and darts" msgstr "tuiles apériodiques avec cerfs-volants et fléchettes" -#: library/turtle.rst:2437 +#: library/turtle.rst:2440 msgid "planet_and_moon" msgstr "*planet_and_moon* (planète et lune)" -#: library/turtle.rst:2437 +#: library/turtle.rst:2440 msgid "simulation of gravitational system" msgstr "simulation d'un système gravitationnel" -#: library/turtle.rst:2437 +#: library/turtle.rst:2440 msgid "compound shapes, :class:`Vec2D`" msgstr "formes composées, :class:`Vec2D`" -#: library/turtle.rst:2440 +#: library/turtle.rst:2443 msgid "round_dance" msgstr "*round_dance*" -#: library/turtle.rst:2440 +#: library/turtle.rst:2443 msgid "dancing turtles rotating pairwise in opposite direction" msgstr "tortues dansantes tournant par paires en sens inverse" -#: library/turtle.rst:2440 +#: library/turtle.rst:2443 msgid "compound shapes, clone shapesize, tilt, get_shapepoly, update" msgstr "" -#: library/turtle.rst:2444 +#: library/turtle.rst:2447 msgid "sorting_animate" msgstr "*sorting_animate*" -#: library/turtle.rst:2444 +#: library/turtle.rst:2447 msgid "visual demonstration of different sorting methods" msgstr "démonstration visuelle des différentes méthodes de classement" -#: library/turtle.rst:2444 +#: library/turtle.rst:2447 msgid "simple alignment, randomization" msgstr "alignement simple, répartition aléatoire" -#: library/turtle.rst:2447 +#: library/turtle.rst:2450 msgid "tree" msgstr "*tree* (arbre)" -#: library/turtle.rst:2447 +#: library/turtle.rst:2450 msgid "a (graphical) breadth first tree (using generators)" msgstr "" -#: library/turtle.rst:2450 +#: library/turtle.rst:2453 msgid "two_canvases" msgstr "*two_canvases* (deux toiles)" -#: library/turtle.rst:2450 +#: library/turtle.rst:2453 msgid "simple design" msgstr "design simple" -#: library/turtle.rst:2450 +#: library/turtle.rst:2453 msgid "turtles on two canvases" msgstr "tortues sur deux canevas" -#: library/turtle.rst:2453 +#: library/turtle.rst:2456 msgid "wikipedia" msgstr "*wikipedia*" -#: library/turtle.rst:2453 +#: library/turtle.rst:2456 msgid "a pattern from the wikipedia article on turtle graphics" msgstr "un motif issu de l'article de *wikipedia* sur la tortue graphique" -#: library/turtle.rst:2453 +#: library/turtle.rst:2456 msgid ":func:`clone`, :func:`undo`" msgstr ":func:`clone`, :func:`undo`" -#: library/turtle.rst:2456 +#: library/turtle.rst:2459 msgid "yinyang" msgstr "*yinyang*" -#: library/turtle.rst:2456 +#: library/turtle.rst:2459 msgid "another elementary example" msgstr "un autre exemple élémentaire" -#: library/turtle.rst:2459 +#: library/turtle.rst:2462 msgid "Have fun!" msgstr "Amusez-vous !" -#: library/turtle.rst:2463 +#: library/turtle.rst:2466 msgid "Changes since Python 2.6" msgstr "Modifications depuis Python 2.6" -#: library/turtle.rst:2465 +#: library/turtle.rst:2468 msgid "" "The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and :meth:" "`Turtle.window_height` have been eliminated. Methods with these names and " @@ -2723,25 +2723,25 @@ msgid "" "`TurtleScreen`/:class:`Screen`-methods.)" msgstr "" -#: library/turtle.rst:2473 +#: library/turtle.rst:2476 msgid "" "The method :meth:`Turtle.fill` has been eliminated. The behaviour of :meth:" "`begin_fill` and :meth:`end_fill` have changed slightly: now every filling-" "process must be completed with an ``end_fill()`` call." msgstr "" -#: library/turtle.rst:2478 +#: library/turtle.rst:2481 msgid "" "A method :meth:`Turtle.filling` has been added. It returns a boolean value: " "``True`` if a filling process is under way, ``False`` otherwise. This " "behaviour corresponds to a ``fill()`` call without arguments in Python 2.6." msgstr "" -#: library/turtle.rst:2484 +#: library/turtle.rst:2487 msgid "Changes since Python 3.0" msgstr "Modifications depuis Python 3.0" -#: library/turtle.rst:2486 +#: library/turtle.rst:2489 msgid "" "The methods :meth:`Turtle.shearfactor`, :meth:`Turtle.shapetransform` and :" "meth:`Turtle.get_shapepoly` have been added. Thus the full range of regular " @@ -2750,28 +2750,28 @@ msgid "" "get or set the tiltangle. :meth:`Turtle.settiltangle` has been deprecated." msgstr "" -#: library/turtle.rst:2493 +#: library/turtle.rst:2496 msgid "" "The method :meth:`Screen.onkeypress` has been added as a complement to :meth:" "`Screen.onkey` which in fact binds actions to the keyrelease event. " "Accordingly the latter has got an alias: :meth:`Screen.onkeyrelease`." msgstr "" -#: library/turtle.rst:2497 +#: library/turtle.rst:2500 msgid "" "The method :meth:`Screen.mainloop` has been added. So when working only " "with Screen and Turtle objects one must not additionally import :func:" "`mainloop` anymore." msgstr "" -#: library/turtle.rst:2501 +#: library/turtle.rst:2504 msgid "" "Two input methods has been added :meth:`Screen.textinput` and :meth:`Screen." "numinput`. These popup input dialogs and return strings and numbers " "respectively." msgstr "" -#: library/turtle.rst:2505 +#: library/turtle.rst:2508 msgid "" "Two example scripts :file:`tdemo_nim.py` and :file:`tdemo_round_dance.py` " "have been added to the :file:`Lib/turtledemo` directory." diff --git a/library/types.po b/library/types.po index 0edcc285..74b32248 100644 --- a/library/types.po +++ b/library/types.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-28 10:04+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/typing.po b/library/typing.po index 45f814a4..216531c4 100644 --- a/library/typing.po +++ b/library/typing.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-26 17:28-0500\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -15,15 +15,15 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.2.4\n" -#: library/typing.rst:2 +#: library/typing.rst:3 msgid ":mod:`typing` --- Support for type hints" msgstr ":mod:`typing` — Prise en charge des annotations de type" -#: library/typing.rst:9 +#: library/typing.rst:10 msgid "**Source code:** :source:`Lib/typing.py`" msgstr "**Code source :** :source:`Lib/typing.py`" -#: library/typing.rst:13 +#: library/typing.rst:14 msgid "" "The Python runtime does not enforce function and variable type annotations. " "They can be used by third party tools such as type checkers, IDEs, linters, " @@ -33,7 +33,7 @@ msgstr "" "fonctions et les variables. Elles peuvent être utilisées par des outils " "tiers tels que les contrôleurs de type, les IDE, les analyseurs de code, etc." -#: library/typing.rst:19 +#: library/typing.rst:20 msgid "" "This module provides runtime support for type hints as specified by :pep:" "`484`, :pep:`526`, :pep:`544`, :pep:`586`, :pep:`589`, and :pep:`591`. The " @@ -50,14 +50,14 @@ msgstr "" "complètes, voir la :pep:`484`. Pour une introduction simplifiée aux " "annotations de type, voir la :pep:`483`." -#: library/typing.rst:27 +#: library/typing.rst:28 msgid "" "The function below takes and returns a string and is annotated as follows::" msgstr "" "La fonction ci-dessous prend et renvoie une chaîne de caractères, et est " "annotée comme suit ::" -#: library/typing.rst:32 +#: library/typing.rst:33 msgid "" "In the function ``greeting``, the argument ``name`` is expected to be of " "type :class:`str` and the return type :class:`str`. Subtypes are accepted as " @@ -67,11 +67,11 @@ msgstr "" "class:`str` et le type de retour :class:`str`. Les sous-types sont acceptés " "comme arguments." -#: library/typing.rst:37 +#: library/typing.rst:38 msgid "Type aliases" msgstr "Alias de type" -#: library/typing.rst:39 +#: library/typing.rst:40 msgid "" "A type alias is defined by assigning the type to the alias. In this example, " "``Vector`` and ``List[float]`` will be treated as interchangeable synonyms::" @@ -80,7 +80,7 @@ msgstr "" "exemple, ``Vector`` et ``List[float]`` sont traités comme des synonymes " "interchangeables ::" -#: library/typing.rst:51 +#: library/typing.rst:52 msgid "" "Type aliases are useful for simplifying complex type signatures. For " "example::" @@ -88,7 +88,7 @@ msgstr "" "Les alias de type sont utiles pour simplifier les signatures complexes. Par " "exemple ::" -#: library/typing.rst:69 +#: library/typing.rst:70 msgid "" "Note that ``None`` as a type hint is a special case and is replaced by " "``type(None)``." @@ -96,16 +96,16 @@ msgstr "" "Notez que ``None`` comme indication de type est un cas particulier et est " "remplacé par ``type(None)``." -#: library/typing.rst:75 +#: library/typing.rst:76 msgid "NewType" msgstr "*NewType*" -#: library/typing.rst:77 +#: library/typing.rst:78 msgid "Use the :func:`NewType` helper function to create distinct types::" msgstr "" "Aidez-vous de la fonction :func:`NewType` pour créer des types distincts ::" -#: library/typing.rst:84 +#: library/typing.rst:85 msgid "" "The static type checker will treat the new type as if it were a subclass of " "the original type. This is useful in helping catch logical errors::" @@ -114,7 +114,7 @@ msgstr "" "s'agissait d'une sous-classe du type original. C'est utile pour aider à " "détecter les erreurs logiques ::" -#: library/typing.rst:96 +#: library/typing.rst:97 msgid "" "You may still perform all ``int`` operations on a variable of type " "``UserId``, but the result will always be of type ``int``. This lets you " @@ -127,7 +127,7 @@ msgstr "" "où un ``int`` est attendu, mais vous empêche de créer accidentellement un " "``UserId`` d'une manière invalide ::" -#: library/typing.rst:104 +#: library/typing.rst:105 msgid "" "Note that these checks are enforced only by the static type checker. At " "runtime, the statement ``Derived = NewType('Derived', Base)`` will make " @@ -142,7 +142,7 @@ msgstr "" "``Derived(some_value)`` ne crée pas une nouvelle classe ou n'introduit pas " "de surcharge au-delà de celle d'un appel de fonction normal." -#: library/typing.rst:110 +#: library/typing.rst:111 msgid "" "More precisely, the expression ``some_value is Derived(some_value)`` is " "always true at runtime." @@ -150,7 +150,7 @@ msgstr "" "Plus précisément, l'expression ``some_value is Derived(some_value)`` est " "toujours vraie au moment de l'exécution." -#: library/typing.rst:113 +#: library/typing.rst:114 msgid "" "This also means that it is not possible to create a subtype of ``Derived`` " "since it is an identity function at runtime, not an actual type::" @@ -159,7 +159,7 @@ msgstr "" "``Derived`` puisqu'il s'agit d'une fonction d'identité au moment de " "l'exécution, pas d'un type réel ::" -#: library/typing.rst:123 +#: library/typing.rst:124 msgid "" "However, it is possible to create a :func:`NewType` based on a 'derived' " "``NewType``::" @@ -167,15 +167,15 @@ msgstr "" "Cependant, il est possible de créer un :func:`NewType` basé sur un " "``NewType`` « dérivé » ::" -#: library/typing.rst:131 +#: library/typing.rst:132 msgid "and typechecking for ``ProUserId`` will work as expected." msgstr "et la vérification de type pour ``ProUserId`` fonctionne comme prévu." -#: library/typing.rst:133 +#: library/typing.rst:134 msgid "See :pep:`484` for more details." msgstr "Voir la :pep:`484` pour plus de détails." -#: library/typing.rst:137 +#: library/typing.rst:138 msgid "" "Recall that the use of a type alias declares two types to be *equivalent* to " "one another. Doing ``Alias = Original`` will make the static type checker " @@ -188,7 +188,7 @@ msgstr "" "équivalent* à ``Original`` dans tous les cas. C'est utile lorsque vous " "voulez simplifier des signatures complexes." -#: library/typing.rst:142 +#: library/typing.rst:143 msgid "" "In contrast, ``NewType`` declares one type to be a *subtype* of another. " "Doing ``Derived = NewType('Derived', Original)`` will make the static type " @@ -205,11 +205,11 @@ msgstr "" "prévue. C'est utile lorsque vous voulez éviter les erreurs logiques avec un " "coût d'exécution minimal." -#: library/typing.rst:152 +#: library/typing.rst:153 msgid "Callable" msgstr "Appelable" -#: library/typing.rst:154 +#: library/typing.rst:155 msgid "" "Frameworks expecting callback functions of specific signatures might be type " "hinted using ``Callable[[Arg1Type, Arg2Type], ReturnType]``." @@ -218,11 +218,11 @@ msgstr "" "rappel ayant des signatures spécifiques peuvent être typés en utilisant " "``Callable[[Arg1Type, Arg2Type], ReturnType]``." -#: library/typing.rst:157 +#: library/typing.rst:158 msgid "For example::" msgstr "Par exemple ::" -#: library/typing.rst:168 +#: library/typing.rst:169 msgid "" "It is possible to declare the return type of a callable without specifying " "the call signature by substituting a literal ellipsis for the list of " @@ -232,11 +232,11 @@ msgstr "" "la signature de l'appel en indiquant des points de suspension à la liste des " "arguments dans l'indice de type : ``Callable[..., ReturnType]``." -#: library/typing.rst:175 +#: library/typing.rst:176 msgid "Generics" msgstr "Génériques" -#: library/typing.rst:177 +#: library/typing.rst:178 msgid "" "Since type information about objects kept in containers cannot be statically " "inferred in a generic way, abstract base classes have been extended to " @@ -248,7 +248,7 @@ msgstr "" "(*subscription* en anglais) et indiquer les types attendus pour les éléments " "de conteneur." -#: library/typing.rst:188 +#: library/typing.rst:189 msgid "" "Generics can be parameterized by using a new factory available in typing " "called :class:`TypeVar`." @@ -256,17 +256,17 @@ msgstr "" "Les génériques peuvent être paramétrés en utilisant une nouvelle fabrique " "(au sens des patrons de conception) disponible en tapant :class:`TypeVar`." -#: library/typing.rst:202 +#: library/typing.rst:203 msgid "User-defined generic types" msgstr "Types génériques définis par l'utilisateur" -#: library/typing.rst:204 +#: library/typing.rst:205 msgid "A user-defined class can be defined as a generic class." msgstr "" "Une classe définie par l'utilisateur peut être définie comme une classe " "générique." -#: library/typing.rst:230 +#: library/typing.rst:231 msgid "" "``Generic[T]`` as a base class defines that the class ``LoggedVar`` takes a " "single type parameter ``T`` . This also makes ``T`` valid as a type within " @@ -276,7 +276,7 @@ msgstr "" "``LoggedVar`` prend un paramètre de type unique ``T``. Ceci rend également " "``T`` valide en tant que type dans le corps de la classe." -#: library/typing.rst:234 +#: library/typing.rst:235 msgid "" "The :class:`Generic` base class defines :meth:`__class_getitem__` so that " "``LoggedVar[t]`` is valid as a type::" @@ -284,7 +284,7 @@ msgstr "" "La classe de base :class:`Generic` définit :meth:`__class_getitem__` de " "sorte que ``LoggedVar[t]`` est valide comme type ::" -#: library/typing.rst:243 +#: library/typing.rst:244 msgid "" "A generic type can have any number of type variables, and type variables may " "be constrained::" @@ -292,7 +292,7 @@ msgstr "" "Un type générique peut avoir un nombre quelconque de variables de type et " "vous pouvez fixer des contraintes sur les variables de type ::" -#: library/typing.rst:255 +#: library/typing.rst:256 msgid "" "Each type variable argument to :class:`Generic` must be distinct. This is " "thus invalid::" @@ -300,22 +300,22 @@ msgstr "" "Chaque argument de variable de type :class:`Generic` doit être distinct. " "Ceci n'est donc pas valable ::" -#: library/typing.rst:266 +#: library/typing.rst:267 msgid "You can use multiple inheritance with :class:`Generic`::" msgstr "Vous pouvez utiliser l'héritage multiple avec :class:`Generic` ::" -#: library/typing.rst:275 +#: library/typing.rst:276 msgid "" "When inheriting from generic classes, some type variables could be fixed::" msgstr "" "Lors de l'héritage de classes génériques, certaines variables de type " "peuvent être corrigées ::" -#: library/typing.rst:284 +#: library/typing.rst:285 msgid "In this case ``MyDict`` has a single parameter, ``T``." msgstr "Dans ce cas, ``MyDict`` a un seul paramètre, ``T``." -#: library/typing.rst:286 +#: library/typing.rst:287 msgid "" "Using a generic class without specifying type parameters assumes :data:`Any` " "for each position. In the following example, ``MyIterable`` is not generic " @@ -326,17 +326,17 @@ msgstr "" "``MyIterable`` n'est pas générique mais hérite implicitement de " "``Iterable[Any]`` ::" -#: library/typing.rst:294 +#: library/typing.rst:295 msgid "User defined generic type aliases are also supported. Examples::" msgstr "" "Les alias de type générique définis par l'utilisateur sont également pris en " "charge. Exemples ::" -#: library/typing.rst:310 +#: library/typing.rst:311 msgid ":class:`Generic` no longer has a custom metaclass." msgstr ":class:`Generic` n'a plus de métaclasse personnalisée." -#: library/typing.rst:313 +#: library/typing.rst:314 msgid "" "A user-defined generic class can have ABCs as base classes without a " "metaclass conflict. Generic metaclasses are not supported. The outcome of " @@ -349,11 +349,11 @@ msgstr "" "paramétrage des génériques est mis en cache et la plupart des types dans le " "module ``typing`` sont hachables et comparables pour l'égalité." -#: library/typing.rst:320 +#: library/typing.rst:321 msgid "The :data:`Any` type" msgstr "Le type :data:`Any`" -#: library/typing.rst:322 +#: library/typing.rst:323 msgid "" "A special kind of type is :data:`Any`. A static type checker will treat " "every type as being compatible with :data:`Any` and :data:`Any` as being " @@ -363,16 +363,17 @@ msgstr "" "chaque type comme étant compatible avec :data:`Any` et :data:`Any` comme " "étant compatible avec chaque type." -#: library/typing.rst:326 +#: library/typing.rst:327 +#, fuzzy msgid "" "This means that it is possible to perform any operation or method call on a " -"value of type on :data:`Any` and assign it to any variable::" +"value of type :data:`Any` and assign it to any variable::" msgstr "" "Cela signifie qu'il est possible d'effectuer n'importe quelle opération ou " "appel de méthode sur une valeur de type :data:`Any` et de l'affecter à " "n'importe quelle variable ::" -#: library/typing.rst:344 +#: library/typing.rst:345 msgid "" "Notice that no typechecking is performed when assigning a value of type :" "data:`Any` to a more precise type. For example, the static type checker did " @@ -386,7 +387,7 @@ msgstr "" "de ``a`` à ``s`` même si ``s`` était déclaré être de type :class:`str` et " "reçoit une valeur :class:`int` au moment de son exécution !" -#: library/typing.rst:350 +#: library/typing.rst:351 msgid "" "Furthermore, all functions without a return type or parameter types will " "implicitly default to using :data:`Any`::" @@ -394,7 +395,7 @@ msgstr "" "De plus, toutes les fonctions sans type de retour ni type de paramètre sont " "considérées comme utilisant :data:`Any` implicitement par défaut ::" -#: library/typing.rst:363 +#: library/typing.rst:364 msgid "" "This behavior allows :data:`Any` to be used as an *escape hatch* when you " "need to mix dynamically and statically typed code." @@ -402,7 +403,7 @@ msgstr "" "Ce comportement permet à :data:`Any` d'être utilisé comme succédané lorsque " "vous avez besoin de mélanger du code typé dynamiquement et statiquement." -#: library/typing.rst:366 +#: library/typing.rst:367 msgid "" "Contrast the behavior of :data:`Any` with the behavior of :class:`object`. " "Similar to :data:`Any`, every type is a subtype of :class:`object`. However, " @@ -414,7 +415,7 @@ msgstr "" "`object`. Cependant, contrairement à :data:`Any`, l'inverse n'est pas " "vrai : :class:`object` n'est *pas* un sous-type de chaque autre type." -#: library/typing.rst:371 +#: library/typing.rst:372 msgid "" "That means when the type of a value is :class:`object`, a type checker will " "reject almost all operations on it, and assigning it to a variable (or using " @@ -426,7 +427,7 @@ msgstr "" "l'affecter à une variable (ou l'utiliser comme une valeur de retour) d'un " "type plus spécialisé est une erreur de typage. Par exemple ::" -#: library/typing.rst:393 +#: library/typing.rst:394 msgid "" "Use :class:`object` to indicate that a value could be any type in a typesafe " "manner. Use :data:`Any` to indicate that a value is dynamically typed." @@ -435,11 +436,11 @@ msgstr "" "quel type de manière sûre. Utiliser :data:`Any` pour indiquer qu'une valeur " "est typée dynamiquement." -#: library/typing.rst:398 +#: library/typing.rst:399 msgid "Nominal vs structural subtyping" msgstr "Sous-typage nominal et sous-typage structurel" -#: library/typing.rst:400 +#: library/typing.rst:401 msgid "" "Initially :pep:`484` defined Python static type system as using *nominal " "subtyping*. This means that a class ``A`` is allowed where a class ``B`` is " @@ -450,7 +451,7 @@ msgstr "" "est permise lorsqu'une classe ``B`` est prévue si et seulement si ``A`` est " "une sous-classe de ``B``." -#: library/typing.rst:404 +#: library/typing.rst:405 msgid "" "This requirement previously also applied to abstract base classes, such as :" "class:`Iterable`. The problem with this approach is that a class had to be " @@ -465,7 +466,7 @@ msgstr "" "Python idiomatique typé dynamiquement. Par exemple, ceci est conforme à la :" "pep:`484` ::" -#: library/typing.rst:417 +#: library/typing.rst:418 msgid "" ":pep:`544` allows to solve this problem by allowing users to write the above " "code without explicit base classes in the class definition, allowing " @@ -480,7 +481,7 @@ msgstr "" "de type statique. C'est ce qu'on appelle le *sous-typage structurel* (ou " "typage canard) ::" -#: library/typing.rst:433 +#: library/typing.rst:434 msgid "" "Moreover, by subclassing a special class :class:`Protocol`, a user can " "define new custom protocols to fully enjoy structural subtyping (see " @@ -491,123 +492,228 @@ msgstr "" "pleinement du sous-typage structurel (voir exemples ci-dessous)." #: library/typing.rst:439 -msgid "Classes, functions, and decorators" -msgstr "Classes, fonctions et décorateurs" +msgid "Module contents" +msgstr "" #: library/typing.rst:441 -msgid "The module defines the following classes, functions and decorators:" +#, fuzzy +msgid "The module defines the following classes, functions and decorators." msgstr "Ce module définit les classes, fonctions et décorateurs suivants :" #: library/typing.rst:445 -msgid "Type variable." -msgstr "Variables de type." - -#: library/typing.rst:447 library/typing.rst:915 -msgid "Usage::" -msgstr "Utilisation ::" - -#: library/typing.rst:452 msgid "" -"Type variables exist primarily for the benefit of static type checkers. " -"They serve as the parameters for generic types as well as for generic " -"function definitions. See class Generic for more information on generic " -"types. Generic functions work as follows::" +"This module defines several types that are subclasses of pre-existing " +"standard library classes which also extend :class:`Generic` to support type " +"variables inside ``[]``. These types became redundant in Python 3.9 when the " +"corresponding pre-existing classes were enhanced to support ``[]``." +msgstr "" + +#: library/typing.rst:451 +msgid "" +"The redundant types are deprecated as of Python 3.9 but no deprecation " +"warnings will be issued by the interpreter. It is expected that type " +"checkers will flag the deprecated types when the checked program targets " +"Python 3.9 or newer." +msgstr "" + +#: library/typing.rst:456 +msgid "" +"The deprecated types will be removed from the :mod:`typing` module in the " +"first Python version released 5 years after the release of Python 3.9.0. See " +"details in :pep:`585`—*Type Hinting Generics In Standard Collections*." +msgstr "" + +#: library/typing.rst:462 +msgid "Special typing primitives" msgstr "" -"Les variables de type existent principalement dans l'intérêt des contrôleurs " -"de type statiques. Elles servent de paramètres pour les types génériques " -"ainsi que pour les définitions de fonctions génériques. Voir la classe " -"``Generic`` pour plus d'informations sur les types génériques. Les fonctions " -"génériques fonctionnent comme suit ::" #: library/typing.rst:465 -msgid "" -"The latter example's signature is essentially the overloading of ``(str, " -"str) -> str`` and ``(bytes, bytes) -> bytes``. Also note that if the " -"arguments are instances of some subclass of :class:`str`, the return type is " -"still plain :class:`str`." -msgstr "" -"La signature de ce dernier exemple est essentiellement la surcharge de " -"``(str, str) -> str`` et ``(bytes, bytes) -> bytes``. Notez également que si " -"les arguments sont des instances d'une sous-classe de la classe :class:" -"`str`, le type de retour est toujours la classe :class:`str`." +#, fuzzy +msgid "Special types" +msgstr "Type « optionnel »." -#: library/typing.rst:470 -msgid "" -"At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`. In general, :" -"func:`isinstance` and :func:`issubclass` should not be used with types." +#: library/typing.rst:467 +msgid "These can be used as types in annotations and do not support ``[]``." msgstr "" -"Au moment de l'exécution, ``isinstance(x, T)`` va lever :exc:`TypeError`. En " -"général, :func:`isinstance` et :func:`issubclass` ne devraient pas être " -"utilisés avec les types." + +#: library/typing.rst:471 +msgid "Special type indicating an unconstrained type." +msgstr "Type spécial indiquant un type non contraint." #: library/typing.rst:473 -msgid "" -"Type variables may be marked covariant or contravariant by passing " -"``covariant=True`` or ``contravariant=True``. See :pep:`484` for more " -"details. By default type variables are invariant. Alternatively, a type " -"variable may specify an upper bound using ``bound=``. This means that " -"an actual type substituted (explicitly or implicitly) for the type variable " -"must be a subclass of the boundary type, see :pep:`484`." +msgid "Every type is compatible with :data:`Any`." +msgstr "Chaque type est compatible avec :data:`Any`." + +#: library/typing.rst:474 +msgid ":data:`Any` is compatible with every type." +msgstr ":data:`Any` est compatible avec tous les types." + +#: library/typing.rst:478 +msgid "Special type indicating that a function never returns. For example::" +msgstr "Type spécial indiquant qu'une fonction ne renvoie rien. Par exemple ::" + +#: library/typing.rst:490 +msgid "Special forms" msgstr "" -"Les variables de type peuvent être marquées covariantes ou contravariantes " -"en passant ``covariant=True`` ou ``contravariant=True``. Voir la :pep:`484` " -"pour plus de détails. Par défaut, les variables de type sont invariantes. " -"Sinon, une variable de type peut spécifier une limite supérieure en " -"utilisant ``bound=``. Cela signifie qu'un type réel substitué " -"(explicitement ou implicitement) à la variable type doit être une sous-" -"classe du type frontière (*boundary* en anglais), voir la :pep:`484`." -#: library/typing.rst:483 -msgid "Abstract base class for generic types." -msgstr "Classe de base abstraite pour les types génériques." - -#: library/typing.rst:485 +#: library/typing.rst:492 msgid "" -"A generic type is typically declared by inheriting from an instantiation of " -"this class with one or more type variables. For example, a generic mapping " -"type might be defined as::" +"These can be used as types in annotations using ``[]``, each having a unique " +"syntax." msgstr "" -"Un type générique est généralement déclaré en héritant d'une instanciation " -"de cette classe avec une ou plusieurs variables de type. Par exemple, un " -"type de correspondance générique peut être défini comme suit ::" -#: library/typing.rst:494 -msgid "This class can then be used as follows::" -msgstr "Cette classe peut alors être utilisée comme suit ::" - -#: library/typing.rst:507 +#: library/typing.rst:496 msgid "" -"Base class for protocol classes. Protocol classes are defined like this::" +"Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the " +"first item of type X and the second of type Y. The type of the empty tuple " +"can be written as ``Tuple[()]``." +msgstr "" +"Type « n-uplet » ; ``Tuple[X, Y]`` est le type d'un n-uplet à deux éléments " +"avec le premier élément de type X et le second de type Y. Le type du n-uplet " +"vide peut être écrit comme ``Tuple[()]``." + +#: library/typing.rst:500 +msgid "" +"Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type " +"variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a " +"float and a string." +msgstr "" +"Exemple : ``Tuple[T1, T2]`` est une paire correspondant aux variables de " +"type ``T1`` et ``T2``. ``Tuple[int, float, str]`` est un triplet composé " +"d'un entier, d'un flottant et d'une chaîne de caractères." + +#: library/typing.rst:504 +msgid "" +"To specify a variable-length tuple of homogeneous type, use literal " +"ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " +"``Tuple[Any, ...]``, and in turn to :class:`tuple`." +msgstr "" +"Pour spécifier un n-uplet de longueur variable et de type homogène, utilisez " +"une ellipse, par exemple ``Tuple[int, ....]``. Un n-uplet :data:`Tuple` est " +"équivalent à ``Tuple[Any, ....]`` et, à son tour, à :class:`tuple`." + +#: library/typing.rst:508 +msgid ":class:`builtins.tuple ` now supports ``[]``. See :pep:`585`." msgstr "" -"Classe de base pour les classes de protocole. Les classes de protocole sont " -"définies comme suit ::" #: library/typing.rst:513 -msgid "" -"Such classes are primarily used with static type checkers that recognize " -"structural subtyping (static duck-typing), for example::" +msgid "Union type; ``Union[X, Y]`` means either X or Y." +msgstr "Type « union » ; ``Union[X, Y]`` signifie X ou Y." + +#: library/typing.rst:515 +msgid "To define a union, use e.g. ``Union[int, str]``. Details:" msgstr "" -"Ces classes sont principalement utilisées avec les vérificateurs statiques " -"de type qui reconnaissent les sous-types structurels (typage canard " -"statique), par exemple ::" +"Pour définir une union, utilisez par exemple ``Union[int, str]``. Détail :" -#: library/typing.rst:525 -msgid "" -"See :pep:`544` for details. Protocol classes decorated with :func:" -"`runtime_checkable` (described later) act as simple-minded runtime protocols " -"that check only the presence of given attributes, ignoring their type " -"signatures." +#: library/typing.rst:517 +msgid "The arguments must be types and there must be at least one." msgstr "" -"Voir la :pep:`544` pour plus de détails. Les classes de protocole décorées " -"avec :func:`runtime_checkable` (décrite plus loin) agissent comme des " -"protocoles d'exécution simples qui ne vérifient que la présence d'attributs " -"donnés, ignorant leurs signatures de type." +"Les arguments doivent être des types et il doit y en avoir au moins un." -#: library/typing.rst:530 -msgid "Protocol classes can be generic, for example::" -msgstr "Les classes de protocole peuvent être génériques, par exemple ::" +#: library/typing.rst:519 +msgid "Unions of unions are flattened, e.g.::" +msgstr "Les unions d'unions sont aplanies, par exemple ::" -#: library/typing.rst:540 +#: library/typing.rst:523 +msgid "Unions of a single argument vanish, e.g.::" +msgstr "Les unions d'un seul argument disparaissent, par exemple ::" + +#: library/typing.rst:527 +msgid "Redundant arguments are skipped, e.g.::" +msgstr "Les arguments redondants sont ignorés, par exemple ::" + +#: library/typing.rst:531 +msgid "When comparing unions, the argument order is ignored, e.g.::" +msgstr "" +"Lors de la comparaison d'unions, l'ordre des arguments est ignoré, par " +"exemple ::" + +#: library/typing.rst:535 +msgid "You cannot subclass or instantiate a union." +msgstr "Vous ne pouvez pas sous-classer ou instancier une union." + +#: library/typing.rst:537 +msgid "You cannot write ``Union[X][Y]``." +msgstr "Vous ne pouvez pas écrire ``Union[X][Y]``." + +#: library/typing.rst:539 +msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``." +msgstr "" +"Vous pouvez utiliser l'abréviation ``Optional[X]`` pour ``Union[X, None]``." + +#: library/typing.rst:541 +msgid "Don't remove explicit subclasses from unions at runtime." +msgstr "Ne supprime pas les sous-classes explicites des unions à l'exécution." + +#: library/typing.rst:546 +msgid "Optional type." +msgstr "Type « optionnel »." + +#: library/typing.rst:548 +msgid "``Optional[X]`` is equivalent to ``Union[X, None]``." +msgstr "``Optional[X]`` équivaut à ``Union[X, None]``." + +#: library/typing.rst:550 +msgid "" +"Note that this is not the same concept as an optional argument, which is one " +"that has a default. An optional argument with a default does not require " +"the ``Optional`` qualifier on its type annotation just because it is " +"optional. For example::" +msgstr "" +"Notez que ce n'est pas le même concept qu'un argument optionnel, qui est un " +"argument qui possède une valeur par défaut. Un argument optionnel (qui a une " +"valeur par défaut) ne nécessite pas, à ce titre, le qualificatif " +"``Optional`` sur son annotation de type. Par exemple ::" + +#: library/typing.rst:558 +msgid "" +"On the other hand, if an explicit value of ``None`` is allowed, the use of " +"``Optional`` is appropriate, whether the argument is optional or not. For " +"example::" +msgstr "" +"Par contre, si une valeur explicite de ``None`` est permise, l'utilisation " +"de ``Optional`` est appropriée, que l'argument soit facultatif ou non. Par " +"exemple ::" + +#: library/typing.rst:567 +msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." +msgstr "" +"Type Appelable. ``Callable[[int], str]`` est une fonction de type ``(int) -> " +"str``." + +#: library/typing.rst:569 +msgid "" +"The subscription syntax must always be used with exactly two values: the " +"argument list and the return type. The argument list must be a list of " +"types or an ellipsis; the return type must be a single type." +msgstr "" +"La syntaxe de sélection (*subscription* en anglais) doit toujours être " +"utilisée avec exactement deux valeurs : la liste d'arguments et le type de " +"retour. La liste d'arguments doit être une liste de types ou une ellipse ; " +"il doit y avoir un seul type de retour." + +#: library/typing.rst:574 +msgid "" +"There is no syntax to indicate optional or keyword arguments; such function " +"types are rarely used as callback types. ``Callable[..., ReturnType]`` " +"(literal ellipsis) can be used to type hint a callable taking any number of " +"arguments and returning ``ReturnType``. A plain :data:`Callable` is " +"equivalent to ``Callable[..., Any]``, and in turn to :class:`collections.abc." +"Callable`." +msgstr "" +"Il n'y a pas de syntaxe pour indiquer les arguments optionnels ou les " +"arguments par mots-clés ; de tels types de fonctions sont rarement utilisés " +"comme types de rappel. ``Callable[..., ReturnType]`` (ellipse) peut être " +"utilisé pour annoter le type d'un appelable, prenant un nombre quelconque " +"d'arguments et renvoyant ``ReturnType``. Un simple :data:`Callable` est " +"équivalent à ``Callable[..., Any]`` et, à son tour, à :class:`collections." +"abc.Callable`." + +#: library/typing.rst:582 +msgid ":class:`collections.abc.Callable` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:587 msgid "" "A variable annotated with ``C`` may accept a value of type ``C``. In " "contrast, a variable annotated with ``Type[C]`` may accept values that are " @@ -619,11 +725,11 @@ msgstr "" "qui sont elles-mêmes des classes — plus précisément, elle accepte l'objet " "*class* de ``C``. Par exemple ::" -#: library/typing.rst:549 +#: library/typing.rst:596 msgid "Note that ``Type[C]`` is covariant::" msgstr "Notez que ``Type[C]`` est covariant ::" -#: library/typing.rst:561 +#: library/typing.rst:608 msgid "" "The fact that ``Type[C]`` is covariant implies that all subclasses of ``C`` " "should implement the same constructor signature and class method signatures " @@ -641,7 +747,7 @@ msgstr "" "de type est tenu de traiter ce cas particulier peut changer dans les futures " "révisions de :pep:`484`." -#: library/typing.rst:569 +#: library/typing.rst:616 msgid "" "The only legal parameters for :class:`Type` are classes, :data:`Any`, :ref:" "`type variables `, and unions of any of these types. For example::" @@ -650,7 +756,7 @@ msgstr "" "`Any`, :ref:`type variables `, et les unions de ces types. Par " "exemple ::" -#: library/typing.rst:575 +#: library/typing.rst:622 msgid "" "``Type[Any]`` is equivalent to ``Type`` which in turn is equivalent to " "``type``, which is the root of Python's metaclass hierarchy." @@ -658,359 +764,371 @@ msgstr "" "``Type[Any]`` est équivalent à ``Type`` qui à son tour est équivalent à " "``type``, qui est la racine de la hiérarchie des métaclasses de Python." -#: library/typing.rst:582 -msgid "A generic version of :class:`collections.abc.Iterable`." -msgstr "Une version générique de :class:`collections.abc.Iterable`." - -#: library/typing.rst:586 -msgid "A generic version of :class:`collections.abc.Iterator`." -msgstr "Une version générique de :class:`collections.abc.Iterator`." - -#: library/typing.rst:590 -msgid "A generic version of :class:`collections.abc.Reversible`." -msgstr "Une version générique de :class:`collections.abc.Reversible`." - -#: library/typing.rst:594 -msgid "An ABC with one abstract method ``__int__``." -msgstr "Une ABC avec une méthode abstraite ``__int__``." - -#: library/typing.rst:598 -msgid "An ABC with one abstract method ``__float__``." -msgstr "Une ABC avec une méthode abstraite ``__float__``." - -#: library/typing.rst:602 -msgid "An ABC with one abstract method ``__complex__``." -msgstr "Une ABC avec une méthode abstraite ``__complex__``." - -#: library/typing.rst:606 -msgid "An ABC with one abstract method ``__bytes__``." -msgstr "Une ABC avec une méthode abstraite ``__bytes__``." - -#: library/typing.rst:610 -msgid "An ABC with one abstract method ``__index__``." -msgstr "Une ABC avec une méthode abstraite ``__index__``." - -#: library/typing.rst:616 -msgid "" -"An ABC with one abstract method ``__abs__`` that is covariant in its return " -"type." +#: library/typing.rst:627 +msgid ":class:`builtins.type ` now supports ``[]``. See :pep:`585`." msgstr "" -"Une ABC avec une méthode abstraite ``__abs__`` qui est covariante dans son " -"type de retour." -#: library/typing.rst:621 +#: library/typing.rst:632 msgid "" -"An ABC with one abstract method ``__round__`` that is covariant in its " -"return type." +"A type that can be used to indicate to type checkers that the corresponding " +"variable or function parameter has a value equivalent to the provided " +"literal (or one of several literals). For example::" msgstr "" -"Une ABC avec une méthode abstraite ``__round__`` qui est covariante dans son " -"type de retour." +"Type pour indiquer aux vérificateurs de type que la variable ou le paramètre " +"de fonction correspondant a une valeur équivalente au littéral fourni (ou un " +"parmi plusieurs littéraux). Par exemple ::" -#: library/typing.rst:626 -msgid "A generic version of :class:`collections.abc.Container`." -msgstr "Une version générique de :class:`collections.abc.Container`." - -#: library/typing.rst:630 -msgid "An alias to :class:`collections.abc.Hashable`" -msgstr "Un alias pour :class:`collections.abc.Hashable`" - -#: library/typing.rst:634 -msgid "An alias to :class:`collections.abc.Sized`" -msgstr "Un alias pour :class:`collections.abc.Sized`" - -#: library/typing.rst:638 -msgid "A generic version of :class:`collections.abc.Collection`" -msgstr "Une version générique de :class:`collections.abc.Collection`" - -#: library/typing.rst:644 -msgid "A generic version of :class:`collections.abc.Set`." -msgstr "Une version générique de :class:`collections.abc.Set`." - -#: library/typing.rst:648 -msgid "A generic version of :class:`collections.abc.MutableSet`." -msgstr "Une version générique de :class:`collections.abc.MutableSet`." - -#: library/typing.rst:652 +#: library/typing.rst:646 msgid "" -"A generic version of :class:`collections.abc.Mapping`. This type can be used " -"as follows::" +"``Literal[...]`` cannot be subclassed. At runtime, an arbitrary value is " +"allowed as type argument to ``Literal[...]``, but type checkers may impose " +"restrictions. See :pep:`586` for more details about literal types." msgstr "" -"Une version générique de :class:`collections.abc.Mapping`. Ce type peut être " -"utilisé comme suit ::" +"``Literal[...]`` ne peut être sous-classé. Lors de l'exécution, une valeur " +"arbitraire est autorisée comme argument de type pour ``Literal[...]``, mais " +"les vérificateurs de type peuvent imposer des restrictions. Voir la :pep:" +"`586` pour plus de détails sur les types littéraux." -#: library/typing.rst:660 -msgid "A generic version of :class:`collections.abc.MutableMapping`." -msgstr "Une version générique de :class:`collections.abc.MutableMapping`." +#: library/typing.rst:654 +msgid "Special type construct to mark class variables." +msgstr "" +"Construction de type particulière pour indiquer les variables de classe." + +#: library/typing.rst:656 +msgid "" +"As introduced in :pep:`526`, a variable annotation wrapped in ClassVar " +"indicates that a given attribute is intended to be used as a class variable " +"and should not be set on instances of that class. Usage::" +msgstr "" +"Telle qu'introduite dans la :pep:`526`, une annotation de variable " +"enveloppée dans ClassVar indique qu'un attribut donné est destiné à être " +"utilisé comme une variable de classe et ne doit pas être défini sur des " +"instances de cette classe. Utilisation ::" #: library/typing.rst:664 -msgid "A generic version of :class:`collections.abc.Sequence`." -msgstr "Une version générique de :class:`collections.abc.Sequence`." +msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." +msgstr ":data:`ClassVar` n'accepte que les types et ne peut plus être dérivé." -#: library/typing.rst:668 -msgid "A generic version of :class:`collections.abc.MutableSequence`." -msgstr "Une version générique de :class:`collections.abc.MutableSequence`." - -#: library/typing.rst:672 -msgid "A generic version of :class:`collections.abc.ByteString`." -msgstr "Une version générique de :class:`collections.abc.ByteString`." - -#: library/typing.rst:674 -#, fuzzy +#: library/typing.rst:666 msgid "" -"This type represents the types :class:`bytes`, :class:`bytearray`, and :" -"class:`memoryview` of byte sequences." +":data:`ClassVar` is not a class itself, and should not be used with :func:" +"`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python " +"runtime behavior, but it can be used by third-party type checkers. For " +"example, a type checker might flag the following code as an error::" msgstr "" -"Ce type représente les types :class:`bytes`, :class:`bytearray` et :class:" -"`memoryview`." +":data:`ClassVar` n'est pas une classe en soi, et ne devrait pas être " +"utilisée avec :func:`isinstance` ou :func:`issubclass`. :data:`ClassVar` ne " +"modifie pas le comportement d'exécution Python, mais il peut être utilisé " +"par des vérificateurs tiers. Par exemple, un vérificateur de type peut " +"marquer le code suivant comme une erreur ::" -#: library/typing.rst:677 +#: library/typing.rst:680 msgid "" -"As a shorthand for this type, :class:`bytes` can be used to annotate " -"arguments of any of the types mentioned above." +"A special typing construct to indicate to type checkers that a name cannot " +"be re-assigned or overridden in a subclass. For example::" msgstr "" -"Comme abréviation pour ce type, :class:`bytes` peut être utilisé pour " -"annoter des arguments de n'importe quel type mentionné ci-dessus." +"Construction de type particulière pour indiquer aux vérificateurs de type " +"qu'un nom ne peut pas être réassigné ou remplacé dans une sous-classe. Par " +"exemple ::" -#: library/typing.rst:682 -msgid "A generic version of :class:`collections.deque`." -msgstr "Une version générique de :class:`collections.deque`." - -#: library/typing.rst:689 +#: library/typing.rst:692 library/typing.rst:1570 msgid "" -"Generic version of :class:`list`. Useful for annotating return types. To " -"annotate arguments it is preferred to use an abstract collection type such " -"as :class:`Sequence` or :class:`Iterable`." +"There is no runtime checking of these properties. See :pep:`591` for more " +"details." msgstr "" -"Version générique de :class:`list`. Utile pour annoter les types de retour. " -"Pour annoter les arguments, il est préférable d'utiliser un type de " -"collection abstraite tel que :class:`Sequence` ou :class:`Iterable`." +"Ces propriétés ne sont pas vérifiées à l'exécution. Voir la :pep:`591` pour " +"plus de détails." -#: library/typing.rst:694 -msgid "This type may be used as follows::" -msgstr "Ce type peut être utilisé comme suit ::" - -#: library/typing.rst:706 +#: library/typing.rst:699 msgid "" -"A generic version of :class:`builtins.set `. Useful for annotating " -"return types. To annotate arguments it is preferred to use an abstract " -"collection type such as :class:`AbstractSet`." +"A type, introduced in :pep:`593` (``Flexible function and variable " +"annotations``), to decorate existing types with context-specific metadata " +"(possibly multiple pieces of it, as ``Annotated`` is variadic). " +"Specifically, a type ``T`` can be annotated with metadata ``x`` via the " +"typehint ``Annotated[T, x]``. This metadata can be used for either static " +"analysis or at runtime. If a library (or tool) encounters a typehint " +"``Annotated[T, x]`` and has no special logic for metadata ``x``, it should " +"ignore it and simply treat the type as ``T``. Unlike the ``no_type_check`` " +"functionality that currently exists in the ``typing`` module which " +"completely disables typechecking annotations on a function or a class, the " +"``Annotated`` type allows for both static typechecking of ``T`` (e.g., via " +"mypy or Pyre, which can safely ignore ``x``) together with runtime access to " +"``x`` within a specific application." msgstr "" -"Une version générique de :class:`builtins.set `. Utile pour annoter les " -"types de retour. Pour annoter les arguments, il est préférable d'utiliser un " -"type de collection abstraite tel que :class:`AbstractSet`." -#: library/typing.rst:712 -msgid "A generic version of :class:`builtins.frozenset `." -msgstr "Une version générique de :class:`builtins.frozenset `." - -#: library/typing.rst:716 -msgid "A generic version of :class:`collections.abc.MappingView`." -msgstr "Une version générique de :class:`collections.abc.MappingView`." - -#: library/typing.rst:720 -msgid "A generic version of :class:`collections.abc.KeysView`." -msgstr "Une version générique de :class:`collections.abc.KeysView`." - -#: library/typing.rst:724 -msgid "A generic version of :class:`collections.abc.ItemsView`." -msgstr "Une version générique de :class:`collections.abc.ItemsView`." - -#: library/typing.rst:728 -msgid "A generic version of :class:`collections.abc.ValuesView`." -msgstr "Une version générique de :class:`collections.abc.ValuesView`." - -#: library/typing.rst:732 -msgid "A generic version of :class:`collections.abc.Awaitable`." -msgstr "Une version générique de :class:`collections.abc.Awaitable`." - -#: library/typing.rst:738 +#: library/typing.rst:713 msgid "" -"A generic version of :class:`collections.abc.Coroutine`. The variance and " -"order of type variables correspond to those of :class:`Generator`, for " -"example::" +"Ultimately, the responsibility of how to interpret the annotations (if at " +"all) is the responsibility of the tool or library encountering the " +"``Annotated`` type. A tool or library encountering an ``Annotated`` type can " +"scan through the annotations to determine if they are of interest (e.g., " +"using ``isinstance()``)." msgstr "" -"Une version générique de :class:`collections.abc.Coroutine`. La variance et " -"l'ordre des variables de type correspondent à ceux de la classe :class:" -"`Generator`, par exemple ::" -#: library/typing.rst:753 -msgid "A generic version of :class:`collections.abc.AsyncIterable`." -msgstr "Une version générique de :class:`collections.abc.AsyncIterable`." +#: library/typing.rst:719 +msgid "" +"When a tool or a library does not support annotations or encounters an " +"unknown annotation it should just ignore it and treat annotated type as the " +"underlying type." +msgstr "" -#: library/typing.rst:759 -msgid "A generic version of :class:`collections.abc.AsyncIterator`." -msgstr "Une version générique de :class:`collections.abc.AsyncIterator`." +#: library/typing.rst:723 +msgid "" +"It's up to the tool consuming the annotations to decide whether the client " +"is allowed to have several annotations on one type and how to merge those " +"annotations." +msgstr "" + +#: library/typing.rst:727 +msgid "" +"Since the ``Annotated`` type allows you to put several annotations of the " +"same (or different) type(s) on any node, the tools or libraries consuming " +"those annotations are in charge of dealing with potential duplicates. For " +"example, if you are doing value range analysis you might allow this::" +msgstr "" + +#: library/typing.rst:736 +msgid "" +"Passing ``include_extras=True`` to :func:`get_type_hints` lets one access " +"the extra annotations at runtime." +msgstr "" + +#: library/typing.rst:739 +msgid "The details of the syntax:" +msgstr "" + +#: library/typing.rst:741 +msgid "The first argument to ``Annotated`` must be a valid type" +msgstr "" + +#: library/typing.rst:743 +msgid "" +"Multiple type annotations are supported (``Annotated`` supports variadic " +"arguments)::" +msgstr "" + +#: library/typing.rst:748 +msgid "" +"``Annotated`` must be called with at least two arguments " +"( ``Annotated[int]`` is not valid)" +msgstr "" + +#: library/typing.rst:751 +msgid "" +"The order of the annotations is preserved and matters for equality checks::" +msgstr "" + +#: library/typing.rst:758 +msgid "" +"Nested ``Annotated`` types are flattened, with metadata ordered starting " +"with the innermost annotation::" +msgstr "" #: library/typing.rst:765 -msgid "A generic version of :class:`contextlib.AbstractContextManager`." -msgstr "Une version générique de :class:`contextlib.AbstractContextManager`." - -#: library/typing.rst:772 -msgid "A generic version of :class:`contextlib.AbstractAsyncContextManager`." +msgid "Duplicated annotations are not removed::" msgstr "" -"Une version générique de :class:`contextlib.AbstractAsyncContextManager`." -#: library/typing.rst:779 +#: library/typing.rst:771 +msgid "``Annotated`` can be used with nested and generic aliases::" +msgstr "" + +#: library/typing.rst:782 +#, fuzzy +msgid "Building generic types" +msgstr "Types génériques définis par l'utilisateur" + +#: library/typing.rst:784 msgid "" -"A generic version of :class:`dict`. Useful for annotating return types. To " -"annotate arguments it is preferred to use an abstract collection type such " -"as :class:`Mapping`." +"These are not used in annotations. They are building blocks for creating " +"generic types." msgstr "" -"Une version générique de :class:`dict`. Utile pour annoter les types de " -"retour. Pour annoter les arguments, il est préférable d'utiliser un type de " -"collection abstraite tel que :class:`Mapping`." -#: library/typing.rst:783 -msgid "This type can be used as follows::" -msgstr "Ce type peut être utilisé comme suit ::" +#: library/typing.rst:788 +msgid "Abstract base class for generic types." +msgstr "Classe de base abstraite pour les types génériques." #: library/typing.rst:790 -msgid "A generic version of :class:`collections.defaultdict`." -msgstr "Une version générique de :class:`collections.defaultdict`." - -#: library/typing.rst:796 -msgid "A generic version of :class:`collections.OrderedDict`." -msgstr "Une version générique de :class:`collections.OrderedDict`." - -#: library/typing.rst:802 -msgid "A generic version of :class:`collections.Counter`." -msgstr "Une version générique de :class:`collections.Counter`." - -#: library/typing.rst:809 -msgid "A generic version of :class:`collections.ChainMap`." -msgstr "Une version générique de :class:`collections.ChainMap`." - -#: library/typing.rst:816 msgid "" -"A generator can be annotated by the generic type ``Generator[YieldType, " -"SendType, ReturnType]``. For example::" +"A generic type is typically declared by inheriting from an instantiation of " +"this class with one or more type variables. For example, a generic mapping " +"type might be defined as::" msgstr "" -"Un générateur peut être annoté par le type générique ``Generator[YieldType, " -"SendType, ReturnType]``. Par exemple ::" +"Un type générique est généralement déclaré en héritant d'une instanciation " +"de cette classe avec une ou plusieurs variables de type. Par exemple, un " +"type de correspondance générique peut être défini comme suit ::" -#: library/typing.rst:825 -msgid "" -"Note that unlike many other generics in the typing module, the ``SendType`` " -"of :class:`Generator` behaves contravariantly, not covariantly or " -"invariantly." -msgstr "" -"Notez que contrairement à beaucoup d'autres génériques dans le module " -"*typing*, le ``SendType`` de :class:`Generator` se comporte de manière " -"contravariante, pas de manière covariante ou invariante." +#: library/typing.rst:799 +msgid "This class can then be used as follows::" +msgstr "Cette classe peut alors être utilisée comme suit ::" -#: library/typing.rst:829 +#: library/typing.rst:812 +msgid "Type variable." +msgstr "Variables de type." + +#: library/typing.rst:814 library/typing.rst:930 +msgid "Usage::" +msgstr "Utilisation ::" + +#: library/typing.rst:819 msgid "" -"If your generator will only yield values, set the ``SendType`` and " -"``ReturnType`` to ``None``::" +"Type variables exist primarily for the benefit of static type checkers. " +"They serve as the parameters for generic types as well as for generic " +"function definitions. See class Generic for more information on generic " +"types. Generic functions work as follows::" msgstr "" -"Si votre générateur ne donne que des valeurs, réglez les paramètres " -"``SendType`` et ``ReturnType`` sur ``None`` ::" +"Les variables de type existent principalement dans l'intérêt des contrôleurs " +"de type statiques. Elles servent de paramètres pour les types génériques " +"ainsi que pour les définitions de fonctions génériques. Voir la classe " +"``Generic`` pour plus d'informations sur les types génériques. Les fonctions " +"génériques fonctionnent comme suit ::" + +#: library/typing.rst:832 +msgid "" +"The latter example's signature is essentially the overloading of ``(str, " +"str) -> str`` and ``(bytes, bytes) -> bytes``. Also note that if the " +"arguments are instances of some subclass of :class:`str`, the return type is " +"still plain :class:`str`." +msgstr "" +"La signature de ce dernier exemple est essentiellement la surcharge de " +"``(str, str) -> str`` et ``(bytes, bytes) -> bytes``. Notez également que si " +"les arguments sont des instances d'une sous-classe de la classe :class:" +"`str`, le type de retour est toujours la classe :class:`str`." #: library/typing.rst:837 msgid "" -"Alternatively, annotate your generator as having a return type of either " -"``Iterable[YieldType]`` or ``Iterator[YieldType]``::" +"At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`. In general, :" +"func:`isinstance` and :func:`issubclass` should not be used with types." msgstr "" -"Alternativement, annotez votre générateur comme ayant un type de retour soit " -"``Iterable[YieldType]`` ou ``Iterator[YieldType]`` ::" +"Au moment de l'exécution, ``isinstance(x, T)`` va lever :exc:`TypeError`. En " +"général, :func:`isinstance` et :func:`issubclass` ne devraient pas être " +"utilisés avec les types." -#: library/typing.rst:847 +#: library/typing.rst:840 msgid "" -"An async generator can be annotated by the generic type " -"``AsyncGenerator[YieldType, SendType]``. For example::" +"Type variables may be marked covariant or contravariant by passing " +"``covariant=True`` or ``contravariant=True``. See :pep:`484` for more " +"details. By default type variables are invariant. Alternatively, a type " +"variable may specify an upper bound using ``bound=``. This means that " +"an actual type substituted (explicitly or implicitly) for the type variable " +"must be a subclass of the boundary type, see :pep:`484`." msgstr "" -"Un générateur asynchrone peut être annoté par le type générique " -"``AsyncGenerator[YieldType, SendType]``. Par exemple ::" +"Les variables de type peuvent être marquées covariantes ou contravariantes " +"en passant ``covariant=True`` ou ``contravariant=True``. Voir la :pep:`484` " +"pour plus de détails. Par défaut, les variables de type sont invariantes. " +"Sinon, une variable de type peut spécifier une limite supérieure en " +"utilisant ``bound=``. Cela signifie qu'un type réel substitué " +"(explicitement ou implicitement) à la variable type doit être une sous-" +"classe du type frontière (*boundary* en anglais), voir la :pep:`484`." -#: library/typing.rst:856 +#: library/typing.rst:850 msgid "" -"Unlike normal generators, async generators cannot return a value, so there " -"is no ``ReturnType`` type parameter. As with :class:`Generator`, the " -"``SendType`` behaves contravariantly." +"``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, " +"bytes)``." msgstr "" -"Contrairement aux générateurs normaux, les générateurs asynchrones ne " -"peuvent pas renvoyer une valeur, il n'y a donc pas de paramètre de type " -"``ReturnType``. Comme avec :class:`Generator`, le ``SendType`` se comporte " -"de manière contravariante." +"``AnyStr`` est une variable de type définie comme ``AnyStr = " +"TypeVar('AnyStr', str, bytes)``." -#: library/typing.rst:860 +#: library/typing.rst:853 msgid "" -"If your generator will only yield values, set the ``SendType`` to ``None``::" +"It is meant to be used for functions that may accept any kind of string " +"without allowing different kinds of strings to mix. For example::" msgstr "" -"Si votre générateur ne donne que des valeurs, réglez le paramètre " -"``SendType`` sur ``None`` ::" +"Cela est destiné à être utilisé pour des fonctions qui peuvent accepter " +"n'importe quel type de chaîne de caractères sans permettre à différents " +"types de chaînes de caractères de se mélanger. Par exemple ::" -#: library/typing.rst:868 +#: library/typing.rst:865 msgid "" -"Alternatively, annotate your generator as having a return type of either " -"``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" +"Base class for protocol classes. Protocol classes are defined like this::" msgstr "" -"Alternativement, annotez votre générateur comme ayant un type de retour soit " -"``AsyncIterable[YieldType]`` ou ``AsyncIterator[YieldType]`` ::" +"Classe de base pour les classes de protocole. Les classes de protocole sont " +"définies comme suit ::" -#: library/typing.rst:880 +#: library/typing.rst:871 msgid "" -"``Text`` is an alias for ``str``. It is provided to supply a forward " -"compatible path for Python 2 code: in Python 2, ``Text`` is an alias for " -"``unicode``." +"Such classes are primarily used with static type checkers that recognize " +"structural subtyping (static duck-typing), for example::" msgstr "" -"``Text`` est un alias pour ``str``. Il est fourni pour obtenir une " -"compatibilité ascendante du code Python 2 : en Python 2, ``Text`` est un " -"alias pour ``unicode``." +"Ces classes sont principalement utilisées avec les vérificateurs statiques " +"de type qui reconnaissent les sous-types structurels (typage canard " +"statique), par exemple ::" -#: library/typing.rst:884 +#: library/typing.rst:883 msgid "" -"Use ``Text`` to indicate that a value must contain a unicode string in a " -"manner that is compatible with both Python 2 and Python 3::" +"See :pep:`544` for details. Protocol classes decorated with :func:" +"`runtime_checkable` (described later) act as simple-minded runtime protocols " +"that check only the presence of given attributes, ignoring their type " +"signatures." msgstr "" -"Utilisez ``Text`` pour indiquer qu'une valeur doit contenir une chaîne " -"Unicode d'une manière compatible avec Python 2 et Python 3 ::" +"Voir la :pep:`544` pour plus de détails. Les classes de protocole décorées " +"avec :func:`runtime_checkable` (décrite plus loin) agissent comme des " +"protocoles d'exécution simples qui ne vérifient que la présence d'attributs " +"donnés, ignorant leurs signatures de type." -#: library/typing.rst:896 -msgid "" -"Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " -"``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned " -"by :func:`open`." -msgstr "" -"Le type générique ``IO[AnyStr]`` et ses sous-classes ``TextIO(IO[str])`` et " -"``BinaryIO(IO[bytes])`` représentent les types de flux d'entrées-sorties " -"tels que renvoyés par :func:`open`." +#: library/typing.rst:888 +msgid "Protocol classes can be generic, for example::" +msgstr "Les classes de protocole peuvent être génériques, par exemple ::" -#: library/typing.rst:904 +#: library/typing.rst:898 +msgid "Mark a protocol class as a runtime protocol." +msgstr "Marquez une classe de protocole comme protocole d'exécution." + +#: library/typing.rst:900 msgid "" -"These type aliases correspond to the return types from :func:`re.compile` " -"and :func:`re.match`. These types (and the corresponding functions) are " -"generic in ``AnyStr`` and can be made specific by writing ``Pattern[str]``, " -"``Pattern[bytes]``, ``Match[str]``, or ``Match[bytes]``." +"Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. " +"This raises :exc:`TypeError` when applied to a non-protocol class. This " +"allows a simple-minded structural check, very similar to \"one trick ponies" +"\" in :mod:`collections.abc` such as :class:`Iterable`. For example::" msgstr "" -"Ces alias de type correspondent aux types de retour de :func:`re.compile` " -"et :func:`re.match`. Ces types (et les fonctions correspondantes) sont " -"génériques dans ``AnyStr`` et peuvent être rendus spécifiques en écrivant " -"``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]`` ou ``Match[bytes]``." +"Un tel protocole peut être utilisé avec :func:`isinstance` et :func:" +"`issubclass`. Cela lève :exc:`TypeError` lorsqu'il est appliqué à une classe " +"non protocole. Cela permet un contrôle structurel compréhensible, très " +"similaire aux « classes qui ne savent faire qu'une chose » présentes dans :" +"mod:`collections.abc` tel que :class:`Iterable`. Par exemple ::" #: library/typing.rst:913 +msgid "" +":func:`runtime_checkable` will check only the presence of the required " +"methods, not their type signatures! For example, :class:`builtins.complex " +"` implements :func:`__float__`, therefore it passes an :func:" +"`issubclass` check against :class:`SupportsFloat`. However, the ``complex." +"__float__`` method exists only to raise a :class:`TypeError` with a more " +"informative message." +msgstr "" + +#: library/typing.rst:922 +msgid "Other special directives" +msgstr "" + +#: library/typing.rst:924 +msgid "" +"These are not used in annotations. They are building blocks for declaring " +"types." +msgstr "" + +#: library/typing.rst:928 msgid "Typed version of :func:`collections.namedtuple`." msgstr "Version typée de :func:`collections.namedtuple`." -#: library/typing.rst:921 +#: library/typing.rst:936 msgid "This is equivalent to::" msgstr "Ce qui est équivalent à ::" -#: library/typing.rst:925 +#: library/typing.rst:940 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" "Pour assigner une valeur par défaut à un champ, vous pouvez lui donner dans " "le corps de classe ::" -#: library/typing.rst:934 +#: library/typing.rst:949 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" "Les champs avec une valeur par défaut doivent venir après tous les champs " "sans valeur par défaut." -#: library/typing.rst:936 +#: library/typing.rst:951 msgid "" "The resulting class has an extra attribute ``__annotations__`` giving a dict " "that maps the field names to the field types. (The field names are in the " @@ -1023,28 +1141,28 @@ msgstr "" "défaut sont dans l'attribut ``_field_defaults`` qui font partie de l'API " "*namedtuple*.)" -#: library/typing.rst:942 +#: library/typing.rst:957 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" "Les sous-classes de ``NamedTuple`` peuvent aussi avoir des *docstrings* et " "des méthodes ::" -#: library/typing.rst:952 +#: library/typing.rst:967 msgid "Backward-compatible usage::" msgstr "Utilisation rétrocompatible ::" -#: library/typing.rst:956 +#: library/typing.rst:971 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" "Ajout de la gestion de la syntaxe d'annotation variable de la :pep:`526`." -#: library/typing.rst:959 +#: library/typing.rst:974 msgid "Added support for default values, methods, and docstrings." msgstr "" "Ajout de la prise en charge des valeurs par défaut, des méthodes et des " "chaînes de caractères *docstrings*." -#: library/typing.rst:962 +#: library/typing.rst:977 msgid "" "The ``_field_types`` and ``__annotations__`` attributes are now regular " "dictionaries instead of instances of ``OrderedDict``." @@ -1052,7 +1170,7 @@ msgstr "" "Les attributs ``_field_types`` et ``__annotations__`` sont maintenant des " "dictionnaires standards au lieu d'instances de ``OrderedDict``." -#: library/typing.rst:966 +#: library/typing.rst:981 #, fuzzy msgid "" "Removed the ``_field_types`` attribute in favor of the more standard " @@ -1061,19 +1179,32 @@ msgstr "" "rend l'attribut ``_field_types`` obsolète en faveur de l'attribut plus " "standard ``__annotations__`` qui a la même information." -#: library/typing.rst:973 +#: library/typing.rst:987 +#, fuzzy msgid "" -"A simple typed namespace. At runtime it is equivalent to a plain :class:" -"`dict`." +"A helper function to indicate a distinct type to a typechecker, see :ref:" +"`distinct`. At runtime it returns a function that returns its argument. " +"Usage::" +msgstr "" +"Une fonction pour faciliter l'indication d'un type distinct à un " +"vérificateur de type, voir :ref:`distinct`. Lors de l'exécution, elle " +"renvoie une fonction qui renvoie son argument. Utilisation ::" + +#: library/typing.rst:998 +#, fuzzy +msgid "" +"Special construct to add type hints to a dictionary. At runtime it is a " +"plain :class:`dict`." msgstr "" "Un simple espace de nommage typé. À l'exécution, c'est l'équivalent d'un " "simple :class:`dict`." -#: library/typing.rst:976 +#: library/typing.rst:1001 +#, fuzzy msgid "" -"``TypedDict`` creates a dictionary type that expects all of its instances to " -"have a certain set of keys, where each key is associated with a value of a " -"consistent type. This expectation is not checked at runtime but is only " +"``TypedDict`` declares a dictionary type that expects all of its instances " +"to have a certain set of keys, where each key is associated with a value of " +"a consistent type. This expectation is not checked at runtime but is only " "enforced by type checkers. Usage::" msgstr "" "``TypedDict`` crée un type de dictionnaire qui s'attend à ce que toutes ses " @@ -1082,7 +1213,7 @@ msgstr "" "l'exécution mais n'est appliquée que par les vérificateurs de type. " "Utilisation ::" -#: library/typing.rst:992 +#: library/typing.rst:1017 msgid "" "The type info for introspection can be accessed via ``Point2D." "__annotations__`` and ``Point2D.__total__``. To allow using this feature " @@ -1095,13 +1226,13 @@ msgstr "" "pas en compte la :pep:`526`, ``TypedDict`` gère deux formes syntaxiques " "équivalentes supplémentaires ::" -#: library/typing.rst:1000 +#: library/typing.rst:1025 msgid "" "By default, all keys must be present in a TypedDict. It is possible to " "override this by specifying totality. Usage::" msgstr "" -#: library/typing.rst:1008 +#: library/typing.rst:1033 msgid "" "This means that a point2D TypedDict can have any of the keys omitted. A type " "checker is only expected to support a literal False or True as the value of " @@ -1109,7 +1240,7 @@ msgid "" "class body be required." msgstr "" -#: library/typing.rst:1013 +#: library/typing.rst:1038 #, fuzzy msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict``." @@ -1117,36 +1248,552 @@ msgstr "" "Voir la :pep:`589` pour plus d'exemples et de règles détaillées " "d'utilisation de ``TypedDict`` avec les vérificateurs de type." -#: library/typing.rst:1019 -msgid "" -"A class used for internal typing representation of string forward " -"references. For example, ``List[\"SomeClass\"]`` is implicitly transformed " -"into ``List[ForwardRef(\"SomeClass\")]``. This class should not be " -"instantiated by a user, but may be used by introspection tools." +#: library/typing.rst:1043 +msgid "Generic concrete collections" msgstr "" -"Une classe utilisée pour le typage interne de la représentation des " -"références directes des chaînes de caractères. Par exemple, " -"``Liste[\"SomeClass\"]`` est implicitement transformé en " -"``Liste[ForwardRef(\"SomeClass\")]``. Cette classe ne doit pas être " -"instanciée par un utilisateur, mais peut être utilisée par des outils " -"d'introspection." -#: library/typing.rst:1026 +#: library/typing.rst:1046 +msgid "Corresponding to built-in types" +msgstr "" + +#: library/typing.rst:1050 +msgid "" +"A generic version of :class:`dict`. Useful for annotating return types. To " +"annotate arguments it is preferred to use an abstract collection type such " +"as :class:`Mapping`." +msgstr "" +"Une version générique de :class:`dict`. Utile pour annoter les types de " +"retour. Pour annoter les arguments, il est préférable d'utiliser un type de " +"collection abstraite tel que :class:`Mapping`." + +#: library/typing.rst:1054 +msgid "This type can be used as follows::" +msgstr "Ce type peut être utilisé comme suit ::" + +#: library/typing.rst:1059 +msgid ":class:`builtins.dict ` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1064 +msgid "" +"Generic version of :class:`list`. Useful for annotating return types. To " +"annotate arguments it is preferred to use an abstract collection type such " +"as :class:`Sequence` or :class:`Iterable`." +msgstr "" +"Version générique de :class:`list`. Utile pour annoter les types de retour. " +"Pour annoter les arguments, il est préférable d'utiliser un type de " +"collection abstraite tel que :class:`Sequence` ou :class:`Iterable`." + +#: library/typing.rst:1069 +msgid "This type may be used as follows::" +msgstr "Ce type peut être utilisé comme suit ::" + +#: library/typing.rst:1079 +msgid ":class:`builtins.list ` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1084 +msgid "" +"A generic version of :class:`builtins.set `. Useful for annotating " +"return types. To annotate arguments it is preferred to use an abstract " +"collection type such as :class:`AbstractSet`." +msgstr "" +"Une version générique de :class:`builtins.set `. Utile pour annoter les " +"types de retour. Pour annoter les arguments, il est préférable d'utiliser un " +"type de collection abstraite tel que :class:`AbstractSet`." + +#: library/typing.rst:1088 +msgid ":class:`builtins.set ` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1093 +msgid "A generic version of :class:`builtins.frozenset `." +msgstr "Une version générique de :class:`builtins.frozenset `." + +#: library/typing.rst:1095 +msgid "" +":class:`builtins.frozenset ` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1098 +msgid ":data:`Tuple` is a special form." +msgstr "" + +#: library/typing.rst:1101 +msgid "Corresponding to types in :mod:`collections`" +msgstr "" + +#: library/typing.rst:1105 +msgid "A generic version of :class:`collections.defaultdict`." +msgstr "Une version générique de :class:`collections.defaultdict`." + +#: library/typing.rst:1109 +msgid ":class:`collections.defaultdict` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1114 +msgid "A generic version of :class:`collections.OrderedDict`." +msgstr "Une version générique de :class:`collections.OrderedDict`." + +#: library/typing.rst:1118 +msgid ":class:`collections.OrderedDict` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1123 +msgid "A generic version of :class:`collections.ChainMap`." +msgstr "Une version générique de :class:`collections.ChainMap`." + +#: library/typing.rst:1128 +msgid ":class:`collections.ChainMap` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1133 +msgid "A generic version of :class:`collections.Counter`." +msgstr "Une version générique de :class:`collections.Counter`." + +#: library/typing.rst:1138 +msgid ":class:`collections.Counter` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1143 +msgid "A generic version of :class:`collections.deque`." +msgstr "Une version générique de :class:`collections.deque`." + +#: library/typing.rst:1148 +msgid ":class:`collections.deque` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1152 +msgid "Other concrete types" +msgstr "" + +#: library/typing.rst:1158 #, fuzzy msgid "" -"A helper function to indicate a distinct type to a typechecker, see :ref:" -"`distinct`. At runtime it returns a function that returns its argument. " -"Usage::" +"Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " +"``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned " +"by :func:`open`. These types are also in the ``typing.io`` namespace." msgstr "" -"Une fonction pour faciliter l'indication d'un type distinct à un " -"vérificateur de type, voir :ref:`distinct`. Lors de l'exécution, elle " -"renvoie une fonction qui renvoie son argument. Utilisation ::" +"Le type générique ``IO[AnyStr]`` et ses sous-classes ``TextIO(IO[str])`` et " +"``BinaryIO(IO[bytes])`` représentent les types de flux d'entrées-sorties " +"tels que renvoyés par :func:`open`." -#: library/typing.rst:1037 +#: library/typing.rst:1166 +#, fuzzy +msgid "" +"These type aliases correspond to the return types from :func:`re.compile` " +"and :func:`re.match`. These types (and the corresponding functions) are " +"generic in ``AnyStr`` and can be made specific by writing ``Pattern[str]``, " +"``Pattern[bytes]``, ``Match[str]``, or ``Match[bytes]``. These types are " +"also in the ``typing.re`` namespace." +msgstr "" +"Ces alias de type correspondent aux types de retour de :func:`re.compile` " +"et :func:`re.match`. Ces types (et les fonctions correspondantes) sont " +"génériques dans ``AnyStr`` et peuvent être rendus spécifiques en écrivant " +"``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]`` ou ``Match[bytes]``." + +#: library/typing.rst:1173 +msgid "" +"Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" +"pep:`585`." +msgstr "" + +#: library/typing.rst:1178 +msgid "" +"``Text`` is an alias for ``str``. It is provided to supply a forward " +"compatible path for Python 2 code: in Python 2, ``Text`` is an alias for " +"``unicode``." +msgstr "" +"``Text`` est un alias pour ``str``. Il est fourni pour obtenir une " +"compatibilité ascendante du code Python 2 : en Python 2, ``Text`` est un " +"alias pour ``unicode``." + +#: library/typing.rst:1182 +msgid "" +"Use ``Text`` to indicate that a value must contain a unicode string in a " +"manner that is compatible with both Python 2 and Python 3::" +msgstr "" +"Utilisez ``Text`` pour indiquer qu'une valeur doit contenir une chaîne " +"Unicode d'une manière compatible avec Python 2 et Python 3 ::" + +#: library/typing.rst:1191 +#, fuzzy +msgid "Abstract Base Classes" +msgstr "Classe de base abstraite pour les types génériques." + +#: library/typing.rst:1194 +msgid "Corresponding to collections in :mod:`collections.abc`" +msgstr "" + +#: library/typing.rst:1198 +msgid "A generic version of :class:`collections.abc.Set`." +msgstr "Une version générique de :class:`collections.abc.Set`." + +#: library/typing.rst:1200 +msgid ":class:`collections.abc.Set` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1205 +msgid "A generic version of :class:`collections.abc.ByteString`." +msgstr "Une version générique de :class:`collections.abc.ByteString`." + +#: library/typing.rst:1207 +#, fuzzy +msgid "" +"This type represents the types :class:`bytes`, :class:`bytearray`, and :" +"class:`memoryview` of byte sequences." +msgstr "" +"Ce type représente les types :class:`bytes`, :class:`bytearray` et :class:" +"`memoryview`." + +#: library/typing.rst:1210 +msgid "" +"As a shorthand for this type, :class:`bytes` can be used to annotate " +"arguments of any of the types mentioned above." +msgstr "" +"Comme abréviation pour ce type, :class:`bytes` peut être utilisé pour " +"annoter des arguments de n'importe quel type mentionné ci-dessus." + +#: library/typing.rst:1213 +msgid "" +":class:`collections.abc.ByteString` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1218 +msgid "A generic version of :class:`collections.abc.Collection`" +msgstr "Une version générique de :class:`collections.abc.Collection`" + +#: library/typing.rst:1222 +msgid "" +":class:`collections.abc.Collection` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1227 +msgid "A generic version of :class:`collections.abc.Container`." +msgstr "Une version générique de :class:`collections.abc.Container`." + +#: library/typing.rst:1229 +msgid ":class:`collections.abc.Container` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1234 +msgid "A generic version of :class:`collections.abc.ItemsView`." +msgstr "Une version générique de :class:`collections.abc.ItemsView`." + +#: library/typing.rst:1236 +msgid ":class:`collections.abc.ItemsView` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1241 +msgid "A generic version of :class:`collections.abc.KeysView`." +msgstr "Une version générique de :class:`collections.abc.KeysView`." + +#: library/typing.rst:1243 +msgid ":class:`collections.abc.KeysView` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1248 +msgid "" +"A generic version of :class:`collections.abc.Mapping`. This type can be used " +"as follows::" +msgstr "" +"Une version générique de :class:`collections.abc.Mapping`. Ce type peut être " +"utilisé comme suit ::" + +#: library/typing.rst:1254 +msgid ":class:`collections.abc.Mapping` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1259 +msgid "A generic version of :class:`collections.abc.MappingView`." +msgstr "Une version générique de :class:`collections.abc.MappingView`." + +#: library/typing.rst:1261 +msgid "" +":class:`collections.abc.MappingView` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1266 +msgid "A generic version of :class:`collections.abc.MutableMapping`." +msgstr "Une version générique de :class:`collections.abc.MutableMapping`." + +#: library/typing.rst:1268 +msgid "" +":class:`collections.abc.MutableMapping` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1273 +msgid "A generic version of :class:`collections.abc.MutableSequence`." +msgstr "Une version générique de :class:`collections.abc.MutableSequence`." + +#: library/typing.rst:1275 +msgid "" +":class:`collections.abc.MutableSequence` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1280 +msgid "A generic version of :class:`collections.abc.MutableSet`." +msgstr "Une version générique de :class:`collections.abc.MutableSet`." + +#: library/typing.rst:1282 +msgid "" +":class:`collections.abc.MutableSet` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1287 +msgid "A generic version of :class:`collections.abc.Sequence`." +msgstr "Une version générique de :class:`collections.abc.Sequence`." + +#: library/typing.rst:1289 +msgid ":class:`collections.abc.Sequence` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1294 +msgid "A generic version of :class:`collections.abc.ValuesView`." +msgstr "Une version générique de :class:`collections.abc.ValuesView`." + +#: library/typing.rst:1296 +msgid "" +":class:`collections.abc.ValuesView` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1300 +msgid "Corresponding to other types in :mod:`collections.abc`" +msgstr "" + +#: library/typing.rst:1304 +msgid "A generic version of :class:`collections.abc.Iterable`." +msgstr "Une version générique de :class:`collections.abc.Iterable`." + +#: library/typing.rst:1306 +msgid ":class:`collections.abc.Iterable` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1311 +msgid "A generic version of :class:`collections.abc.Iterator`." +msgstr "Une version générique de :class:`collections.abc.Iterator`." + +#: library/typing.rst:1313 +msgid ":class:`collections.abc.Iterator` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1318 +msgid "" +"A generator can be annotated by the generic type ``Generator[YieldType, " +"SendType, ReturnType]``. For example::" +msgstr "" +"Un générateur peut être annoté par le type générique ``Generator[YieldType, " +"SendType, ReturnType]``. Par exemple ::" + +#: library/typing.rst:1327 +msgid "" +"Note that unlike many other generics in the typing module, the ``SendType`` " +"of :class:`Generator` behaves contravariantly, not covariantly or " +"invariantly." +msgstr "" +"Notez que contrairement à beaucoup d'autres génériques dans le module " +"*typing*, le ``SendType`` de :class:`Generator` se comporte de manière " +"contravariante, pas de manière covariante ou invariante." + +#: library/typing.rst:1331 +msgid "" +"If your generator will only yield values, set the ``SendType`` and " +"``ReturnType`` to ``None``::" +msgstr "" +"Si votre générateur ne donne que des valeurs, réglez les paramètres " +"``SendType`` et ``ReturnType`` sur ``None`` ::" + +#: library/typing.rst:1339 +msgid "" +"Alternatively, annotate your generator as having a return type of either " +"``Iterable[YieldType]`` or ``Iterator[YieldType]``::" +msgstr "" +"Alternativement, annotez votre générateur comme ayant un type de retour soit " +"``Iterable[YieldType]`` ou ``Iterator[YieldType]`` ::" + +#: library/typing.rst:1347 +msgid ":class:`collections.abc.Generator` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1352 +msgid "An alias to :class:`collections.abc.Hashable`" +msgstr "Un alias pour :class:`collections.abc.Hashable`" + +#: library/typing.rst:1356 +msgid "A generic version of :class:`collections.abc.Reversible`." +msgstr "Une version générique de :class:`collections.abc.Reversible`." + +#: library/typing.rst:1358 +msgid "" +":class:`collections.abc.Reversible` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1363 +msgid "An alias to :class:`collections.abc.Sized`" +msgstr "Un alias pour :class:`collections.abc.Sized`" + +#: library/typing.rst:1366 +msgid "Asynchronous programming" +msgstr "" + +#: library/typing.rst:1370 +msgid "" +"A generic version of :class:`collections.abc.Coroutine`. The variance and " +"order of type variables correspond to those of :class:`Generator`, for " +"example::" +msgstr "" +"Une version générique de :class:`collections.abc.Coroutine`. La variance et " +"l'ordre des variables de type correspondent à ceux de la classe :class:" +"`Generator`, par exemple ::" + +#: library/typing.rst:1383 +msgid ":class:`collections.abc.Coroutine` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1388 +msgid "" +"An async generator can be annotated by the generic type " +"``AsyncGenerator[YieldType, SendType]``. For example::" +msgstr "" +"Un générateur asynchrone peut être annoté par le type générique " +"``AsyncGenerator[YieldType, SendType]``. Par exemple ::" + +#: library/typing.rst:1397 +msgid "" +"Unlike normal generators, async generators cannot return a value, so there " +"is no ``ReturnType`` type parameter. As with :class:`Generator`, the " +"``SendType`` behaves contravariantly." +msgstr "" +"Contrairement aux générateurs normaux, les générateurs asynchrones ne " +"peuvent pas renvoyer une valeur, il n'y a donc pas de paramètre de type " +"``ReturnType``. Comme avec :class:`Generator`, le ``SendType`` se comporte " +"de manière contravariante." + +#: library/typing.rst:1401 +msgid "" +"If your generator will only yield values, set the ``SendType`` to ``None``::" +msgstr "" +"Si votre générateur ne donne que des valeurs, réglez le paramètre " +"``SendType`` sur ``None`` ::" + +#: library/typing.rst:1409 +msgid "" +"Alternatively, annotate your generator as having a return type of either " +"``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" +msgstr "" +"Alternativement, annotez votre générateur comme ayant un type de retour soit " +"``AsyncIterable[YieldType]`` ou ``AsyncIterator[YieldType]`` ::" + +#: library/typing.rst:1419 +msgid "" +":class:`collections.abc.AsyncGenerator` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1424 +msgid "A generic version of :class:`collections.abc.AsyncIterable`." +msgstr "Une version générique de :class:`collections.abc.AsyncIterable`." + +#: library/typing.rst:1428 +msgid "" +":class:`collections.abc.AsyncIterable` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1433 +msgid "A generic version of :class:`collections.abc.AsyncIterator`." +msgstr "Une version générique de :class:`collections.abc.AsyncIterator`." + +#: library/typing.rst:1437 +msgid "" +":class:`collections.abc.AsyncIterator` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1442 +msgid "A generic version of :class:`collections.abc.Awaitable`." +msgstr "Une version générique de :class:`collections.abc.Awaitable`." + +#: library/typing.rst:1446 +msgid ":class:`collections.abc.Awaitable` now supports ``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1451 +msgid "Context manager types" +msgstr "" + +#: library/typing.rst:1455 +msgid "A generic version of :class:`contextlib.AbstractContextManager`." +msgstr "Une version générique de :class:`contextlib.AbstractContextManager`." + +#: library/typing.rst:1460 +msgid "" +":class:`collections.contextlib.AbstractContextManager` now supports ``[]``. " +"See :pep:`585`." +msgstr "" + +#: library/typing.rst:1465 +msgid "A generic version of :class:`contextlib.AbstractAsyncContextManager`." +msgstr "" +"Une version générique de :class:`contextlib.AbstractAsyncContextManager`." + +#: library/typing.rst:1470 +msgid "" +":class:`collections.contextlib.AbstractAsyncContextManager` now supports " +"``[]``. See :pep:`585`." +msgstr "" + +#: library/typing.rst:1474 +msgid "Protocols" +msgstr "" + +#: library/typing.rst:1476 +msgid "These protocols are decorated with :func:`runtime_checkable`." +msgstr "" + +#: library/typing.rst:1480 +msgid "" +"An ABC with one abstract method ``__abs__`` that is covariant in its return " +"type." +msgstr "" +"Une ABC avec une méthode abstraite ``__abs__`` qui est covariante dans son " +"type de retour." + +#: library/typing.rst:1485 +msgid "An ABC with one abstract method ``__bytes__``." +msgstr "Une ABC avec une méthode abstraite ``__bytes__``." + +#: library/typing.rst:1489 +msgid "An ABC with one abstract method ``__complex__``." +msgstr "Une ABC avec une méthode abstraite ``__complex__``." + +#: library/typing.rst:1493 +msgid "An ABC with one abstract method ``__float__``." +msgstr "Une ABC avec une méthode abstraite ``__float__``." + +#: library/typing.rst:1497 +msgid "An ABC with one abstract method ``__index__``." +msgstr "Une ABC avec une méthode abstraite ``__index__``." + +#: library/typing.rst:1503 +msgid "An ABC with one abstract method ``__int__``." +msgstr "Une ABC avec une méthode abstraite ``__int__``." + +#: library/typing.rst:1507 +msgid "" +"An ABC with one abstract method ``__round__`` that is covariant in its " +"return type." +msgstr "" +"Une ABC avec une méthode abstraite ``__round__`` qui est covariante dans son " +"type de retour." + +#: library/typing.rst:1511 +#, fuzzy +msgid "Functions and decorators" +msgstr "Classes, fonctions et décorateurs" + +#: library/typing.rst:1515 msgid "Cast a value to a type." msgstr "Convertit une valeur en un type." -#: library/typing.rst:1039 +#: library/typing.rst:1517 msgid "" "This returns the value unchanged. To the type checker this signals that the " "return value has the designated type, but at runtime we intentionally don't " @@ -1157,61 +1804,7 @@ msgstr "" "intentionnellement, rien n'est vérifié (afin que cela soit aussi rapide que " "possible)." -#: library/typing.rst:1046 -msgid "" -"Return a dictionary containing type hints for a function, method, module or " -"class object." -msgstr "" -"renvoie un dictionnaire contenant des indications de type pour une fonction, " -"une méthode, un module ou un objet de classe." - -#: library/typing.rst:1049 -msgid "" -"This is often the same as ``obj.__annotations__``. In addition, forward " -"references encoded as string literals are handled by evaluating them in " -"``globals`` and ``locals`` namespaces. If necessary, ``Optional[t]`` is " -"added for function and method annotations if a default value equal to " -"``None`` is set. For a class ``C``, return a dictionary constructed by " -"merging all the ``__annotations__`` along ``C.__mro__`` in reverse order." -msgstr "" -"C'est souvent équivalent à ``obj.__annotations__``. De plus, les références " -"directes encodées sous forme de chaîne littérales sont traitées en les " -"évaluant dans les espaces de nommage ``globals`` et ``locals``. Si " -"nécessaire, ``Optional[t]`` est ajouté pour les annotations de fonction et " -"de méthode si une valeur par défaut égale à ``None`` est définie. Pour une " -"classe ``C``, renvoie un dictionnaire construit en fusionnant toutes les " -"``__annotations__`` en parcourant ``C.__mro__`` en ordre inverse." - -#: library/typing.rst:1057 -msgid "" -"The function recursively replaces all ``Annotated[T, ...]`` with ``T``, " -"unless ``include_extras`` is set to ``True`` (see :class:`Annotated` for " -"more information). For example::" -msgstr "" - -#: library/typing.rst:1070 -msgid "Added ``include_extras`` parameter as part of :pep:`593`." -msgstr "" - -#: library/typing.rst:1076 -msgid "Provide basic introspection for generic types and special typing forms." -msgstr "" -"Fournit une introspection de base pour les types génériques et les formes " -"spéciales de typage." - -#: library/typing.rst:1078 -msgid "" -"For a typing object of the form ``X[Y, Z, ...]`` these functions return " -"``X`` and ``(Y, Z, ...)``. If ``X`` is a generic alias for a builtin or :mod:" -"`collections` class, it gets normalized to the original class. For " -"unsupported objects return ``None`` and ``()`` correspondingly. Examples::" -msgstr "" -"Pour un objet de typage de la forme ``X[Y, Z, ....]``, ces fonctions " -"renvoient ``X`` et ``(Y, Z,...)``. Si ``X`` est un alias pour une classe " -"native ou de :mod:`collections`, il est normalisé en la classe originale. " -"Pour les objets non gérés, renvoie la paire ``None`` , ``()``. Exemples ::" - -#: library/typing.rst:1094 +#: library/typing.rst:1524 msgid "" "The ``@overload`` decorator allows describing functions and methods that " "support multiple different combinations of argument types. A series of " @@ -1237,13 +1830,13 @@ msgstr "" "`NotImplementedError`. Un exemple de surcharge qui donne un type plus précis " "que celui qui peut être exprimé à l'aide d'une variable union ou type ::" -#: library/typing.rst:1118 +#: library/typing.rst:1548 msgid "See :pep:`484` for details and comparison with other typing semantics." msgstr "" "Voir la :pep:`484` pour plus de détails et la comparaison avec d'autres " "sémantiques de typage." -#: library/typing.rst:1122 +#: library/typing.rst:1552 msgid "" "A decorator to indicate to type checkers that the decorated method cannot be " "overridden, and the decorated class cannot be subclassed. For example::" @@ -1252,21 +1845,13 @@ msgstr "" "décorée ne peut pas être remplacée et que la classe décorée ne peut pas être " "sous-classée. Par exemple ::" -#: library/typing.rst:1140 library/typing.rst:1367 -msgid "" -"There is no runtime checking of these properties. See :pep:`591` for more " -"details." -msgstr "" -"Ces propriétés ne sont pas vérifiées à l'exécution. Voir la :pep:`591` pour " -"plus de détails." - -#: library/typing.rst:1147 +#: library/typing.rst:1577 msgid "Decorator to indicate that annotations are not type hints." msgstr "" "Décorateur pour indiquer que les annotations ne sont pas des indications de " "type." -#: library/typing.rst:1149 +#: library/typing.rst:1579 msgid "" "This works as class or function :term:`decorator`. With a class, it applies " "recursively to all methods defined in that class (but not to methods defined " @@ -1277,16 +1862,16 @@ msgstr "" "méthodes définies dans cette classe (mais pas aux méthodes définies dans ses " "superclasses ou sous-classes)." -#: library/typing.rst:1153 +#: library/typing.rst:1583 msgid "This mutates the function(s) in place." msgstr "Cela fait muter la ou les fonctions en place." -#: library/typing.rst:1157 +#: library/typing.rst:1587 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" "Décorateur pour donner à un autre décorateur l'effet :func:`no_type_check`." -#: library/typing.rst:1159 +#: library/typing.rst:1589 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." @@ -1294,13 +1879,13 @@ msgstr "" "Ceci enveloppe le décorateur avec quelque chose qui enveloppe la fonction " "décorée dans :func:`no_type_check`." -#: library/typing.rst:1164 +#: library/typing.rst:1594 msgid "Decorator to mark a class or function to be unavailable at runtime." msgstr "" "Décorateur pour marquer une classe ou une fonction comme étant indisponible " "au moment de l'exécution." -#: library/typing.rst:1166 +#: library/typing.rst:1596 msgid "" "This decorator is itself not available at runtime. It is mainly intended to " "mark classes that are defined in type stub files if an implementation " @@ -1311,7 +1896,7 @@ msgstr "" "d'annotations de type (*type stub file*, en anglais) si une implémentation " "renvoie une instance d'une classe privée ::" -#: library/typing.rst:1177 +#: library/typing.rst:1607 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." @@ -1319,271 +1904,83 @@ msgstr "" "Notez qu'il n'est pas recommandé de renvoyer les instances des classes " "privées. Il est généralement préférable de rendre ces classes publiques." -#: library/typing.rst:1182 -msgid "Mark a protocol class as a runtime protocol." -msgstr "Marquez une classe de protocole comme protocole d'exécution." +#: library/typing.rst:1611 +msgid "Introspection helpers" +msgstr "" -#: library/typing.rst:1184 +#: library/typing.rst:1615 msgid "" -"Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. " -"This raises :exc:`TypeError` when applied to a non-protocol class. This " -"allows a simple-minded structural check, very similar to \"one trick ponies" -"\" in :mod:`collections.abc` such as :class:`Iterable`. For example::" +"Return a dictionary containing type hints for a function, method, module or " +"class object." msgstr "" -"Un tel protocole peut être utilisé avec :func:`isinstance` et :func:" -"`issubclass`. Cela lève :exc:`TypeError` lorsqu'il est appliqué à une classe " -"non protocole. Cela permet un contrôle structurel compréhensible, très " -"similaire aux « classes qui ne savent faire qu'une chose » présentes dans :" -"mod:`collections.abc` tel que :class:`Iterable`. Par exemple ::" +"renvoie un dictionnaire contenant des indications de type pour une fonction, " +"une méthode, un module ou un objet de classe." -#: library/typing.rst:1195 +#: library/typing.rst:1618 msgid "" -"**Warning:** this will check only the presence of the required methods, not " -"their type signatures!" +"This is often the same as ``obj.__annotations__``. In addition, forward " +"references encoded as string literals are handled by evaluating them in " +"``globals`` and ``locals`` namespaces. If necessary, ``Optional[t]`` is " +"added for function and method annotations if a default value equal to " +"``None`` is set. For a class ``C``, return a dictionary constructed by " +"merging all the ``__annotations__`` along ``C.__mro__`` in reverse order." msgstr "" -"**Attention :** ceci ne vérifiera que la présence des méthodes requises, et " -"non leur signature de type !" +"C'est souvent équivalent à ``obj.__annotations__``. De plus, les références " +"directes encodées sous forme de chaîne littérales sont traitées en les " +"évaluant dans les espaces de nommage ``globals`` et ``locals``. Si " +"nécessaire, ``Optional[t]`` est ajouté pour les annotations de fonction et " +"de méthode si une valeur par défaut égale à ``None`` est définie. Pour une " +"classe ``C``, renvoie un dictionnaire construit en fusionnant toutes les " +"``__annotations__`` en parcourant ``C.__mro__`` en ordre inverse." -#: library/typing.rst:1202 -msgid "Special type indicating an unconstrained type." -msgstr "Type spécial indiquant un type non contraint." - -#: library/typing.rst:1204 -msgid "Every type is compatible with :data:`Any`." -msgstr "Chaque type est compatible avec :data:`Any`." - -#: library/typing.rst:1205 -msgid ":data:`Any` is compatible with every type." -msgstr ":data:`Any` est compatible avec tous les types." - -#: library/typing.rst:1209 -msgid "Special type indicating that a function never returns. For example::" -msgstr "Type spécial indiquant qu'une fonction ne renvoie rien. Par exemple ::" - -#: library/typing.rst:1222 -msgid "Union type; ``Union[X, Y]`` means either X or Y." -msgstr "Type « union » ; ``Union[X, Y]`` signifie X ou Y." - -#: library/typing.rst:1224 -msgid "To define a union, use e.g. ``Union[int, str]``. Details:" -msgstr "" -"Pour définir une union, utilisez par exemple ``Union[int, str]``. Détail :" - -#: library/typing.rst:1226 -msgid "The arguments must be types and there must be at least one." -msgstr "" -"Les arguments doivent être des types et il doit y en avoir au moins un." - -#: library/typing.rst:1228 -msgid "Unions of unions are flattened, e.g.::" -msgstr "Les unions d'unions sont aplanies, par exemple ::" - -#: library/typing.rst:1232 -msgid "Unions of a single argument vanish, e.g.::" -msgstr "Les unions d'un seul argument disparaissent, par exemple ::" - -#: library/typing.rst:1236 -msgid "Redundant arguments are skipped, e.g.::" -msgstr "Les arguments redondants sont ignorés, par exemple ::" - -#: library/typing.rst:1240 -msgid "When comparing unions, the argument order is ignored, e.g.::" -msgstr "" -"Lors de la comparaison d'unions, l'ordre des arguments est ignoré, par " -"exemple ::" - -#: library/typing.rst:1244 -msgid "You cannot subclass or instantiate a union." -msgstr "Vous ne pouvez pas sous-classer ou instancier une union." - -#: library/typing.rst:1246 -msgid "You cannot write ``Union[X][Y]``." -msgstr "Vous ne pouvez pas écrire ``Union[X][Y]``." - -#: library/typing.rst:1248 -msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``." -msgstr "" -"Vous pouvez utiliser l'abréviation ``Optional[X]`` pour ``Union[X, None]``." - -#: library/typing.rst:1250 -msgid "Don't remove explicit subclasses from unions at runtime." -msgstr "Ne supprime pas les sous-classes explicites des unions à l'exécution." - -#: library/typing.rst:1255 -msgid "Optional type." -msgstr "Type « optionnel »." - -#: library/typing.rst:1257 -msgid "``Optional[X]`` is equivalent to ``Union[X, None]``." -msgstr "``Optional[X]`` équivaut à ``Union[X, None]``." - -#: library/typing.rst:1259 +#: library/typing.rst:1626 msgid "" -"Note that this is not the same concept as an optional argument, which is one " -"that has a default. An optional argument with a default does not require " -"the ``Optional`` qualifier on its type annotation just because it is " -"optional. For example::" +"The function recursively replaces all ``Annotated[T, ...]`` with ``T``, " +"unless ``include_extras`` is set to ``True`` (see :class:`Annotated` for " +"more information). For example::" msgstr "" -"Notez que ce n'est pas le même concept qu'un argument optionnel, qui est un " -"argument qui possède une valeur par défaut. Un argument optionnel (qui a une " -"valeur par défaut) ne nécessite pas, à ce titre, le qualificatif " -"``Optional`` sur son annotation de type. Par exemple ::" -#: library/typing.rst:1267 +#: library/typing.rst:1639 +msgid "Added ``include_extras`` parameter as part of :pep:`593`." +msgstr "" + +#: library/typing.rst:1645 +msgid "Provide basic introspection for generic types and special typing forms." +msgstr "" +"Fournit une introspection de base pour les types génériques et les formes " +"spéciales de typage." + +#: library/typing.rst:1647 msgid "" -"On the other hand, if an explicit value of ``None`` is allowed, the use of " -"``Optional`` is appropriate, whether the argument is optional or not. For " -"example::" +"For a typing object of the form ``X[Y, Z, ...]`` these functions return " +"``X`` and ``(Y, Z, ...)``. If ``X`` is a generic alias for a builtin or :mod:" +"`collections` class, it gets normalized to the original class. For " +"unsupported objects return ``None`` and ``()`` correspondingly. Examples::" msgstr "" -"Par contre, si une valeur explicite de ``None`` est permise, l'utilisation " -"de ``Optional`` est appropriée, que l'argument soit facultatif ou non. Par " -"exemple ::" +"Pour un objet de typage de la forme ``X[Y, Z, ....]``, ces fonctions " +"renvoient ``X`` et ``(Y, Z,...)``. Si ``X`` est un alias pour une classe " +"native ou de :mod:`collections`, il est normalisé en la classe originale. " +"Pour les objets non gérés, renvoie la paire ``None`` , ``()``. Exemples ::" -#: library/typing.rst:1276 +#: library/typing.rst:1663 msgid "" -"Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the " -"first item of type X and the second of type Y. The type of the empty tuple " -"can be written as ``Tuple[()]``." +"A class used for internal typing representation of string forward " +"references. For example, ``List[\"SomeClass\"]`` is implicitly transformed " +"into ``List[ForwardRef(\"SomeClass\")]``. This class should not be " +"instantiated by a user, but may be used by introspection tools." msgstr "" -"Type « n-uplet » ; ``Tuple[X, Y]`` est le type d'un n-uplet à deux éléments " -"avec le premier élément de type X et le second de type Y. Le type du n-uplet " -"vide peut être écrit comme ``Tuple[()]``." +"Une classe utilisée pour le typage interne de la représentation des " +"références directes des chaînes de caractères. Par exemple, " +"``Liste[\"SomeClass\"]`` est implicitement transformé en " +"``Liste[ForwardRef(\"SomeClass\")]``. Cette classe ne doit pas être " +"instanciée par un utilisateur, mais peut être utilisée par des outils " +"d'introspection." -#: library/typing.rst:1280 -msgid "" -"Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type " -"variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a " -"float and a string." +#: library/typing.rst:1669 +msgid "Constant" msgstr "" -"Exemple : ``Tuple[T1, T2]`` est une paire correspondant aux variables de " -"type ``T1`` et ``T2``. ``Tuple[int, float, str]`` est un triplet composé " -"d'un entier, d'un flottant et d'une chaîne de caractères." -#: library/typing.rst:1284 -msgid "" -"To specify a variable-length tuple of homogeneous type, use literal " -"ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " -"``Tuple[Any, ...]``, and in turn to :class:`tuple`." -msgstr "" -"Pour spécifier un n-uplet de longueur variable et de type homogène, utilisez " -"une ellipse, par exemple ``Tuple[int, ....]``. Un n-uplet :data:`Tuple` est " -"équivalent à ``Tuple[Any, ....]`` et, à son tour, à :class:`tuple`." - -#: library/typing.rst:1290 -msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." -msgstr "" -"Type Appelable. ``Callable[[int], str]`` est une fonction de type ``(int) -> " -"str``." - -#: library/typing.rst:1292 -msgid "" -"The subscription syntax must always be used with exactly two values: the " -"argument list and the return type. The argument list must be a list of " -"types or an ellipsis; the return type must be a single type." -msgstr "" -"La syntaxe de sélection (*subscription* en anglais) doit toujours être " -"utilisée avec exactement deux valeurs : la liste d'arguments et le type de " -"retour. La liste d'arguments doit être une liste de types ou une ellipse ; " -"il doit y avoir un seul type de retour." - -#: library/typing.rst:1297 -msgid "" -"There is no syntax to indicate optional or keyword arguments; such function " -"types are rarely used as callback types. ``Callable[..., ReturnType]`` " -"(literal ellipsis) can be used to type hint a callable taking any number of " -"arguments and returning ``ReturnType``. A plain :data:`Callable` is " -"equivalent to ``Callable[..., Any]``, and in turn to :class:`collections.abc." -"Callable`." -msgstr "" -"Il n'y a pas de syntaxe pour indiquer les arguments optionnels ou les " -"arguments par mots-clés ; de tels types de fonctions sont rarement utilisés " -"comme types de rappel. ``Callable[..., ReturnType]`` (ellipse) peut être " -"utilisé pour annoter le type d'un appelable, prenant un nombre quelconque " -"d'arguments et renvoyant ``ReturnType``. Un simple :data:`Callable` est " -"équivalent à ``Callable[..., Any]`` et, à son tour, à :class:`collections." -"abc.Callable`." - -#: library/typing.rst:1307 -msgid "" -"A type that can be used to indicate to type checkers that the corresponding " -"variable or function parameter has a value equivalent to the provided " -"literal (or one of several literals). For example::" -msgstr "" -"Type pour indiquer aux vérificateurs de type que la variable ou le paramètre " -"de fonction correspondant a une valeur équivalente au littéral fourni (ou un " -"parmi plusieurs littéraux). Par exemple ::" - -#: library/typing.rst:1321 -msgid "" -"``Literal[...]`` cannot be subclassed. At runtime, an arbitrary value is " -"allowed as type argument to ``Literal[...]``, but type checkers may impose " -"restrictions. See :pep:`586` for more details about literal types." -msgstr "" -"``Literal[...]`` ne peut être sous-classé. Lors de l'exécution, une valeur " -"arbitraire est autorisée comme argument de type pour ``Literal[...]``, mais " -"les vérificateurs de type peuvent imposer des restrictions. Voir la :pep:" -"`586` pour plus de détails sur les types littéraux." - -#: library/typing.rst:1329 -msgid "Special type construct to mark class variables." -msgstr "" -"Construction de type particulière pour indiquer les variables de classe." - -#: library/typing.rst:1331 -msgid "" -"As introduced in :pep:`526`, a variable annotation wrapped in ClassVar " -"indicates that a given attribute is intended to be used as a class variable " -"and should not be set on instances of that class. Usage::" -msgstr "" -"Telle qu'introduite dans la :pep:`526`, une annotation de variable " -"enveloppée dans ClassVar indique qu'un attribut donné est destiné à être " -"utilisé comme une variable de classe et ne doit pas être défini sur des " -"instances de cette classe. Utilisation ::" - -#: library/typing.rst:1339 -msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." -msgstr ":data:`ClassVar` n'accepte que les types et ne peut plus être dérivé." - -#: library/typing.rst:1341 -msgid "" -":data:`ClassVar` is not a class itself, and should not be used with :func:" -"`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python " -"runtime behavior, but it can be used by third-party type checkers. For " -"example, a type checker might flag the following code as an error::" -msgstr "" -":data:`ClassVar` n'est pas une classe en soi, et ne devrait pas être " -"utilisée avec :func:`isinstance` ou :func:`issubclass`. :data:`ClassVar` ne " -"modifie pas le comportement d'exécution Python, mais il peut être utilisé " -"par des vérificateurs tiers. Par exemple, un vérificateur de type peut " -"marquer le code suivant comme une erreur ::" - -#: library/typing.rst:1355 -msgid "" -"A special typing construct to indicate to type checkers that a name cannot " -"be re-assigned or overridden in a subclass. For example::" -msgstr "" -"Construction de type particulière pour indiquer aux vérificateurs de type " -"qu'un nom ne peut pas être réassigné ou remplacé dans une sous-classe. Par " -"exemple ::" - -#: library/typing.rst:1374 -msgid "" -"``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, " -"bytes)``." -msgstr "" -"``AnyStr`` est une variable de type définie comme ``AnyStr = " -"TypeVar('AnyStr', str, bytes)``." - -#: library/typing.rst:1377 -msgid "" -"It is meant to be used for functions that may accept any kind of string " -"without allowing different kinds of strings to mix. For example::" -msgstr "" -"Cela est destiné à être utilisé pour des fonctions qui peuvent accepter " -"n'importe quel type de chaîne de caractères sans permettre à différents " -"types de chaînes de caractères de se mélanger. Par exemple ::" - -#: library/typing.rst:1389 +#: library/typing.rst:1673 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime. Usage::" @@ -1591,12 +1988,13 @@ msgstr "" "Constante spéciale qui vaut ``True`` pour les vérificateurs de type " "statiques tiers et ``False`` à l'exécution. Utilisation ::" -#: library/typing.rst:1398 +#: library/typing.rst:1682 +#, fuzzy msgid "" -"Note that the first type annotation must be enclosed in quotes, making it a " -"\"forward reference\", to hide the ``expensive_mod`` reference from the " -"interpreter runtime. Type annotations for local variables are not " -"evaluated, so the second annotation does not need to be enclosed in quotes." +"The first type annotation must be enclosed in quotes, making it a \"forward " +"reference\", to hide the ``expensive_mod`` reference from the interpreter " +"runtime. Type annotations for local variables are not evaluated, so the " +"second annotation does not need to be enclosed in quotes." msgstr "" "Notez que la première annotation de type doit être entourée de guillemets, " "ce qui en fait une « référence avant », pour cacher la référence " @@ -1605,95 +2003,17 @@ msgstr "" "sorte que la deuxième annotation n'a pas besoin d'être placée entre " "guillemets." -#: library/typing.rst:1407 +#: library/typing.rst:1689 msgid "" -"A type, introduced in :pep:`593` (``Flexible function and variable " -"annotations``), to decorate existing types with context-specific metadata " -"(possibly multiple pieces of it, as ``Annotated`` is variadic). " -"Specifically, a type ``T`` can be annotated with metadata ``x`` via the " -"typehint ``Annotated[T, x]``. This metadata can be used for either static " -"analysis or at runtime. If a library (or tool) encounters a typehint " -"``Annotated[T, x]`` and has no special logic for metadata ``x``, it should " -"ignore it and simply treat the type as ``T``. Unlike the ``no_type_check`` " -"functionality that currently exists in the ``typing`` module which " -"completely disables typechecking annotations on a function or a class, the " -"``Annotated`` type allows for both static typechecking of ``T`` (e.g., via " -"mypy or Pyre, which can safely ignore ``x``) together with runtime access to " -"``x`` within a specific application." +"If ``from __future__ import annotations`` is used in Python 3.7 or later, " +"annotations are not evaluated at function definition time. Instead, the are " +"stored as strings in ``__annotations__``, This makes it unnecessary to use " +"quotes around the annotation. (see :pep:`563`)." msgstr "" -#: library/typing.rst:1421 -msgid "" -"Ultimately, the responsibility of how to interpret the annotations (if at " -"all) is the responsibility of the tool or library encountering the " -"``Annotated`` type. A tool or library encountering an ``Annotated`` type can " -"scan through the annotations to determine if they are of interest (e.g., " -"using ``isinstance()``)." -msgstr "" - -#: library/typing.rst:1427 -msgid "" -"When a tool or a library does not support annotations or encounters an " -"unknown annotation it should just ignore it and treat annotated type as the " -"underlying type." -msgstr "" - -#: library/typing.rst:1431 -msgid "" -"It's up to the tool consuming the annotations to decide whether the client " -"is allowed to have several annotations on one type and how to merge those " -"annotations." -msgstr "" - -#: library/typing.rst:1435 -msgid "" -"Since the ``Annotated`` type allows you to put several annotations of the " -"same (or different) type(s) on any node, the tools or libraries consuming " -"those annotations are in charge of dealing with potential duplicates. For " -"example, if you are doing value range analysis you might allow this::" -msgstr "" - -#: library/typing.rst:1444 -msgid "" -"Passing ``include_extras=True`` to :func:`get_type_hints` lets one access " -"the extra annotations at runtime." -msgstr "" - -#: library/typing.rst:1447 -msgid "The details of the syntax:" -msgstr "" - -#: library/typing.rst:1449 -msgid "The first argument to ``Annotated`` must be a valid type" -msgstr "" - -#: library/typing.rst:1451 -msgid "" -"Multiple type annotations are supported (``Annotated`` supports variadic " -"arguments)::" -msgstr "" - -#: library/typing.rst:1456 -msgid "" -"``Annotated`` must be called with at least two arguments " -"( ``Annotated[int]`` is not valid)" -msgstr "" - -#: library/typing.rst:1459 -msgid "" -"The order of the annotations is preserved and matters for equality checks::" -msgstr "" - -#: library/typing.rst:1466 -msgid "" -"Nested ``Annotated`` types are flattened, with metadata ordered starting " -"with the innermost annotation::" -msgstr "" - -#: library/typing.rst:1473 -msgid "Duplicated annotations are not removed::" -msgstr "" - -#: library/typing.rst:1479 -msgid "``Annotated`` can be used with nested and generic aliases::" -msgstr "" +#~ msgid "" +#~ "**Warning:** this will check only the presence of the required methods, " +#~ "not their type signatures!" +#~ msgstr "" +#~ "**Attention :** ceci ne vérifiera que la présence des méthodes requises, " +#~ "et non leur signature de type !" diff --git a/library/undoc.po b/library/undoc.po index 74a275bb..7b21b65e 100644 --- a/library/undoc.po +++ b/library/undoc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-29 19:16+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/unicodedata.po b/library/unicodedata.po index 75712d18..4eb5e728 100644 --- a/library/unicodedata.po +++ b/library/unicodedata.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-11 17:16+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index 7c2285d3..2c3f5f91 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-12-05 23:16+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-01 23:32+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index 9244d757..a6a260e6 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-04-22 12:07+0200\n" "Last-Translator: Bousquié Pierre \n" "Language-Team: FRENCH \n" @@ -741,7 +741,11 @@ msgstr "" "faire des affirmations plus complexes sur chacun des arguments. Voir :ref:" "`appels comme tuples `." -#: library/unittest.mock.rst:653 +#: library/unittest.mock.rst:650 +msgid "Added ``args`` and ``kwargs`` properties." +msgstr "" + +#: library/unittest.mock.rst:656 msgid "" "This is a list of all the calls made to the mock object in sequence (so the " "length of the list is the number of times it has been called). Before any " @@ -750,47 +754,47 @@ msgid "" "`call_args_list`." msgstr "" -#: library/unittest.mock.rst:669 +#: library/unittest.mock.rst:672 msgid "" "Members of :attr:`call_args_list` are :data:`call` objects. These can be " "unpacked as tuples to get at the individual arguments. See :ref:`calls as " "tuples `." msgstr "" -#: library/unittest.mock.rst:676 +#: library/unittest.mock.rst:679 msgid "" "As well as tracking calls to themselves, mocks also track calls to methods " "and attributes, and *their* methods and attributes:" msgstr "" -#: library/unittest.mock.rst:687 +#: library/unittest.mock.rst:690 msgid "" "Members of :attr:`method_calls` are :data:`call` objects. These can be " "unpacked as tuples to get at the individual arguments. See :ref:`calls as " "tuples `." msgstr "" -#: library/unittest.mock.rst:694 +#: library/unittest.mock.rst:697 msgid "" ":attr:`mock_calls` records *all* calls to the mock object, its methods, " "magic methods *and* return value mocks." msgstr "" -#: library/unittest.mock.rst:712 +#: library/unittest.mock.rst:715 msgid "" "Members of :attr:`mock_calls` are :data:`call` objects. These can be " "unpacked as tuples to get at the individual arguments. See :ref:`calls as " "tuples `." msgstr "" -#: library/unittest.mock.rst:718 +#: library/unittest.mock.rst:721 msgid "" "The way :attr:`mock_calls` are recorded means that where nested calls are " "made, the parameters of ancestor calls are not recorded and so will always " "compare equal:" msgstr "" -#: library/unittest.mock.rst:732 +#: library/unittest.mock.rst:735 msgid "" "Normally the :attr:`__class__` attribute of an object will return its type. " "For a mock object with a :attr:`spec`, ``__class__`` returns the spec class " @@ -798,32 +802,32 @@ msgid "" "object they are replacing / masquerading as:" msgstr "" -#: library/unittest.mock.rst:741 +#: library/unittest.mock.rst:744 msgid "" ":attr:`__class__` is assignable to, this allows a mock to pass an :func:" "`isinstance` check without forcing you to use a spec:" msgstr "" -#: library/unittest.mock.rst:751 +#: library/unittest.mock.rst:754 msgid "" "A non-callable version of :class:`Mock`. The constructor parameters have the " "same meaning of :class:`Mock`, with the exception of *return_value* and " "*side_effect* which have no meaning on a non-callable mock." msgstr "" -#: library/unittest.mock.rst:755 +#: library/unittest.mock.rst:758 msgid "" "Mock objects that use a class or an instance as a :attr:`spec` or :attr:" "`spec_set` are able to pass :func:`isinstance` tests:" msgstr "" -#: library/unittest.mock.rst:765 +#: library/unittest.mock.rst:768 msgid "" "The :class:`Mock` classes have support for mocking magic methods. See :ref:" "`magic methods ` for the full details." msgstr "" -#: library/unittest.mock.rst:768 +#: library/unittest.mock.rst:771 msgid "" "The mock classes and the :func:`patch` decorators all take arbitrary keyword " "arguments for configuration. For the :func:`patch` decorators the keywords " @@ -831,14 +835,14 @@ msgid "" "arguments are for configuring attributes of the mock:" msgstr "" -#: library/unittest.mock.rst:779 +#: library/unittest.mock.rst:782 msgid "" "The return value and side effect of child mocks can be set in the same way, " "using dotted notation. As you can't use dotted names directly in a call you " "have to create a dictionary and unpack it using ``**``:" msgstr "" -#: library/unittest.mock.rst:794 +#: library/unittest.mock.rst:797 msgid "" "A callable mock which was created with a *spec* (or a *spec_set*) will " "introspect the specification object's signature when matching calls to the " @@ -846,7 +850,7 @@ msgid "" "whether they were passed positionally or by name::" msgstr "" -#: library/unittest.mock.rst:807 +#: library/unittest.mock.rst:810 msgid "" "This applies to :meth:`~Mock.assert_called_with`, :meth:`~Mock." "assert_called_once_with`, :meth:`~Mock.assert_has_calls` and :meth:`~Mock." @@ -854,76 +858,76 @@ msgid "" "calls on the mock object." msgstr "" -#: library/unittest.mock.rst:812 +#: library/unittest.mock.rst:815 msgid "Added signature introspection on specced and autospecced mock objects." msgstr "" -#: library/unittest.mock.rst:818 +#: library/unittest.mock.rst:821 msgid "" "A mock intended to be used as a property, or other descriptor, on a class. :" "class:`PropertyMock` provides :meth:`__get__` and :meth:`__set__` methods so " "you can specify a return value when it is fetched." msgstr "" -#: library/unittest.mock.rst:822 +#: library/unittest.mock.rst:825 msgid "" "Fetching a :class:`PropertyMock` instance from an object calls the mock, " "with no args. Setting it calls the mock with the value being set. ::" msgstr "" -#: library/unittest.mock.rst:843 +#: library/unittest.mock.rst:846 msgid "" "Because of the way mock attributes are stored you can't directly attach a :" "class:`PropertyMock` to a mock object. Instead you can attach it to the mock " "type object::" msgstr "" -#: library/unittest.mock.rst:857 +#: library/unittest.mock.rst:860 msgid "" "An asynchronous version of :class:`MagicMock`. The :class:`AsyncMock` object " "will behave so the object is recognized as an async function, and the result " "of a call is an awaitable." msgstr "" -#: library/unittest.mock.rst:867 +#: library/unittest.mock.rst:870 msgid "" "The result of ``mock()`` is an async function which will have the outcome of " "``side_effect`` or ``return_value`` after it has been awaited:" msgstr "" -#: library/unittest.mock.rst:870 +#: library/unittest.mock.rst:873 msgid "" "if ``side_effect`` is a function, the async function will return the result " "of that function," msgstr "" -#: library/unittest.mock.rst:872 +#: library/unittest.mock.rst:875 msgid "" "if ``side_effect`` is an exception, the async function will raise the " "exception," msgstr "" -#: library/unittest.mock.rst:874 +#: library/unittest.mock.rst:877 msgid "" "if ``side_effect`` is an iterable, the async function will return the next " "value of the iterable, however, if the sequence of result is exhausted, " "``StopAsyncIteration`` is raised immediately," msgstr "" -#: library/unittest.mock.rst:877 +#: library/unittest.mock.rst:880 msgid "" "if ``side_effect`` is not defined, the async function will return the value " "defined by ``return_value``, hence, by default, the async function returns a " "new :class:`AsyncMock` object." msgstr "" -#: library/unittest.mock.rst:882 +#: library/unittest.mock.rst:885 msgid "" "Setting the *spec* of a :class:`Mock` or :class:`MagicMock` to an async " "function will result in a coroutine object being returned after calling." msgstr "" -#: library/unittest.mock.rst:894 +#: library/unittest.mock.rst:897 msgid "" "Setting the *spec* of a :class:`Mock`, :class:`MagicMock`, or :class:" "`AsyncMock` to a class with asynchronous and synchronous functions will " @@ -933,23 +937,23 @@ msgid "" "functions will be :class:`AsyncMock`." msgstr "" -#: library/unittest.mock.rst:922 +#: library/unittest.mock.rst:925 msgid "" "Assert that the mock was awaited at least once. Note that this is separate " "from the object having been called, the ``await`` keyword must be used:" msgstr "" -#: library/unittest.mock.rst:941 +#: library/unittest.mock.rst:944 #, fuzzy msgid "Assert that the mock was awaited exactly once." msgstr "Asserter que le *mock* a été appelé exactement une fois." -#: library/unittest.mock.rst:957 +#: library/unittest.mock.rst:960 #, fuzzy msgid "Assert that the last await was with the specified arguments." msgstr "Asserter que le simulacre a été appelé avec les arguments spécifiés." -#: library/unittest.mock.rst:974 +#: library/unittest.mock.rst:977 #, fuzzy msgid "" "Assert that the mock was awaited exactly once and with the specified " @@ -958,12 +962,12 @@ msgstr "" "Asserter que le simulacre a été appelé exactement une fois et que cet appel " "était avec les arguments spécifiés." -#: library/unittest.mock.rst:991 +#: library/unittest.mock.rst:994 #, fuzzy msgid "Assert the mock has ever been awaited with the specified arguments." msgstr "Asserter que le simulacre a été appelé avec les arguments spécifiés." -#: library/unittest.mock.rst:1007 +#: library/unittest.mock.rst:1010 #, fuzzy msgid "" "Assert the mock has been awaited with the specified calls. The :attr:" @@ -972,7 +976,7 @@ msgstr "" "Asserter que le simulacre a été appelé avec les appels spécifiés. " "L'attribut :attr:`mock_calls` est comparé à la liste des appels." -#: library/unittest.mock.rst:1010 +#: library/unittest.mock.rst:1013 #, fuzzy msgid "" "If *any_order* is false then the awaits must be sequential. There can be " @@ -982,7 +986,7 @@ msgstr "" "séquentiels. Il peut y avoir des appels supplémentaires avant ou après les " "appels spécifiés." -#: library/unittest.mock.rst:1014 +#: library/unittest.mock.rst:1017 #, fuzzy msgid "" "If *any_order* is true then the awaits can be in any order, but they must " @@ -991,42 +995,42 @@ msgstr "" "Si *any_order* est vrai alors les appels peuvent être dans n'importe quel " "ordre, mais ils doivent tous apparaître dans :attr:`mock_calls`." -#: library/unittest.mock.rst:1034 +#: library/unittest.mock.rst:1037 #, fuzzy msgid "Assert that the mock was never awaited." msgstr "Asserter que le simulacre n'a jamais été appelé." -#: library/unittest.mock.rst:1041 +#: library/unittest.mock.rst:1044 msgid "" "See :func:`Mock.reset_mock`. Also sets :attr:`await_count` to 0, :attr:" "`await_args` to None, and clears the :attr:`await_args_list`." msgstr "" -#: library/unittest.mock.rst:1046 +#: library/unittest.mock.rst:1049 #, fuzzy msgid "" "An integer keeping track of how many times the mock object has been awaited." msgstr "Un entier indiquant combien de fois le simulacre a été appelé :" -#: library/unittest.mock.rst:1061 +#: library/unittest.mock.rst:1064 msgid "" "This is either ``None`` (if the mock hasn’t been awaited), or the arguments " "that the mock was last awaited with. Functions the same as :attr:`Mock." "call_args`." msgstr "" -#: library/unittest.mock.rst:1079 +#: library/unittest.mock.rst:1082 msgid "" "This is a list of all the awaits made to the mock object in sequence (so the " "length of the list is the number of times it has been awaited). Before any " "awaits have been made it is an empty list." msgstr "" -#: library/unittest.mock.rst:1098 +#: library/unittest.mock.rst:1101 msgid "Calling" msgstr "" -#: library/unittest.mock.rst:1100 +#: library/unittest.mock.rst:1103 msgid "" "Mock objects are callable. The call will return the value set as the :attr:" "`~Mock.return_value` attribute. The default return value is a new Mock " @@ -1035,26 +1039,26 @@ msgid "" "returned each time." msgstr "" -#: library/unittest.mock.rst:1106 +#: library/unittest.mock.rst:1109 msgid "" "Calls made to the object will be recorded in the attributes like :attr:" "`~Mock.call_args` and :attr:`~Mock.call_args_list`." msgstr "" -#: library/unittest.mock.rst:1109 +#: library/unittest.mock.rst:1112 msgid "" "If :attr:`~Mock.side_effect` is set then it will be called after the call " "has been recorded, so if :attr:`side_effect` raises an exception the call is " "still recorded." msgstr "" -#: library/unittest.mock.rst:1113 +#: library/unittest.mock.rst:1116 msgid "" "The simplest way to make a mock raise an exception when called is to make :" "attr:`~Mock.side_effect` an exception class or instance:" msgstr "" -#: library/unittest.mock.rst:1131 +#: library/unittest.mock.rst:1134 msgid "" "If :attr:`side_effect` is a function then whatever that function returns is " "what calls to the mock return. The :attr:`side_effect` function is called " @@ -1062,7 +1066,7 @@ msgid "" "value of the call dynamically, based on the input:" msgstr "" -#: library/unittest.mock.rst:1147 +#: library/unittest.mock.rst:1150 msgid "" "If you want the mock to still return the default return value (a new mock), " "or any set return value, then there are two ways of doing this. Either " @@ -1070,36 +1074,36 @@ msgid "" "data:`DEFAULT`:" msgstr "" -#: library/unittest.mock.rst:1166 +#: library/unittest.mock.rst:1169 msgid "" "To remove a :attr:`side_effect`, and return to the default behaviour, set " "the :attr:`side_effect` to ``None``:" msgstr "" -#: library/unittest.mock.rst:1180 +#: library/unittest.mock.rst:1183 msgid "" "The :attr:`side_effect` can also be any iterable object. Repeated calls to " "the mock will return values from the iterable (until the iterable is " "exhausted and a :exc:`StopIteration` is raised):" msgstr "" -#: library/unittest.mock.rst:1196 +#: library/unittest.mock.rst:1199 msgid "" "If any members of the iterable are exceptions they will be raised instead of " "returned::" msgstr "" -#: library/unittest.mock.rst:1214 +#: library/unittest.mock.rst:1217 msgid "Deleting Attributes" msgstr "" -#: library/unittest.mock.rst:1216 +#: library/unittest.mock.rst:1219 msgid "" "Mock objects create attributes on demand. This allows them to pretend to be " "objects of any type." msgstr "" -#: library/unittest.mock.rst:1219 +#: library/unittest.mock.rst:1222 msgid "" "You may want a mock object to return ``False`` to a :func:`hasattr` call, or " "raise an :exc:`AttributeError` when an attribute is fetched. You can do this " @@ -1107,17 +1111,17 @@ msgid "" "convenient." msgstr "" -#: library/unittest.mock.rst:1223 +#: library/unittest.mock.rst:1226 msgid "" "You \"block\" attributes by deleting them. Once deleted, accessing an " "attribute will raise an :exc:`AttributeError`." msgstr "" -#: library/unittest.mock.rst:1240 +#: library/unittest.mock.rst:1243 msgid "Mock names and the name attribute" msgstr "" -#: library/unittest.mock.rst:1242 +#: library/unittest.mock.rst:1245 msgid "" "Since \"name\" is an argument to the :class:`Mock` constructor, if you want " "your mock object to have a \"name\" attribute you can't just pass it in at " @@ -1125,17 +1129,17 @@ msgid "" "configure_mock`::" msgstr "" -#: library/unittest.mock.rst:1252 +#: library/unittest.mock.rst:1255 msgid "" "A simpler option is to simply set the \"name\" attribute after mock " "creation::" msgstr "" -#: library/unittest.mock.rst:1259 +#: library/unittest.mock.rst:1262 msgid "Attaching Mocks as Attributes" msgstr "" -#: library/unittest.mock.rst:1261 +#: library/unittest.mock.rst:1264 msgid "" "When you attach a mock as an attribute of another mock (or as the return " "value) it becomes a \"child\" of that mock. Calls to the child are recorded " @@ -1146,20 +1150,20 @@ msgid "" "calls between mocks:" msgstr "" -#: library/unittest.mock.rst:1279 +#: library/unittest.mock.rst:1282 msgid "" "The exception to this is if the mock has a name. This allows you to prevent " "the \"parenting\" if for some reason you don't want it to happen." msgstr "" -#: library/unittest.mock.rst:1290 +#: library/unittest.mock.rst:1293 msgid "" "Mocks created for you by :func:`patch` are automatically given names. To " "attach mocks that have names to a parent you use the :meth:`~Mock." "attach_mock` method::" msgstr "" -#: library/unittest.mock.rst:1308 +#: library/unittest.mock.rst:1311 msgid "" "The only exceptions are magic methods and attributes (those that have " "leading and trailing double underscores). Mock doesn't create these but " @@ -1169,11 +1173,11 @@ msgid "" "support see :ref:`magic methods `." msgstr "" -#: library/unittest.mock.rst:1317 +#: library/unittest.mock.rst:1320 msgid "The patchers" msgstr "" -#: library/unittest.mock.rst:1319 +#: library/unittest.mock.rst:1322 msgid "" "The patch decorators are used for patching objects only within the scope of " "the function they decorate. They automatically handle the unpatching for " @@ -1181,17 +1185,17 @@ msgid "" "in with statements or as class decorators." msgstr "" -#: library/unittest.mock.rst:1326 +#: library/unittest.mock.rst:1329 msgid "patch" msgstr "" -#: library/unittest.mock.rst:1330 +#: library/unittest.mock.rst:1333 msgid "" "The key is to do the patching in the right namespace. See the section `where " "to patch`_." msgstr "" -#: library/unittest.mock.rst:1334 +#: library/unittest.mock.rst:1337 msgid "" ":func:`patch` acts as a function decorator, class decorator or a context " "manager. Inside the body of the function or with statement, the *target* is " @@ -1199,7 +1203,7 @@ msgid "" "patch is undone." msgstr "" -#: library/unittest.mock.rst:1339 +#: library/unittest.mock.rst:1342 msgid "" "If *new* is omitted, then the target is replaced with an :class:`AsyncMock` " "if the patched object is an async function or a :class:`MagicMock` " @@ -1209,7 +1213,7 @@ msgid "" "by the context manager." msgstr "" -#: library/unittest.mock.rst:1347 +#: library/unittest.mock.rst:1350 msgid "" "*target* should be a string in the form ``'package.module.ClassName'``. The " "*target* is imported and the specified object replaced with the *new* " @@ -1218,26 +1222,26 @@ msgid "" "function is executed, not at decoration time." msgstr "" -#: library/unittest.mock.rst:1353 +#: library/unittest.mock.rst:1356 msgid "" "The *spec* and *spec_set* keyword arguments are passed to the :class:" "`MagicMock` if patch is creating one for you." msgstr "" -#: library/unittest.mock.rst:1356 +#: library/unittest.mock.rst:1359 msgid "" "In addition you can pass ``spec=True`` or ``spec_set=True``, which causes " "patch to pass in the object being mocked as the spec/spec_set object." msgstr "" -#: library/unittest.mock.rst:1359 +#: library/unittest.mock.rst:1362 msgid "" "*new_callable* allows you to specify a different class, or callable object, " "that will be called to create the *new* object. By default :class:" "`AsyncMock` is used for async functions and :class:`MagicMock` for the rest." msgstr "" -#: library/unittest.mock.rst:1363 +#: library/unittest.mock.rst:1366 msgid "" "A more powerful form of *spec* is *autospec*. If you set ``autospec=True`` " "then the mock will be created with a spec from the object being replaced. " @@ -1249,13 +1253,13 @@ msgid "" "func:`create_autospec` function and :ref:`auto-speccing`." msgstr "" -#: library/unittest.mock.rst:1373 +#: library/unittest.mock.rst:1376 msgid "" "Instead of ``autospec=True`` you can pass ``autospec=some_object`` to use an " "arbitrary object as the spec instead of the one being replaced." msgstr "" -#: library/unittest.mock.rst:1376 +#: library/unittest.mock.rst:1379 msgid "" "By default :func:`patch` will fail to replace attributes that don't exist. " "If you pass in ``create=True``, and the attribute doesn't exist, patch will " @@ -1266,13 +1270,13 @@ msgid "" "write passing tests against APIs that don't actually exist!" msgstr "" -#: library/unittest.mock.rst:1386 +#: library/unittest.mock.rst:1389 msgid "" "If you are patching builtins in a module then you don't need to pass " "``create=True``, it will be added by default." msgstr "" -#: library/unittest.mock.rst:1390 +#: library/unittest.mock.rst:1393 msgid "" "Patch can be used as a :class:`TestCase` class decorator. It works by " "decorating each test method in the class. This reduces the boilerplate code " @@ -1283,7 +1287,7 @@ msgid "" "TEST_PREFIX``." msgstr "" -#: library/unittest.mock.rst:1397 +#: library/unittest.mock.rst:1400 msgid "" "Patch can be used as a context manager, with the with statement. Here the " "patching applies to the indented block after the with statement. If you use " @@ -1291,65 +1295,65 @@ msgid "" "very useful if :func:`patch` is creating a mock object for you." msgstr "" -#: library/unittest.mock.rst:1402 +#: library/unittest.mock.rst:1405 msgid "" ":func:`patch` takes arbitrary keyword arguments. These will be passed to :" "class:`AsyncMock` if the patched object is asynchronous, to :class:" "`MagicMock` otherwise or to *new_callable* if specified." msgstr "" -#: library/unittest.mock.rst:1406 +#: library/unittest.mock.rst:1409 msgid "" "``patch.dict(...)``, ``patch.multiple(...)`` and ``patch.object(...)`` are " "available for alternate use-cases." msgstr "" -#: library/unittest.mock.rst:1409 +#: library/unittest.mock.rst:1412 msgid "" ":func:`patch` as function decorator, creating the mock for you and passing " "it into the decorated function::" msgstr "" -#: library/unittest.mock.rst:1419 +#: library/unittest.mock.rst:1422 msgid "" "Patching a class replaces the class with a :class:`MagicMock` *instance*. If " "the class is instantiated in the code under test then it will be the :attr:" "`~Mock.return_value` of the mock that will be used." msgstr "" -#: library/unittest.mock.rst:1423 +#: library/unittest.mock.rst:1426 msgid "" "If the class is instantiated multiple times you could use :attr:`~Mock." "side_effect` to return a new mock each time. Alternatively you can set the " "*return_value* to be anything you want." msgstr "" -#: library/unittest.mock.rst:1427 +#: library/unittest.mock.rst:1430 msgid "" "To configure return values on methods of *instances* on the patched class " "you must do this on the :attr:`return_value`. For example::" msgstr "" -#: library/unittest.mock.rst:1441 +#: library/unittest.mock.rst:1444 msgid "" "If you use *spec* or *spec_set* and :func:`patch` is replacing a *class*, " "then the return value of the created mock will have the same spec. ::" msgstr "" -#: library/unittest.mock.rst:1451 +#: library/unittest.mock.rst:1454 msgid "" "The *new_callable* argument is useful where you want to use an alternative " "class to the default :class:`MagicMock` for the created mock. For example, " "if you wanted a :class:`NonCallableMock` to be used::" msgstr "" -#: library/unittest.mock.rst:1464 +#: library/unittest.mock.rst:1467 msgid "" "Another use case might be to replace an object with an :class:`io.StringIO` " "instance::" msgstr "" -#: library/unittest.mock.rst:1477 +#: library/unittest.mock.rst:1480 msgid "" "When :func:`patch` is creating a mock for you, it is common that the first " "thing you need to do is to configure the mock. Some of that configuration " @@ -1357,7 +1361,7 @@ msgid "" "call will be used to set attributes on the created mock::" msgstr "" -#: library/unittest.mock.rst:1489 +#: library/unittest.mock.rst:1492 msgid "" "As well as attributes on the created mock attributes, like the :attr:`~Mock." "return_value` and :attr:`~Mock.side_effect`, of child mocks can also be " @@ -1366,36 +1370,36 @@ msgid "" "func:`patch` call using ``**``::" msgstr "" -#: library/unittest.mock.rst:1505 +#: library/unittest.mock.rst:1508 msgid "" "By default, attempting to patch a function in a module (or a method or an " "attribute in a class) that does not exist will fail with :exc:" "`AttributeError`::" msgstr "" -#: library/unittest.mock.rst:1517 +#: library/unittest.mock.rst:1520 msgid "" "but adding ``create=True`` in the call to :func:`patch` will make the " "previous example work as expected::" msgstr "" -#: library/unittest.mock.rst:1528 +#: library/unittest.mock.rst:1531 msgid "" ":func:`patch` now returns an :class:`AsyncMock` if the target is an async " "function." msgstr "" -#: library/unittest.mock.rst:1532 +#: library/unittest.mock.rst:1535 msgid "patch.object" msgstr "" -#: library/unittest.mock.rst:1536 +#: library/unittest.mock.rst:1539 msgid "" "patch the named member (*attribute*) on an object (*target*) with a mock " "object." msgstr "" -#: library/unittest.mock.rst:1539 +#: library/unittest.mock.rst:1542 msgid "" ":func:`patch.object` can be used as a decorator, class decorator or a " "context manager. Arguments *new*, *spec*, *create*, *spec_set*, *autospec* " @@ -1404,80 +1408,80 @@ msgid "" "configuring the mock object it creates." msgstr "" -#: library/unittest.mock.rst:1545 +#: library/unittest.mock.rst:1548 msgid "" "When used as a class decorator :func:`patch.object` honours ``patch." "TEST_PREFIX`` for choosing which methods to wrap." msgstr "" -#: library/unittest.mock.rst:1548 +#: library/unittest.mock.rst:1551 msgid "" "You can either call :func:`patch.object` with three arguments or two " "arguments. The three argument form takes the object to be patched, the " "attribute name and the object to replace the attribute with." msgstr "" -#: library/unittest.mock.rst:1552 +#: library/unittest.mock.rst:1555 msgid "" "When calling with the two argument form you omit the replacement object, and " "a mock is created for you and passed in as an extra argument to the " "decorated function:" msgstr "" -#: library/unittest.mock.rst:1563 +#: library/unittest.mock.rst:1566 msgid "" "*spec*, *create* and the other arguments to :func:`patch.object` have the " "same meaning as they do for :func:`patch`." msgstr "" -#: library/unittest.mock.rst:1568 +#: library/unittest.mock.rst:1571 msgid "patch.dict" msgstr "" -#: library/unittest.mock.rst:1572 +#: library/unittest.mock.rst:1575 msgid "" "Patch a dictionary, or dictionary like object, and restore the dictionary to " "its original state after the test." msgstr "" -#: library/unittest.mock.rst:1575 +#: library/unittest.mock.rst:1578 msgid "" "*in_dict* can be a dictionary or a mapping like container. If it is a " "mapping then it must at least support getting, setting and deleting items " "plus iterating over keys." msgstr "" -#: library/unittest.mock.rst:1579 +#: library/unittest.mock.rst:1582 msgid "" "*in_dict* can also be a string specifying the name of the dictionary, which " "will then be fetched by importing it." msgstr "" -#: library/unittest.mock.rst:1582 +#: library/unittest.mock.rst:1585 msgid "" "*values* can be a dictionary of values to set in the dictionary. *values* " "can also be an iterable of ``(key, value)`` pairs." msgstr "" -#: library/unittest.mock.rst:1585 +#: library/unittest.mock.rst:1588 msgid "" "If *clear* is true then the dictionary will be cleared before the new values " "are set." msgstr "" -#: library/unittest.mock.rst:1588 +#: library/unittest.mock.rst:1591 msgid "" ":func:`patch.dict` can also be called with arbitrary keyword arguments to " "set values in the dictionary." msgstr "" -#: library/unittest.mock.rst:1593 +#: library/unittest.mock.rst:1596 msgid "" ":func:`patch.dict` now returns the patched dictionary when used as a context " "manager." msgstr "" -#: library/unittest.mock.rst:1596 +#: library/unittest.mock.rst:1599 #, fuzzy msgid "" ":func:`patch.dict` can be used as a context manager, decorator or class " @@ -1486,33 +1490,33 @@ msgstr "" "Comme tout décorateur, :func:`patch` peut être utilisé comme gestionnaire de " "contexte avec une instruction *with* ::" -#: library/unittest.mock.rst:1606 +#: library/unittest.mock.rst:1609 msgid "" "When used as a class decorator :func:`patch.dict` honours ``patch." "TEST_PREFIX`` (default to ``'test'``) for choosing which methods to wrap:" msgstr "" -#: library/unittest.mock.rst:1617 +#: library/unittest.mock.rst:1620 msgid "" "If you want to use a different prefix for your test, you can inform the " "patchers of the different prefix by setting ``patch.TEST_PREFIX``. For more " "details about how to change the value of see :ref:`test-prefix`." msgstr "" -#: library/unittest.mock.rst:1621 +#: library/unittest.mock.rst:1624 msgid "" ":func:`patch.dict` can be used to add members to a dictionary, or simply let " "a test change a dictionary, and ensure the dictionary is restored when the " "test ends." msgstr "" -#: library/unittest.mock.rst:1642 +#: library/unittest.mock.rst:1645 msgid "" "Keywords can be used in the :func:`patch.dict` call to set values in the " "dictionary:" msgstr "" -#: library/unittest.mock.rst:1652 +#: library/unittest.mock.rst:1655 msgid "" ":func:`patch.dict` can be used with dictionary like objects that aren't " "actually dictionaries. At the very minimum they must support item getting, " @@ -1521,18 +1525,18 @@ msgid "" "`__delitem__` and either :meth:`__iter__` or :meth:`__contains__`." msgstr "" -#: library/unittest.mock.rst:1681 +#: library/unittest.mock.rst:1684 msgid "patch.multiple" msgstr "" -#: library/unittest.mock.rst:1685 +#: library/unittest.mock.rst:1688 msgid "" "Perform multiple patches in a single call. It takes the object to be patched " "(either as an object or a string to fetch the object by importing) and " "keyword arguments for the patches::" msgstr "" -#: library/unittest.mock.rst:1692 +#: library/unittest.mock.rst:1695 msgid "" "Use :data:`DEFAULT` as the value if you want :func:`patch.multiple` to " "create mocks for you. In this case the created mocks are passed into a " @@ -1540,7 +1544,7 @@ msgid "" "`patch.multiple` is used as a context manager." msgstr "" -#: library/unittest.mock.rst:1697 +#: library/unittest.mock.rst:1700 msgid "" ":func:`patch.multiple` can be used as a decorator, class decorator or a " "context manager. The arguments *spec*, *spec_set*, *create*, *autospec* and " @@ -1548,13 +1552,13 @@ msgid "" "will be applied to *all* patches done by :func:`patch.multiple`." msgstr "" -#: library/unittest.mock.rst:1702 +#: library/unittest.mock.rst:1705 msgid "" "When used as a class decorator :func:`patch.multiple` honours ``patch." "TEST_PREFIX`` for choosing which methods to wrap." msgstr "" -#: library/unittest.mock.rst:1705 +#: library/unittest.mock.rst:1708 msgid "" "If you want :func:`patch.multiple` to create mocks for you, then you can " "use :data:`DEFAULT` as the value. If you use :func:`patch.multiple` as a " @@ -1562,32 +1566,32 @@ msgid "" "keyword. ::" msgstr "" -#: library/unittest.mock.rst:1719 +#: library/unittest.mock.rst:1722 msgid "" ":func:`patch.multiple` can be nested with other ``patch`` decorators, but " "put arguments passed by keyword *after* any of the standard arguments " "created by :func:`patch`::" msgstr "" -#: library/unittest.mock.rst:1731 +#: library/unittest.mock.rst:1734 msgid "" "If :func:`patch.multiple` is used as a context manager, the value returned " "by the context manager is a dictionary where created mocks are keyed by " "name::" msgstr "" -#: library/unittest.mock.rst:1745 +#: library/unittest.mock.rst:1748 msgid "patch methods: start and stop" msgstr "" -#: library/unittest.mock.rst:1747 +#: library/unittest.mock.rst:1750 msgid "" "All the patchers have :meth:`start` and :meth:`stop` methods. These make it " "simpler to do patching in ``setUp`` methods or where you want to do multiple " "patches without nesting decorators or with statements." msgstr "" -#: library/unittest.mock.rst:1751 +#: library/unittest.mock.rst:1754 msgid "" "To use them call :func:`patch`, :func:`patch.object` or :func:`patch.dict` " "as normal and keep a reference to the returned ``patcher`` object. You can " @@ -1595,19 +1599,19 @@ msgid "" "it." msgstr "" -#: library/unittest.mock.rst:1755 +#: library/unittest.mock.rst:1758 msgid "" "If you are using :func:`patch` to create a mock for you then it will be " "returned by the call to ``patcher.start``. ::" msgstr "" -#: library/unittest.mock.rst:1769 +#: library/unittest.mock.rst:1772 msgid "" "A typical use case for this might be for doing multiple patches in the " "``setUp`` method of a :class:`TestCase`::" msgstr "" -#: library/unittest.mock.rst:1791 +#: library/unittest.mock.rst:1794 msgid "" "If you use this technique you must ensure that the patching is \"undone\" by " "calling ``stop``. This can be fiddlier than you might think, because if an " @@ -1615,37 +1619,37 @@ msgid "" "`unittest.TestCase.addCleanup` makes this easier::" msgstr "" -#: library/unittest.mock.rst:1806 +#: library/unittest.mock.rst:1809 msgid "" "As an added bonus you no longer need to keep a reference to the ``patcher`` " "object." msgstr "" -#: library/unittest.mock.rst:1809 +#: library/unittest.mock.rst:1812 msgid "" "It is also possible to stop all patches which have been started by using :" "func:`patch.stopall`." msgstr "" -#: library/unittest.mock.rst:1814 +#: library/unittest.mock.rst:1817 msgid "Stop all active patches. Only stops patches started with ``start``." msgstr "" -#: library/unittest.mock.rst:1820 +#: library/unittest.mock.rst:1823 msgid "patch builtins" msgstr "" -#: library/unittest.mock.rst:1821 +#: library/unittest.mock.rst:1824 msgid "" "You can patch any builtins within a module. The following example patches " "builtin :func:`ord`::" msgstr "" -#: library/unittest.mock.rst:1836 +#: library/unittest.mock.rst:1839 msgid "TEST_PREFIX" msgstr "" -#: library/unittest.mock.rst:1838 +#: library/unittest.mock.rst:1841 msgid "" "All of the patchers can be used as class decorators. When used in this way " "they wrap every test method on the class. The patchers recognise methods " @@ -1653,39 +1657,39 @@ msgid "" "the :class:`unittest.TestLoader` finds test methods by default." msgstr "" -#: library/unittest.mock.rst:1843 +#: library/unittest.mock.rst:1846 msgid "" "It is possible that you want to use a different prefix for your tests. You " "can inform the patchers of the different prefix by setting ``patch." "TEST_PREFIX``::" msgstr "" -#: library/unittest.mock.rst:1866 +#: library/unittest.mock.rst:1869 msgid "Nesting Patch Decorators" msgstr "" -#: library/unittest.mock.rst:1868 +#: library/unittest.mock.rst:1871 msgid "" "If you want to perform multiple patches then you can simply stack up the " "decorators." msgstr "" -#: library/unittest.mock.rst:1871 +#: library/unittest.mock.rst:1874 msgid "You can stack up multiple patch decorators using this pattern:" msgstr "" -#: library/unittest.mock.rst:1887 +#: library/unittest.mock.rst:1890 msgid "" "Note that the decorators are applied from the bottom upwards. This is the " "standard way that Python applies decorators. The order of the created mocks " "passed into your test function matches this order." msgstr "" -#: library/unittest.mock.rst:1895 +#: library/unittest.mock.rst:1898 msgid "Where to patch" msgstr "" -#: library/unittest.mock.rst:1897 +#: library/unittest.mock.rst:1900 msgid "" ":func:`patch` works by (temporarily) changing the object that a *name* " "points to with another one. There can be many names pointing to any " @@ -1693,19 +1697,19 @@ msgid "" "the name used by the system under test." msgstr "" -#: library/unittest.mock.rst:1902 +#: library/unittest.mock.rst:1905 msgid "" "The basic principle is that you patch where an object is *looked up*, which " "is not necessarily the same place as where it is defined. A couple of " "examples will help to clarify this." msgstr "" -#: library/unittest.mock.rst:1906 +#: library/unittest.mock.rst:1909 msgid "" "Imagine we have a project that we want to test with the following structure::" msgstr "" -#: library/unittest.mock.rst:1915 +#: library/unittest.mock.rst:1918 msgid "" "Now we want to test ``some_function`` but we want to mock out ``SomeClass`` " "using :func:`patch`. The problem is that when we import module b, which we " @@ -1715,7 +1719,7 @@ msgid "" "like our patching had no effect." msgstr "" -#: library/unittest.mock.rst:1922 +#: library/unittest.mock.rst:1925 msgid "" "The key is to patch out ``SomeClass`` where it is used (or where it is " "looked up). In this case ``some_function`` will actually look up " @@ -1723,7 +1727,7 @@ msgid "" "look like::" msgstr "" -#: library/unittest.mock.rst:1928 +#: library/unittest.mock.rst:1931 msgid "" "However, consider the alternative scenario where instead of ``from a import " "SomeClass`` module b does ``import a`` and ``some_function`` uses ``a." @@ -1732,11 +1736,11 @@ msgid "" "``a.SomeClass`` instead::" msgstr "" -#: library/unittest.mock.rst:1937 +#: library/unittest.mock.rst:1940 msgid "Patching Descriptors and Proxy Objects" msgstr "" -#: library/unittest.mock.rst:1939 +#: library/unittest.mock.rst:1942 msgid "" "Both patch_ and patch.object_ correctly patch and restore descriptors: class " "methods, static methods and properties. You should patch these on the " @@ -1745,22 +1749,22 @@ msgid "" "voidspace.org.uk/python/weblog/arch_d7_2010_12_04.shtml#e1198>`_." msgstr "" -#: library/unittest.mock.rst:1947 +#: library/unittest.mock.rst:1950 msgid "MagicMock and magic method support" msgstr "" -#: library/unittest.mock.rst:1952 +#: library/unittest.mock.rst:1955 msgid "Mocking Magic Methods" msgstr "" -#: library/unittest.mock.rst:1954 +#: library/unittest.mock.rst:1957 msgid "" ":class:`Mock` supports mocking the Python protocol methods, also known as " "\"magic methods\". This allows mock objects to replace containers or other " "objects that implement Python protocols." msgstr "" -#: library/unittest.mock.rst:1958 +#: library/unittest.mock.rst:1961 msgid "" "Because magic methods are looked up differently from normal methods [#]_, " "this support has been specially implemented. This means that only specific " @@ -1768,74 +1772,74 @@ msgid "" "them. If there are any missing that you need please let us know." msgstr "" -#: library/unittest.mock.rst:1963 +#: library/unittest.mock.rst:1966 msgid "" "You mock magic methods by setting the method you are interested in to a " "function or a mock instance. If you are using a function then it *must* take " "``self`` as the first argument [#]_." msgstr "" -#: library/unittest.mock.rst:1986 +#: library/unittest.mock.rst:1989 msgid "" "One use case for this is for mocking objects used as context managers in a :" "keyword:`with` statement:" msgstr "" -#: library/unittest.mock.rst:1998 +#: library/unittest.mock.rst:2001 msgid "" "Calls to magic methods do not appear in :attr:`~Mock.method_calls`, but they " "are recorded in :attr:`~Mock.mock_calls`." msgstr "" -#: library/unittest.mock.rst:2003 +#: library/unittest.mock.rst:2006 msgid "" "If you use the *spec* keyword argument to create a mock then attempting to " "set a magic method that isn't in the spec will raise an :exc:" "`AttributeError`." msgstr "" -#: library/unittest.mock.rst:2006 +#: library/unittest.mock.rst:2009 msgid "The full list of supported magic methods is:" msgstr "" -#: library/unittest.mock.rst:2008 +#: library/unittest.mock.rst:2011 msgid "``__hash__``, ``__sizeof__``, ``__repr__`` and ``__str__``" msgstr "" -#: library/unittest.mock.rst:2009 +#: library/unittest.mock.rst:2012 msgid "``__dir__``, ``__format__`` and ``__subclasses__``" msgstr "``__dir__``, ``__format__`` et ``__subclasses__``" -#: library/unittest.mock.rst:2010 +#: library/unittest.mock.rst:2013 #, fuzzy msgid "``__round__``, ``__floor__``, ``__trunc__`` and ``__ceil__``" msgstr "``__floor__``, ``__trunc__`` et ``__ceil__``" -#: library/unittest.mock.rst:2011 +#: library/unittest.mock.rst:2014 msgid "" "Comparisons: ``__lt__``, ``__gt__``, ``__le__``, ``__ge__``, ``__eq__`` and " "``__ne__``" msgstr "" -#: library/unittest.mock.rst:2013 +#: library/unittest.mock.rst:2016 msgid "" "Container methods: ``__getitem__``, ``__setitem__``, ``__delitem__``, " "``__contains__``, ``__len__``, ``__iter__``, ``__reversed__`` and " "``__missing__``" msgstr "" -#: library/unittest.mock.rst:2016 +#: library/unittest.mock.rst:2019 #, fuzzy msgid "" "Context manager: ``__enter__``, ``__exit__``, ``__aenter__`` and " "``__aexit__``" msgstr "``__get__``, ``__set__`` et ``__delete__``" -#: library/unittest.mock.rst:2017 +#: library/unittest.mock.rst:2020 msgid "Unary numeric methods: ``__neg__``, ``__pos__`` and ``__invert__``" msgstr "" -#: library/unittest.mock.rst:2018 +#: library/unittest.mock.rst:2021 msgid "" "The numeric methods (including right hand and in-place variants): " "``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__div__``, " @@ -1844,100 +1848,100 @@ msgid "" "``__pow__``" msgstr "" -#: library/unittest.mock.rst:2022 +#: library/unittest.mock.rst:2025 msgid "" "Numeric conversion methods: ``__complex__``, ``__int__``, ``__float__`` and " "``__index__``" msgstr "" -#: library/unittest.mock.rst:2024 +#: library/unittest.mock.rst:2027 msgid "Descriptor methods: ``__get__``, ``__set__`` and ``__delete__``" msgstr "" -#: library/unittest.mock.rst:2025 +#: library/unittest.mock.rst:2028 msgid "" "Pickling: ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, " "``__getnewargs__``, ``__getstate__`` and ``__setstate__``" msgstr "" -#: library/unittest.mock.rst:2027 +#: library/unittest.mock.rst:2030 msgid "File system path representation: ``__fspath__``" msgstr "" -#: library/unittest.mock.rst:2028 +#: library/unittest.mock.rst:2031 msgid "Asynchronous iteration methods: ``__aiter__`` and ``__anext__``" msgstr "" -#: library/unittest.mock.rst:2030 +#: library/unittest.mock.rst:2033 msgid "Added support for :func:`os.PathLike.__fspath__`." msgstr "" -#: library/unittest.mock.rst:2033 +#: library/unittest.mock.rst:2036 msgid "" "Added support for ``__aenter__``, ``__aexit__``, ``__aiter__`` and " "``__anext__``." msgstr "" -#: library/unittest.mock.rst:2037 +#: library/unittest.mock.rst:2040 msgid "" "The following methods exist but are *not* supported as they are either in " "use by mock, can't be set dynamically, or can cause problems:" msgstr "" -#: library/unittest.mock.rst:2040 +#: library/unittest.mock.rst:2043 msgid "``__getattr__``, ``__setattr__``, ``__init__`` and ``__new__``" msgstr "" -#: library/unittest.mock.rst:2041 +#: library/unittest.mock.rst:2044 msgid "" "``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``" msgstr "" -#: library/unittest.mock.rst:2046 +#: library/unittest.mock.rst:2049 msgid "Magic Mock" msgstr "" -#: library/unittest.mock.rst:2048 +#: library/unittest.mock.rst:2051 msgid "" "There are two ``MagicMock`` variants: :class:`MagicMock` and :class:" "`NonCallableMagicMock`." msgstr "" -#: library/unittest.mock.rst:2053 +#: library/unittest.mock.rst:2056 msgid "" "``MagicMock`` is a subclass of :class:`Mock` with default implementations of " "most of the magic methods. You can use ``MagicMock`` without having to " "configure the magic methods yourself." msgstr "" -#: library/unittest.mock.rst:2057 +#: library/unittest.mock.rst:2060 msgid "The constructor parameters have the same meaning as for :class:`Mock`." msgstr "" -#: library/unittest.mock.rst:2059 +#: library/unittest.mock.rst:2062 msgid "" "If you use the *spec* or *spec_set* arguments then *only* magic methods that " "exist in the spec will be created." msgstr "" -#: library/unittest.mock.rst:2065 +#: library/unittest.mock.rst:2068 msgid "A non-callable version of :class:`MagicMock`." msgstr "" -#: library/unittest.mock.rst:2067 +#: library/unittest.mock.rst:2070 msgid "" "The constructor parameters have the same meaning as for :class:`MagicMock`, " "with the exception of *return_value* and *side_effect* which have no meaning " "on a non-callable mock." msgstr "" -#: library/unittest.mock.rst:2071 +#: library/unittest.mock.rst:2074 msgid "" "The magic methods are setup with :class:`MagicMock` objects, so you can " "configure them and use them in the usual way:" msgstr "" -#: library/unittest.mock.rst:2081 +#: library/unittest.mock.rst:2084 msgid "" "By default many of the protocol methods are required to return objects of a " "specific type. These methods are preconfigured with a default return value, " @@ -1946,83 +1950,83 @@ msgid "" "manually if you want to change the default." msgstr "" -#: library/unittest.mock.rst:2087 +#: library/unittest.mock.rst:2090 msgid "Methods and their defaults:" msgstr "" -#: library/unittest.mock.rst:2089 +#: library/unittest.mock.rst:2092 msgid "``__lt__``: ``NotImplemented``" msgstr "``__lt__``: ``NotImplemented``" -#: library/unittest.mock.rst:2090 +#: library/unittest.mock.rst:2093 msgid "``__gt__``: ``NotImplemented``" msgstr "``__gt__``: ``NotImplemented``" -#: library/unittest.mock.rst:2091 +#: library/unittest.mock.rst:2094 msgid "``__le__``: ``NotImplemented``" msgstr "``__le__``: ``NotImplemented``" -#: library/unittest.mock.rst:2092 +#: library/unittest.mock.rst:2095 msgid "``__ge__``: ``NotImplemented``" msgstr "``__ge__``: ``NotImplemented``" -#: library/unittest.mock.rst:2093 +#: library/unittest.mock.rst:2096 msgid "``__int__``: ``1``" msgstr "``__int__``: ``1``" -#: library/unittest.mock.rst:2094 +#: library/unittest.mock.rst:2097 msgid "``__contains__``: ``False``" msgstr "``__contains__``: ``False``" -#: library/unittest.mock.rst:2095 +#: library/unittest.mock.rst:2098 msgid "``__len__``: ``0``" msgstr "``__int__``: ``0``" -#: library/unittest.mock.rst:2096 +#: library/unittest.mock.rst:2099 msgid "``__iter__``: ``iter([])``" msgstr "``__iter__``: ``iter([])``" -#: library/unittest.mock.rst:2097 +#: library/unittest.mock.rst:2100 msgid "``__exit__``: ``False``" msgstr "``__exit__``: ``False``" -#: library/unittest.mock.rst:2098 +#: library/unittest.mock.rst:2101 msgid "``__aexit__``: ``False``" msgstr "``__exit__``: ``False``" -#: library/unittest.mock.rst:2099 +#: library/unittest.mock.rst:2102 msgid "``__complex__``: ``1j``" msgstr "``__complex__``: ``1j``" -#: library/unittest.mock.rst:2100 +#: library/unittest.mock.rst:2103 msgid "``__float__``: ``1.0``" msgstr "``__float__``: ``1.0``" -#: library/unittest.mock.rst:2101 +#: library/unittest.mock.rst:2104 msgid "``__bool__``: ``True``" msgstr "``__bool__``: ``True``" -#: library/unittest.mock.rst:2102 +#: library/unittest.mock.rst:2105 msgid "``__index__``: ``1``" msgstr "``__index__``: ``1``" -#: library/unittest.mock.rst:2103 +#: library/unittest.mock.rst:2106 msgid "``__hash__``: default hash for the mock" msgstr "" -#: library/unittest.mock.rst:2104 +#: library/unittest.mock.rst:2107 msgid "``__str__``: default str for the mock" msgstr "" -#: library/unittest.mock.rst:2105 +#: library/unittest.mock.rst:2108 msgid "``__sizeof__``: default sizeof for the mock" msgstr "" -#: library/unittest.mock.rst:2107 +#: library/unittest.mock.rst:2110 msgid "For example:" msgstr "Par exemple :" -#: library/unittest.mock.rst:2119 +#: library/unittest.mock.rst:2122 msgid "" "The two equality methods, :meth:`__eq__` and :meth:`__ne__`, are special. " "They do the default equality comparison on identity, using the :attr:`~Mock." @@ -2030,102 +2034,102 @@ msgid "" "something else::" msgstr "" -#: library/unittest.mock.rst:2133 +#: library/unittest.mock.rst:2136 msgid "" "The return value of :meth:`MagicMock.__iter__` can be any iterable object " "and isn't required to be an iterator:" msgstr "" -#: library/unittest.mock.rst:2143 +#: library/unittest.mock.rst:2146 msgid "" "If the return value *is* an iterator, then iterating over it once will " "consume it and subsequent iterations will result in an empty list:" msgstr "" -#: library/unittest.mock.rst:2152 +#: library/unittest.mock.rst:2155 msgid "" "``MagicMock`` has all of the supported magic methods configured except for " "some of the obscure and obsolete ones. You can still set these up if you " "want." msgstr "" -#: library/unittest.mock.rst:2155 +#: library/unittest.mock.rst:2158 msgid "" "Magic methods that are supported but not setup by default in ``MagicMock`` " "are:" msgstr "" -#: library/unittest.mock.rst:2157 +#: library/unittest.mock.rst:2160 msgid "``__subclasses__``" msgstr "``__subclasses__``" -#: library/unittest.mock.rst:2158 +#: library/unittest.mock.rst:2161 msgid "``__dir__``" msgstr "``__dir__``" -#: library/unittest.mock.rst:2159 +#: library/unittest.mock.rst:2162 msgid "``__format__``" msgstr "``__format__``" -#: library/unittest.mock.rst:2160 +#: library/unittest.mock.rst:2163 msgid "``__get__``, ``__set__`` and ``__delete__``" msgstr "``__get__``, ``__set__`` et ``__delete__``" -#: library/unittest.mock.rst:2161 +#: library/unittest.mock.rst:2164 msgid "``__reversed__`` and ``__missing__``" msgstr "``__reversed__`` et ``__missing__``" -#: library/unittest.mock.rst:2162 +#: library/unittest.mock.rst:2165 msgid "" "``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``, " "``__getstate__`` and ``__setstate__``" msgstr "" -#: library/unittest.mock.rst:2164 +#: library/unittest.mock.rst:2167 msgid "``__getformat__`` and ``__setformat__``" msgstr "``__getformat__`` et ``__setformat__``" -#: library/unittest.mock.rst:2168 +#: library/unittest.mock.rst:2171 msgid "" "Magic methods *should* be looked up on the class rather than the instance. " "Different versions of Python are inconsistent about applying this rule. The " "supported protocol methods should work with all supported versions of Python." msgstr "" -#: library/unittest.mock.rst:2172 +#: library/unittest.mock.rst:2175 msgid "" "The function is basically hooked up to the class, but each ``Mock`` instance " "is kept isolated from the others." msgstr "" -#: library/unittest.mock.rst:2177 +#: library/unittest.mock.rst:2180 msgid "Helpers" msgstr "" -#: library/unittest.mock.rst:2180 +#: library/unittest.mock.rst:2183 msgid "sentinel" msgstr "" -#: library/unittest.mock.rst:2184 +#: library/unittest.mock.rst:2187 msgid "" "The ``sentinel`` object provides a convenient way of providing unique " "objects for your tests." msgstr "" -#: library/unittest.mock.rst:2187 +#: library/unittest.mock.rst:2190 msgid "" "Attributes are created on demand when you access them by name. Accessing the " "same attribute will always return the same object. The objects returned have " "a sensible repr so that test failure messages are readable." msgstr "" -#: library/unittest.mock.rst:2191 +#: library/unittest.mock.rst:2194 msgid "" "The ``sentinel`` attributes now preserve their identity when they are :mod:" "`copied ` or :mod:`pickled `." msgstr "" -#: library/unittest.mock.rst:2195 +#: library/unittest.mock.rst:2198 msgid "" "Sometimes when testing you need to test that a specific object is passed as " "an argument to another method, or returned. It can be common to create named " @@ -2133,28 +2137,28 @@ msgid "" "creating and testing the identity of objects like this." msgstr "" -#: library/unittest.mock.rst:2200 +#: library/unittest.mock.rst:2203 msgid "" "In this example we monkey patch ``method`` to return ``sentinel." "some_object``:" msgstr "" -#: library/unittest.mock.rst:2212 +#: library/unittest.mock.rst:2215 msgid "DEFAULT" msgstr "" -#: library/unittest.mock.rst:2217 +#: library/unittest.mock.rst:2220 msgid "" "The :data:`DEFAULT` object is a pre-created sentinel (actually ``sentinel." "DEFAULT``). It can be used by :attr:`~Mock.side_effect` functions to " "indicate that the normal return value should be used." msgstr "" -#: library/unittest.mock.rst:2223 +#: library/unittest.mock.rst:2226 msgid "call" msgstr "" -#: library/unittest.mock.rst:2227 +#: library/unittest.mock.rst:2230 msgid "" ":func:`call` is a helper object for making simpler assertions, for comparing " "with :attr:`~Mock.call_args`, :attr:`~Mock.call_args_list`, :attr:`~Mock." @@ -2162,13 +2166,13 @@ msgid "" "with :meth:`~Mock.assert_has_calls`." msgstr "" -#: library/unittest.mock.rst:2240 +#: library/unittest.mock.rst:2243 msgid "" "For a call object that represents multiple calls, :meth:`call_list` returns " "a list of all the intermediate calls as well as the final call." msgstr "" -#: library/unittest.mock.rst:2244 +#: library/unittest.mock.rst:2247 msgid "" "``call_list`` is particularly useful for making assertions on \"chained calls" "\". A chained call is multiple calls on a single line of code. This results " @@ -2176,13 +2180,13 @@ msgid "" "constructing the sequence of calls can be tedious." msgstr "" -#: library/unittest.mock.rst:2249 +#: library/unittest.mock.rst:2252 msgid "" ":meth:`~call.call_list` can construct the sequence of calls from the same " "chained call:" msgstr "" -#: library/unittest.mock.rst:2266 +#: library/unittest.mock.rst:2269 msgid "" "A ``call`` object is either a tuple of (positional args, keyword args) or " "(name, positional args, keyword args) depending on how it was constructed. " @@ -2192,7 +2196,7 @@ msgid "" "to get at the individual arguments they contain." msgstr "" -#: library/unittest.mock.rst:2273 +#: library/unittest.mock.rst:2276 msgid "" "The ``call`` objects in :attr:`Mock.call_args` and :attr:`Mock." "call_args_list` are two-tuples of (positional args, keyword args) whereas " @@ -2201,7 +2205,7 @@ msgid "" "args)." msgstr "" -#: library/unittest.mock.rst:2278 +#: library/unittest.mock.rst:2281 msgid "" "You can use their \"tupleness\" to pull out the individual arguments for " "more complex introspection and assertions. The positional arguments are a " @@ -2209,29 +2213,29 @@ msgid "" "arguments are a dictionary:" msgstr "" -#: library/unittest.mock.rst:2311 +#: library/unittest.mock.rst:2314 msgid "create_autospec" msgstr "" -#: library/unittest.mock.rst:2315 +#: library/unittest.mock.rst:2318 msgid "" "Create a mock object using another object as a spec. Attributes on the mock " "will use the corresponding attribute on the *spec* object as their spec." msgstr "" -#: library/unittest.mock.rst:2319 +#: library/unittest.mock.rst:2322 msgid "" "Functions or methods being mocked will have their arguments checked to " "ensure that they are called with the correct signature." msgstr "" -#: library/unittest.mock.rst:2322 +#: library/unittest.mock.rst:2325 msgid "" "If *spec_set* is ``True`` then attempting to set attributes that don't exist " "on the spec object will raise an :exc:`AttributeError`." msgstr "" -#: library/unittest.mock.rst:2325 +#: library/unittest.mock.rst:2328 msgid "" "If a class is used as a spec then the return value of the mock (the instance " "of the class) will have the same spec. You can use a class as the spec for " @@ -2239,29 +2243,29 @@ msgid "" "be callable if instances of the mock are callable." msgstr "" -#: library/unittest.mock.rst:2330 +#: library/unittest.mock.rst:2333 msgid "" ":func:`create_autospec` also takes arbitrary keyword arguments that are " "passed to the constructor of the created mock." msgstr "" -#: library/unittest.mock.rst:2333 +#: library/unittest.mock.rst:2336 msgid "" "See :ref:`auto-speccing` for examples of how to use auto-speccing with :func:" "`create_autospec` and the *autospec* argument to :func:`patch`." msgstr "" -#: library/unittest.mock.rst:2339 +#: library/unittest.mock.rst:2342 msgid "" ":func:`create_autospec` now returns an :class:`AsyncMock` if the target is " "an async function." msgstr "" -#: library/unittest.mock.rst:2344 +#: library/unittest.mock.rst:2347 msgid "ANY" msgstr "" -#: library/unittest.mock.rst:2348 +#: library/unittest.mock.rst:2351 msgid "" "Sometimes you may need to make assertions about *some* of the arguments in a " "call to mock, but either not care about some of the arguments or want to " @@ -2269,24 +2273,24 @@ msgid "" "assertions on them." msgstr "" -#: library/unittest.mock.rst:2353 +#: library/unittest.mock.rst:2356 msgid "" "To ignore certain arguments you can pass in objects that compare equal to " "*everything*. Calls to :meth:`~Mock.assert_called_with` and :meth:`~Mock." "assert_called_once_with` will then succeed no matter what was passed in." msgstr "" -#: library/unittest.mock.rst:2362 +#: library/unittest.mock.rst:2365 msgid "" ":data:`ANY` can also be used in comparisons with call lists like :attr:" "`~Mock.mock_calls`:" msgstr "" -#: library/unittest.mock.rst:2375 +#: library/unittest.mock.rst:2378 msgid "FILTER_DIR" msgstr "" -#: library/unittest.mock.rst:2379 +#: library/unittest.mock.rst:2382 msgid "" ":data:`FILTER_DIR` is a module level variable that controls the way mock " "objects respond to :func:`dir` (only for Python 2.6 or more recent). The " @@ -2295,7 +2299,7 @@ msgid "" "diagnostic purposes, then set ``mock.FILTER_DIR = False``." msgstr "" -#: library/unittest.mock.rst:2385 +#: library/unittest.mock.rst:2388 msgid "" "With filtering on, ``dir(some_mock)`` shows only useful attributes and will " "include any dynamically created attributes that wouldn't normally be shown. " @@ -2304,7 +2308,7 @@ msgid "" "yet:" msgstr "" -#: library/unittest.mock.rst:2412 +#: library/unittest.mock.rst:2415 msgid "" "Many of the not-very-useful (private to :class:`Mock` rather than the thing " "being mocked) underscore and double underscore prefixed attributes have been " @@ -2313,31 +2317,31 @@ msgid "" "switch :data:`FILTER_DIR`:" msgstr "" -#: library/unittest.mock.rst:2433 +#: library/unittest.mock.rst:2436 msgid "" "Alternatively you can just use ``vars(my_mock)`` (instance members) and " "``dir(type(my_mock))`` (type members) to bypass the filtering irrespective " "of :data:`mock.FILTER_DIR`." msgstr "" -#: library/unittest.mock.rst:2439 +#: library/unittest.mock.rst:2442 msgid "mock_open" msgstr "" -#: library/unittest.mock.rst:2443 +#: library/unittest.mock.rst:2446 msgid "" "A helper function to create a mock to replace the use of :func:`open`. It " "works for :func:`open` called directly or used as a context manager." msgstr "" -#: library/unittest.mock.rst:2446 +#: library/unittest.mock.rst:2449 msgid "" "The *mock* argument is the mock object to configure. If ``None`` (the " "default) then a :class:`MagicMock` will be created for you, with the API " "limited to methods or attributes available on standard file handles." msgstr "" -#: library/unittest.mock.rst:2450 +#: library/unittest.mock.rst:2453 msgid "" "*read_data* is a string for the :meth:`~io.IOBase.read`, :meth:`~io.IOBase." "readline`, and :meth:`~io.IOBase.readlines` methods of the file handle to " @@ -2350,51 +2354,51 @@ msgid "" "realistic filesystem for testing." msgstr "" -#: library/unittest.mock.rst:2460 +#: library/unittest.mock.rst:2463 msgid "" "Added :meth:`~io.IOBase.readline` and :meth:`~io.IOBase.readlines` support. " "The mock of :meth:`~io.IOBase.read` changed to consume *read_data* rather " "than returning it on each call." msgstr "" -#: library/unittest.mock.rst:2465 +#: library/unittest.mock.rst:2468 msgid "*read_data* is now reset on each call to the *mock*." msgstr "" -#: library/unittest.mock.rst:2468 +#: library/unittest.mock.rst:2471 msgid "" "Added :meth:`__iter__` to implementation so that iteration (such as in for " "loops) correctly consumes *read_data*." msgstr "" -#: library/unittest.mock.rst:2472 +#: library/unittest.mock.rst:2475 msgid "" "Using :func:`open` as a context manager is a great way to ensure your file " "handles are closed properly and is becoming common::" msgstr "" -#: library/unittest.mock.rst:2478 +#: library/unittest.mock.rst:2481 msgid "" "The issue is that even if you mock out the call to :func:`open` it is the " "*returned object* that is used as a context manager (and has :meth:" "`__enter__` and :meth:`__exit__` called)." msgstr "" -#: library/unittest.mock.rst:2482 +#: library/unittest.mock.rst:2485 msgid "" "Mocking context managers with a :class:`MagicMock` is common enough and " "fiddly enough that a helper function is useful. ::" msgstr "" -#: library/unittest.mock.rst:2499 +#: library/unittest.mock.rst:2502 msgid "And for reading files::" msgstr "" -#: library/unittest.mock.rst:2512 +#: library/unittest.mock.rst:2515 msgid "Autospeccing" msgstr "" -#: library/unittest.mock.rst:2514 +#: library/unittest.mock.rst:2517 msgid "" "Autospeccing is based on the existing :attr:`spec` feature of mock. It " "limits the api of mocks to the api of an original object (the spec), but it " @@ -2404,11 +2408,11 @@ msgid "" "`TypeError` if they are called incorrectly." msgstr "" -#: library/unittest.mock.rst:2521 +#: library/unittest.mock.rst:2524 msgid "Before I explain how auto-speccing works, here's why it is needed." msgstr "" -#: library/unittest.mock.rst:2523 +#: library/unittest.mock.rst:2526 msgid "" ":class:`Mock` is a very powerful and flexible object, but it suffers from " "two flaws when used to mock out objects from a system under test. One of " @@ -2416,25 +2420,25 @@ msgid "" "general problem with using mock objects." msgstr "" -#: library/unittest.mock.rst:2528 +#: library/unittest.mock.rst:2531 msgid "" "First the problem specific to :class:`Mock`. :class:`Mock` has two assert " "methods that are extremely handy: :meth:`~Mock.assert_called_with` and :meth:" "`~Mock.assert_called_once_with`." msgstr "" -#: library/unittest.mock.rst:2541 +#: library/unittest.mock.rst:2544 msgid "" "Because mocks auto-create attributes on demand, and allow you to call them " "with arbitrary arguments, if you misspell one of these assert methods then " "your assertion is gone:" msgstr "" -#: library/unittest.mock.rst:2551 +#: library/unittest.mock.rst:2554 msgid "Your tests can pass silently and incorrectly because of the typo." msgstr "" -#: library/unittest.mock.rst:2553 +#: library/unittest.mock.rst:2556 msgid "" "The second issue is more general to mocking. If you refactor some of your " "code, rename members and so on, any tests for code that is still using the " @@ -2442,7 +2446,7 @@ msgid "" "means your tests can all pass even though your code is broken." msgstr "" -#: library/unittest.mock.rst:2558 +#: library/unittest.mock.rst:2561 msgid "" "Note that this is another reason why you need integration tests as well as " "unit tests. Testing everything in isolation is all fine and dandy, but if " @@ -2450,20 +2454,20 @@ msgid "" "room for bugs that tests might have caught." msgstr "" -#: library/unittest.mock.rst:2563 +#: library/unittest.mock.rst:2566 msgid "" ":mod:`mock` already provides a feature to help with this, called speccing. " "If you use a class or instance as the :attr:`spec` for a mock then you can " "only access attributes on the mock that exist on the real class:" msgstr "" -#: library/unittest.mock.rst:2574 +#: library/unittest.mock.rst:2577 msgid "" "The spec only applies to the mock itself, so we still have the same issue " "with any methods on the mock:" msgstr "" -#: library/unittest.mock.rst:2583 +#: library/unittest.mock.rst:2586 msgid "" "Auto-speccing solves this problem. You can either pass ``autospec=True`` to :" "func:`patch` / :func:`patch.object` or use the :func:`create_autospec` " @@ -2475,24 +2479,24 @@ msgid "" "import modules) without a big performance hit." msgstr "" -#: library/unittest.mock.rst:2592 +#: library/unittest.mock.rst:2595 msgid "Here's an example of it in use::" msgstr "" -#: library/unittest.mock.rst:2602 +#: library/unittest.mock.rst:2605 msgid "" "You can see that :class:`request.Request` has a spec. :class:`request." "Request` takes two arguments in the constructor (one of which is *self*). " "Here's what happens if we try to call it incorrectly::" msgstr "" -#: library/unittest.mock.rst:2611 +#: library/unittest.mock.rst:2614 msgid "" "The spec also applies to instantiated classes (i.e. the return value of " "specced mocks)::" msgstr "" -#: library/unittest.mock.rst:2618 +#: library/unittest.mock.rst:2621 msgid "" ":class:`Request` objects are not callable, so the return value of " "instantiating our mocked out :class:`request.Request` is a non-callable " @@ -2500,20 +2504,20 @@ msgid "" "error::" msgstr "" -#: library/unittest.mock.rst:2630 +#: library/unittest.mock.rst:2633 msgid "" "In many cases you will just be able to add ``autospec=True`` to your " "existing :func:`patch` calls and then be protected against bugs due to typos " "and api changes." msgstr "" -#: library/unittest.mock.rst:2634 +#: library/unittest.mock.rst:2637 msgid "" "As well as using *autospec* through :func:`patch` there is a :func:" "`create_autospec` for creating autospecced mocks directly:" msgstr "" -#: library/unittest.mock.rst:2642 +#: library/unittest.mock.rst:2645 msgid "" "This isn't without caveats and limitations however, which is why it is not " "the default behaviour. In order to know what attributes are available on the " @@ -2525,7 +2529,7 @@ msgid "" "objects so that introspection is safe [#]_." msgstr "" -#: library/unittest.mock.rst:2651 +#: library/unittest.mock.rst:2654 msgid "" "A more serious problem is that it is common for instance attributes to be " "created in the :meth:`__init__` method and not to exist on the class at all. " @@ -2533,7 +2537,7 @@ msgid "" "the api to visible attributes. ::" msgstr "" -#: library/unittest.mock.rst:2668 +#: library/unittest.mock.rst:2671 msgid "" "There are a few different ways of resolving this problem. The easiest, but " "not necessarily the least annoying, way is to simply set the required " @@ -2542,7 +2546,7 @@ msgid "" "setting them::" msgstr "" -#: library/unittest.mock.rst:2679 +#: library/unittest.mock.rst:2682 msgid "" "There is a more aggressive version of both *spec* and *autospec* that *does* " "prevent you setting non-existent attributes. This is useful if you want to " @@ -2550,7 +2554,7 @@ msgid "" "this particular scenario:" msgstr "" -#: library/unittest.mock.rst:2692 +#: library/unittest.mock.rst:2695 msgid "" "Probably the best way of solving the problem is to add class attributes as " "default values for instance members initialised in :meth:`__init__`. Note " @@ -2559,7 +2563,7 @@ msgid "" "faster too. e.g." msgstr "" -#: library/unittest.mock.rst:2702 +#: library/unittest.mock.rst:2705 msgid "" "This brings up another issue. It is relatively common to provide a default " "value of ``None`` for members that will later be an object of a different " @@ -2570,7 +2574,7 @@ msgid "" "These will just be ordinary mocks (well - MagicMocks):" msgstr "" -#: library/unittest.mock.rst:2717 +#: library/unittest.mock.rst:2720 msgid "" "If modifying your production classes to add defaults isn't to your liking " "then there are more options. One of these is simply to use an instance as " @@ -2581,25 +2585,25 @@ msgid "" "alternative object as the *autospec* argument::" msgstr "" -#: library/unittest.mock.rst:2738 +#: library/unittest.mock.rst:2741 msgid "" "This only applies to classes or already instantiated objects. Calling a " "mocked class to create a mock instance *does not* create a real instance. It " "is only attribute lookups - along with calls to :func:`dir` - that are done." msgstr "" -#: library/unittest.mock.rst:2743 +#: library/unittest.mock.rst:2746 msgid "Sealing mocks" msgstr "" -#: library/unittest.mock.rst:2752 +#: library/unittest.mock.rst:2755 msgid "" "Seal will disable the automatic creation of mocks when accessing an " "attribute of the mock being sealed or any of its attributes that are already " "mocks recursively." msgstr "" -#: library/unittest.mock.rst:2755 +#: library/unittest.mock.rst:2758 msgid "" "If a mock instance with a name or a spec is assigned to an attribute it " "won't be considered in the sealing chain. This allows one to prevent seal " diff --git a/library/unittest.po b/library/unittest.po index 320c8ce3..c0ca93cb 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-11 11:27+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -182,13 +182,15 @@ msgid "" msgstr "Un groupe de discussion dédié aux tests, et outils de test, en Python." #: library/unittest.rst:71 +#, fuzzy msgid "" "The script :file:`Tools/unittestgui/unittestgui.py` in the Python source " "distribution is a GUI tool for test discovery and execution. This is " "intended largely for ease of use for those new to unit testing. For " "production environments it is recommended that tests be driven by a " "continuous integration system such as `Buildbot `_, " -"`Jenkins `_ or `Hudson `_." +"`Jenkins `_ or `Travis-CI `_, or " +"`AppVeyor `_." msgstr "" "Le script :file:`Tools/unittestgui/unittestgui.py` dans la distribution " "source de Python est un outil avec une interface graphique pour découvrir et " diff --git a/library/unix.po b/library/unix.po index fd7457a2..48f679a5 100644 --- a/library/unix.po +++ b/library/unix.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-09-24 22:56+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/urllib.error.po b/library/urllib.error.po index 7b804f33..eaf62a55 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-06-10 15:35+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/urllib.parse.po b/library/urllib.parse.po index c9604088..50fdf2ad 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/urllib.po b/library/urllib.po index 52663232..adb68f0b 100644 --- a/library/urllib.po +++ b/library/urllib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-10-19 08:14+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/library/urllib.request.po b/library/urllib.request.po index 231802a3..0f78d864 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index a7d5fe54..b8beed5d 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 23:32+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/uu.po b/library/uu.po index d9f8addb..c5b15c55 100644 --- a/library/uu.po +++ b/library/uu.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-29 19:14+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/uuid.po b/library/uuid.po index bb659043..49c3ace1 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-07 19:56+0200\n" "Last-Translator: Nicolas Audebert \n" "Language-Team: FRENCH \n" diff --git a/library/venv.po b/library/venv.po index bd82361d..09805976 100644 --- a/library/venv.po +++ b/library/venv.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-01 18:36+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" diff --git a/library/warnings.po b/library/warnings.po index 97e6c09d..72342766 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-01 13:16+0100\n" "Last-Translator: Stéphane Lambelin\n" "Language-Team: FRENCH \n" diff --git a/library/wave.po b/library/wave.po index ba24f251..54cc78ca 100644 --- a/library/wave.po +++ b/library/wave.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-31 15:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/weakref.po b/library/weakref.po index 0d72a048..1dbd3e53 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/webbrowser.po b/library/webbrowser.po index d3105d5c..be0f76a9 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/windows.po b/library/windows.po index 96052afd..c9da2ac1 100644 --- a/library/windows.po +++ b/library/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 00:50+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/winreg.po b/library/winreg.po index b41c54e4..3e11b84f 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/winsound.po b/library/winsound.po index 435915d3..33ceb544 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/wsgiref.po b/library/wsgiref.po index 1f6cecc4..0818976e 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xdrlib.po b/library/xdrlib.po index fc4c8b6b..ecea47a6 100644 --- a/library/xdrlib.po +++ b/library/xdrlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index b363eb33..8d3f2834 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-09-29 19:35+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.dom.po b/library/xml.dom.po index 4b5cf7fd..f0336126 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 23:17+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/xml.dom.pulldom.po b/library/xml.dom.pulldom.po index 94ea3692..1bf16fed 100644 --- a/library/xml.dom.pulldom.po +++ b/library/xml.dom.pulldom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index efa592a0..11ab4333 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-04 11:02+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.po b/library/xml.po index 5a72a0da..86c19b70 100644 --- a/library/xml.po +++ b/library/xml.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-12-24 14:55+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index bc5e9edc..cc2710c0 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.sax.po b/library/xml.sax.po index 223ee4c8..5540e146 100644 --- a/library/xml.sax.po +++ b/library/xml.sax.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 23:11+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/xml.sax.reader.po b/library/xml.sax.reader.po index 423ebcd1..b82f5ccc 100644 --- a/library/xml.sax.reader.po +++ b/library/xml.sax.reader.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.sax.utils.po b/library/xml.sax.utils.po index 1d1cffa6..852fc5bf 100644 --- a/library/xml.sax.utils.po +++ b/library/xml.sax.utils.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-18 10:21+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-11-30 14:07+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index a7cb68e1..ae360113 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xmlrpc.po b/library/xmlrpc.po index 4f2cd962..faef9884 100644 --- a/library/xmlrpc.po +++ b/library/xmlrpc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-11-08 00:05+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 3736aaa3..91c46a16 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/zipapp.po b/library/zipapp.po index 46bfefbe..5db24262 100644 --- a/library/zipapp.po +++ b/library/zipapp.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-08-06 09:57+0200\n" "Last-Translator: Zepmanbc \n" "Language-Team: FRENCH \n" diff --git a/library/zipfile.po b/library/zipfile.po index 86770b86..5f27d8a1 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-02-28 09:13+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/zipimport.po b/library/zipimport.po index e6ccbd5e..415634ea 100644 --- a/library/zipimport.po +++ b/library/zipimport.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-17 23:08+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/zlib.po b/library/zlib.po index e1f6f76e..abe9c042 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-02-04 09:23+0100\n" "Last-Translator: Durand \n" "Language-Team: FRENCH \n" diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 63199703..7292f772 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-20 15:07+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/license.po b/license.po index a3848c28..c214989c 100644 --- a/license.po +++ b/license.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-08-19 22:59+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index fcdf01aa..77b70c5b 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-30 20:30+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" diff --git a/reference/datamodel.po b/reference/datamodel.po index add69448..d9873e0f 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-06-01 16:54+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -4381,10 +4381,11 @@ msgid "Awaitable Objects" msgstr "Objets *attendables* (*awaitable*)" #: reference/datamodel.rst:2603 +#, fuzzy msgid "" "An :term:`awaitable` object generally implements an :meth:`__await__` " -"method. :term:`Coroutine` objects returned from :keyword:`async def` " -"functions are awaitable." +"method. :term:`Coroutine objects ` returned from :keyword:`async " +"def` functions are awaitable." msgstr "" "Un objet :term:`awaitable` implémente généralement une méthode :meth:" "`__await__`. Les objets :term:`Coroutine` renvoyés par les fonctions :" @@ -4422,11 +4423,12 @@ msgid "Coroutine Objects" msgstr "Objets coroutines" #: reference/datamodel.rst:2629 +#, fuzzy msgid "" -":term:`Coroutine` objects are :term:`awaitable` objects. A coroutine's " -"execution can be controlled by calling :meth:`__await__` and iterating over " -"the result. When the coroutine has finished executing and returns, the " -"iterator raises :exc:`StopIteration`, and the exception's :attr:" +":term:`Coroutine objects ` are :term:`awaitable` objects. A " +"coroutine's execution can be controlled by calling :meth:`__await__` and " +"iterating over the result. When the coroutine has finished executing and " +"returns, the iterator raises :exc:`StopIteration`, and the exception's :attr:" "`~StopIteration.value` attribute holds the return value. If the coroutine " "raises an exception, it is propagated by the iterator. Coroutines should " "not directly raise unhandled :exc:`StopIteration` exceptions." diff --git a/reference/executionmodel.po b/reference/executionmodel.po index e237469b..f2b4de7c 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-23 21:53+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/reference/expressions.po b/reference/expressions.po index beb4c420..b69d54a2 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-30 21:58+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -1651,7 +1651,7 @@ msgstr "" "la classe doit définir une méthode :meth:`__call__` ; l'effet est le même " "que si cette méthode était appelée." -#: reference/expressions.rst:1086 reference/expressions.rst:1834 +#: reference/expressions.rst:1086 reference/expressions.rst:1851 msgid "Await expression" msgstr "Expression ``await``" @@ -2575,16 +2575,31 @@ msgstr "" msgid "Assignment expressions" msgstr "Expressions d'affectation" -#: reference/expressions.rst:1655 +#: reference/expressions.rst:1653 +msgid "" +"An assignment expression (sometimes also called a \"named expression\" or " +"\"walrus\") assigns an :token:`expression` to an :token:`identifier`, while " +"also returning the value of the :token:`expression`." +msgstr "" + +#: reference/expressions.rst:1657 +msgid "One common use case is when handling matched regular expressions:" +msgstr "" + +#: reference/expressions.rst:1664 +msgid "Or, when processing a file stream in chunks:" +msgstr "" + +#: reference/expressions.rst:1671 msgid "See :pep:`572` for more details about assignment expressions." msgstr "" "Voir la :pep:`572` pour plus de détails sur les expressions d’affectation." -#: reference/expressions.rst:1661 +#: reference/expressions.rst:1678 msgid "Conditional expressions" msgstr "Expressions conditionnelles" -#: reference/expressions.rst:1674 +#: reference/expressions.rst:1691 msgid "" "Conditional expressions (sometimes called a \"ternary operator\") have the " "lowest priority of all Python operations." @@ -2592,7 +2607,7 @@ msgstr "" "Les expressions conditionnelles (parfois appelées « opérateur ternaire ») " "sont les moins prioritaires de toutes les opérations Python." -#: reference/expressions.rst:1677 +#: reference/expressions.rst:1694 msgid "" "The expression ``x if C else y`` first evaluates the condition, *C* rather " "than *x*. If *C* is true, *x* is evaluated and its value is returned; " @@ -2602,16 +2617,16 @@ msgstr "" "est vrai, alors *x* est évalué et sa valeur est renvoyée ; sinon, *y* est " "évalué et sa valeur est renvoyée." -#: reference/expressions.rst:1681 +#: reference/expressions.rst:1698 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" "Voir la :pep:`308` pour plus de détails sur les expressions conditionnelles." -#: reference/expressions.rst:1688 +#: reference/expressions.rst:1705 msgid "Lambdas" msgstr "Expressions lambda" -#: reference/expressions.rst:1700 +#: reference/expressions.rst:1717 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -2622,7 +2637,7 @@ msgstr "" "L'expression ``lambda parameters: expression`` produit un objet fonction. " "Cet objet anonyme se comporte comme un objet fonction défini par :" -#: reference/expressions.rst:1709 +#: reference/expressions.rst:1726 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " @@ -2632,11 +2647,11 @@ msgstr "" "Notez que les fonctions créées par des expressions lambda ne peuvent pas " "contenir d'instructions ou d'annotations." -#: reference/expressions.rst:1717 +#: reference/expressions.rst:1734 msgid "Expression lists" msgstr "Listes d'expressions" -#: reference/expressions.rst:1731 +#: reference/expressions.rst:1748 msgid "" "Except when part of a list or set display, an expression list containing at " "least one comma yields a tuple. The length of the tuple is the number of " @@ -2647,7 +2662,7 @@ msgstr "" "(*tuple*). La longueur du n-uplet est le nombre d'expressions dans la liste. " "Les expressions sont évaluées de la gauche vers la droite." -#: reference/expressions.rst:1740 +#: reference/expressions.rst:1757 msgid "" "An asterisk ``*`` denotes :dfn:`iterable unpacking`. Its operand must be " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -2659,14 +2674,14 @@ msgstr "" "L'itérable est développé en une séquence d'éléments qui sont inclus dans un " "nouvel objet *tuple*, *list* ou *set* à l'emplacement du dépaquetage." -#: reference/expressions.rst:1745 +#: reference/expressions.rst:1762 msgid "" "Iterable unpacking in expression lists, originally proposed by :pep:`448`." msgstr "" "dépaquetage d'itérables dans les listes d'expressions, proposé à l'origine " "par la :pep:`448`." -#: reference/expressions.rst:1750 +#: reference/expressions.rst:1767 msgid "" "The trailing comma is required only to create a single tuple (a.k.a. a " "*singleton*); it is optional in all other cases. A single expression " @@ -2680,11 +2695,11 @@ msgstr "" "produit la valeur de cette expression (pour créer un *tuple* vide, utilisez " "une paire de parenthèses vide : ``()``)." -#: reference/expressions.rst:1760 +#: reference/expressions.rst:1777 msgid "Evaluation order" msgstr "Ordre d'évaluation" -#: reference/expressions.rst:1764 +#: reference/expressions.rst:1781 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" @@ -2694,7 +2709,7 @@ msgstr "" "lors de l'évaluation d'une assignation, la partie droite de l'assignation " "est évaluée avant la partie gauche." -#: reference/expressions.rst:1767 +#: reference/expressions.rst:1784 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" @@ -2702,11 +2717,11 @@ msgstr "" "Dans les lignes qui suivent, les expressions sont évaluées suivant l'ordre " "arithmétique de leurs suffixes ::" -#: reference/expressions.rst:1781 +#: reference/expressions.rst:1798 msgid "Operator precedence" msgstr "Priorités des opérateurs" -#: reference/expressions.rst:1786 +#: reference/expressions.rst:1803 msgid "" "The following table summarizes the operator precedence in Python, from " "lowest precedence (least binding) to highest precedence (most binding). " @@ -2721,7 +2736,7 @@ msgstr "" "de la gauche vers la droite (sauf pour la puissance qui regroupe de la " "droite vers la gauche)." -#: reference/expressions.rst:1792 +#: reference/expressions.rst:1809 msgid "" "Note that comparisons, membership tests, and identity tests, all have the " "same precedence and have a left-to-right chaining feature as described in " @@ -2731,63 +2746,63 @@ msgstr "" "d'identifiants possèdent tous la même priorité et s'enchaînent de la gauche " "vers la droite comme décrit dans la section :ref:`comparisons`." -#: reference/expressions.rst:1798 +#: reference/expressions.rst:1815 msgid "Operator" msgstr "Opérateur" -#: reference/expressions.rst:1798 +#: reference/expressions.rst:1815 msgid "Description" msgstr "Description" -#: reference/expressions.rst:1800 +#: reference/expressions.rst:1817 msgid "``:=``" msgstr "``:=``" -#: reference/expressions.rst:1800 +#: reference/expressions.rst:1817 msgid "Assignment expression" msgstr "Expression d'affectation" -#: reference/expressions.rst:1802 +#: reference/expressions.rst:1819 msgid ":keyword:`lambda`" msgstr ":keyword:`lambda`" -#: reference/expressions.rst:1802 +#: reference/expressions.rst:1819 msgid "Lambda expression" msgstr "Expression lambda" -#: reference/expressions.rst:1804 +#: reference/expressions.rst:1821 msgid ":keyword:`if ` -- :keyword:`!else`" msgstr ":keyword:`if ` -- :keyword:`!else`" -#: reference/expressions.rst:1804 +#: reference/expressions.rst:1821 msgid "Conditional expression" msgstr "Expressions conditionnelle" -#: reference/expressions.rst:1806 +#: reference/expressions.rst:1823 msgid ":keyword:`or`" msgstr ":keyword:`or`" -#: reference/expressions.rst:1806 +#: reference/expressions.rst:1823 msgid "Boolean OR" msgstr "OR (booléen)" -#: reference/expressions.rst:1808 +#: reference/expressions.rst:1825 msgid ":keyword:`and`" msgstr ":keyword:`and`" -#: reference/expressions.rst:1808 +#: reference/expressions.rst:1825 msgid "Boolean AND" msgstr "AND (booléen)" -#: reference/expressions.rst:1810 +#: reference/expressions.rst:1827 msgid ":keyword:`not` ``x``" msgstr ":keyword:`not` ``x``" -#: reference/expressions.rst:1810 +#: reference/expressions.rst:1827 msgid "Boolean NOT" msgstr "NOT (booléen)" -#: reference/expressions.rst:1812 +#: reference/expressions.rst:1829 msgid "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" @@ -2795,56 +2810,56 @@ msgstr "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" -#: reference/expressions.rst:1812 +#: reference/expressions.rst:1829 msgid "Comparisons, including membership tests and identity tests" msgstr "" "Comparaisons, y compris les tests d'appartenance et les tests d'identifiants" -#: reference/expressions.rst:1816 +#: reference/expressions.rst:1833 msgid "``|``" msgstr "``|``" -#: reference/expressions.rst:1816 +#: reference/expressions.rst:1833 msgid "Bitwise OR" msgstr "OR (bit à bit)" -#: reference/expressions.rst:1818 +#: reference/expressions.rst:1835 msgid "``^``" msgstr "``^``" -#: reference/expressions.rst:1818 +#: reference/expressions.rst:1835 msgid "Bitwise XOR" msgstr "XOR (bit à bit)" -#: reference/expressions.rst:1820 +#: reference/expressions.rst:1837 msgid "``&``" msgstr "``&``" -#: reference/expressions.rst:1820 +#: reference/expressions.rst:1837 msgid "Bitwise AND" msgstr "AND (bit à bit)" -#: reference/expressions.rst:1822 +#: reference/expressions.rst:1839 msgid "``<<``, ``>>``" msgstr "``<<``, ``>>``" -#: reference/expressions.rst:1822 +#: reference/expressions.rst:1839 msgid "Shifts" msgstr "décalages" -#: reference/expressions.rst:1824 +#: reference/expressions.rst:1841 msgid "``+``, ``-``" msgstr "``+``, ``-``" -#: reference/expressions.rst:1824 +#: reference/expressions.rst:1841 msgid "Addition and subtraction" msgstr "Addition et soustraction" -#: reference/expressions.rst:1826 +#: reference/expressions.rst:1843 msgid "``*``, ``@``, ``/``, ``//``, ``%``" msgstr "``*``, ``@``, ``/``, ``//``, ``%``" -#: reference/expressions.rst:1826 +#: reference/expressions.rst:1843 msgid "" "Multiplication, matrix multiplication, division, floor division, remainder " "[#]_" @@ -2852,44 +2867,44 @@ msgstr "" "Multiplication, multiplication de matrices, division, division entière, " "reste [#]_" -#: reference/expressions.rst:1830 +#: reference/expressions.rst:1847 msgid "``+x``, ``-x``, ``~x``" msgstr "``+x``, ``-x``, ``~x``" -#: reference/expressions.rst:1830 +#: reference/expressions.rst:1847 msgid "Positive, negative, bitwise NOT" msgstr "NOT (positif, négatif, bit à bit)" -#: reference/expressions.rst:1832 +#: reference/expressions.rst:1849 msgid "``**``" msgstr "``**``" -#: reference/expressions.rst:1832 +#: reference/expressions.rst:1849 msgid "Exponentiation [#]_" msgstr "Puissance [#]_" -#: reference/expressions.rst:1834 +#: reference/expressions.rst:1851 msgid ":keyword:`await` ``x``" msgstr ":keyword:`await` ``x``" -#: reference/expressions.rst:1836 +#: reference/expressions.rst:1853 msgid "``x[index]``, ``x[index:index]``, ``x(arguments...)``, ``x.attribute``" msgstr "" "``x[indice]``, ``x[indice:indice]``, ``x(arguments...)``, ``x.attribut``" -#: reference/expressions.rst:1836 +#: reference/expressions.rst:1853 msgid "Subscription, slicing, call, attribute reference" msgstr "indiçage, tranches, appel, référence à un attribut" -#: reference/expressions.rst:1839 +#: reference/expressions.rst:1856 msgid "``(expressions...)``," msgstr "``(expressions...)``," -#: reference/expressions.rst:1841 +#: reference/expressions.rst:1858 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" -#: reference/expressions.rst:1839 +#: reference/expressions.rst:1856 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" @@ -2897,11 +2912,11 @@ msgstr "" "Expression de liaison ou parenthèse, affichage de liste, affichage de " "dictionnaire, affichage de *set*" -#: reference/expressions.rst:1848 +#: reference/expressions.rst:1865 msgid "Footnotes" msgstr "Notes" -#: reference/expressions.rst:1849 +#: reference/expressions.rst:1866 msgid "" "While ``abs(x%y) < abs(y)`` is true mathematically, for floats it may not be " "true numerically due to roundoff. For example, and assuming a platform on " @@ -2922,7 +2937,7 @@ msgstr "" "argument, c'est-à-dire ``-1e-100`` dans ce cas. La meilleure approche dépend " "de l'application." -#: reference/expressions.rst:1858 +#: reference/expressions.rst:1875 msgid "" "If x is very close to an exact integer multiple of y, it's possible for ``x//" "y`` to be one larger than ``(x-x%y)//y`` due to rounding. In such cases, " @@ -2934,7 +2949,7 @@ msgstr "" "Dans de tels cas, Python renvoie le second résultat afin d'avoir ``divmod(x," "y)[0] * y + x % y`` le plus proche de ``x``." -#: reference/expressions.rst:1863 +#: reference/expressions.rst:1880 msgid "" "The Unicode standard distinguishes between :dfn:`code points` (e.g. U+0041) " "and :dfn:`abstract characters` (e.g. \"LATIN CAPITAL LETTER A\"). While most " @@ -2959,7 +2974,7 @@ msgstr "" "*U+0043* (LATIN CAPITAL LETTER C) du code, suivi par un :dfn:`caractère " "combiné` à la position *U+0327* (*COMBINING CEDILLA*) du code." -#: reference/expressions.rst:1874 +#: reference/expressions.rst:1891 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -2972,7 +2987,7 @@ msgstr "" "chaînes représentent le même caractère abstrait \"LATIN CAPITAL LETTER C " "WITH CEDILLA\"." -#: reference/expressions.rst:1879 +#: reference/expressions.rst:1896 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." @@ -2981,7 +2996,7 @@ msgstr "" "quelque chose d'intuitif pour les humains), utilisez :func:`unicodedata." "normalize`." -#: reference/expressions.rst:1882 +#: reference/expressions.rst:1899 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -2994,7 +3009,7 @@ msgstr "" "cela implique des comparaisons entre des méthodes d'instances ou des " "constantes. Allez vérifier dans la documentation pour plus d'informations." -#: reference/expressions.rst:1887 +#: reference/expressions.rst:1904 msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." @@ -3002,7 +3017,7 @@ msgstr "" "L'opérateur ``%`` est aussi utilisé pour formater les chaînes de " "caractères ; il y possède la même priorité." -#: reference/expressions.rst:1890 +#: reference/expressions.rst:1907 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." diff --git a/reference/grammar.po b/reference/grammar.po index 2191a69a..638b6704 100644 --- a/reference/grammar.po +++ b/reference/grammar.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-05 08:42+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -20,9 +20,26 @@ msgstr "Spécification complète de la grammaire" #: reference/grammar.rst:4 msgid "" -"This is the full Python grammar, as it is read by the parser generator and " -"used to parse Python source files:" +"This is the full Python grammar, derived directly from the grammar used to " +"generate the CPython parser (see :source:`Grammar/python.gram`). The version " +"here omits details related to code generation and error recovery." msgstr "" -"Ceci est la grammaire de Python, exhaustive, telle qu'elle est lue par le " -"générateur d'analyseur, et utilisée pour analyser des fichiers sources en " -"Python :" + +#: reference/grammar.rst:9 +msgid "" +"The notation is a mixture of `EBNF `_ and `PEG `_. In particular, ``&`` followed by a symbol, " +"token or parenthesized group indicates a positive lookahead (i.e., is " +"required to match but not consumed), while ``!`` indicates a negative " +"lookahead (i.e., is required _not_ to match). We use the ``|`` separator to " +"mean PEG's \"ordered choice\" (written as ``/`` in traditional PEG grammars)." +msgstr "" + +#~ msgid "" +#~ "This is the full Python grammar, as it is read by the parser generator " +#~ "and used to parse Python source files:" +#~ msgstr "" +#~ "Ceci est la grammaire de Python, exhaustive, telle qu'elle est lue par le " +#~ "générateur d'analyseur, et utilisée pour analyser des fichiers sources en " +#~ "Python :" diff --git a/reference/import.po b/reference/import.po index bda0ed14..276170f7 100644 --- a/reference/import.po +++ b/reference/import.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-30 22:05+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" diff --git a/reference/index.po b/reference/index.po index 6f7cdce6..0162765b 100644 --- a/reference/index.po +++ b/reference/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-05 08:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/reference/introduction.po b/reference/introduction.po index a1b81b1e..f8f2729f 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-02 00:10+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-07 19:09+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index d47ba03e..c820e686 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-06-05 17:39+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -1093,11 +1093,11 @@ msgstr "" "triples guillemets). Enfin, les chaînes de caractères formatées peuvent être " "concaténées avec des chaînes de caractères ordinaires." -#: reference/lexical_analysis.rst:646 +#: reference/lexical_analysis.rst:648 msgid "Formatted string literals" msgstr "Chaînes de caractères formatées littérales" -#: reference/lexical_analysis.rst:650 +#: reference/lexical_analysis.rst:652 msgid "" "A :dfn:`formatted string literal` or :dfn:`f-string` is a string literal " "that is prefixed with ``'f'`` or ``'F'``. These strings may contain " @@ -1112,7 +1112,7 @@ msgstr "" "littéraux de chaines ont des valeurs constantes, les chaines formatées sont " "de vraies expressions évaluées à l'exécution." -#: reference/lexical_analysis.rst:656 +#: reference/lexical_analysis.rst:658 msgid "" "Escape sequences are decoded like in ordinary string literals (except when a " "literal is also marked as a raw string). After decoding, the grammar for " @@ -1123,16 +1123,18 @@ msgstr "" "marquée comme une chaîne brute). Après décodage, la grammaire s'appliquant " "au contenu de la chaîne de caractères est :" -#: reference/lexical_analysis.rst:670 +#: reference/lexical_analysis.rst:672 +#, fuzzy msgid "" "The parts of the string outside curly braces are treated literally, except " "that any doubled curly braces ``'{{'`` or ``'}}'`` are replaced with the " "corresponding single curly brace. A single opening curly bracket ``'{'`` " -"marks a replacement field, which starts with a Python expression. After the " -"expression, there may be a conversion field, introduced by an exclamation " -"point ``'!'``. A format specifier may also be appended, introduced by a " -"colon ``':'``. A replacement field ends with a closing curly bracket " -"``'}'``." +"marks a replacement field, which starts with a Python expression. To display " +"both the expression text and its value after evaluation, (useful in " +"debugging), an equal sign ``'='`` may be added after the expression. A " +"conversion field, introduced by an exclamation point ``'!'`` may follow. A " +"format specifier may also be appended, introduced by a colon ``':'``. A " +"replacement field ends with a closing curly bracket ``'}'``." msgstr "" "Les portions qui sont en dehors des accolades sont traitées comme les " "littéraux, sauf les doubles accolades ``'{{'`` ou ``'}}'`` qui sont " @@ -1143,7 +1145,7 @@ msgstr "" "de format peut aussi être ajoutée, introduite par le caractère deux-points " "``':'``. Le champ à remplacer se termine par une accolade fermante ``'}'``." -#: reference/lexical_analysis.rst:679 +#: reference/lexical_analysis.rst:682 msgid "" "Expressions in formatted string literals are treated like regular Python " "expressions surrounded by parentheses, with a few exceptions. An empty " @@ -1163,7 +1165,7 @@ msgstr "" "commentaire. Chaque expression est évaluée dans le contexte où la chaîne de " "caractères formatée apparaît, de gauche à droite." -#: reference/lexical_analysis.rst:688 +#: reference/lexical_analysis.rst:691 msgid "" "Prior to Python 3.7, an :keyword:`await` expression and comprehensions " "containing an :keyword:`async for` clause were illegal in the expressions in " @@ -1174,7 +1176,22 @@ msgstr "" "des chaînes de caractères formatées littérales à cause d’un problème dans " "l’implémentation." -#: reference/lexical_analysis.rst:693 +#: reference/lexical_analysis.rst:696 +msgid "" +"When the equal sign ``'='`` is provided, the output will have the expression " +"text, the ``'='`` and the evaluated value. Spaces after the opening brace " +"``'{'``, within the expression and after the ``'='`` are all retained in the " +"output. By default, the ``'='`` causes the :func:`repr` of the expression to " +"be provided, unless there is a format specified. When a format is specified " +"it defaults to the :func:`str` of the expression unless a conversion ``'!" +"r'`` is declared." +msgstr "" + +#: reference/lexical_analysis.rst:704 +msgid "The equal sign ``'='`` was added in Python 3.8." +msgstr "" + +#: reference/lexical_analysis.rst:707 msgid "" "If a conversion is specified, the result of evaluating the expression is " "converted before formatting. Conversion ``'!s'`` calls :func:`str` on the " @@ -1185,7 +1202,7 @@ msgstr "" "`str` sur le résultat, ``'!r'`` appelle :func:`repr` et ``'!a'`` appelle :" "func:`ascii`." -#: reference/lexical_analysis.rst:697 +#: reference/lexical_analysis.rst:711 msgid "" "The result is then formatted using the :func:`format` protocol. The format " "specifier is passed to the :meth:`__format__` method of the expression or " @@ -1199,7 +1216,7 @@ msgstr "" "lorsque la spécification de format est omise. Le résultat formaté est alors " "inclus dans la valeur finale de la chaîne complète." -#: reference/lexical_analysis.rst:703 +#: reference/lexical_analysis.rst:717 #, fuzzy msgid "" "Top-level format specifiers may include nested replacement fields. These " @@ -1215,7 +1232,7 @@ msgstr "" "spécification de format ` est le même que celui utilisé par la " "méthode ``.format()`` du type ``str``." -#: reference/lexical_analysis.rst:709 +#: reference/lexical_analysis.rst:723 msgid "" "Formatted string literals may be concatenated, but replacement fields cannot " "be split across literals." @@ -1223,11 +1240,11 @@ msgstr "" "Les chaînes formatées littérales peuvent être concaténées mais les champs à " "remplacer ne peuvent pas être divisés entre les littéraux." -#: reference/lexical_analysis.rst:712 +#: reference/lexical_analysis.rst:726 msgid "Some examples of formatted string literals::" msgstr "Quelques exemples de chaines formatées littérales ::" -#: reference/lexical_analysis.rst:731 +#: reference/lexical_analysis.rst:758 msgid "" "A consequence of sharing the same syntax as regular string literals is that " "characters in the replacement fields must not conflict with the quoting used " @@ -1238,14 +1255,14 @@ msgstr "" "entrer en conflit avec le guillemet utilisé pour encadrer la chaine formatée " "littérale ::" -#: reference/lexical_analysis.rst:738 +#: reference/lexical_analysis.rst:765 msgid "" "Backslashes are not allowed in format expressions and will raise an error::" msgstr "" "La barre oblique inversée (ou antislash) n'est pas autorisée dans les " "expressions des champs à remplacer et son utilisation génère une erreur ::" -#: reference/lexical_analysis.rst:743 +#: reference/lexical_analysis.rst:770 msgid "" "To include a value in which a backslash escape is required, create a " "temporary variable." @@ -1253,7 +1270,7 @@ msgstr "" "Pour inclure une valeur où l'échappement par barre oblique inversée est " "nécessaire, vous devez créer une variable temporaire." -#: reference/lexical_analysis.rst:750 +#: reference/lexical_analysis.rst:777 msgid "" "Formatted string literals cannot be used as docstrings, even if they do not " "include expressions." @@ -1261,7 +1278,7 @@ msgstr "" "Une chaine formatée littérale ne peut pas être utilisée en tant que " "*docstring*, même si elle ne comporte pas d'expression." -#: reference/lexical_analysis.rst:761 +#: reference/lexical_analysis.rst:788 msgid "" "See also :pep:`498` for the proposal that added formatted string literals, " "and :meth:`str.format`, which uses a related format string mechanism." @@ -1270,11 +1287,11 @@ msgstr "" "littérales et :meth:`str.format` qui utilise un mécanisme similaire pour " "formater les chaînes de caractères." -#: reference/lexical_analysis.rst:768 +#: reference/lexical_analysis.rst:795 msgid "Numeric literals" msgstr "Littéraux numériques" -#: reference/lexical_analysis.rst:774 +#: reference/lexical_analysis.rst:801 msgid "" "There are three types of numeric literals: integers, floating point numbers, " "and imaginary numbers. There are no complex literals (complex numbers can " @@ -1285,7 +1302,7 @@ msgstr "" "complexes (les nombres complexes peuvent être construits en ajoutant un " "nombre réel et un nombre imaginaire)." -#: reference/lexical_analysis.rst:778 +#: reference/lexical_analysis.rst:805 msgid "" "Note that numeric literals do not include a sign; a phrase like ``-1`` is " "actually an expression composed of the unary operator '``-``' and the " @@ -1295,16 +1312,16 @@ msgstr "" "telle que ``-1`` est en fait une expression composée de l'opérateur unitaire " "``-`` et du littéral ``1``." -#: reference/lexical_analysis.rst:792 +#: reference/lexical_analysis.rst:819 msgid "Integer literals" msgstr "Entiers littéraux" -#: reference/lexical_analysis.rst:794 +#: reference/lexical_analysis.rst:821 msgid "Integer literals are described by the following lexical definitions:" msgstr "" "Les entiers littéraux sont décrits par les définitions lexicales suivantes :" -#: reference/lexical_analysis.rst:808 +#: reference/lexical_analysis.rst:835 msgid "" "There is no limit for the length of integer literals apart from what can be " "stored in available memory." @@ -1312,7 +1329,7 @@ msgstr "" "Il n'y a pas de limite pour la longueur des entiers littéraux, sauf celle " "relative à la capacité mémoire." -#: reference/lexical_analysis.rst:811 +#: reference/lexical_analysis.rst:838 msgid "" "Underscores are ignored for determining the numeric value of the literal. " "They can be used to group digits for enhanced readability. One underscore " @@ -1323,7 +1340,7 @@ msgstr "" "lecture. Un souligné peut être placé entre des chiffres ou après la " "spécification de la base telle que ``0x``." -#: reference/lexical_analysis.rst:815 +#: reference/lexical_analysis.rst:842 msgid "" "Note that leading zeros in a non-zero decimal number are not allowed. This " "is for disambiguation with C-style octal literals, which Python used before " @@ -1334,26 +1351,26 @@ msgstr "" "les littéraux en base octale selon le style C que Python utilisait avant la " "version 3.0." -#: reference/lexical_analysis.rst:819 +#: reference/lexical_analysis.rst:846 msgid "Some examples of integer literals::" msgstr "Quelques exemples d'entiers littéraux ::" -#: reference/lexical_analysis.rst:825 reference/lexical_analysis.rst:857 +#: reference/lexical_analysis.rst:852 reference/lexical_analysis.rst:884 msgid "Underscores are now allowed for grouping purposes in literals." msgstr "Les tirets bas ne sont pas autorisés pour grouper les littéraux." -#: reference/lexical_analysis.rst:836 +#: reference/lexical_analysis.rst:863 msgid "Floating point literals" msgstr "Nombres à virgule flottante littéraux" -#: reference/lexical_analysis.rst:838 +#: reference/lexical_analysis.rst:865 msgid "" "Floating point literals are described by the following lexical definitions:" msgstr "" "Les nombres à virgule flottante littéraux sont décrits par les définitions " "lexicales suivantes :" -#: reference/lexical_analysis.rst:848 +#: reference/lexical_analysis.rst:875 msgid "" "Note that the integer and exponent parts are always interpreted using radix " "10. For example, ``077e010`` is legal, and denotes the same number as " @@ -1367,21 +1384,21 @@ msgstr "" "virgule flottante dépend de l'implémentation. Comme pour les entiers " "littéraux, les soulignés permettent de grouper des chiffres." -#: reference/lexical_analysis.rst:853 +#: reference/lexical_analysis.rst:880 msgid "Some examples of floating point literals::" msgstr "Quelques exemples de nombres à virgule flottante littéraux ::" -#: reference/lexical_analysis.rst:866 +#: reference/lexical_analysis.rst:893 msgid "Imaginary literals" msgstr "Imaginaires littéraux" -#: reference/lexical_analysis.rst:868 +#: reference/lexical_analysis.rst:895 msgid "Imaginary literals are described by the following lexical definitions:" msgstr "" "Les nombres imaginaires sont décrits par les définitions lexicales " "suivantes :" -#: reference/lexical_analysis.rst:873 +#: reference/lexical_analysis.rst:900 msgid "" "An imaginary literal yields a complex number with a real part of 0.0. " "Complex numbers are represented as a pair of floating point numbers and have " @@ -1396,23 +1413,23 @@ msgstr "" "nulle, ajoutez un nombre à virgule flottante à votre littéral imaginaire. " "Par exemple ``(3+4j)``. Voici d'autres exemples de littéraux imaginaires ::" -#: reference/lexical_analysis.rst:885 +#: reference/lexical_analysis.rst:912 msgid "Operators" msgstr "Opérateurs" -#: reference/lexical_analysis.rst:889 +#: reference/lexical_analysis.rst:916 msgid "The following tokens are operators:" msgstr "Les lexèmes suivants sont des opérateurs :" -#: reference/lexical_analysis.rst:902 +#: reference/lexical_analysis.rst:929 msgid "Delimiters" msgstr "Délimiteurs" -#: reference/lexical_analysis.rst:906 +#: reference/lexical_analysis.rst:933 msgid "The following tokens serve as delimiters in the grammar:" msgstr "Les lexèmes suivants servent de délimiteurs dans la grammaire :" -#: reference/lexical_analysis.rst:915 +#: reference/lexical_analysis.rst:942 msgid "" "The period can also occur in floating-point and imaginary literals. A " "sequence of three periods has a special meaning as an ellipsis literal. The " @@ -1425,7 +1442,7 @@ msgstr "" "la liste, les opérateurs d'assignation augmentés, servent de délimiteurs " "pour l'analyseur lexical mais sont aussi des opérateurs." -#: reference/lexical_analysis.rst:920 +#: reference/lexical_analysis.rst:947 msgid "" "The following printing ASCII characters have special meaning as part of " "other tokens or are otherwise significant to the lexical analyzer:" @@ -1434,7 +1451,7 @@ msgstr "" "partie d'autres lexèmes ou ont une signification particulière pour " "l'analyseur lexical :" -#: reference/lexical_analysis.rst:927 +#: reference/lexical_analysis.rst:954 msgid "" "The following printing ASCII characters are not used in Python. Their " "occurrence outside string literals and comments is an unconditional error:" @@ -1443,11 +1460,11 @@ msgstr "" "apparaissent en dehors de chaines littérales ou de commentaires, ils " "produisent une erreur :" -#: reference/lexical_analysis.rst:936 +#: reference/lexical_analysis.rst:963 msgid "Footnotes" msgstr "Notes" -#: reference/lexical_analysis.rst:937 +#: reference/lexical_analysis.rst:964 #, fuzzy msgid "https://www.unicode.org/Public/11.0.0/ucd/NameAliases.txt" msgstr "http://www.unicode.org/Public/11.0.0/ucd/NameAliases.txt" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 8c639e98..7796075d 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 16:57+0100\n" "Last-Translator: Antoine \n" "Language-Team: FRENCH \n" diff --git a/reference/toplevel_components.po b/reference/toplevel_components.po index a47a90d5..9b168730 100644 --- a/reference/toplevel_components.po +++ b/reference/toplevel_components.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-19 23:26+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/sphinx.po b/sphinx.po index e9704952..fff45d49 100644 --- a/sphinx.po +++ b/sphinx.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-31 18:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-07-09 20:53+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/tutorial/appendix.po b/tutorial/appendix.po index 77e47a6f..d21fa5b1 100644 --- a/tutorial/appendix.po +++ b/tutorial/appendix.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-03-19 23:11+0100\n" "Last-Translator: Christophe Nanteuil \n" "Language: fr\n" diff --git a/tutorial/appetite.po b/tutorial/appetite.po index c3230b43..5bab3db1 100644 --- a/tutorial/appetite.po +++ b/tutorial/appetite.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-02-08 09:58+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-18 22:05+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/tutorial/classes.po b/tutorial/classes.po index 9280894d..f37efd1b 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-03-23 17:35+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -1304,13 +1304,14 @@ msgid "Generators" msgstr "Générateurs" #: tutorial/classes.rst:852 +#, fuzzy msgid "" -":term:`Generator`\\s are a simple and powerful tool for creating iterators. " -"They are written like regular functions but use the :keyword:`yield` " -"statement whenever they want to return data. Each time :func:`next` is " -"called on it, the generator resumes where it left off (it remembers all the " -"data values and which statement was last executed). An example shows that " -"generators can be trivially easy to create::" +":term:`Generators ` are a simple and powerful tool for creating " +"iterators. They are written like regular functions but use the :keyword:" +"`yield` statement whenever they want to return data. Each time :func:`next` " +"is called on it, the generator resumes where it left off (it remembers all " +"the data values and which statement was last executed). An example shows " +"that generators can be trivially easy to create::" msgstr "" "Les :term:`générateurs ` sont des outils simples et puissants " "pour créer des itérateurs. Ils sont écrits comme des fonctions classiques " diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 89c4b174..de919d78 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-14 11:16+0200\n" "Last-Translator: Christophe Nanteuil\n" "Language-Team: FRENCH \n" @@ -780,9 +780,10 @@ msgstr "" "``name`` comme mot-clé ::" #: tutorial/controlflow.rst:660 +#, fuzzy msgid "" "There is no possible call that will make it return ``True`` as the keyword " -"``'name'`` will always to bind to the first parameter. For example::" +"``'name'`` will always bind to the first parameter. For example::" msgstr "" "Il n'y a pas d'appel possible qui renvoie ``True`` car le mot-clé ``'name'`` " "est toujours lié au premier paramètre. Par exemple ::" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index ca737b34..a6550b4b 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-28 22:51+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/tutorial/errors.po b/tutorial/errors.po index d8537493..b3374429 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 12:20+0100\n" "Last-Translator: JRouziere \n" "Language-Team: FRENCH \n" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index 5b8afe63..87026223 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-05-21 16:45+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/tutorial/index.po b/tutorial/index.po index a96a6a58..3bb47718 100644 --- a/tutorial/index.po +++ b/tutorial/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-02-08 09:58+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-01-27 23:09+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 05151cb9..73653c09 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-31 18:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-01 15:16+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/tutorial/interactive.po b/tutorial/interactive.po index 9616fb06..6bcec788 100644 --- a/tutorial/interactive.po +++ b/tutorial/interactive.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-03-01 22:10+0100\n" "Language: fr\n" "MIME-Version: 1.0\n" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index da97a1a3..b5c13237 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-08 22:01+0200\n" "Last-Translator: Christophe Nanteuil\n" "Language-Team: FRENCH \n" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 28df9530..c7cd2733 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:51+0200\n" "Last-Translator: pierre choffe \n" "Language-Team: FRENCH \n" diff --git a/tutorial/modules.po b/tutorial/modules.po index 0715d961..04303a65 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index 8dda8ca1..609fadb0 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-12-05 23:16+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-13 12:14+0100\n" "Last-Translator: Loc Cosnier \n" "Language-Team: \n" diff --git a/tutorial/stdlib2.po b/tutorial/stdlib2.po index fd6c20ba..c083833a 100644 --- a/tutorial/stdlib2.po +++ b/tutorial/stdlib2.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-06-18 22:06+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/tutorial/venv.po b/tutorial/venv.po index ed74bd96..0f71ba1a 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-12 15:21+0100\n" "Last-Translator: Vincent Poulailleau \n" "Language-Team: FRENCH \n" diff --git a/tutorial/whatnow.po b/tutorial/whatnow.po index c6f84fbd..d395a486 100644 --- a/tutorial/whatnow.po +++ b/tutorial/whatnow.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-03 22:10+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-05-23 23:43+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/using/cmdline.po b/using/cmdline.po index ff35373f..fa40c114 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-04-27 22:27+0200\n" "Last-Translator: Khaïs COLIN \n" "Language-Team: FRENCH \n" diff --git a/using/editors.po b/using/editors.po index 2f4cb286..65f5433a 100644 --- a/using/editors.po +++ b/using/editors.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:42+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/using/index.po b/using/index.po index 3de84c7f..b6949386 100644 --- a/using/index.po +++ b/using/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:20+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-02-15 01:00+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/using/mac.po b/using/mac.po index e815fd97..fddea666 100644 --- a/using/mac.po +++ b/using/mac.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-16 09:10+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/using/unix.po b/using/unix.po index a3809729..84cd6860 100644 --- a/using/unix.po +++ b/using/unix.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-08 18:22+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/using/windows.po b/using/windows.po index 7e9be64c..7c61e837 100644 --- a/using/windows.po +++ b/using/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2020-08-20 23:42+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index 78debeac..64508b6a 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-23 11:38+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-11-01 11:43+0100\n" "Last-Translator: Melançon Victor \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index c228e3b5..4f1f9fa5 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-12-11 11:28+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index cb2514ca..06230009 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-08-01 00:07+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 3bf8d01f..4052d1b4 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-31 23:42+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index 408a92df..6b1b8b3b 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-08-01 00:06+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index 87aa9e07..af2be860 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-31 23:32+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 549956d2..2a4914f6 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-31 23:37+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 05bf83c9..7678d240 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-10 00:52+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index d4834d8b..7c5c1161 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.0.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-09-22 10:11+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/3.1.po b/whatsnew/3.1.po index e9523956..2db05a7b 100644 --- a/whatsnew/3.1.po +++ b/whatsnew/3.1.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-31 23:30+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index a937282c..67996072 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-03 11:14+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -2545,12 +2545,12 @@ msgstr "Fils d'exécution" #: whatsnew/3.2.rst:2313 msgid "" "The mechanism for serializing execution of concurrently running Python " -"threads (generally known as the :term:`GIL` or :term:`Global Interpreter " -"Lock`) has been rewritten. Among the objectives were more predictable " -"switching intervals and reduced overhead due to lock contention and the " -"number of ensuing system calls. The notion of a \"check interval\" to allow " -"thread switches has been abandoned and replaced by an absolute duration " -"expressed in seconds. This parameter is tunable through :func:`sys." +"threads (generally known as the :term:`GIL` or Global Interpreter Lock) has " +"been rewritten. Among the objectives were more predictable switching " +"intervals and reduced overhead due to lock contention and the number of " +"ensuing system calls. The notion of a \"check interval\" to allow thread " +"switches has been abandoned and replaced by an absolute duration expressed " +"in seconds. This parameter is tunable through :func:`sys." "setswitchinterval()`. It currently defaults to 5 milliseconds." msgstr "" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 6797c2e0..4b9d4cb3 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-07-31 23:09+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -3508,19 +3508,15 @@ msgstr ":c:func:`PyUnicode_EncodeUTF16`" #: whatsnew/3.3.rst:2312 msgid "" -":c:func:`PyUnicode_EncodeUnicodeEscape:` use :c:func:" +":c:func:`PyUnicode_EncodeUnicodeEscape` use :c:func:" "`PyUnicode_AsUnicodeEscapeString`" msgstr "" -":c:func:`PyUnicode_EncodeUnicodeEscape:` utilisez :c:func:" -"`PyUnicode_AsUnicodeEscapeString`" #: whatsnew/3.3.rst:2314 msgid "" -":c:func:`PyUnicode_EncodeRawUnicodeEscape:` use :c:func:" +":c:func:`PyUnicode_EncodeRawUnicodeEscape` use :c:func:" "`PyUnicode_AsRawUnicodeEscapeString`" msgstr "" -":c:func:`PyUnicode_EncodeRawUnicodeEscape:` utilisez :c:func:" -"`PyUnicode_AsRawUnicodeEscapeString`" #: whatsnew/3.3.rst:2316 msgid "" @@ -3854,3 +3850,17 @@ msgstr "" msgid "" "(:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)" msgstr "" + +#~ msgid "" +#~ ":c:func:`PyUnicode_EncodeUnicodeEscape:` use :c:func:" +#~ "`PyUnicode_AsUnicodeEscapeString`" +#~ msgstr "" +#~ ":c:func:`PyUnicode_EncodeUnicodeEscape:` utilisez :c:func:" +#~ "`PyUnicode_AsUnicodeEscapeString`" + +#~ msgid "" +#~ ":c:func:`PyUnicode_EncodeRawUnicodeEscape:` use :c:func:" +#~ "`PyUnicode_AsRawUnicodeEscapeString`" +#~ msgstr "" +#~ ":c:func:`PyUnicode_EncodeRawUnicodeEscape:` utilisez :c:func:" +#~ "`PyUnicode_AsRawUnicodeEscapeString`" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index 072ab289..302179cc 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index f7ea31d5..1c3f5fa4 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-10 00:52+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -433,7 +433,7 @@ msgstr "" #: whatsnew/3.5.rst:415 msgid "" -":pep:`484` introduces a :term:`provisional module ` to " +":pep:`484` introduces a :term:`provisional module ` to " "provide these standard definitions and tools, along with some conventions " "for situations where annotations are not available." msgstr "" @@ -837,7 +837,7 @@ msgstr "" #: whatsnew/3.5.rst:729 msgid "" -"The new :mod:`typing` :term:`provisional ` module provides " +"The new :mod:`typing` :term:`provisional ` module provides " "standard definitions and tools for function type annotations. See :ref:`Type " "Hints ` for more information." msgstr "" @@ -893,7 +893,7 @@ msgstr "asyncio" #: whatsnew/3.5.rst:775 msgid "" -"Since the :mod:`asyncio` module is :term:`provisional `, " +"Since the :mod:`asyncio` module is :term:`provisional `, " "all changes introduced in Python 3.5 have also been backported to Python 3.4." "x." msgstr "" @@ -2292,7 +2292,7 @@ msgid "" "hook that will be called whenever a :term:`coroutine object ` is " "created by an :keyword:`async def` function. A corresponding :func:`~sys." "get_coroutine_wrapper` can be used to obtain a currently set wrapper. Both " -"functions are :term:`provisional `, and are intended for " +"functions are :term:`provisional `, and are intended for " "debugging purposes only. (Contributed by Yury Selivanov in :issue:`24017`.)" msgstr "" diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 5f6f4e0b..c45085a9 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-10-13 17:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -2056,7 +2056,7 @@ msgstr "" #: whatsnew/3.6.rst:1600 msgid "" -"Since the :mod:`typing` module is :term:`provisional `, all " +"Since the :mod:`typing` module is :term:`provisional `, all " "changes introduced in Python 3.6 have also been backported to Python 3.5.x." msgstr "" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 132c0c9a..17e73ed4 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -237,7 +237,7 @@ msgid "" msgstr "" #: whatsnew/3.7.rst:174 -msgid "It will become the default in Python 4.0." +msgid "It will become the default in Python 3.10." msgstr "" #: whatsnew/3.7.rst:178 @@ -882,7 +882,7 @@ msgstr "" #: whatsnew/3.7.rst:639 msgid "" -"The new :term:`provisional ` :func:`asyncio.run` function " +"The new :term:`provisional ` :func:`asyncio.run` function " "can be used to run a coroutine from synchronous code by automatically " "creating and destroying the event loop. (Contributed by Yury Selivanov in :" "issue:`32314`.)" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 1d29bb6f..f29fd73d 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2019-09-04 11:41+0200\n" "Last-Translator: Fred-si \n" "Language-Team: FRENCH \n" @@ -820,39 +820,40 @@ msgstr "" msgid "(Contributed by Yury Selivanov in :issue:`37028`.)" msgstr "" -#: whatsnew/3.8.rst:648 whatsnew/3.8.rst:1953 +#: whatsnew/3.8.rst:648 whatsnew/3.8.rst:1954 msgid "" "The exception :class:`asyncio.CancelledError` now inherits from :class:" -"`BaseException` rather than :class:`Exception`. (Contributed by Yury " -"Selivanov in :issue:`32528`.)" +"`BaseException` rather than :class:`Exception` and no longer inherits from :" +"class:`concurrent.futures.CancelledError`. (Contributed by Yury Selivanov " +"in :issue:`32528`.)" msgstr "" -#: whatsnew/3.8.rst:652 +#: whatsnew/3.8.rst:653 msgid "" "On Windows, the default event loop is now :class:`~asyncio." "ProactorEventLoop`. (Contributed by Victor Stinner in :issue:`34687`.)" msgstr "" -#: whatsnew/3.8.rst:655 +#: whatsnew/3.8.rst:656 msgid "" ":class:`~asyncio.ProactorEventLoop` now also supports UDP. (Contributed by " "Adam Meily and Andrew Svetlov in :issue:`29883`.)" msgstr "" -#: whatsnew/3.8.rst:658 +#: whatsnew/3.8.rst:659 msgid "" ":class:`~asyncio.ProactorEventLoop` can now be interrupted by :exc:" "`KeyboardInterrupt` (\"CTRL+C\"). (Contributed by Vladimir Matveev in :issue:" "`23057`.)" msgstr "" -#: whatsnew/3.8.rst:662 +#: whatsnew/3.8.rst:663 msgid "" "Added :meth:`asyncio.Task.get_coro` for getting the wrapped coroutine within " "an :class:`asyncio.Task`. (Contributed by Alex Grönholm in :issue:`36999`.)" msgstr "" -#: whatsnew/3.8.rst:666 +#: whatsnew/3.8.rst:667 msgid "" "Asyncio tasks can now be named, either by passing the ``name`` keyword " "argument to :func:`asyncio.create_task` or the :meth:`~asyncio.loop." @@ -863,7 +864,7 @@ msgid "" "issue:`34270`.)" msgstr "" -#: whatsnew/3.8.rst:674 +#: whatsnew/3.8.rst:675 msgid "" "Added support for `Happy Eyeballs `_ to :func:`asyncio.loop.create_connection`. To specify the " @@ -873,11 +874,11 @@ msgid "" "connect using both. (Contributed by twisteroid ambassador in :issue:`33530`.)" msgstr "" -#: whatsnew/3.8.rst:684 +#: whatsnew/3.8.rst:685 msgid "builtins" msgstr "" -#: whatsnew/3.8.rst:686 +#: whatsnew/3.8.rst:687 msgid "" "The :func:`compile` built-in has been improved to accept the ``ast." "PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag. With this new flag passed, :func:" @@ -887,11 +888,11 @@ msgid "" "(Contributed by Matthias Bussonnier in :issue:`34616`)" msgstr "" -#: whatsnew/3.8.rst:695 +#: whatsnew/3.8.rst:696 msgid "collections" msgstr "" -#: whatsnew/3.8.rst:697 +#: whatsnew/3.8.rst:698 msgid "" "The :meth:`~collections.somenamedtuple._asdict` method for :func:" "`collections.namedtuple` now returns a :class:`dict` instead of a :class:" @@ -902,25 +903,25 @@ msgid "" "issue:`35864`.)" msgstr "" -#: whatsnew/3.8.rst:707 +#: whatsnew/3.8.rst:708 msgid "cProfile" msgstr "" -#: whatsnew/3.8.rst:709 +#: whatsnew/3.8.rst:710 msgid "" "The :class:`cProfile.Profile ` class can now be used as a " "context manager. Profile a block of code by running::" msgstr "" -#: whatsnew/3.8.rst:718 +#: whatsnew/3.8.rst:719 msgid "(Contributed by Scott Sanderson in :issue:`29235`.)" msgstr "" -#: whatsnew/3.8.rst:722 +#: whatsnew/3.8.rst:723 msgid "csv" msgstr "csv" -#: whatsnew/3.8.rst:724 +#: whatsnew/3.8.rst:725 msgid "" "The :class:`csv.DictReader` now returns instances of :class:`dict` instead " "of a :class:`collections.OrderedDict`. The tool is now faster and uses less " @@ -928,22 +929,22 @@ msgid "" "in :issue:`34003`.)" msgstr "" -#: whatsnew/3.8.rst:731 +#: whatsnew/3.8.rst:732 msgid "curses" msgstr "curses" -#: whatsnew/3.8.rst:733 +#: whatsnew/3.8.rst:734 msgid "" "Added a new variable holding structured version information for the " "underlying ncurses library: :data:`~curses.ncurses_version`. (Contributed by " "Serhiy Storchaka in :issue:`31680`.)" msgstr "" -#: whatsnew/3.8.rst:739 +#: whatsnew/3.8.rst:740 msgid "ctypes" msgstr "ctypes" -#: whatsnew/3.8.rst:741 +#: whatsnew/3.8.rst:742 msgid "" "On Windows, :class:`~ctypes.CDLL` and subclasses now accept a *winmode* " "parameter to specify flags for the underlying ``LoadLibraryEx`` call. The " @@ -953,11 +954,11 @@ msgid "" "add_dll_directory`. (Contributed by Steve Dower in :issue:`36085`.)" msgstr "" -#: whatsnew/3.8.rst:750 +#: whatsnew/3.8.rst:751 msgid "datetime" msgstr "datetime" -#: whatsnew/3.8.rst:752 +#: whatsnew/3.8.rst:753 msgid "" "Added new alternate constructors :meth:`datetime.date.fromisocalendar` and :" "meth:`datetime.datetime.fromisocalendar`, which construct :class:`date` and :" @@ -966,85 +967,85 @@ msgid "" "(Contributed by Paul Ganssle in :issue:`36004`.)" msgstr "" -#: whatsnew/3.8.rst:760 +#: whatsnew/3.8.rst:761 msgid "functools" msgstr "" -#: whatsnew/3.8.rst:762 +#: whatsnew/3.8.rst:763 msgid "" ":func:`functools.lru_cache` can now be used as a straight decorator rather " "than as a function returning a decorator. So both of these are now " "supported::" msgstr "" -#: whatsnew/3.8.rst:773 +#: whatsnew/3.8.rst:774 msgid "(Contributed by Raymond Hettinger in :issue:`36772`.)" msgstr "" -#: whatsnew/3.8.rst:775 +#: whatsnew/3.8.rst:776 msgid "" "Added a new :func:`functools.cached_property` decorator, for computed " "properties cached for the life of the instance. ::" msgstr "" -#: whatsnew/3.8.rst:789 +#: whatsnew/3.8.rst:790 msgid "(Contributed by Carl Meyer in :issue:`21145`)" msgstr "" -#: whatsnew/3.8.rst:792 +#: whatsnew/3.8.rst:793 msgid "" "Added a new :func:`functools.singledispatchmethod` decorator that converts " "methods into :term:`generic functions ` using :term:" "`single dispatch`::" msgstr "" -#: whatsnew/3.8.rst:814 +#: whatsnew/3.8.rst:815 msgid "(Contributed by Ethan Smith in :issue:`32380`)" msgstr "" -#: whatsnew/3.8.rst:817 +#: whatsnew/3.8.rst:818 msgid "gc" msgstr "" -#: whatsnew/3.8.rst:819 +#: whatsnew/3.8.rst:820 msgid "" ":func:`~gc.get_objects` can now receive an optional *generation* parameter " "indicating a generation to get objects from. (Contributed by Pablo Galindo " "in :issue:`36016`.)" msgstr "" -#: whatsnew/3.8.rst:825 +#: whatsnew/3.8.rst:826 msgid "gettext" msgstr "" -#: whatsnew/3.8.rst:827 +#: whatsnew/3.8.rst:828 msgid "" "Added :func:`~gettext.pgettext` and its variants. (Contributed by Franz " "Glasner, Éric Araujo, and Cheryl Sabella in :issue:`2504`.)" msgstr "" -#: whatsnew/3.8.rst:832 +#: whatsnew/3.8.rst:833 msgid "gzip" msgstr "gzip" -#: whatsnew/3.8.rst:834 +#: whatsnew/3.8.rst:835 msgid "" "Added the *mtime* parameter to :func:`gzip.compress` for reproducible " "output. (Contributed by Guo Ci Teo in :issue:`34898`.)" msgstr "" -#: whatsnew/3.8.rst:837 +#: whatsnew/3.8.rst:838 msgid "" "A :exc:`~gzip.BadGzipFile` exception is now raised instead of :exc:`OSError` " "for certain types of invalid or corrupt gzip files. (Contributed by Filip " "Gruszczyński, Michele Orrù, and Zackery Spytz in :issue:`6584`.)" msgstr "" -#: whatsnew/3.8.rst:844 +#: whatsnew/3.8.rst:845 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.8.rst:846 +#: whatsnew/3.8.rst:847 msgid "" "Output over N lines (50 by default) is squeezed down to a button. N can be " "changed in the PyShell section of the General page of the Settings dialog. " @@ -1054,7 +1055,7 @@ msgid "" "button. (Contributed by Tal Einat in :issue:`1529353`.)" msgstr "" -#: whatsnew/3.8.rst:853 +#: whatsnew/3.8.rst:854 msgid "" "Add \"Run Customized\" to the Run menu to run a module with customized " "settings. Any command line arguments entered are added to sys.argv. They " @@ -1063,7 +1064,7 @@ msgid "" "Sabella, Terry Jan Reedy, and others in :issue:`5680` and :issue:`37627`.)" msgstr "" -#: whatsnew/3.8.rst:859 +#: whatsnew/3.8.rst:860 msgid "" "Added optional line numbers for IDLE editor windows. Windows open without " "line numbers unless set otherwise in the General tab of the configuration " @@ -1072,7 +1073,7 @@ msgid "" "`17535`.)" msgstr "" -#: whatsnew/3.8.rst:865 +#: whatsnew/3.8.rst:866 msgid "" "OS native encoding is now used for converting between Python strings and Tcl " "objects. This allows IDLE to work with emoji and other non-BMP characters. " @@ -1082,15 +1083,15 @@ msgid "" "solved by Serhiy Storchaka in :issue:`13153`.)" msgstr "" -#: whatsnew/3.8.rst:872 +#: whatsnew/3.8.rst:873 msgid "The changes above have been backported to 3.7 maintenance releases." msgstr "" -#: whatsnew/3.8.rst:876 +#: whatsnew/3.8.rst:877 msgid "inspect" msgstr "" -#: whatsnew/3.8.rst:878 +#: whatsnew/3.8.rst:879 msgid "" "The :func:`inspect.getdoc` function can now find docstrings for " "``__slots__`` if that attribute is a :class:`dict` where the values are " @@ -1098,15 +1099,15 @@ msgid "" "have for :func:`property`, :func:`classmethod`, and :func:`staticmethod`::" msgstr "" -#: whatsnew/3.8.rst:890 +#: whatsnew/3.8.rst:891 msgid "(Contributed by Raymond Hettinger in :issue:`36326`.)" msgstr "" -#: whatsnew/3.8.rst:894 +#: whatsnew/3.8.rst:895 msgid "io" msgstr "" -#: whatsnew/3.8.rst:896 +#: whatsnew/3.8.rst:897 msgid "" "In development mode (:option:`-X` ``env``) and in debug build, the :class:" "`io.IOBase` finalizer now logs the exception if the ``close()`` method " @@ -1114,35 +1115,35 @@ msgid "" "(Contributed by Victor Stinner in :issue:`18748`.)" msgstr "" -#: whatsnew/3.8.rst:903 +#: whatsnew/3.8.rst:904 msgid "itertools" msgstr "" -#: whatsnew/3.8.rst:905 +#: whatsnew/3.8.rst:906 msgid "" "The :func:`itertools.accumulate` function added an option *initial* keyword " "argument to specify an initial value::" msgstr "" -#: whatsnew/3.8.rst:912 +#: whatsnew/3.8.rst:913 msgid "(Contributed by Lisa Roach in :issue:`34659`.)" msgstr "" -#: whatsnew/3.8.rst:916 +#: whatsnew/3.8.rst:917 msgid "json.tool" msgstr "" -#: whatsnew/3.8.rst:918 +#: whatsnew/3.8.rst:919 msgid "" "Add option ``--json-lines`` to parse every input line as a separate JSON " "object. (Contributed by Weipeng Hong in :issue:`31553`.)" msgstr "" -#: whatsnew/3.8.rst:923 +#: whatsnew/3.8.rst:924 msgid "logging" msgstr "" -#: whatsnew/3.8.rst:925 +#: whatsnew/3.8.rst:926 msgid "" "Added a *force* keyword argument to :func:`logging.basicConfig()` When set " "to true, any existing handlers attached to the root logger are removed and " @@ -1150,7 +1151,7 @@ msgid "" "arguments." msgstr "" -#: whatsnew/3.8.rst:930 +#: whatsnew/3.8.rst:931 msgid "" "This solves a long-standing problem. Once a logger or *basicConfig()* had " "been called, subsequent calls to *basicConfig()* were silently ignored. This " @@ -1158,53 +1159,53 @@ msgid "" "configuration options using the interactive prompt or a Jupyter notebook." msgstr "" -#: whatsnew/3.8.rst:936 +#: whatsnew/3.8.rst:937 msgid "" "(Suggested by Raymond Hettinger, implemented by Dong-hee Na, and reviewed by " "Vinay Sajip in :issue:`33897`.)" msgstr "" -#: whatsnew/3.8.rst:941 +#: whatsnew/3.8.rst:942 msgid "math" msgstr "" -#: whatsnew/3.8.rst:943 +#: whatsnew/3.8.rst:944 msgid "" "Added new function :func:`math.dist` for computing Euclidean distance " "between two points. (Contributed by Raymond Hettinger in :issue:`33089`.)" msgstr "" -#: whatsnew/3.8.rst:946 +#: whatsnew/3.8.rst:947 msgid "" "Expanded the :func:`math.hypot` function to handle multiple dimensions. " "Formerly, it only supported the 2-D case. (Contributed by Raymond Hettinger " "in :issue:`33089`.)" msgstr "" -#: whatsnew/3.8.rst:950 +#: whatsnew/3.8.rst:951 msgid "" "Added new function, :func:`math.prod`, as analogous function to :func:`sum` " "that returns the product of a 'start' value (default: 1) times an iterable " "of numbers::" msgstr "" -#: whatsnew/3.8.rst:959 +#: whatsnew/3.8.rst:960 msgid "(Contributed by Pablo Galindo in :issue:`35606`.)" msgstr "" -#: whatsnew/3.8.rst:961 +#: whatsnew/3.8.rst:962 msgid "" "Added two new combinatoric functions :func:`math.perm` and :func:`math." "comb`::" msgstr "" -#: whatsnew/3.8.rst:968 +#: whatsnew/3.8.rst:969 msgid "" "(Contributed by Yash Aggarwal, Keller Fuchs, Serhiy Storchaka, and Raymond " "Hettinger in :issue:`37128`, :issue:`37178`, and :issue:`35431`.)" msgstr "" -#: whatsnew/3.8.rst:971 +#: whatsnew/3.8.rst:972 msgid "" "Added a new function :func:`math.isqrt` for computing accurate integer " "square roots without conversion to floating point. The new function " @@ -1212,48 +1213,48 @@ msgid "" "but slower than :func:`math.sqrt`::" msgstr "" -#: whatsnew/3.8.rst:983 +#: whatsnew/3.8.rst:984 msgid "(Contributed by Mark Dickinson in :issue:`36887`.)" msgstr "" -#: whatsnew/3.8.rst:985 +#: whatsnew/3.8.rst:986 msgid "" "The function :func:`math.factorial` no longer accepts arguments that are not " "int-like. (Contributed by Pablo Galindo in :issue:`33083`.)" msgstr "" -#: whatsnew/3.8.rst:990 +#: whatsnew/3.8.rst:991 msgid "mmap" msgstr "" -#: whatsnew/3.8.rst:992 +#: whatsnew/3.8.rst:993 msgid "" "The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.madvise` method to " "access the ``madvise()`` system call. (Contributed by Zackery Spytz in :" "issue:`32941`.)" msgstr "" -#: whatsnew/3.8.rst:998 +#: whatsnew/3.8.rst:999 msgid "multiprocessing" msgstr "multiprocessing" -#: whatsnew/3.8.rst:1000 +#: whatsnew/3.8.rst:1001 msgid "" "Added new :mod:`multiprocessing.shared_memory` module. (Contributed by Davin " "Potts in :issue:`35813`.)" msgstr "" -#: whatsnew/3.8.rst:1003 +#: whatsnew/3.8.rst:1004 msgid "" "On macOS, the *spawn* start method is now used by default. (Contributed by " "Victor Stinner in :issue:`33725`.)" msgstr "" -#: whatsnew/3.8.rst:1008 +#: whatsnew/3.8.rst:1009 msgid "os" msgstr "" -#: whatsnew/3.8.rst:1010 +#: whatsnew/3.8.rst:1011 msgid "" "Added new function :func:`~os.add_dll_directory` on Windows for providing " "additional search paths for native dependencies when importing extension " @@ -1261,14 +1262,14 @@ msgid "" "issue:`36085`.)" msgstr "" -#: whatsnew/3.8.rst:1015 +#: whatsnew/3.8.rst:1016 msgid "" "A new :func:`os.memfd_create` function was added to wrap the " "``memfd_create()`` syscall. (Contributed by Zackery Spytz and Christian " "Heimes in :issue:`26836`.)" msgstr "" -#: whatsnew/3.8.rst:1019 +#: whatsnew/3.8.rst:1020 msgid "" "On Windows, much of the manual logic for handling reparse points (including " "symlinks and directory junctions) has been delegated to the operating " @@ -1281,7 +1282,7 @@ msgid "" "st_reparse_tag` attribute." msgstr "" -#: whatsnew/3.8.rst:1028 +#: whatsnew/3.8.rst:1029 msgid "" "On Windows, :func:`os.readlink` is now able to read directory junctions. " "Note that :func:`~os.path.islink` will return ``False`` for directory " @@ -1290,15 +1291,15 @@ msgid "" "readlink` may now treat junctions as links." msgstr "" -#: whatsnew/3.8.rst:1034 whatsnew/3.8.rst:1059 +#: whatsnew/3.8.rst:1035 whatsnew/3.8.rst:1060 msgid "(Contributed by Steve Dower in :issue:`37834`.)" msgstr "" -#: whatsnew/3.8.rst:1038 +#: whatsnew/3.8.rst:1039 msgid "os.path" msgstr "" -#: whatsnew/3.8.rst:1040 +#: whatsnew/3.8.rst:1041 msgid "" ":mod:`os.path` functions that return a boolean result like :func:`~os.path." "exists`, :func:`~os.path.lexists`, :func:`~os.path.isdir`, :func:`~os.path." @@ -1309,7 +1310,7 @@ msgid "" "Storchaka in :issue:`33721`.)" msgstr "" -#: whatsnew/3.8.rst:1048 whatsnew/3.8.rst:1948 +#: whatsnew/3.8.rst:1049 whatsnew/3.8.rst:1949 msgid "" ":func:`~os.path.expanduser` on Windows now prefers the :envvar:`USERPROFILE` " "environment variable and does not use :envvar:`HOME`, which is not normally " @@ -1317,23 +1318,23 @@ msgid "" "`36264`.)" msgstr "" -#: whatsnew/3.8.rst:1053 +#: whatsnew/3.8.rst:1054 msgid "" ":func:`~os.path.isdir` on Windows no longer returns ``True`` for a link to a " "non-existent directory." msgstr "" -#: whatsnew/3.8.rst:1056 +#: whatsnew/3.8.rst:1057 msgid "" ":func:`~os.path.realpath` on Windows now resolves reparse points, including " "symlinks and directory junctions." msgstr "" -#: whatsnew/3.8.rst:1063 +#: whatsnew/3.8.rst:1064 msgid "pathlib" msgstr "pathlib" -#: whatsnew/3.8.rst:1065 +#: whatsnew/3.8.rst:1066 msgid "" ":mod:`pathlib.Path` methods that return a boolean result like :meth:" "`~pathlib.Path.exists()`, :meth:`~pathlib.Path.is_dir()`, :meth:`~pathlib." @@ -1346,17 +1347,17 @@ msgid "" "`33721`.)" msgstr "" -#: whatsnew/3.8.rst:1075 +#: whatsnew/3.8.rst:1076 msgid "" "Added :meth:`pathlib.Path.link_to()` which creates a hard link pointing to a " "path. (Contributed by Joannah Nanjekye in :issue:`26978`)" msgstr "" -#: whatsnew/3.8.rst:1081 +#: whatsnew/3.8.rst:1082 msgid "pickle" msgstr "" -#: whatsnew/3.8.rst:1083 +#: whatsnew/3.8.rst:1084 msgid "" ":mod:`pickle` extensions subclassing the C-optimized :class:`~pickle." "Pickler` can now override the pickling logic of functions and classes by " @@ -1364,22 +1365,22 @@ msgid "" "(Contributed by Pierre Glaser and Olivier Grisel in :issue:`35900`.)" msgstr "" -#: whatsnew/3.8.rst:1090 +#: whatsnew/3.8.rst:1091 msgid "plistlib" msgstr "" -#: whatsnew/3.8.rst:1092 +#: whatsnew/3.8.rst:1093 msgid "" "Added new :class:`plistlib.UID` and enabled support for reading and writing " "NSKeyedArchiver-encoded binary plists. (Contributed by Jon Janzen in :issue:" "`26707`.)" msgstr "" -#: whatsnew/3.8.rst:1098 +#: whatsnew/3.8.rst:1099 msgid "pprint" msgstr "" -#: whatsnew/3.8.rst:1100 +#: whatsnew/3.8.rst:1101 msgid "" "The :mod:`pprint` module added a *sort_dicts* parameter to several " "functions. By default, those functions continue to sort dictionaries before " @@ -1388,47 +1389,47 @@ msgid "" "for comparison to JSON inputs during debugging." msgstr "" -#: whatsnew/3.8.rst:1106 +#: whatsnew/3.8.rst:1107 msgid "" "In addition, there is a convenience new function, :func:`pprint.pp` that is " "like :func:`pprint.pprint` but with *sort_dicts* defaulting to ``False``::" msgstr "" -#: whatsnew/3.8.rst:1120 +#: whatsnew/3.8.rst:1121 msgid "(Contributed by Rémi Lapeyre in :issue:`30670`.)" msgstr "" -#: whatsnew/3.8.rst:1124 +#: whatsnew/3.8.rst:1125 msgid "py_compile" msgstr "" -#: whatsnew/3.8.rst:1126 +#: whatsnew/3.8.rst:1127 msgid "" ":func:`py_compile.compile` now supports silent mode. (Contributed by Joannah " "Nanjekye in :issue:`22640`.)" msgstr "" -#: whatsnew/3.8.rst:1131 +#: whatsnew/3.8.rst:1132 msgid "shlex" msgstr "" -#: whatsnew/3.8.rst:1133 +#: whatsnew/3.8.rst:1134 msgid "" "The new :func:`shlex.join` function acts as the inverse of :func:`shlex." "split`. (Contributed by Bo Bayles in :issue:`32102`.)" msgstr "" -#: whatsnew/3.8.rst:1138 +#: whatsnew/3.8.rst:1139 msgid "shutil" msgstr "" -#: whatsnew/3.8.rst:1140 +#: whatsnew/3.8.rst:1141 msgid "" ":func:`shutil.copytree` now accepts a new ``dirs_exist_ok`` keyword " "argument. (Contributed by Josh Bronson in :issue:`20849`.)" msgstr "" -#: whatsnew/3.8.rst:1143 +#: whatsnew/3.8.rst:1144 msgid "" ":func:`shutil.make_archive` now defaults to the modern pax (POSIX.1-2001) " "format for new archives to improve portability and standards conformance, " @@ -1436,18 +1437,18 @@ msgid "" "(Contributed by C.A.M. Gerlach in :issue:`30661`.)" msgstr "" -#: whatsnew/3.8.rst:1148 +#: whatsnew/3.8.rst:1149 msgid "" ":func:`shutil.rmtree` on Windows now removes directory junctions without " "recursively removing their contents first. (Contributed by Steve Dower in :" "issue:`37834`.)" msgstr "" -#: whatsnew/3.8.rst:1154 +#: whatsnew/3.8.rst:1155 msgid "socket" msgstr "" -#: whatsnew/3.8.rst:1156 +#: whatsnew/3.8.rst:1157 msgid "" "Added :meth:`~socket.create_server()` and :meth:`~socket." "has_dualstack_ipv6()` convenience functions to automate the necessary tasks " @@ -1456,66 +1457,66 @@ msgid "" "Rodolà in :issue:`17561`.)" msgstr "" -#: whatsnew/3.8.rst:1161 +#: whatsnew/3.8.rst:1162 msgid "" "The :func:`socket.if_nameindex()`, :func:`socket.if_nametoindex()`, and :" "func:`socket.if_indextoname()` functions have been implemented on Windows. " "(Contributed by Zackery Spytz in :issue:`37007`.)" msgstr "" -#: whatsnew/3.8.rst:1167 +#: whatsnew/3.8.rst:1168 msgid "ssl" msgstr "" -#: whatsnew/3.8.rst:1169 +#: whatsnew/3.8.rst:1170 msgid "" "Added :attr:`~ssl.SSLContext.post_handshake_auth` to enable and :meth:`~ssl." "SSLSocket.verify_client_post_handshake` to initiate TLS 1.3 post-handshake " "authentication. (Contributed by Christian Heimes in :issue:`34670`.)" msgstr "" -#: whatsnew/3.8.rst:1176 +#: whatsnew/3.8.rst:1177 msgid "statistics" msgstr "" -#: whatsnew/3.8.rst:1178 +#: whatsnew/3.8.rst:1179 msgid "" "Added :func:`statistics.fmean` as a faster, floating point variant of :func:" "`statistics.mean()`. (Contributed by Raymond Hettinger and Steven D'Aprano " "in :issue:`35904`.)" msgstr "" -#: whatsnew/3.8.rst:1182 +#: whatsnew/3.8.rst:1183 msgid "" "Added :func:`statistics.geometric_mean()` (Contributed by Raymond Hettinger " "in :issue:`27181`.)" msgstr "" -#: whatsnew/3.8.rst:1185 +#: whatsnew/3.8.rst:1186 msgid "" "Added :func:`statistics.multimode` that returns a list of the most common " "values. (Contributed by Raymond Hettinger in :issue:`35892`.)" msgstr "" -#: whatsnew/3.8.rst:1188 +#: whatsnew/3.8.rst:1189 msgid "" "Added :func:`statistics.quantiles` that divides data or a distribution in to " "equiprobable intervals (e.g. quartiles, deciles, or percentiles). " "(Contributed by Raymond Hettinger in :issue:`36546`.)" msgstr "" -#: whatsnew/3.8.rst:1192 +#: whatsnew/3.8.rst:1193 msgid "" "Added :class:`statistics.NormalDist`, a tool for creating and manipulating " "normal distributions of a random variable. (Contributed by Raymond Hettinger " "in :issue:`36018`.)" msgstr "" -#: whatsnew/3.8.rst:1222 +#: whatsnew/3.8.rst:1223 msgid "sys" msgstr "sys" -#: whatsnew/3.8.rst:1224 +#: whatsnew/3.8.rst:1225 msgid "" "Add new :func:`sys.unraisablehook` function which can be overridden to " "control how \"unraisable exceptions\" are handled. It is called when an " @@ -1524,11 +1525,11 @@ msgid "" "(:func:`gc.collect`). (Contributed by Victor Stinner in :issue:`36829`.)" msgstr "" -#: whatsnew/3.8.rst:1233 +#: whatsnew/3.8.rst:1234 msgid "tarfile" msgstr "" -#: whatsnew/3.8.rst:1235 +#: whatsnew/3.8.rst:1236 msgid "" "The :mod:`tarfile` module now defaults to the modern pax (POSIX.1-2001) " "format for new archives, instead of the previous GNU-specific one. This " @@ -1537,11 +1538,11 @@ msgid "" "(Contributed by C.A.M. Gerlach in :issue:`36268`.)" msgstr "" -#: whatsnew/3.8.rst:1243 +#: whatsnew/3.8.rst:1244 msgid "threading" msgstr "threading" -#: whatsnew/3.8.rst:1245 +#: whatsnew/3.8.rst:1246 msgid "" "Add a new :func:`threading.excepthook` function which handles uncaught :meth:" "`threading.Thread.run` exception. It can be overridden to control how " @@ -1549,7 +1550,7 @@ msgid "" "by Victor Stinner in :issue:`1230540`.)" msgstr "" -#: whatsnew/3.8.rst:1250 +#: whatsnew/3.8.rst:1251 msgid "" "Add a new :func:`threading.get_native_id` function and a :data:`~threading." "Thread.native_id` attribute to the :class:`threading.Thread` class. These " @@ -1559,11 +1560,11 @@ msgid "" "by Jake Tesler in :issue:`36084`.)" msgstr "" -#: whatsnew/3.8.rst:1260 +#: whatsnew/3.8.rst:1261 msgid "tokenize" msgstr "" -#: whatsnew/3.8.rst:1262 +#: whatsnew/3.8.rst:1263 msgid "" "The :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token when " "provided with input that does not have a trailing new line. This behavior " @@ -1571,11 +1572,11 @@ msgid "" "Askar in :issue:`33899`.)" msgstr "" -#: whatsnew/3.8.rst:1269 +#: whatsnew/3.8.rst:1270 msgid "tkinter" msgstr "tkinter" -#: whatsnew/3.8.rst:1271 +#: whatsnew/3.8.rst:1272 msgid "" "Added methods :meth:`~tkinter.Spinbox.selection_from`, :meth:`~tkinter." "Spinbox.selection_present`, :meth:`~tkinter.Spinbox.selection_range` and :" @@ -1583,38 +1584,38 @@ msgid "" "(Contributed by Juliette Monsel in :issue:`34829`.)" msgstr "" -#: whatsnew/3.8.rst:1278 +#: whatsnew/3.8.rst:1279 msgid "" "Added method :meth:`~tkinter.Canvas.moveto` in the :class:`tkinter.Canvas` " "class. (Contributed by Juliette Monsel in :issue:`23831`.)" msgstr "" -#: whatsnew/3.8.rst:1282 +#: whatsnew/3.8.rst:1283 msgid "" "The :class:`tkinter.PhotoImage` class now has :meth:`~tkinter.PhotoImage." "transparency_get` and :meth:`~tkinter.PhotoImage.transparency_set` methods. " "(Contributed by Zackery Spytz in :issue:`25451`.)" msgstr "" -#: whatsnew/3.8.rst:1289 +#: whatsnew/3.8.rst:1290 msgid "time" msgstr "time" -#: whatsnew/3.8.rst:1291 +#: whatsnew/3.8.rst:1292 msgid "" "Added new clock :data:`~time.CLOCK_UPTIME_RAW` for macOS 10.12. (Contributed " "by Joannah Nanjekye in :issue:`35702`.)" msgstr "" -#: whatsnew/3.8.rst:1296 +#: whatsnew/3.8.rst:1297 msgid "typing" msgstr "" -#: whatsnew/3.8.rst:1298 +#: whatsnew/3.8.rst:1299 msgid "The :mod:`typing` module incorporates several new features:" msgstr "" -#: whatsnew/3.8.rst:1300 +#: whatsnew/3.8.rst:1301 msgid "" "A dictionary type with per-key types. See :pep:`589` and :class:`typing." "TypedDict`. TypedDict uses only string keys. By default, every key is " @@ -1622,46 +1623,46 @@ msgid "" "optional::" msgstr "" -#: whatsnew/3.8.rst:1310 +#: whatsnew/3.8.rst:1311 msgid "" "Literal types. See :pep:`586` and :class:`typing.Literal`. Literal types " "indicate that a parameter or return value is constrained to one or more " "specific literal values::" msgstr "" -#: whatsnew/3.8.rst:1317 +#: whatsnew/3.8.rst:1318 msgid "" "\"Final\" variables, functions, methods and classes. See :pep:`591`, :class:" "`typing.Final` and :func:`typing.final`. The final qualifier instructs a " "static type checker to restrict subclassing, overriding, or reassignment::" msgstr "" -#: whatsnew/3.8.rst:1324 +#: whatsnew/3.8.rst:1325 msgid "" "Protocol definitions. See :pep:`544`, :class:`typing.Protocol` and :func:" "`typing.runtime_checkable`. Simple ABCs like :class:`typing.SupportsInt` " "are now ``Protocol`` subclasses." msgstr "" -#: whatsnew/3.8.rst:1328 +#: whatsnew/3.8.rst:1329 msgid "New protocol class :class:`typing.SupportsIndex`." msgstr "" -#: whatsnew/3.8.rst:1330 +#: whatsnew/3.8.rst:1331 msgid "New functions :func:`typing.get_origin` and :func:`typing.get_args`." msgstr "" -#: whatsnew/3.8.rst:1334 +#: whatsnew/3.8.rst:1335 msgid "unicodedata" msgstr "unicodedata" -#: whatsnew/3.8.rst:1336 +#: whatsnew/3.8.rst:1337 msgid "" "The :mod:`unicodedata` module has been upgraded to use the `Unicode 12.1.0 " "`_ release." msgstr "" -#: whatsnew/3.8.rst:1339 +#: whatsnew/3.8.rst:1340 msgid "" "New function :func:`~unicodedata.is_normalized` can be used to verify a " "string is in a specific normal form, often much faster than by actually " @@ -1669,11 +1670,11 @@ msgid "" "Greg Price in :issue:`32285` and :issue:`37966`)." msgstr "" -#: whatsnew/3.8.rst:1346 +#: whatsnew/3.8.rst:1347 msgid "unittest" msgstr "unittest" -#: whatsnew/3.8.rst:1348 +#: whatsnew/3.8.rst:1349 msgid "" "Added :class:`~unittest.mock.AsyncMock` to support an asynchronous version " "of :class:`~unittest.mock.Mock`. Appropriate new assert functions for " @@ -1681,7 +1682,7 @@ msgid "" "`26467`)." msgstr "" -#: whatsnew/3.8.rst:1353 +#: whatsnew/3.8.rst:1354 msgid "" "Added :func:`~unittest.addModuleCleanup()` and :meth:`~unittest.TestCase." "addClassCleanup()` to unittest to support cleanups for :func:`~unittest." @@ -1689,57 +1690,57 @@ msgid "" "Lisa Roach in :issue:`24412`.)" msgstr "" -#: whatsnew/3.8.rst:1359 +#: whatsnew/3.8.rst:1360 msgid "" "Several mock assert functions now also print a list of actual calls upon " "failure. (Contributed by Petter Strandmark in :issue:`35047`.)" msgstr "" -#: whatsnew/3.8.rst:1362 +#: whatsnew/3.8.rst:1363 msgid "" ":mod:`unittest` module gained support for coroutines to be used as test " "cases with :class:`unittest.IsolatedAsyncioTestCase`. (Contributed by Andrew " "Svetlov in :issue:`32972`.)" msgstr "" -#: whatsnew/3.8.rst:1366 +#: whatsnew/3.8.rst:1367 msgid "Example::" msgstr "Exemple ::" -#: whatsnew/3.8.rst:1389 +#: whatsnew/3.8.rst:1390 msgid "venv" msgstr "venv" -#: whatsnew/3.8.rst:1391 +#: whatsnew/3.8.rst:1392 msgid "" ":mod:`venv` now includes an ``Activate.ps1`` script on all platforms for " "activating virtual environments under PowerShell Core 6.1. (Contributed by " "Brett Cannon in :issue:`32718`.)" msgstr "" -#: whatsnew/3.8.rst:1397 +#: whatsnew/3.8.rst:1398 msgid "weakref" msgstr "weakref" -#: whatsnew/3.8.rst:1399 +#: whatsnew/3.8.rst:1400 msgid "" "The proxy objects returned by :func:`weakref.proxy` now support the matrix " "multiplication operators ``@`` and ``@=`` in addition to the other numeric " "operators. (Contributed by Mark Dickinson in :issue:`36669`.)" msgstr "" -#: whatsnew/3.8.rst:1405 +#: whatsnew/3.8.rst:1406 msgid "xml" msgstr "" -#: whatsnew/3.8.rst:1407 +#: whatsnew/3.8.rst:1408 msgid "" "As mitigation against DTD and external entity retrieval, the :mod:`xml.dom." "minidom` and :mod:`xml.sax` modules no longer process external entities by " "default. (Contributed by Christian Heimes in :issue:`17239`.)" msgstr "" -#: whatsnew/3.8.rst:1412 +#: whatsnew/3.8.rst:1413 msgid "" "The ``.find*()`` methods in the :mod:`xml.etree.ElementTree` module support " "wildcard searches like ``{*}tag`` which ignores the namespace and " @@ -1747,14 +1748,14 @@ msgid "" "by Stefan Behnel in :issue:`28238`.)" msgstr "" -#: whatsnew/3.8.rst:1417 +#: whatsnew/3.8.rst:1418 msgid "" "The :mod:`xml.etree.ElementTree` module provides a new function :func:`–xml." "etree.ElementTree.canonicalize()` that implements C14N 2.0. (Contributed by " "Stefan Behnel in :issue:`13611`.)" msgstr "" -#: whatsnew/3.8.rst:1421 +#: whatsnew/3.8.rst:1422 msgid "" "The target object of :class:`xml.etree.ElementTree.XMLParser` can receive " "namespace declaration events through the new callback methods ``start_ns()`` " @@ -1764,11 +1765,11 @@ msgid "" "by Stefan Behnel in :issue:`36676` and :issue:`36673`.)" msgstr "" -#: whatsnew/3.8.rst:1431 +#: whatsnew/3.8.rst:1432 msgid "xmlrpc" msgstr "xmlrpc" -#: whatsnew/3.8.rst:1433 +#: whatsnew/3.8.rst:1434 msgid "" ":class:`xmlrpc.client.ServerProxy` now supports an optional *headers* " "keyword argument for a sequence of HTTP headers to be sent with each " @@ -1777,37 +1778,37 @@ msgid "" "Cédric Krier in :issue:`35153`.)" msgstr "" -#: whatsnew/3.8.rst:1441 +#: whatsnew/3.8.rst:1442 #, fuzzy msgid "Optimizations" msgstr "Optimisation" -#: whatsnew/3.8.rst:1443 +#: whatsnew/3.8.rst:1444 msgid "" "The :mod:`subprocess` module can now use the :func:`os.posix_spawn` function " "in some cases for better performance. Currently, it is only used on macOS " "and Linux (using glibc 2.24 or newer) if all these conditions are met:" msgstr "" -#: whatsnew/3.8.rst:1447 +#: whatsnew/3.8.rst:1448 msgid "*close_fds* is false;" msgstr "" -#: whatsnew/3.8.rst:1448 +#: whatsnew/3.8.rst:1449 msgid "" "*preexec_fn*, *pass_fds*, *cwd* and *start_new_session* parameters are not " "set;" msgstr "" -#: whatsnew/3.8.rst:1450 +#: whatsnew/3.8.rst:1451 msgid "the *executable* path contains a directory." msgstr "" -#: whatsnew/3.8.rst:1452 +#: whatsnew/3.8.rst:1453 msgid "(Contributed by Joannah Nanjekye and Victor Stinner in :issue:`35537`.)" msgstr "" -#: whatsnew/3.8.rst:1454 +#: whatsnew/3.8.rst:1455 msgid "" ":func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:" "`shutil.copytree` and :func:`shutil.move` use platform-specific \"fast-copy" @@ -1823,7 +1824,7 @@ msgid "" "Rodolà in :issue:`33671`.)" msgstr "" -#: whatsnew/3.8.rst:1470 +#: whatsnew/3.8.rst:1471 msgid "" ":func:`shutil.copytree` uses :func:`os.scandir` function and all copy " "functions depending from it use cached :func:`os.stat` values. The speedup " @@ -1833,27 +1834,27 @@ msgid "" "on network filesystems. (Contributed by Giampaolo Rodolà in :issue:`33695`.)" msgstr "" -#: whatsnew/3.8.rst:1477 +#: whatsnew/3.8.rst:1478 msgid "" "The default protocol in the :mod:`pickle` module is now Protocol 4, first " "introduced in Python 3.4. It offers better performance and smaller size " "compared to Protocol 3 available since Python 3.0." msgstr "" -#: whatsnew/3.8.rst:1481 +#: whatsnew/3.8.rst:1482 msgid "" "Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked " "objects (e.g. tuple, list, dict) size is reduced 4 or 8 bytes. (Contributed " "by Inada Naoki in :issue:`33597`.)" msgstr "" -#: whatsnew/3.8.rst:1485 +#: whatsnew/3.8.rst:1486 msgid "" ":class:`uuid.UUID` now uses ``__slots__`` to reduce its memory footprint. " "(Contributed by Wouter Bolsterlee and Tal Einat in :issue:`30977`)" msgstr "" -#: whatsnew/3.8.rst:1488 +#: whatsnew/3.8.rst:1489 msgid "" "Improved performance of :func:`operator.itemgetter` by 33%. Optimized " "argument handling and added a fast path for the common case of a single non-" @@ -1861,7 +1862,7 @@ msgid "" "standard library). (Contributed by Raymond Hettinger in :issue:`35664`.)" msgstr "" -#: whatsnew/3.8.rst:1494 +#: whatsnew/3.8.rst:1495 msgid "" "Sped-up field lookups in :func:`collections.namedtuple`. They are now more " "than two times faster, making them the fastest form of instance variable " @@ -1869,7 +1870,7 @@ msgid "" "Jevnik, Serhiy Storchaka in :issue:`32492`.)" msgstr "" -#: whatsnew/3.8.rst:1499 +#: whatsnew/3.8.rst:1500 msgid "" "The :class:`list` constructor does not overallocate the internal item buffer " "if the input iterable has a known length (the input implements ``__len__``). " @@ -1877,7 +1878,7 @@ msgid "" "Hettinger and Pablo Galindo in :issue:`33234`.)" msgstr "" -#: whatsnew/3.8.rst:1504 +#: whatsnew/3.8.rst:1505 msgid "" "Doubled the speed of class variable writes. When a non-dunder attribute was " "updated, there was an unnecessary call to update slots. (Contributed by " @@ -1885,7 +1886,7 @@ msgid "" "and Serhiy Storchaka in :issue:`36012`.)" msgstr "" -#: whatsnew/3.8.rst:1509 +#: whatsnew/3.8.rst:1510 msgid "" "Reduced an overhead of converting arguments passed to many builtin functions " "and methods. This sped up calling some simple builtin functions and methods " @@ -1893,18 +1894,18 @@ msgid "" "`35582` and :issue:`36127`.)" msgstr "" -#: whatsnew/3.8.rst:1514 +#: whatsnew/3.8.rst:1515 msgid "" "``LOAD_GLOBAL`` instruction now uses new \"per opcode cache\" mechanism. It " "is about 40% faster now. (Contributed by Yury Selivanov and Inada Naoki in :" "issue:`26219`.)" msgstr "" -#: whatsnew/3.8.rst:1520 +#: whatsnew/3.8.rst:1521 msgid "Build and C API Changes" msgstr "" -#: whatsnew/3.8.rst:1522 +#: whatsnew/3.8.rst:1523 msgid "" "Default :data:`sys.abiflags` became an empty string: the ``m`` flag for " "pymalloc became useless (builds with and without pymalloc are ABI " @@ -1912,22 +1913,22 @@ msgid "" "issue:`36707`.)" msgstr "" -#: whatsnew/3.8.rst:1526 +#: whatsnew/3.8.rst:1527 msgid "Example of changes:" msgstr "" -#: whatsnew/3.8.rst:1528 +#: whatsnew/3.8.rst:1529 msgid "" "Only ``python3.8`` program is installed, ``python3.8m`` program is gone." msgstr "" -#: whatsnew/3.8.rst:1529 +#: whatsnew/3.8.rst:1530 msgid "" "Only ``python3.8-config`` script is installed, ``python3.8m-config`` script " "is gone." msgstr "" -#: whatsnew/3.8.rst:1531 +#: whatsnew/3.8.rst:1532 msgid "" "The ``m`` flag has been removed from the suffix of dynamic library " "filenames: extension modules in the standard library as well as those " @@ -1936,23 +1937,23 @@ msgid "" "linux-gnu.so`` became ``.cpython-38-x86_64-linux-gnu.so`` in Python 3.8." msgstr "" -#: whatsnew/3.8.rst:1538 +#: whatsnew/3.8.rst:1539 msgid "" "The header files have been reorganized to better separate the different " "kinds of APIs:" msgstr "" -#: whatsnew/3.8.rst:1541 +#: whatsnew/3.8.rst:1542 msgid "``Include/*.h`` should be the portable public stable C API." msgstr "" -#: whatsnew/3.8.rst:1542 +#: whatsnew/3.8.rst:1543 msgid "" "``Include/cpython/*.h`` should be the unstable C API specific to CPython; " "public API, with some private API prefixed by ``_Py`` or ``_PY``." msgstr "" -#: whatsnew/3.8.rst:1544 +#: whatsnew/3.8.rst:1545 msgid "" "``Include/internal/*.h`` is the private internal C API very specific to " "CPython. This API comes with no backward compatibility warranty and should " @@ -1961,43 +1962,43 @@ msgid "" "calling functions. This API is now installed by ``make install``." msgstr "" -#: whatsnew/3.8.rst:1550 +#: whatsnew/3.8.rst:1551 msgid "" "(Contributed by Victor Stinner in :issue:`35134` and :issue:`35081`, work " "initiated by Eric Snow in Python 3.7.)" msgstr "" -#: whatsnew/3.8.rst:1553 +#: whatsnew/3.8.rst:1554 msgid "" "Some macros have been converted to static inline functions: parameter types " "and return type are well defined, they don't have issues specific to macros, " "variables have a local scopes. Examples:" msgstr "" -#: whatsnew/3.8.rst:1557 +#: whatsnew/3.8.rst:1558 msgid ":c:func:`Py_INCREF`, :c:func:`Py_DECREF`" msgstr "" -#: whatsnew/3.8.rst:1558 +#: whatsnew/3.8.rst:1559 msgid ":c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`" msgstr "" -#: whatsnew/3.8.rst:1559 +#: whatsnew/3.8.rst:1560 msgid ":c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`" msgstr "" -#: whatsnew/3.8.rst:1560 +#: whatsnew/3.8.rst:1561 msgid "" "Private functions: :c:func:`_PyObject_GC_TRACK`, :c:func:" "`_PyObject_GC_UNTRACK`, :c:func:`_Py_Dealloc`" msgstr "" -#: whatsnew/3.8.rst:1563 +#: whatsnew/3.8.rst:1564 #, fuzzy msgid "(Contributed by Victor Stinner in :issue:`35059`.)" msgstr "(Contribution par Victor Stinner; :issue:`12049`.)" -#: whatsnew/3.8.rst:1565 +#: whatsnew/3.8.rst:1566 msgid "" "The :c:func:`PyByteArray_Init` and :c:func:`PyByteArray_Fini` functions have " "been removed. They did nothing since Python 2.7.4 and Python 3.2.0, were " @@ -2005,14 +2006,14 @@ msgid "" "(Contributed by Victor Stinner in :issue:`35713`.)" msgstr "" -#: whatsnew/3.8.rst:1570 +#: whatsnew/3.8.rst:1571 msgid "" "The result of :c:func:`PyExceptionClass_Name` is now of type ``const char " "*`` rather of ``char *``. (Contributed by Serhiy Storchaka in :issue:" "`33818`.)" msgstr "" -#: whatsnew/3.8.rst:1574 +#: whatsnew/3.8.rst:1575 msgid "" "The duality of ``Modules/Setup.dist`` and ``Modules/Setup`` has been " "removed. Previously, when updating the CPython source tree, one had to " @@ -2023,7 +2024,7 @@ msgid "" "the file could produce build failures." msgstr "" -#: whatsnew/3.8.rst:1582 +#: whatsnew/3.8.rst:1583 msgid "" "Now the build system always reads from ``Modules/Setup`` inside the source " "tree. People who want to customize that file are encouraged to maintain " @@ -2031,12 +2032,12 @@ msgid "" "for any other change to the source tree." msgstr "" -#: whatsnew/3.8.rst:1587 +#: whatsnew/3.8.rst:1588 #, fuzzy msgid "(Contributed by Antoine Pitrou in :issue:`32430`.)" msgstr "(Contribution par Antoine Pitrou; :issue:`9260`.)" -#: whatsnew/3.8.rst:1589 +#: whatsnew/3.8.rst:1590 msgid "" "Functions that convert Python number to C integer like :c:func:" "`PyLong_AsLong` and argument parsing functions like :c:func:" @@ -2052,7 +2053,7 @@ msgid "" "`20092`.)" msgstr "" -#: whatsnew/3.8.rst:1603 +#: whatsnew/3.8.rst:1604 msgid "" "Heap-allocated type objects will now increase their reference count in :c:" "func:`PyObject_Init` (and its parallel macro ``PyObject_INIT``) instead of " @@ -2061,7 +2062,7 @@ msgid "" "issue:`35810`.)" msgstr "" -#: whatsnew/3.8.rst:1609 +#: whatsnew/3.8.rst:1610 msgid "" "The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create code " "objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount* " @@ -2069,25 +2070,25 @@ msgid "" "(Contributed by Pablo Galindo in :issue:`37221`.)" msgstr "" -#: whatsnew/3.8.rst:1614 +#: whatsnew/3.8.rst:1615 msgid "" ":c:func:`Py_SetPath` now sets :data:`sys.executable` to the program full " "path (:c:func:`Py_GetProgramFullPath`) rather than to the program name (:c:" "func:`Py_GetProgramName`). (Contributed by Victor Stinner in :issue:`38234`.)" msgstr "" -#: whatsnew/3.8.rst:1621 +#: whatsnew/3.8.rst:1622 msgid "Deprecated" msgstr "" -#: whatsnew/3.8.rst:1623 +#: whatsnew/3.8.rst:1624 msgid "" "The distutils ``bdist_wininst`` command is now deprecated, use " "``bdist_wheel`` (wheel packages) instead. (Contributed by Victor Stinner in :" "issue:`37481`.)" msgstr "" -#: whatsnew/3.8.rst:1627 +#: whatsnew/3.8.rst:1628 msgid "" "Deprecated methods ``getchildren()`` and ``getiterator()`` in the :mod:`~xml." "etree.ElementTree` module now emit a :exc:`DeprecationWarning` instead of :" @@ -2095,7 +2096,7 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1633 +#: whatsnew/3.8.rst:1634 msgid "" "Passing an object that is not an instance of :class:`concurrent.futures." "ThreadPoolExecutor` to :meth:`loop.set_default_executor() `. (Contributed by Serhiy Storchaka in :issue:`36492`.)" msgstr "" -#: whatsnew/3.8.rst:1734 +#: whatsnew/3.8.rst:1735 msgid "API and Feature Removals" msgstr "" -#: whatsnew/3.8.rst:1736 +#: whatsnew/3.8.rst:1737 msgid "The following features and APIs have been removed from Python 3.8:" msgstr "" -#: whatsnew/3.8.rst:1738 +#: whatsnew/3.8.rst:1739 msgid "" "Starting with Python 3.3, importing ABCs from :mod:`collections` was " "deprecated, and importing should be done from :mod:`collections.abc`. Being " @@ -2266,20 +2267,20 @@ msgid "" "delayed to 3.9. (See :issue:`36952`.)" msgstr "" -#: whatsnew/3.8.rst:1743 +#: whatsnew/3.8.rst:1744 msgid "" "The :mod:`macpath` module, deprecated in Python 3.7, has been removed. " "(Contributed by Victor Stinner in :issue:`35471`.)" msgstr "" -#: whatsnew/3.8.rst:1746 whatsnew/3.8.rst:1865 +#: whatsnew/3.8.rst:1747 whatsnew/3.8.rst:1866 msgid "" "The function :func:`platform.popen` has been removed, after having been " "deprecated since Python 3.3: use :func:`os.popen` instead. (Contributed by " "Victor Stinner in :issue:`35345`.)" msgstr "" -#: whatsnew/3.8.rst:1750 +#: whatsnew/3.8.rst:1751 msgid "" "The function :func:`time.clock` has been removed, after having been " "deprecated since Python 3.3: use :func:`time.perf_counter` or :func:`time." @@ -2287,27 +2288,27 @@ msgid "" "behavior. (Contributed by Matthias Bussonnier in :issue:`36895`.)" msgstr "" -#: whatsnew/3.8.rst:1756 +#: whatsnew/3.8.rst:1757 msgid "" "The ``pyvenv`` script has been removed in favor of ``python3.8 -m venv`` to " "help eliminate confusion as to what Python interpreter the ``pyvenv`` script " "is tied to. (Contributed by Brett Cannon in :issue:`25427`.)" msgstr "" -#: whatsnew/3.8.rst:1760 +#: whatsnew/3.8.rst:1761 msgid "" "``parse_qs``, ``parse_qsl``, and ``escape`` are removed from the :mod:`cgi` " "module. They are deprecated in Python 3.2 or older. They should be imported " "from the ``urllib.parse`` and ``html`` modules instead." msgstr "" -#: whatsnew/3.8.rst:1764 +#: whatsnew/3.8.rst:1765 msgid "" "``filemode`` function is removed from the :mod:`tarfile` module. It is not " "documented and deprecated since Python 3.3." msgstr "" -#: whatsnew/3.8.rst:1767 +#: whatsnew/3.8.rst:1768 msgid "" "The :class:`~xml.etree.ElementTree.XMLParser` constructor no longer accepts " "the *html* argument. It never had an effect and was deprecated in Python " @@ -2315,54 +2316,54 @@ msgid "" "only_parameter>`. (Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1772 +#: whatsnew/3.8.rst:1773 msgid "" "Removed the ``doctype()`` method of :class:`~xml.etree.ElementTree." "XMLParser`. (Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1775 +#: whatsnew/3.8.rst:1776 msgid "" "\"unicode_internal\" codec is removed. (Contributed by Inada Naoki in :issue:" "`36297`.)" msgstr "" -#: whatsnew/3.8.rst:1778 +#: whatsnew/3.8.rst:1779 msgid "" "The ``Cache`` and ``Statement`` objects of the :mod:`sqlite3` module are not " "exposed to the user. (Contributed by Aviv Palivoda in :issue:`30262`.)" msgstr "" -#: whatsnew/3.8.rst:1782 +#: whatsnew/3.8.rst:1783 msgid "" "The ``bufsize`` keyword argument of :func:`fileinput.input` and :func:" "`fileinput.FileInput` which was ignored and deprecated since Python 3.6 has " "been removed. :issue:`36952` (Contributed by Matthias Bussonnier.)" msgstr "" -#: whatsnew/3.8.rst:1786 +#: whatsnew/3.8.rst:1787 msgid "" "The functions :func:`sys.set_coroutine_wrapper` and :func:`sys." "get_coroutine_wrapper` deprecated in Python 3.7 have been removed; :issue:" "`36933` (Contributed by Matthias Bussonnier.)" msgstr "" -#: whatsnew/3.8.rst:1792 +#: whatsnew/3.8.rst:1793 #, fuzzy msgid "Porting to Python 3.8" msgstr "Portage vers Python 3.1" -#: whatsnew/3.8.rst:1794 +#: whatsnew/3.8.rst:1795 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.8.rst:1799 +#: whatsnew/3.8.rst:1800 msgid "Changes in Python behavior" msgstr "" -#: whatsnew/3.8.rst:1801 +#: whatsnew/3.8.rst:1802 msgid "" "Yield expressions (both ``yield`` and ``yield from`` clauses) are now " "disallowed in comprehensions and generator expressions (aside from the " @@ -2370,7 +2371,7 @@ msgid "" "Serhiy Storchaka in :issue:`10544`.)" msgstr "" -#: whatsnew/3.8.rst:1806 +#: whatsnew/3.8.rst:1807 msgid "" "The compiler now produces a :exc:`SyntaxWarning` when identity checks " "(``is`` and ``is not``) are used with certain types of literals (e.g. " @@ -2380,7 +2381,7 @@ msgid "" "issue:`34850`.)" msgstr "" -#: whatsnew/3.8.rst:1813 +#: whatsnew/3.8.rst:1814 msgid "" "The CPython interpreter can swallow exceptions in some circumstances. In " "Python 3.8 this happens in fewer cases. In particular, exceptions raised " @@ -2388,7 +2389,7 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`35459`.)" msgstr "" -#: whatsnew/3.8.rst:1818 +#: whatsnew/3.8.rst:1819 msgid "" "Removed ``__str__`` implementations from builtin types :class:`bool`, :class:" "`int`, :class:`float`, :class:`complex` and few classes from the standard " @@ -2398,7 +2399,7 @@ msgid "" "issue:`36793`.)" msgstr "" -#: whatsnew/3.8.rst:1825 +#: whatsnew/3.8.rst:1826 msgid "" "On AIX, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'aix'``, instead of ``'aix3'`` .. ``'aix7'``. Since older " @@ -2407,7 +2408,7 @@ msgid "" "`36588`.)" msgstr "" -#: whatsnew/3.8.rst:1831 +#: whatsnew/3.8.rst:1832 msgid "" ":c:func:`PyEval_AcquireLock` and :c:func:`PyEval_AcquireThread` now " "terminate the current thread if called while the interpreter is finalizing, " @@ -2418,11 +2419,11 @@ msgid "" "`36475`.)" msgstr "" -#: whatsnew/3.8.rst:1841 +#: whatsnew/3.8.rst:1842 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.8.rst:1843 +#: whatsnew/3.8.rst:1844 msgid "" "The :func:`os.getcwdb` function now uses the UTF-8 encoding on Windows, " "rather than the ANSI code page: see :pep:`529` for the rationale. The " @@ -2430,7 +2431,7 @@ msgid "" "in :issue:`37412`.)" msgstr "" -#: whatsnew/3.8.rst:1848 +#: whatsnew/3.8.rst:1849 msgid "" ":class:`subprocess.Popen` can now use :func:`os.posix_spawn` in some cases " "for better performance. On Windows Subsystem for Linux and QEMU User " @@ -2440,7 +2441,7 @@ msgid "" "by Joannah Nanjekye and Victor Stinner in :issue:`35537`.)" msgstr "" -#: whatsnew/3.8.rst:1855 +#: whatsnew/3.8.rst:1856 msgid "" "The *preexec_fn* argument of * :class:`subprocess.Popen` is no longer " "compatible with subinterpreters. The use of the parameter in a " @@ -2448,20 +2449,20 @@ msgid "" "issue:`34651`, modified by Christian Heimes in :issue:`37951`.)" msgstr "" -#: whatsnew/3.8.rst:1861 +#: whatsnew/3.8.rst:1862 msgid "" "The :meth:`imap.IMAP4.logout` method no longer silently ignores arbitrary " "exceptions. (Contributed by Victor Stinner in :issue:`36348`.)" msgstr "" -#: whatsnew/3.8.rst:1869 +#: whatsnew/3.8.rst:1870 msgid "" "The :func:`statistics.mode` function no longer raises an exception when " "given multimodal data. Instead, it returns the first mode encountered in " "the input data. (Contributed by Raymond Hettinger in :issue:`35892`.)" msgstr "" -#: whatsnew/3.8.rst:1874 +#: whatsnew/3.8.rst:1875 msgid "" "The :meth:`~tkinter.ttk.Treeview.selection` method of the :class:`tkinter." "ttk.Treeview` class no longer takes arguments. Using it with arguments for " @@ -2470,7 +2471,7 @@ msgid "" "selection. (Contributed by Serhiy Storchaka in :issue:`31508`.)" msgstr "" -#: whatsnew/3.8.rst:1880 +#: whatsnew/3.8.rst:1881 msgid "" "The :meth:`writexml`, :meth:`toxml` and :meth:`toprettyxml` methods of :mod:" "`xml.dom.minidom`, and the :meth:`write` method of :mod:`xml.etree`, now " @@ -2478,14 +2479,14 @@ msgid "" "Rojas and Raymond Hettinger in :issue:`34160`.)" msgstr "" -#: whatsnew/3.8.rst:1885 +#: whatsnew/3.8.rst:1886 msgid "" "A :mod:`dbm.dumb` database opened with flags ``'r'`` is now read-only. :func:" "`dbm.dumb.open` with flags ``'r'`` and ``'w'`` no longer creates a database " "if it does not exist. (Contributed by Serhiy Storchaka in :issue:`32749`.)" msgstr "" -#: whatsnew/3.8.rst:1890 +#: whatsnew/3.8.rst:1891 msgid "" "The ``doctype()`` method defined in a subclass of :class:`~xml.etree." "ElementTree.XMLParser` will no longer be called and will emit a :exc:" @@ -2495,7 +2496,7 @@ msgid "" "in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1897 +#: whatsnew/3.8.rst:1898 msgid "" "A :exc:`RuntimeError` is now raised when the custom metaclass doesn't " "provide the ``__classcell__`` entry in the namespace passed to ``type." @@ -2503,13 +2504,13 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`23722`.)" msgstr "" -#: whatsnew/3.8.rst:1902 +#: whatsnew/3.8.rst:1903 msgid "" "The :class:`cProfile.Profile` class can now be used as a context manager. " "(Contributed by Scott Sanderson in :issue:`29235`.)" msgstr "" -#: whatsnew/3.8.rst:1905 +#: whatsnew/3.8.rst:1906 msgid "" ":func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:" "`shutil.copytree` and :func:`shutil.move` use platform-specific \"fast-copy" @@ -2517,19 +2518,19 @@ msgid "" "section)." msgstr "" -#: whatsnew/3.8.rst:1910 +#: whatsnew/3.8.rst:1911 msgid "" ":func:`shutil.copyfile` default buffer size on Windows was changed from 16 " "KiB to 1 MiB." msgstr "" -#: whatsnew/3.8.rst:1913 +#: whatsnew/3.8.rst:1914 msgid "" "The ``PyGC_Head`` struct has changed completely. All code that touched the " "struct member should be rewritten. (See :issue:`33597`.)" msgstr "" -#: whatsnew/3.8.rst:1916 +#: whatsnew/3.8.rst:1917 msgid "" "The :c:type:`PyInterpreterState` struct has been moved into the \"internal\" " "header files (specifically Include/internal/pycore_pystate.h). An opaque " @@ -2541,7 +2542,7 @@ msgid "" "functions to the public API). (See :issue:`35886`.)" msgstr "" -#: whatsnew/3.8.rst:1926 +#: whatsnew/3.8.rst:1927 msgid "" "The :meth:`mmap.flush() ` method now returns ``None`` on " "success and raises an exception on error under all platforms. Previously, " @@ -2551,13 +2552,13 @@ msgid "" "(Contributed by Berker Peksag in :issue:`2122`.)" msgstr "" -#: whatsnew/3.8.rst:1933 +#: whatsnew/3.8.rst:1934 msgid "" ":mod:`xml.dom.minidom` and :mod:`xml.sax` modules no longer process external " "entities by default. (Contributed by Christian Heimes in :issue:`17239`.)" msgstr "" -#: whatsnew/3.8.rst:1937 +#: whatsnew/3.8.rst:1938 msgid "" "Deleting a key from a read-only :mod:`dbm` database (:mod:`dbm.dumb`, :mod:" "`dbm.gnu` or :mod:`dbm.ndbm`) raises :attr:`error` (:exc:`dbm.dumb.error`, :" @@ -2565,7 +2566,7 @@ msgid "" "(Contributed by Xiang Zhang in :issue:`33106`.)" msgstr "" -#: whatsnew/3.8.rst:1942 +#: whatsnew/3.8.rst:1943 msgid "" "Simplified AST for literals. All constants will be represented as :class:" "`ast.Constant` instances. Instantiating old classes ``Num``, ``Str``, " @@ -2573,7 +2574,7 @@ msgid "" "``Constant``. (Contributed by Serhiy Storchaka in :issue:`32892`.)" msgstr "" -#: whatsnew/3.8.rst:1957 +#: whatsnew/3.8.rst:1959 msgid "" "The function :func:`asyncio.wait_for` now correctly waits for cancellation " "when using an instance of :class:`asyncio.Task`. Previously, upon reaching " @@ -2581,18 +2582,18 @@ msgid "" "Pranskevichus in :issue:`32751`.)" msgstr "" -#: whatsnew/3.8.rst:1962 +#: whatsnew/3.8.rst:1964 msgid "" "The function :func:`asyncio.BaseTransport.get_extra_info` now returns a safe " "to use socket object when 'socket' is passed to the *name* parameter. " "(Contributed by Yury Selivanov in :issue:`37027`.)" msgstr "" -#: whatsnew/3.8.rst:1966 +#: whatsnew/3.8.rst:1968 msgid ":class:`asyncio.BufferedProtocol` has graduated to the stable API." msgstr "" -#: whatsnew/3.8.rst:1970 +#: whatsnew/3.8.rst:1972 msgid "" "DLL dependencies for extension modules and DLLs loaded with :mod:`ctypes` on " "Windows are now resolved more securely. Only the system paths, the directory " @@ -2607,14 +2608,14 @@ msgid "" "verified by the installer). (Contributed by Steve Dower in :issue:`36085`.)" msgstr "" -#: whatsnew/3.8.rst:1983 +#: whatsnew/3.8.rst:1985 msgid "" "The header files and functions related to pgen have been removed after its " "replacement by a pure Python implementation. (Contributed by Pablo Galindo " "in :issue:`36623`.)" msgstr "" -#: whatsnew/3.8.rst:1987 +#: whatsnew/3.8.rst:1989 msgid "" ":class:`types.CodeType` has a new parameter in the second position of the " "constructor (*posonlyargcount*) to support positional-only arguments defined " @@ -2624,11 +2625,11 @@ msgid "" "code future-proof." msgstr "" -#: whatsnew/3.8.rst:1996 +#: whatsnew/3.8.rst:1998 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.8.rst:1998 +#: whatsnew/3.8.rst:2000 msgid "" "The :c:type:`PyCompilerFlags` structure got a new *cf_feature_version* " "field. It should be initialized to ``PY_MINOR_VERSION``. The field is " @@ -2636,14 +2637,14 @@ msgid "" "in *cf_flags*. (Contributed by Guido van Rossum in :issue:`35766`.)" msgstr "" -#: whatsnew/3.8.rst:2004 +#: whatsnew/3.8.rst:2006 msgid "" "The :c:func:`PyEval_ReInitThreads` function has been removed from the C API. " "It should not be called explicitly: use :c:func:`PyOS_AfterFork_Child` " "instead. (Contributed by Victor Stinner in :issue:`36728`.)" msgstr "" -#: whatsnew/3.8.rst:2009 +#: whatsnew/3.8.rst:2011 msgid "" "On Unix, C extensions are no longer linked to libpython except on Android " "and Cygwin. When Python is embedded, ``libpython`` must not be loaded with " @@ -2654,7 +2655,7 @@ msgid "" "Stinner in :issue:`21536`.)" msgstr "" -#: whatsnew/3.8.rst:2017 +#: whatsnew/3.8.rst:2019 msgid "" "Use of ``#`` variants of formats in parsing or building value (e.g. :c:func:" "`PyArg_ParseTuple`, :c:func:`Py_BuildValue`, :c:func:" @@ -2663,7 +2664,7 @@ msgid "" "`arg-parsing` for detail. (Contributed by Inada Naoki in :issue:`36381`.)" msgstr "" -#: whatsnew/3.8.rst:2023 +#: whatsnew/3.8.rst:2025 msgid "" "Instances of heap-allocated types (such as those created with :c:func:" "`PyType_FromSpec`) hold a reference to their type object. Increasing the " @@ -2673,11 +2674,11 @@ msgid "" "through :c:func:`PyType_FromSpec` behave like other classes in managed code." msgstr "" -#: whatsnew/3.8.rst:2031 +#: whatsnew/3.8.rst:2033 msgid "Statically allocated types are not affected." msgstr "" -#: whatsnew/3.8.rst:2033 +#: whatsnew/3.8.rst:2035 msgid "" "For the vast majority of cases, there should be no side effect. However, " "types that manually increase the reference count after allocating an " @@ -2686,12 +2687,12 @@ msgid "" "instance deallocation." msgstr "" -#: whatsnew/3.8.rst:2039 +#: whatsnew/3.8.rst:2041 msgid "" "To correctly port these types into 3.8, please apply the following changes:" msgstr "" -#: whatsnew/3.8.rst:2042 +#: whatsnew/3.8.rst:2044 msgid "" "Remove :c:macro:`Py_INCREF` on the type object after allocating an instance " "- if any. This may happen after calling :c:func:`PyObject_New`, :c:func:" @@ -2700,31 +2701,31 @@ msgid "" "`PyObject_INIT`." msgstr "" -#: whatsnew/3.8.rst:2049 whatsnew/3.8.rst:2068 whatsnew/3.8.rst:2087 +#: whatsnew/3.8.rst:2051 whatsnew/3.8.rst:2070 whatsnew/3.8.rst:2089 msgid "Example:" msgstr "Exemple :" -#: whatsnew/3.8.rst:2065 +#: whatsnew/3.8.rst:2067 msgid "" "Ensure that all custom ``tp_dealloc`` functions of heap-allocated types " "decrease the type's reference count." msgstr "" -#: whatsnew/3.8.rst:2082 +#: whatsnew/3.8.rst:2084 msgid "(Contributed by Eddie Elizondo in :issue:`35810`.)" msgstr "" -#: whatsnew/3.8.rst:2084 +#: whatsnew/3.8.rst:2086 msgid "" "The :c:macro:`Py_DEPRECATED()` macro has been implemented for MSVC. The " "macro now must be placed before the symbol name." msgstr "" -#: whatsnew/3.8.rst:2093 +#: whatsnew/3.8.rst:2095 msgid "(Contributed by Zackery Spytz in :issue:`33407`.)" msgstr "" -#: whatsnew/3.8.rst:2095 +#: whatsnew/3.8.rst:2097 msgid "" "The interpreter does not pretend to support binary compatibility of " "extension types across feature releases, anymore. A :c:type:`PyTypeObject` " @@ -2734,25 +2735,25 @@ msgid "" "before reading :c:member:`~PyTypeObject.tp_finalize`)." msgstr "" -#: whatsnew/3.8.rst:2102 +#: whatsnew/3.8.rst:2104 #, fuzzy msgid "(Contributed by Antoine Pitrou in :issue:`32388`.)" msgstr "(Contribution par Antoine Pitrou; :issue:`13748`.)" -#: whatsnew/3.8.rst:2104 +#: whatsnew/3.8.rst:2106 msgid "" "The :c:func:`PyCode_New` has a new parameter in the second position " "(*posonlyargcount*) to support :pep:`570`, indicating the number of " "positional-only arguments." msgstr "" -#: whatsnew/3.8.rst:2107 +#: whatsnew/3.8.rst:2109 msgid "" "The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now " "accept two additional ``int`` arguments *end_lineno* and *end_col_offset*." msgstr "" -#: whatsnew/3.8.rst:2110 +#: whatsnew/3.8.rst:2112 msgid "" "The :file:`libpython38.a` file to allow MinGW tools to link directly " "against :file:`python38.dll` is no longer included in the regular Windows " @@ -2761,7 +2762,7 @@ msgid "" "package:" msgstr "" -#: whatsnew/3.8.rst:2120 +#: whatsnew/3.8.rst:2122 msgid "" "The location of an installed :file:`pythonXY.dll` will depend on the " "installation options and the version and language of Windows. See :ref:" @@ -2770,15 +2771,15 @@ msgid "" "the :file:`libs` directory under your Python installation." msgstr "" -#: whatsnew/3.8.rst:2126 +#: whatsnew/3.8.rst:2128 msgid "(Contributed by Steve Dower in :issue:`37351`.)" msgstr "" -#: whatsnew/3.8.rst:2130 +#: whatsnew/3.8.rst:2132 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.8.rst:2132 +#: whatsnew/3.8.rst:2134 msgid "" "The interpreter loop has been simplified by moving the logic of unrolling " "the stack of blocks into the compiler. The compiler emits now explicit " @@ -2786,7 +2787,7 @@ msgid "" "code for :keyword:`break`, :keyword:`continue` and :keyword:`return`." msgstr "" -#: whatsnew/3.8.rst:2138 +#: whatsnew/3.8.rst:2140 msgid "" "Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" "`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" @@ -2795,20 +2796,20 @@ msgid "" "`WITH_CLEANUP_START`." msgstr "" -#: whatsnew/3.8.rst:2144 +#: whatsnew/3.8.rst:2146 msgid "" "(Contributed by Mark Shannon, Antoine Pitrou and Serhiy Storchaka in :issue:" "`17611`.)" msgstr "" -#: whatsnew/3.8.rst:2147 +#: whatsnew/3.8.rst:2149 msgid "" "Added new opcode :opcode:`END_ASYNC_FOR` for handling exceptions raised when " "awaiting a next item in an :keyword:`async for` loop. (Contributed by Serhiy " "Storchaka in :issue:`33041`.)" msgstr "" -#: whatsnew/3.8.rst:2151 +#: whatsnew/3.8.rst:2153 msgid "" "The :opcode:`MAP_ADD` now expects the value as the first element in the " "stack and the key as the second element. This change was made so the key is " @@ -2816,22 +2817,22 @@ msgid "" "by :pep:`572`. (Contributed by Jörn Heissler in :issue:`35224`.)" msgstr "" -#: whatsnew/3.8.rst:2158 +#: whatsnew/3.8.rst:2160 msgid "Demos and Tools" msgstr "" -#: whatsnew/3.8.rst:2160 +#: whatsnew/3.8.rst:2162 msgid "" "Added a benchmark script for timing various ways to access variables: " "``Tools/scripts/var_access_benchmark.py``. (Contributed by Raymond Hettinger " "in :issue:`35884`.)" msgstr "" -#: whatsnew/3.8.rst:2164 +#: whatsnew/3.8.rst:2166 msgid "Here's a summary of performance improvements since Python 3.3:" msgstr "" -#: whatsnew/3.8.rst:2211 +#: whatsnew/3.8.rst:2213 msgid "" "The benchmarks were measured on an `Intel® Core™ i7-4960HQ processor " "\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.4\n" #: whatsnew/3.9.rst:3 @@ -1134,7 +1134,7 @@ msgid "" "(Contributed by Raymond Hettinger in :issue:`40465`)" msgstr "" -#: whatsnew/3.9.rst:788 whatsnew/3.9.rst:1122 +#: whatsnew/3.9.rst:788 whatsnew/3.9.rst:1129 msgid "Removed" msgstr "" @@ -1303,7 +1303,7 @@ msgid "" "(Contributed by Rémi Lapeyre in :issue:`40967`)" msgstr "" -#: whatsnew/3.9.rst:897 whatsnew/3.9.rst:1078 +#: whatsnew/3.9.rst:897 whatsnew/3.9.rst:1085 msgid "Porting to Python 3.9" msgstr "" @@ -1468,18 +1468,27 @@ msgstr "" #: whatsnew/3.9.rst:1033 msgid "" +":pep:`573`: Add :c:func:`PyType_FromModuleAndSpec` to associate a module " +"with a class; :c:func:`PyType_GetModule` and :c:func:`PyType_GetModuleState` " +"to retrieve the module and its state; and :c:data:`PyCMethod` and :c:data:" +"`METH_METHOD` to allow a method to access the class it was defined in. " +"(Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.)" +msgstr "" + +#: whatsnew/3.9.rst:1040 +msgid "" "Add :c:func:`PyFrame_GetCode` function: get a frame code. Add :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1037 +#: whatsnew/3.9.rst:1044 msgid "" "Add :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1040 +#: whatsnew/3.9.rst:1047 msgid "" "Add :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Add :c:func:" @@ -1489,7 +1498,7 @@ msgid "" "issue:`39947`.)" msgstr "" -#: whatsnew/3.9.rst:1048 +#: whatsnew/3.9.rst:1055 msgid "" "Add a new public :c:func:`PyObject_CallNoArgs` function to the C API, which " "calls a callable Python object without any arguments. It is the most " @@ -1497,11 +1506,11 @@ msgid "" "(Contributed by Victor Stinner in :issue:`37194`.)" msgstr "" -#: whatsnew/3.9.rst:1053 whatsnew/3.9.rst:1133 +#: whatsnew/3.9.rst:1060 whatsnew/3.9.rst:1140 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" -#: whatsnew/3.9.rst:1055 +#: whatsnew/3.9.rst:1062 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -1510,23 +1519,23 @@ msgid "" "the limited C API)." msgstr "" -#: whatsnew/3.9.rst:1061 +#: whatsnew/3.9.rst:1068 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." msgstr "" -#: whatsnew/3.9.rst:1064 whatsnew/3.9.rst:1160 +#: whatsnew/3.9.rst:1071 whatsnew/3.9.rst:1167 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" -#: whatsnew/3.9.rst:1066 +#: whatsnew/3.9.rst:1073 msgid "" "The :c:func:`PyModule_AddType` function is added to help adding a type to a " "module. (Contributed by Dong-hee Na in :issue:`40024`.)" msgstr "" -#: whatsnew/3.9.rst:1070 +#: whatsnew/3.9.rst:1077 msgid "" "Add the functions :c:func:`PyObject_GC_IsTracked` and :c:func:" "`PyObject_GC_IsFinalized` to the public API to allow to query if Python " @@ -1535,14 +1544,14 @@ msgid "" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1080 +#: whatsnew/3.9.rst:1087 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" "issue:`38500`.)" msgstr "" -#: whatsnew/3.9.rst:1084 +#: whatsnew/3.9.rst:1091 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -1554,12 +1563,12 @@ msgid "" "`PyModule_GetState`) is ``NULL``." msgstr "" -#: whatsnew/3.9.rst:1093 +#: whatsnew/3.9.rst:1100 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" -#: whatsnew/3.9.rst:1095 +#: whatsnew/3.9.rst:1102 msgid "" "If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function " "is now scheduled to be called from the subinterpreter, rather than being " @@ -1567,7 +1576,7 @@ msgid "" "of scheduled calls. (Contributed by Victor Stinner in :issue:`39984`.)" msgstr "" -#: whatsnew/3.9.rst:1101 +#: whatsnew/3.9.rst:1108 msgid "" "The Windows registry is no longer used to initialize :data:`sys.path` when " "the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to " @@ -1575,21 +1584,21 @@ msgid "" "by Zackery Spytz in :issue:`8901`.)" msgstr "" -#: whatsnew/3.9.rst:1106 +#: whatsnew/3.9.rst:1113 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " "in :issue:`38650`.)" msgstr "" -#: whatsnew/3.9.rst:1110 +#: whatsnew/3.9.rst:1117 msgid "" "The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the " "internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1114 +#: whatsnew/3.9.rst:1121 msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" "func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, " @@ -1598,14 +1607,14 @@ msgid "" "Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1124 +#: whatsnew/3.9.rst:1131 msgid "" "Exclude ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" "`38835`.)" msgstr "" -#: whatsnew/3.9.rst:1128 +#: whatsnew/3.9.rst:1135 msgid "" "The ``tp_print`` slot of :ref:`PyTypeObject ` has been " "removed. It was used for printing objects to files in Python 2.7 and before. " @@ -1613,89 +1622,89 @@ msgid "" "Demeyer in :issue:`36974`.)" msgstr "" -#: whatsnew/3.9.rst:1135 +#: whatsnew/3.9.rst:1142 msgid "Exclude the following functions from the limited C API:" msgstr "" -#: whatsnew/3.9.rst:1137 +#: whatsnew/3.9.rst:1144 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" msgstr "" -#: whatsnew/3.9.rst:1139 +#: whatsnew/3.9.rst:1146 msgid "``_Py_CheckRecursionLimit``" msgstr "" -#: whatsnew/3.9.rst:1140 +#: whatsnew/3.9.rst:1147 msgid "``_Py_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1141 +#: whatsnew/3.9.rst:1148 msgid "``_Py_ForgetReference()``" msgstr "" -#: whatsnew/3.9.rst:1142 +#: whatsnew/3.9.rst:1149 msgid "``_PyTraceMalloc_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1143 +#: whatsnew/3.9.rst:1150 msgid "``_Py_GetRefTotal()``" msgstr "" -#: whatsnew/3.9.rst:1144 +#: whatsnew/3.9.rst:1151 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "" -#: whatsnew/3.9.rst:1145 +#: whatsnew/3.9.rst:1152 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "" -#: whatsnew/3.9.rst:1146 +#: whatsnew/3.9.rst:1153 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "" -#: whatsnew/3.9.rst:1147 +#: whatsnew/3.9.rst:1154 msgid "``Py_TRASHCAN_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1148 +#: whatsnew/3.9.rst:1155 msgid "``Py_TRASHCAN_END``" msgstr "" -#: whatsnew/3.9.rst:1149 +#: whatsnew/3.9.rst:1156 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1150 +#: whatsnew/3.9.rst:1157 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "" -#: whatsnew/3.9.rst:1152 +#: whatsnew/3.9.rst:1159 msgid "Move following functions and definitions to the internal C API:" msgstr "" -#: whatsnew/3.9.rst:1154 +#: whatsnew/3.9.rst:1161 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "" -#: whatsnew/3.9.rst:1155 +#: whatsnew/3.9.rst:1162 msgid "``_Py_PrintReferences()``" msgstr "" -#: whatsnew/3.9.rst:1156 +#: whatsnew/3.9.rst:1163 msgid "``_Py_PrintReferenceAddresses()``" msgstr "" -#: whatsnew/3.9.rst:1157 +#: whatsnew/3.9.rst:1164 msgid "``_Py_tracemalloc_config``" msgstr "" -#: whatsnew/3.9.rst:1158 +#: whatsnew/3.9.rst:1165 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "" -#: whatsnew/3.9.rst:1162 +#: whatsnew/3.9.rst:1169 msgid "" "Remove ``_PyRuntime.getframe`` hook and remove ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -1703,65 +1712,65 @@ msgid "" "(Contributed by Victor Stinner in :issue:`39946`.)" msgstr "" -#: whatsnew/3.9.rst:1167 +#: whatsnew/3.9.rst:1174 msgid "" "Remove the following functions from the C API. Call :c:func:`PyGC_Collect` " "explicitly to clear all free lists. (Contributed by Inada Naoki and Victor " "Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.)" msgstr "" -#: whatsnew/3.9.rst:1172 +#: whatsnew/3.9.rst:1179 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" -#: whatsnew/3.9.rst:1173 +#: whatsnew/3.9.rst:1180 msgid "``PyContext_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1174 +#: whatsnew/3.9.rst:1181 msgid "``PyDict_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1175 +#: whatsnew/3.9.rst:1182 msgid "``PyFloat_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1176 +#: whatsnew/3.9.rst:1183 msgid "``PyFrame_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1177 +#: whatsnew/3.9.rst:1184 msgid "``PyList_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1178 +#: whatsnew/3.9.rst:1185 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." msgstr "" -#: whatsnew/3.9.rst:1180 +#: whatsnew/3.9.rst:1187 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "" -#: whatsnew/3.9.rst:1182 +#: whatsnew/3.9.rst:1189 msgid "``PyTuple_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1183 +#: whatsnew/3.9.rst:1190 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." msgstr "" -#: whatsnew/3.9.rst:1186 +#: whatsnew/3.9.rst:1193 msgid "" "Remove ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" msgstr "" -#: whatsnew/3.9.rst:1189 +#: whatsnew/3.9.rst:1196 msgid "" "Remove ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and " "broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be " diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po index c004e8d1..bfcc2656 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-02 00:16+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-08-29 14:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/whatsnew/index.po b/whatsnew/index.po index e3ed6bc9..25a18da1 100644 --- a/whatsnew/index.po +++ b/whatsnew/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2017-09-21 09:39+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n"