Upstream merge

This commit is contained in:
Julien Palard 2019-06-19 22:35:23 +02:00
parent ffb34367c4
commit 1cf1d214fc
11 changed files with 829 additions and 714 deletions

View File

@ -11,4 +11,4 @@ install:
script: script:
- powrap --check --quiet **/*.po - powrap --check --quiet **/*.po
- pospell -p dict -l fr_FR **/*.po - pospell -p dict -l fr_FR **/*.po
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=d561f848b235f2011a43b705d112055b92fa2366 - make CPYTHON_CLONE=/tmp/cpython/ COMMIT=15e7d2432294ec46f1ad84ce958fdeb9d4ca78b1

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-21 09:48+0100\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: 2019-06-08 15:22+0200\n" "PO-Revision-Date: 2019-06-08 15:22+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -392,21 +392,24 @@ msgstr ""
"argument n'est nécessaire. Si aucun argument nommé n'est nécessaire, " "argument n'est nécessaire. Si aucun argument nommé n'est nécessaire, "
"*kwargs* peut être égal à *NULL*." "*kwargs* peut être égal à *NULL*."
#: ../Doc/c-api/object.rst:264 ../Doc/c-api/object.rst:275 #: ../Doc/c-api/object.rst:264 ../Doc/c-api/object.rst:276
#: ../Doc/c-api/object.rst:286 ../Doc/c-api/object.rst:305 #: ../Doc/c-api/object.rst:288 ../Doc/c-api/object.rst:308
#: ../Doc/c-api/object.rst:323 #: ../Doc/c-api/object.rst:327 ../Doc/c-api/object.rst:341
msgid "Returns the result of the call on success, or *NULL* on failure." #, fuzzy
msgid ""
"Return the result of the call on success, or raise an exception and return "
"*NULL* on failure."
msgstr "" msgstr ""
"Renvoie le résultat de l'appel en cas de succès, ou *NULL* en cas d'échec." "Renvoie le résultat de l'appel en cas de succès, ou *NULL* en cas d'échec."
#: ../Doc/c-api/object.rst:266 #: ../Doc/c-api/object.rst:267
msgid "" msgid ""
"This is the equivalent of the Python expression: ``callable(*args, " "This is the equivalent of the Python expression: ``callable(*args, "
"**kwargs)``." "**kwargs)``."
msgstr "" msgstr ""
"Ceci est l'équivalent de l'expression Python : ``callable(*args, **kwargs)``." "Ceci est l'équivalent de l'expression Python : ``callable(*args, **kwargs)``."
#: ../Doc/c-api/object.rst:272 #: ../Doc/c-api/object.rst:273
msgid "" msgid ""
"Call a callable Python object *callable*, with arguments given by the tuple " "Call a callable Python object *callable*, with arguments given by the tuple "
"*args*. If no arguments are needed, then *args* can be *NULL*." "*args*. If no arguments are needed, then *args* can be *NULL*."
@ -415,11 +418,11 @@ msgstr ""
"le tuple *args*. Si aucun argument n'est nécessaire, alors *args* peut être " "le tuple *args*. Si aucun argument n'est nécessaire, alors *args* peut être "
"égal à *NULL*." "égal à *NULL*."
#: ../Doc/c-api/object.rst:277 ../Doc/c-api/object.rst:288 #: ../Doc/c-api/object.rst:279 ../Doc/c-api/object.rst:291
msgid "This is the equivalent of the Python expression: ``callable(*args)``." msgid "This is the equivalent of the Python expression: ``callable(*args)``."
msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``." msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``."
#: ../Doc/c-api/object.rst:282 #: ../Doc/c-api/object.rst:284
msgid "" msgid ""
"Call a callable Python object *callable*, with a variable number of C " "Call a callable Python object *callable*, with a variable number of C "
"arguments. The C arguments are described using a :c:func:`Py_BuildValue` " "arguments. The C arguments are described using a :c:func:`Py_BuildValue` "
@ -431,78 +434,77 @@ msgstr ""
"c:func:`Py_BuildValue`. Le format peut être *NULL*, indiquant qu'aucun " "c:func:`Py_BuildValue`. Le format peut être *NULL*, indiquant qu'aucun "
"argument n'est donné." "argument n'est donné."
#: ../Doc/c-api/object.rst:290 #: ../Doc/c-api/object.rst:293
msgid "" 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." "`PyObject_CallFunctionObjArgs` is a faster alternative."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:293 #: ../Doc/c-api/object.rst:296
msgid "The type of *format* was changed from ``char *``." msgid "The type of *format* was changed from ``char *``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:299 #: ../Doc/c-api/object.rst:302
msgid "" msgid ""
"Call the method named *name* of object *obj* with a variable number of C " "Call the method named *name* of object *obj* with a variable number of C "
"arguments. The C arguments are described by a :c:func:`Py_BuildValue` " "arguments. The C arguments are described by a :c:func:`Py_BuildValue` "
"format string that should produce a tuple." "format string that should produce a tuple."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:303 #: ../Doc/c-api/object.rst:306
msgid "The format can be *NULL*, indicating that no arguments are provided." msgid "The format can be *NULL*, indicating that no arguments are provided."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:307 #: ../Doc/c-api/object.rst:311
msgid "" msgid ""
"This is the equivalent of the Python expression: ``obj.name(arg1, " "This is the equivalent of the Python expression: ``obj.name(arg1, "
"arg2, ...)``." "arg2, ...)``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:310 #: ../Doc/c-api/object.rst:314
msgid "" 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." "`PyObject_CallMethodObjArgs` is a faster alternative."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:313 #: ../Doc/c-api/object.rst:317
msgid "The types of *name* and *format* were changed from ``char *``." msgid "The types of *name* and *format* were changed from ``char *``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:319 #: ../Doc/c-api/object.rst:323
msgid "" msgid ""
"Call a callable Python object *callable*, with a variable number of :c:type:" "Call a callable Python object *callable*, with a variable number of :c:type:"
"`PyObject\\*` arguments. The arguments are provided as a variable number of " "`PyObject\\*` arguments. The arguments are provided as a variable number of "
"parameters followed by *NULL*." "parameters followed by *NULL*."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:325 #: ../Doc/c-api/object.rst:330
msgid "" msgid ""
"This is the equivalent of the Python expression: ``callable(arg1, " "This is the equivalent of the Python expression: ``callable(arg1, "
"arg2, ...)``." "arg2, ...)``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:331 #: ../Doc/c-api/object.rst:336
msgid "" msgid ""
"Calls a method of the Python object *obj*, where the name of the method is " "Calls a method of the Python object *obj*, where the name of the method is "
"given as a Python string object in *name*. It is called with a variable " "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*. Returns the result of the " "variable number of parameters followed by *NULL*."
"call on success, or *NULL* on failure."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:342 #: ../Doc/c-api/object.rst:349
msgid "" msgid ""
"Compute and return the hash value of an object *o*. On failure, return " "Compute and return the hash value of an object *o*. On failure, return "
"``-1``. This is the equivalent of the Python expression ``hash(o)``." "``-1``. This is the equivalent of the Python expression ``hash(o)``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:345 #: ../Doc/c-api/object.rst:352
msgid "" msgid ""
"The return type is now Py_hash_t. This is a signed integer the same size as " "The return type is now Py_hash_t. This is a signed integer the same size as "
"Py_ssize_t." "Py_ssize_t."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:352 #: ../Doc/c-api/object.rst:359
msgid "" msgid ""
"Set a :exc:`TypeError` indicating that ``type(o)`` is not hashable and " "Set a :exc:`TypeError` indicating that ``type(o)`` is not hashable and "
"return ``-1``. This function receives special treatment when stored in a " "return ``-1``. This function receives special treatment when stored in a "
@ -510,21 +512,21 @@ msgid ""
"that it is not hashable." "that it is not hashable."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:360 #: ../Doc/c-api/object.rst:367
msgid "" msgid ""
"Returns ``1`` if the object *o* is considered to be true, and ``0`` " "Returns ``1`` if the object *o* is considered to be true, and ``0`` "
"otherwise. This is equivalent to the Python expression ``not not o``. On " "otherwise. This is equivalent to the Python expression ``not not o``. On "
"failure, return ``-1``." "failure, return ``-1``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:367 #: ../Doc/c-api/object.rst:374
msgid "" msgid ""
"Returns ``0`` if the object *o* is considered to be true, and ``1`` " "Returns ``0`` if the object *o* is considered to be true, and ``1`` "
"otherwise. This is equivalent to the Python expression ``not o``. On " "otherwise. This is equivalent to the Python expression ``not o``. On "
"failure, return ``-1``." "failure, return ``-1``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:376 #: ../Doc/c-api/object.rst:383
msgid "" msgid ""
"When *o* is non-*NULL*, returns a type object corresponding to the object " "When *o* is non-*NULL*, returns a type object corresponding to the object "
"type of object *o*. On failure, raises :exc:`SystemError` and returns " "type of object *o*. On failure, raises :exc:`SystemError` and returns "
@ -535,13 +537,13 @@ msgid ""
"except when the incremented reference count is needed." "except when the incremented reference count is needed."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:387 #: ../Doc/c-api/object.rst:394
msgid "" msgid ""
"Return true if the object *o* is of type *type* or a subtype of *type*. " "Return true if the object *o* is of type *type* or a subtype of *type*. "
"Both parameters must be non-*NULL*." "Both parameters must be non-*NULL*."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:396 #: ../Doc/c-api/object.rst:403
msgid "" msgid ""
"Return the length of object *o*. If the object *o* provides either the " "Return the length of object *o*. If the object *o* provides either the "
"sequence and mapping protocols, the sequence length is returned. On error, " "sequence and mapping protocols, the sequence length is returned. On error, "
@ -549,7 +551,7 @@ msgid ""
"``len(o)``." "``len(o)``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:403 #: ../Doc/c-api/object.rst:410
msgid "" msgid ""
"Return an estimated length for the object *o*. First try to return its " "Return an estimated length for the object *o*. First try to return its "
"actual length, then an estimate using :meth:`~object.__length_hint__`, and " "actual length, then an estimate using :meth:`~object.__length_hint__`, and "
@ -557,26 +559,26 @@ msgid ""
"equivalent to the Python expression ``operator.length_hint(o, default)``." "equivalent to the Python expression ``operator.length_hint(o, default)``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:413 #: ../Doc/c-api/object.rst:420
msgid "" msgid ""
"Return element of *o* corresponding to the object *key* or *NULL* on " "Return element of *o* corresponding to the object *key* or *NULL* on "
"failure. This is the equivalent of the Python expression ``o[key]``." "failure. This is the equivalent of the Python expression ``o[key]``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:419 #: ../Doc/c-api/object.rst:426
msgid "" msgid ""
"Map the object *key* to the value *v*. Raise an exception and return ``-1`` " "Map the object *key* to the value *v*. Raise an exception and return ``-1`` "
"on failure; return ``0`` on success. This is the equivalent of the Python " "on failure; return ``0`` on success. This is the equivalent of the Python "
"statement ``o[key] = v``." "statement ``o[key] = v``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:426 #: ../Doc/c-api/object.rst:433
msgid "" msgid ""
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` " "Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
"on failure. This is equivalent to the Python statement ``del o[key]``." "on failure. This is equivalent to the Python statement ``del o[key]``."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:432 #: ../Doc/c-api/object.rst:439
msgid "" msgid ""
"This is equivalent to the Python expression ``dir(o)``, returning a " "This is equivalent to the Python expression ``dir(o)``, returning a "
"(possibly empty) list of strings appropriate for the object argument, or " "(possibly empty) list of strings appropriate for the object argument, or "
@ -586,7 +588,7 @@ msgid ""
"`PyErr_Occurred` will return false." "`PyErr_Occurred` will return false."
msgstr "" msgstr ""
#: ../Doc/c-api/object.rst:441 #: ../Doc/c-api/object.rst:448
msgid "" msgid ""
"This is equivalent to the Python expression ``iter(o)``. It returns a new " "This is equivalent to the Python expression ``iter(o)``. It returns a new "
"iterator for the object argument, or the object itself if the object is " "iterator for the object argument, or the object itself if the object is "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-17 21:38+0100\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -117,82 +117,92 @@ msgstr ""
#: ../Doc/c-api/structures.rst:117 #: ../Doc/c-api/structures.rst:117
msgid "" msgid ""
"Type of the functions used to implement Python callables in C that take " "Type of the functions used to implement Python callables in C with "
"keyword arguments: they take three :c:type:`PyObject\\*` parameters and " "signature :const:`METH_VARARGS | METH_KEYWORDS`."
"return one such value. See :c:type:`PyCFunction` above for the meaning of "
"the return value."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:125 #: ../Doc/c-api/structures.rst:123
msgid ""
"Type of the functions used to implement Python callables in C with "
"signature :const:`METH_FASTCALL`."
msgstr ""
#: ../Doc/c-api/structures.rst:129
msgid ""
"Type of the functions used to implement Python callables in C with "
"signature :const:`METH_FASTCALL | METH_KEYWORDS`."
msgstr ""
#: ../Doc/c-api/structures.rst:135
msgid "" msgid ""
"Structure used to describe a method of an extension type. This structure " "Structure used to describe a method of an extension type. This structure "
"has four fields:" "has four fields:"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:129 ../Doc/c-api/structures.rst:240 #: ../Doc/c-api/structures.rst:139 ../Doc/c-api/structures.rst:279
#: ../Doc/c-api/structures.rst:306 #: ../Doc/c-api/structures.rst:345
msgid "Field" msgid "Field"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:129 ../Doc/c-api/structures.rst:240 #: ../Doc/c-api/structures.rst:139 ../Doc/c-api/structures.rst:279
#: ../Doc/c-api/structures.rst:306 #: ../Doc/c-api/structures.rst:345
msgid "C Type" msgid "C Type"
msgstr "Type C" msgstr "Type C"
#: ../Doc/c-api/structures.rst:129 ../Doc/c-api/structures.rst:240 #: ../Doc/c-api/structures.rst:139 ../Doc/c-api/structures.rst:279
#: ../Doc/c-api/structures.rst:306 #: ../Doc/c-api/structures.rst:345
msgid "Meaning" msgid "Meaning"
msgstr "Signification" msgstr "Signification"
#: ../Doc/c-api/structures.rst:131 #: ../Doc/c-api/structures.rst:141
msgid ":attr:`ml_name`" msgid ":attr:`ml_name`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:131 ../Doc/c-api/structures.rst:139 #: ../Doc/c-api/structures.rst:141 ../Doc/c-api/structures.rst:149
#: ../Doc/c-api/structures.rst:242 ../Doc/c-api/structures.rst:255 #: ../Doc/c-api/structures.rst:281 ../Doc/c-api/structures.rst:294
#: ../Doc/c-api/structures.rst:271 ../Doc/c-api/structures.rst:308 #: ../Doc/c-api/structures.rst:310 ../Doc/c-api/structures.rst:347
#: ../Doc/c-api/structures.rst:316 #: ../Doc/c-api/structures.rst:355
msgid "const char \\*" msgid "const char \\*"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:131 #: ../Doc/c-api/structures.rst:141
msgid "name of the method" msgid "name of the method"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:133 #: ../Doc/c-api/structures.rst:143
msgid ":attr:`ml_meth`" msgid ":attr:`ml_meth`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:133 #: ../Doc/c-api/structures.rst:143
msgid "PyCFunction" msgid "PyCFunction"
msgstr "PyCFunction" msgstr "PyCFunction"
#: ../Doc/c-api/structures.rst:133 #: ../Doc/c-api/structures.rst:143
msgid "pointer to the C implementation" msgid "pointer to the C implementation"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:136 #: ../Doc/c-api/structures.rst:146
msgid ":attr:`ml_flags`" msgid ":attr:`ml_flags`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:136 ../Doc/c-api/structures.rst:244 #: ../Doc/c-api/structures.rst:146 ../Doc/c-api/structures.rst:283
#: ../Doc/c-api/structures.rst:251 ../Doc/c-api/structures.rst:267 #: ../Doc/c-api/structures.rst:290 ../Doc/c-api/structures.rst:306
msgid "int" msgid "int"
msgstr "*int*" msgstr "*int*"
#: ../Doc/c-api/structures.rst:136 #: ../Doc/c-api/structures.rst:146
msgid "flag bits indicating how the call should be constructed" msgid "flag bits indicating how the call should be constructed"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:139 #: ../Doc/c-api/structures.rst:149
msgid ":attr:`ml_doc`" msgid ":attr:`ml_doc`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:139 ../Doc/c-api/structures.rst:255 #: ../Doc/c-api/structures.rst:149 ../Doc/c-api/structures.rst:294
msgid "points to the contents of the docstring" msgid "points to the contents of the docstring"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:143 #: ../Doc/c-api/structures.rst:153
msgid "" msgid ""
"The :attr:`ml_meth` is a C function pointer. The functions may be of " "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 "
@ -202,16 +212,21 @@ msgid ""
"implementation uses the specific C type of the *self* object." "implementation uses the specific C type of the *self* object."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:150 #: ../Doc/c-api/structures.rst:160
msgid "" msgid ""
"The :attr:`ml_flags` field is a bitfield which can include the following " "The :attr:`ml_flags` field is a bitfield which can include the following "
"flags. The individual flags indicate either a calling convention or a " "flags. The individual flags indicate either a calling convention or a "
"binding convention. Of the calling convention flags, only :const:" "binding convention."
"`METH_VARARGS` and :const:`METH_KEYWORDS` can be combined. Any of the "
"calling convention flags can be combined with a binding flag."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:159 #: ../Doc/c-api/structures.rst:164
msgid ""
"There are four basic calling conventions for positional arguments and two of "
"them can be combined with :const:`METH_KEYWORDS` to support also keyword "
"arguments. So there are a total of 6 calling conventions:"
msgstr ""
#: ../Doc/c-api/structures.rst:170
msgid "" msgid ""
"This is the typical calling convention, where the methods have the type :c:" "This is the typical calling convention, where the methods have the type :c:"
"type:`PyCFunction`. The function expects two :c:type:`PyObject\\*` values. " "type:`PyCFunction`. The function expects two :c:type:`PyObject\\*` values. "
@ -221,16 +236,40 @@ msgid ""
"using :c:func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." "using :c:func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:169 #: ../Doc/c-api/structures.rst:180
msgid "" msgid ""
"Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. " "Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. "
"The function expects three parameters: *self*, *args*, and a dictionary of " "The function expects three parameters: *self*, *args*, *kwargs* where "
"all the keyword arguments. The flag must be combined with :const:" "*kwargs* is a dictionary of all the keyword arguments or possibly *NULL* if "
"`METH_VARARGS`, and the parameters are typically processed using :c:func:" "there are no keyword arguments. The parameters are typically processed "
"`PyArg_ParseTupleAndKeywords`." "using :c:func:`PyArg_ParseTupleAndKeywords`."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:178 #: ../Doc/c-api/structures.rst:189
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 "
"arguments and the third parameter is the number of arguments (the length of "
"the array)."
msgstr ""
#: ../Doc/c-api/structures.rst:195 ../Doc/c-api/structures.rst:210
msgid "This is not part of the :ref:`limited API <stable>`."
msgstr ""
#: ../Doc/c-api/structures.rst:202
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 vectorcall protocol: there is an "
"additional fourth :c:type:`PyObject\\*` parameter which is a tuple "
"representing the names of the keyword arguments or possibly *NULL* if there "
"are no keywords. The values of the keyword arguments are stored in the "
"*args* array, after the positional arguments."
msgstr ""
#: ../Doc/c-api/structures.rst:217
msgid "" msgid ""
"Methods without parameters don't need to check whether arguments are given " "Methods without parameters don't need to check whether arguments are given "
"if they are listed with the :const:`METH_NOARGS` flag. They need to be of " "if they are listed with the :const:`METH_NOARGS` flag. They need to be of "
@ -239,7 +278,7 @@ msgid ""
"the second parameter will be *NULL*." "the second parameter will be *NULL*."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:187 #: ../Doc/c-api/structures.rst:226
msgid "" msgid ""
"Methods with a single object argument can be listed with the :const:`METH_O` " "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\"`` " "flag, instead of invoking :c:func:`PyArg_ParseTuple` with a ``\"O\"`` "
@ -248,7 +287,7 @@ msgid ""
"argument." "argument."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:193 #: ../Doc/c-api/structures.rst:232
msgid "" msgid ""
"These two constants are not used to indicate the calling convention but the " "These two constants are not used to indicate the calling convention but the "
"binding when use with methods of classes. These may not be used for " "binding when use with methods of classes. These may not be used for "
@ -256,27 +295,27 @@ msgid ""
"any given method." "any given method."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:203 #: ../Doc/c-api/structures.rst:242
msgid "" msgid ""
"The method will be passed the type object as the first parameter rather than " "The method will be passed the type object as the first parameter rather than "
"an instance of the type. This is used to create *class methods*, similar to " "an instance of the type. This is used to create *class methods*, similar to "
"what is created when using the :func:`classmethod` built-in function." "what is created when using the :func:`classmethod` built-in function."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:213 #: ../Doc/c-api/structures.rst:252
msgid "" msgid ""
"The method will be passed *NULL* as the first parameter rather than an " "The method will be passed *NULL* as the first parameter rather than an "
"instance of the type. This is used to create *static methods*, similar to " "instance of the type. This is used to create *static methods*, similar to "
"what is created when using the :func:`staticmethod` built-in function." "what is created when using the :func:`staticmethod` built-in function."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:217 #: ../Doc/c-api/structures.rst:256
msgid "" msgid ""
"One other constant controls whether a method is loaded in place of another " "One other constant controls whether a method is loaded in place of another "
"definition with the same method name." "definition with the same method name."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:223 #: ../Doc/c-api/structures.rst:262
msgid "" msgid ""
"The method will be loaded in place of existing definitions. Without " "The method will be loaded in place of existing definitions. Without "
"*METH_COEXIST*, the default is to skip repeated definitions. Since slot " "*METH_COEXIST*, the default is to skip repeated definitions. Since slot "
@ -289,190 +328,190 @@ msgid ""
"calls." "calls."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:236 #: ../Doc/c-api/structures.rst:275
msgid "" msgid ""
"Structure which describes an attribute of a type which corresponds to a C " "Structure which describes an attribute of a type which corresponds to a C "
"struct member. Its fields are:" "struct member. Its fields are:"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:242 #: ../Doc/c-api/structures.rst:281
msgid ":attr:`name`" msgid ":attr:`name`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:242 #: ../Doc/c-api/structures.rst:281
msgid "name of the member" msgid "name of the member"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:244 #: ../Doc/c-api/structures.rst:283
msgid ":attr:`!type`" msgid ":attr:`!type`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:244 #: ../Doc/c-api/structures.rst:283
msgid "the type of the member in the C struct" msgid "the type of the member in the C struct"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:247 #: ../Doc/c-api/structures.rst:286
msgid ":attr:`offset`" msgid ":attr:`offset`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:247 ../Doc/c-api/structures.rst:283 #: ../Doc/c-api/structures.rst:286 ../Doc/c-api/structures.rst:322
msgid "Py_ssize_t" msgid "Py_ssize_t"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:247 #: ../Doc/c-api/structures.rst:286
msgid "" msgid ""
"the offset in bytes that the member is located on the type's object struct" "the offset in bytes that the member is located on the type's object struct"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:251 #: ../Doc/c-api/structures.rst:290
msgid ":attr:`flags`" msgid ":attr:`flags`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:251 #: ../Doc/c-api/structures.rst:290
msgid "flag bits indicating if the field should be read-only or writable" msgid "flag bits indicating if the field should be read-only or writable"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:255 #: ../Doc/c-api/structures.rst:294
msgid ":attr:`doc`" msgid ":attr:`doc`"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:259 #: ../Doc/c-api/structures.rst:298
msgid "" msgid ""
":attr:`!type` can be one of many ``T_`` macros corresponding to various C " ":attr:`!type` can be one of many ``T_`` macros corresponding to various C "
"types. When the member is accessed in Python, it will be converted to the " "types. When the member is accessed in Python, it will be converted to the "
"equivalent Python type." "equivalent Python type."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:264 #: ../Doc/c-api/structures.rst:303
msgid "Macro name" msgid "Macro name"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:264 #: ../Doc/c-api/structures.rst:303
msgid "C type" msgid "C type"
msgstr "Type C" msgstr "Type C"
#: ../Doc/c-api/structures.rst:266 #: ../Doc/c-api/structures.rst:305
msgid "T_SHORT" msgid "T_SHORT"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:266 #: ../Doc/c-api/structures.rst:305
msgid "short" msgid "short"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:267 #: ../Doc/c-api/structures.rst:306
msgid "T_INT" msgid "T_INT"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:268 #: ../Doc/c-api/structures.rst:307
msgid "T_LONG" msgid "T_LONG"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:268 #: ../Doc/c-api/structures.rst:307
msgid "long" msgid "long"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:269 #: ../Doc/c-api/structures.rst:308
msgid "T_FLOAT" msgid "T_FLOAT"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:269 #: ../Doc/c-api/structures.rst:308
msgid "float" msgid "float"
msgstr "*float*" msgstr "*float*"
#: ../Doc/c-api/structures.rst:270 #: ../Doc/c-api/structures.rst:309
msgid "T_DOUBLE" msgid "T_DOUBLE"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:270 #: ../Doc/c-api/structures.rst:309
msgid "double" msgid "double"
msgstr "double" msgstr "double"
#: ../Doc/c-api/structures.rst:271 #: ../Doc/c-api/structures.rst:310
msgid "T_STRING" msgid "T_STRING"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:272 #: ../Doc/c-api/structures.rst:311
msgid "T_OBJECT" msgid "T_OBJECT"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:272 ../Doc/c-api/structures.rst:273 #: ../Doc/c-api/structures.rst:311 ../Doc/c-api/structures.rst:312
msgid "PyObject \\*" msgid "PyObject \\*"
msgstr "PyObject \\*" msgstr "PyObject \\*"
#: ../Doc/c-api/structures.rst:273 #: ../Doc/c-api/structures.rst:312
msgid "T_OBJECT_EX" msgid "T_OBJECT_EX"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:274 #: ../Doc/c-api/structures.rst:313
msgid "T_CHAR" msgid "T_CHAR"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:274 ../Doc/c-api/structures.rst:275 #: ../Doc/c-api/structures.rst:313 ../Doc/c-api/structures.rst:314
#: ../Doc/c-api/structures.rst:280 #: ../Doc/c-api/structures.rst:319
msgid "char" msgid "char"
msgstr "char" msgstr "char"
#: ../Doc/c-api/structures.rst:275 #: ../Doc/c-api/structures.rst:314
msgid "T_BYTE" msgid "T_BYTE"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:276 #: ../Doc/c-api/structures.rst:315
msgid "T_UBYTE" msgid "T_UBYTE"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:276 #: ../Doc/c-api/structures.rst:315
msgid "unsigned char" msgid "unsigned char"
msgstr "``unsigned char``" msgstr "``unsigned char``"
#: ../Doc/c-api/structures.rst:277 #: ../Doc/c-api/structures.rst:316
msgid "T_UINT" msgid "T_UINT"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:277 #: ../Doc/c-api/structures.rst:316
msgid "unsigned int" msgid "unsigned int"
msgstr "``unsigned int``" msgstr "``unsigned int``"
#: ../Doc/c-api/structures.rst:278 #: ../Doc/c-api/structures.rst:317
msgid "T_USHORT" msgid "T_USHORT"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:278 #: ../Doc/c-api/structures.rst:317
msgid "unsigned short" msgid "unsigned short"
msgstr "``unsigned short``" msgstr "``unsigned short``"
#: ../Doc/c-api/structures.rst:279 #: ../Doc/c-api/structures.rst:318
msgid "T_ULONG" msgid "T_ULONG"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:279 #: ../Doc/c-api/structures.rst:318
msgid "unsigned long" msgid "unsigned long"
msgstr "``unsigned long``" msgstr "``unsigned long``"
#: ../Doc/c-api/structures.rst:280 #: ../Doc/c-api/structures.rst:319
msgid "T_BOOL" msgid "T_BOOL"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:281 #: ../Doc/c-api/structures.rst:320
msgid "T_LONGLONG" msgid "T_LONGLONG"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:281 #: ../Doc/c-api/structures.rst:320
msgid "long long" msgid "long long"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:282 #: ../Doc/c-api/structures.rst:321
msgid "T_ULONGLONG" msgid "T_ULONGLONG"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:282 #: ../Doc/c-api/structures.rst:321
msgid "unsigned long long" msgid "unsigned long long"
msgstr "``unsigned long long``" msgstr "``unsigned long long``"
#: ../Doc/c-api/structures.rst:283 #: ../Doc/c-api/structures.rst:322
msgid "T_PYSSIZET" msgid "T_PYSSIZET"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:286 #: ../Doc/c-api/structures.rst:325
msgid "" msgid ""
":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:" ":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:"
"`T_OBJECT` returns ``None`` if the member is *NULL* and :c:macro:" "`T_OBJECT` returns ``None`` if the member is *NULL* and :c:macro:"
@ -482,7 +521,7 @@ msgid ""
"than :c:macro:`T_OBJECT`." "than :c:macro:`T_OBJECT`."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:293 #: ../Doc/c-api/structures.rst:332
msgid "" msgid ""
":attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` " ":attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` "
"for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:" "for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:"
@ -491,87 +530,87 @@ msgid ""
"are set to *NULL*)." "are set to *NULL*)."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:302 #: ../Doc/c-api/structures.rst:341
msgid "" msgid ""
"Structure to define property-like access for a type. See also description of " "Structure to define property-like access for a type. See also description of "
"the :c:member:`PyTypeObject.tp_getset` slot." "the :c:member:`PyTypeObject.tp_getset` slot."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:308 #: ../Doc/c-api/structures.rst:347
msgid "name" msgid "name"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:308 #: ../Doc/c-api/structures.rst:347
msgid "attribute name" msgid "attribute name"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:310 #: ../Doc/c-api/structures.rst:349
msgid "get" msgid "get"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:310 #: ../Doc/c-api/structures.rst:349
msgid "getter" msgid "getter"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:310 #: ../Doc/c-api/structures.rst:349
msgid "C Function to get the attribute" msgid "C Function to get the attribute"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:312 #: ../Doc/c-api/structures.rst:351
msgid "set" msgid "set"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:312 #: ../Doc/c-api/structures.rst:351
msgid "setter" msgid "setter"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:312 #: ../Doc/c-api/structures.rst:351
msgid "" msgid ""
"optional C function to set or delete the attribute, if omitted the attribute " "optional C function to set or delete the attribute, if omitted the attribute "
"is readonly" "is readonly"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:316 #: ../Doc/c-api/structures.rst:355
msgid "doc" msgid "doc"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:316 #: ../Doc/c-api/structures.rst:355
msgid "optional docstring" msgid "optional docstring"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:318 #: ../Doc/c-api/structures.rst:357
msgid "closure" msgid "closure"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:318 #: ../Doc/c-api/structures.rst:357
msgid "void \\*" msgid "void \\*"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:318 #: ../Doc/c-api/structures.rst:357
msgid "" msgid ""
"optional function pointer, providing additional data for getter and setter" "optional function pointer, providing additional data for getter and setter"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:323 #: ../Doc/c-api/structures.rst:362
msgid "" msgid ""
"The ``get`` function takes one :c:type:`PyObject\\*` parameter (the " "The ``get`` function takes one :c:type:`PyObject\\*` parameter (the "
"instance) and a function pointer (the associated ``closure``)::" "instance) and a function pointer (the associated ``closure``)::"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:328 #: ../Doc/c-api/structures.rst:367
msgid "" msgid ""
"It should return a new reference on success or *NULL* with a set exception " "It should return a new reference on success or *NULL* with a set exception "
"on failure." "on failure."
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:331 #: ../Doc/c-api/structures.rst:370
msgid "" msgid ""
"``set`` functions take two :c:type:`PyObject\\*` parameters (the instance " "``set`` functions take two :c:type:`PyObject\\*` parameters (the instance "
"and the value to be set) and a function pointer (the associated " "and the value to be set) and a function pointer (the associated "
"``closure``)::" "``closure``)::"
msgstr "" msgstr ""
#: ../Doc/c-api/structures.rst:336 #: ../Doc/c-api/structures.rst:375
msgid "" msgid ""
"In case the attribute should be deleted the second parameter is *NULL*. " "In case the attribute should be deleted the second parameter is *NULL*. "
"Should return ``0`` on success or ``-1`` with a set exception on failure." "Should return ``0`` on success or ``-1`` with a set exception on failure."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 22:10+0200\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -270,27 +270,28 @@ msgstr ""
#: ../Doc/library/concurrent.futures.rst:296 #: ../Doc/library/concurrent.futures.rst:296
msgid "" msgid ""
"Attempt to cancel the call. If the call is currently being executed and " "Attempt to cancel the call. If the call is currently being executed or "
"cannot be cancelled then the method will return ``False``, otherwise the " "finished running and cannot be cancelled then the method will return "
"call will be cancelled and the method will return ``True``." "``False``, otherwise the call will be cancelled and the method will return "
"``True``."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:302 #: ../Doc/library/concurrent.futures.rst:303
msgid "Return ``True`` if the call was successfully cancelled." msgid "Return ``True`` if the call was successfully cancelled."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:306 #: ../Doc/library/concurrent.futures.rst:307
msgid "" msgid ""
"Return ``True`` if the call is currently being executed and cannot be " "Return ``True`` if the call is currently being executed and cannot be "
"cancelled." "cancelled."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:311 #: ../Doc/library/concurrent.futures.rst:312
msgid "" msgid ""
"Return ``True`` if the call was successfully cancelled or finished running." "Return ``True`` if the call was successfully cancelled or finished running."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:316 #: ../Doc/library/concurrent.futures.rst:317
msgid "" msgid ""
"Return the value returned by the call. If the call hasn't yet completed then " "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 " "this method will wait up to *timeout* seconds. If the call hasn't completed "
@ -299,18 +300,18 @@ msgid ""
"``None``, there is no limit to the wait time." "``None``, there is no limit to the wait time."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:323 #: ../Doc/library/concurrent.futures.rst:324
#: ../Doc/library/concurrent.futures.rst:337 #: ../Doc/library/concurrent.futures.rst:338
msgid "" msgid ""
"If the future is cancelled before completing then :exc:`.CancelledError` " "If the future is cancelled before completing then :exc:`.CancelledError` "
"will be raised." "will be raised."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:326 #: ../Doc/library/concurrent.futures.rst:327
msgid "If the call raised, this method will raise the same exception." msgid "If the call raised, this method will raise the same exception."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:330 #: ../Doc/library/concurrent.futures.rst:331
msgid "" msgid ""
"Return the exception raised by the call. If the call hasn't yet completed " "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 " "then this method will wait up to *timeout* seconds. If the call hasn't "
@ -319,18 +320,18 @@ msgid ""
"*timeout* is not specified or ``None``, there is no limit to the wait time." "*timeout* is not specified or ``None``, there is no limit to the wait time."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:340 #: ../Doc/library/concurrent.futures.rst:341
msgid "If the call completed without raising, ``None`` is returned." msgid "If the call completed without raising, ``None`` is returned."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:344 #: ../Doc/library/concurrent.futures.rst:345
msgid "" msgid ""
"Attaches the callable *fn* to the future. *fn* will be called, with the " "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 " "future as its only argument, when the future is cancelled or finishes "
"running." "running."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:348 #: ../Doc/library/concurrent.futures.rst:349
msgid "" msgid ""
"Added callables are called in the order that they were added and are always " "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 " "called in a thread belonging to the process that added them. If the "
@ -339,26 +340,26 @@ msgid ""
"behavior is undefined." "behavior is undefined."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:354 #: ../Doc/library/concurrent.futures.rst:355
msgid "" msgid ""
"If the future has already completed or been cancelled, *fn* will be called " "If the future has already completed or been cancelled, *fn* will be called "
"immediately." "immediately."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:357 #: ../Doc/library/concurrent.futures.rst:358
msgid "" msgid ""
"The following :class:`Future` methods are meant for use in unit tests and :" "The following :class:`Future` methods are meant for use in unit tests and :"
"class:`Executor` implementations." "class:`Executor` implementations."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:362 #: ../Doc/library/concurrent.futures.rst:363
msgid "" msgid ""
"This method should only be called by :class:`Executor` implementations " "This method should only be called by :class:`Executor` implementations "
"before executing the work associated with the :class:`Future` and by unit " "before executing the work associated with the :class:`Future` and by unit "
"tests." "tests."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:366 #: ../Doc/library/concurrent.futures.rst:367
msgid "" msgid ""
"If the method returns ``False`` then the :class:`Future` was cancelled, i." "If the method returns ``False`` then the :class:`Future` was cancelled, i."
"e. :meth:`Future.cancel` was called and returned `True`. Any threads " "e. :meth:`Future.cancel` was called and returned `True`. Any threads "
@ -366,58 +367,59 @@ msgid ""
"or :func:`wait`) will be woken up." "or :func:`wait`) will be woken up."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:371 #: ../Doc/library/concurrent.futures.rst:372
msgid "" msgid ""
"If the method returns ``True`` then the :class:`Future` was not cancelled " "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` " "and has been put in the running state, i.e. calls to :meth:`Future.running` "
"will return `True`." "will return `True`."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:375 #: ../Doc/library/concurrent.futures.rst:376
msgid "" msgid ""
"This method can only be called once and cannot be called after :meth:`Future." "This method can only be called once and cannot be called after :meth:`Future."
"set_result` or :meth:`Future.set_exception` have been called." "set_result` or :meth:`Future.set_exception` have been called."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:381 #: ../Doc/library/concurrent.futures.rst:382
msgid "" msgid ""
"Sets the result of the work associated with the :class:`Future` to *result*." "Sets the result of the work associated with the :class:`Future` to *result*."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:384 #: ../Doc/library/concurrent.futures.rst:385
#: ../Doc/library/concurrent.futures.rst:392 #: ../Doc/library/concurrent.futures.rst:393
msgid "" msgid ""
"This method should only be used by :class:`Executor` implementations and " "This method should only be used by :class:`Executor` implementations and "
"unit tests." "unit tests."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:389 #: ../Doc/library/concurrent.futures.rst:390
msgid "" msgid ""
"Sets the result of the work associated with the :class:`Future` to the :" "Sets the result of the work associated with the :class:`Future` to the :"
"class:`Exception` *exception*." "class:`Exception` *exception*."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:397 #: ../Doc/library/concurrent.futures.rst:398
msgid "Module Functions" msgid "Module Functions"
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:401 #: ../Doc/library/concurrent.futures.rst:402
msgid "" msgid ""
"Wait for the :class:`Future` instances (possibly created by different :class:" "Wait for the :class:`Future` instances (possibly created by different :class:"
"`Executor` instances) given by *fs* to complete. Returns a named 2-tuple of " "`Executor` instances) given by *fs* to complete. Returns a named 2-tuple of "
"sets. The first set, named ``done``, contains the futures that completed " "sets. The first set, named ``done``, contains the futures that completed "
"(finished or were cancelled) before the wait completed. The second set, " "(finished or cancelled futures) before the wait completed. The second set, "
"named ``not_done``, contains uncompleted futures." "named ``not_done``, contains the futures that did not complete (pending or "
"running futures)."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:407 #: ../Doc/library/concurrent.futures.rst:409
msgid "" msgid ""
"*timeout* can be used to control the maximum number of seconds to wait " "*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 " "before returning. *timeout* can be an int or float. If *timeout* is not "
"specified or ``None``, there is no limit to the wait time." "specified or ``None``, there is no limit to the wait time."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:411 #: ../Doc/library/concurrent.futures.rst:413
msgid "" msgid ""
"*return_when* indicates when this function should return. It must be one of " "*return_when* indicates when this function should return. It must be one of "
"the following constants:" "the following constants:"
@ -425,28 +427,28 @@ msgstr ""
"*return_when* indique quand la fonction doit se terminer. Il peut prendre " "*return_when* indique quand la fonction doit se terminer. Il peut prendre "
"les valeurs suivantes :" "les valeurs suivantes :"
#: ../Doc/library/concurrent.futures.rst:417 #: ../Doc/library/concurrent.futures.rst:419
msgid "Constant" msgid "Constant"
msgstr "Constante" msgstr "Constante"
#: ../Doc/library/concurrent.futures.rst:417 #: ../Doc/library/concurrent.futures.rst:419
msgid "Description" msgid "Description"
msgstr "Description" msgstr "Description"
#: ../Doc/library/concurrent.futures.rst:419 #: ../Doc/library/concurrent.futures.rst:421
msgid ":const:`FIRST_COMPLETED`" msgid ":const:`FIRST_COMPLETED`"
msgstr ":const:`FIRST_COMPLETED`" msgstr ":const:`FIRST_COMPLETED`"
#: ../Doc/library/concurrent.futures.rst:419 #: ../Doc/library/concurrent.futures.rst:421
msgid "The function will return when any future finishes or is cancelled." msgid "The function will return when any future finishes or is cancelled."
msgstr "" msgstr ""
"La fonction se termine lorsque n'importe quel futur se termine ou est annulé." "La fonction se termine lorsque n'importe quel futur se termine ou est annulé."
#: ../Doc/library/concurrent.futures.rst:422 #: ../Doc/library/concurrent.futures.rst:424
msgid ":const:`FIRST_EXCEPTION`" msgid ":const:`FIRST_EXCEPTION`"
msgstr ":const:`FIRST_EXCEPTION`" msgstr ":const:`FIRST_EXCEPTION`"
#: ../Doc/library/concurrent.futures.rst:422 #: ../Doc/library/concurrent.futures.rst:424
msgid "" msgid ""
"The function will return when any future finishes by raising an exception. " "The function will return when any future finishes by raising an exception. "
"If no future raises an exception then it is equivalent to :const:" "If no future raises an exception then it is equivalent to :const:"
@ -456,66 +458,66 @@ msgstr ""
"exception. Si aucun *futur* ne lève d'exception, équivaut à :const:" "exception. Si aucun *futur* ne lève d'exception, équivaut à :const:"
"`ALL_COMPLETED`." "`ALL_COMPLETED`."
#: ../Doc/library/concurrent.futures.rst:428 #: ../Doc/library/concurrent.futures.rst:430
msgid ":const:`ALL_COMPLETED`" msgid ":const:`ALL_COMPLETED`"
msgstr ":const:`ALL_COMPLETED`" msgstr ":const:`ALL_COMPLETED`"
#: ../Doc/library/concurrent.futures.rst:428 #: ../Doc/library/concurrent.futures.rst:430
msgid "The function will return when all futures finish or are cancelled." msgid "The function will return when all futures finish or are cancelled."
msgstr "" msgstr ""
"La fonction se termine lorsque les *futurs* sont tous finis ou annulés." "La fonction se termine lorsque les *futurs* sont tous finis ou annulés."
#: ../Doc/library/concurrent.futures.rst:434 #: ../Doc/library/concurrent.futures.rst:436
msgid "" msgid ""
"Returns an iterator over the :class:`Future` instances (possibly created by " "Returns an iterator over the :class:`Future` instances (possibly created by "
"different :class:`Executor` instances) given by *fs* that yields futures as " "different :class:`Executor` instances) given by *fs* that yields futures as "
"they complete (finished or were cancelled). Any futures given by *fs* that " "they complete (finished or cancelled futures). Any futures given by *fs* "
"are duplicated will be returned once. Any futures that completed before :" "that are duplicated will be returned once. Any futures that completed "
"func:`as_completed` is called will be yielded first. The returned iterator " "before :func:`as_completed` is called will be yielded first. The returned "
"raises a :exc:`concurrent.futures.TimeoutError` if :meth:`~iterator." "iterator raises a :exc:`concurrent.futures.TimeoutError` if :meth:`~iterator."
"__next__` is called and the result isn't available after *timeout* seconds " "__next__` is called and the result isn't available after *timeout* seconds "
"from the original call to :func:`as_completed`. *timeout* can be an int or " "from the original call to :func:`as_completed`. *timeout* can be an int or "
"float. If *timeout* is not specified or ``None``, there is no limit to the " "float. If *timeout* is not specified or ``None``, there is no limit to the "
"wait time." "wait time."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:448 #: ../Doc/library/concurrent.futures.rst:450
msgid ":pep:`3148` -- futures - execute computations asynchronously" msgid ":pep:`3148` -- futures - execute computations asynchronously"
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:448 #: ../Doc/library/concurrent.futures.rst:450
msgid "" msgid ""
"The proposal which described this feature for inclusion in the Python " "The proposal which described this feature for inclusion in the Python "
"standard library." "standard library."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:453 #: ../Doc/library/concurrent.futures.rst:455
msgid "Exception classes" msgid "Exception classes"
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:459 #: ../Doc/library/concurrent.futures.rst:461
msgid "Raised when a future is cancelled." msgid "Raised when a future is cancelled."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:463 #: ../Doc/library/concurrent.futures.rst:465
msgid "Raised when a future operation exceeds the given timeout." msgid "Raised when a future operation exceeds the given timeout."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:467 #: ../Doc/library/concurrent.futures.rst:469
msgid "" msgid ""
"Derived from :exc:`RuntimeError`, this exception class is raised when an " "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 " "executor is broken for some reason, and cannot be used to submit or execute "
"new tasks." "new tasks."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:477 #: ../Doc/library/concurrent.futures.rst:479
msgid "" msgid ""
"Derived from :exc:`~concurrent.futures.BrokenExecutor`, this exception class " "Derived from :exc:`~concurrent.futures.BrokenExecutor`, this exception class "
"is raised when one of the workers of a :class:`ThreadPoolExecutor` has " "is raised when one of the workers of a :class:`ThreadPoolExecutor` has "
"failed initializing." "failed initializing."
msgstr "" msgstr ""
#: ../Doc/library/concurrent.futures.rst:487 #: ../Doc/library/concurrent.futures.rst:489
msgid "" msgid ""
"Derived from :exc:`~concurrent.futures.BrokenExecutor` (formerly :exc:" "Derived from :exc:`~concurrent.futures.BrokenExecutor` (formerly :exc:"
"`RuntimeError`), this exception class is raised when one of the workers of " "`RuntimeError`), this exception class is raised when one of the workers of "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-10 10:50+0200\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: 2019-05-23 20:04+0200\n" "PO-Revision-Date: 2019-05-23 20:04+0200\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n" "Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -3101,6 +3101,13 @@ msgstr "Jour du mois sur deux chiffres."
msgid "01, 02, ..., 31" msgid "01, 02, ..., 31"
msgstr "01, 02, ..., 31" msgstr "01, 02, ..., 31"
#: ../Doc/library/datetime.rst:2079 ../Doc/library/datetime.rst:2092
#: ../Doc/library/datetime.rst:2095 ../Doc/library/datetime.rst:2101
#: ../Doc/library/datetime.rst:2104 ../Doc/library/datetime.rst:2110
#: ../Doc/library/datetime.rst:2128
msgid "\\(9)"
msgstr ""
#: ../Doc/library/datetime.rst:2082 #: ../Doc/library/datetime.rst:2082
msgid "``%b``" msgid "``%b``"
msgstr "``%b``" msgstr "``%b``"
@ -3230,8 +3237,9 @@ msgid "Second as a zero-padded decimal number."
msgstr "Secondes sur deux chiffres." msgstr "Secondes sur deux chiffres."
#: ../Doc/library/datetime.rst:2113 #: ../Doc/library/datetime.rst:2113
msgid "\\(4)" #, fuzzy
msgstr "\\(4)" msgid "\\(4), \\(9)"
msgstr "\\(1), \\(3)"
#: ../Doc/library/datetime.rst:2116 #: ../Doc/library/datetime.rst:2116
msgid "``%f``" msgid "``%f``"
@ -3312,8 +3320,9 @@ msgid "00, 01, ..., 53"
msgstr "00, 01, ..., 53" msgstr "00, 01, ..., 53"
#: ../Doc/library/datetime.rst:2131 ../Doc/library/datetime.rst:2139 #: ../Doc/library/datetime.rst:2131 ../Doc/library/datetime.rst:2139
msgid "\\(7)" #, fuzzy
msgstr "\\(7)" msgid "\\(7), \\(9)"
msgstr "\\(1), \\(3)"
#: ../Doc/library/datetime.rst:2139 #: ../Doc/library/datetime.rst:2139
msgid "``%W``" msgid "``%W``"
@ -3423,7 +3432,7 @@ msgstr ""
"Année complète ISO 8601 représentant l'année contenant la plus grande partie " "Année complète ISO 8601 représentant l'année contenant la plus grande partie "
"de la semaine ISO (``%V``)." "de la semaine ISO (``%V``)."
#: ../Doc/library/datetime.rst:2172 ../Doc/library/datetime.rst:2180 #: ../Doc/library/datetime.rst:2172
msgid "\\(8)" msgid "\\(8)"
msgstr "\\(8)" msgstr "\\(8)"
@ -3455,6 +3464,11 @@ msgstr ""
msgid "01, 02, ..., 53" msgid "01, 02, ..., 53"
msgstr "01, 02, ..., 53" msgstr "01, 02, ..., 53"
#: ../Doc/library/datetime.rst:2180
#, fuzzy
msgid "\\(8), \\(9)"
msgstr "\\(1), \\(3)"
#: ../Doc/library/datetime.rst:2187 #: ../Doc/library/datetime.rst:2187
msgid "``%G``, ``%u`` and ``%V`` were added." msgid "``%G``, ``%u`` and ``%V`` were added."
msgstr "``%G``, ``%u`` et ``%V`` ont été ajoutés." msgstr "``%G``, ``%u`` et ``%V`` ont été ajoutés."
@ -3620,17 +3634,30 @@ msgstr ""
"%Y`` ne sont pas interchangeables." "%Y`` ne sont pas interchangeables."
#: ../Doc/library/datetime.rst:2278 #: ../Doc/library/datetime.rst:2278
msgid ""
"When used with the :meth:`strptime` method, the leading zero is optional "
"for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``, "
"``%W``, and ``%V``. Format ``%y`` does require a leading zero."
msgstr ""
#: ../Doc/library/datetime.rst:2283
msgid "Footnotes" msgid "Footnotes"
msgstr "Notes" msgstr "Notes"
#: ../Doc/library/datetime.rst:2279 #: ../Doc/library/datetime.rst:2284
msgid "If, that is, we ignore the effects of Relativity" msgid "If, that is, we ignore the effects of Relativity"
msgstr "Si on ignore les effets de la Relativité" msgstr "Si on ignore les effets de la Relativité"
#: ../Doc/library/datetime.rst:2280 #: ../Doc/library/datetime.rst:2285
msgid "" msgid ""
"Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since ``1900`` is " "Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since ``1900`` is "
"not a leap year." "not a leap year."
msgstr "" msgstr ""
"Passer ``datetime.strptime(Feb 29, %b %d)`` ne marchera pas car ``1900`` " "Passer ``datetime.strptime(Feb 29, %b %d)`` ne marchera pas car ``1900`` "
"nest pas une année bissextile." "nest pas une année bissextile."
#~ msgid "\\(4)"
#~ msgstr "\\(4)"
#~ msgid "\\(7)"
#~ msgstr "\\(7)"

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-12 18:59+0200\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -612,10 +612,11 @@ msgstr ""
#: ../Doc/library/logging.handlers.rst:472 #: ../Doc/library/logging.handlers.rst:472
msgid "" msgid ""
"Pickles the record's attribute dictionary in binary format with a length " "Pickles the record's attribute dictionary in binary format with a length "
"prefix, and returns it ready for transmission across the socket." "prefix, and returns it ready for transmission across the socket. The details "
"of this operation are equivalent to::"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:475 #: ../Doc/library/logging.handlers.rst:480
msgid "" msgid ""
"Note that pickles aren't completely secure. If you are concerned about " "Note that pickles aren't completely secure. If you are concerned about "
"security, you may want to override this method to implement a more secure " "security, you may want to override this method to implement a more secure "
@ -624,13 +625,20 @@ msgid ""
"objects on the receiving end." "objects on the receiving end."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:484 #: ../Doc/library/logging.handlers.rst:489
msgid "" msgid ""
"Send a pickled string *packet* to the socket. This function allows for " "Send a pickled byte-string *packet* to the socket. The format of the sent "
"partial sends which can happen when the network is busy." "byte-string is as described in the documentation for :meth:`~SocketHandler."
"makePickle`."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:490 #: ../Doc/library/logging.handlers.rst:493
msgid ""
"This function allows for partial sends, which can happen when the network is "
"busy."
msgstr ""
#: ../Doc/library/logging.handlers.rst:499
msgid "" msgid ""
"Tries to create a socket; on failure, uses an exponential back-off " "Tries to create a socket; on failure, uses an exponential back-off "
"algorithm. On initial failure, the handler will drop the message it was " "algorithm. On initial failure, the handler will drop the message it was "
@ -641,23 +649,23 @@ msgid ""
"each time up to a maximum of 30 seconds." "each time up to a maximum of 30 seconds."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:498 #: ../Doc/library/logging.handlers.rst:507
msgid "This behaviour is controlled by the following handler attributes:" msgid "This behaviour is controlled by the following handler attributes:"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:500 #: ../Doc/library/logging.handlers.rst:509
msgid "``retryStart`` (initial delay, defaulting to 1.0 seconds)." msgid "``retryStart`` (initial delay, defaulting to 1.0 seconds)."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:501 #: ../Doc/library/logging.handlers.rst:510
msgid "``retryFactor`` (multiplier, defaulting to 2.0)." msgid "``retryFactor`` (multiplier, defaulting to 2.0)."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:502 #: ../Doc/library/logging.handlers.rst:511
msgid "``retryMax`` (maximum delay, defaulting to 30.0 seconds)." msgid "``retryMax`` (maximum delay, defaulting to 30.0 seconds)."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:504 #: ../Doc/library/logging.handlers.rst:513
msgid "" msgid ""
"This means that if the remote listener starts up *after* the handler has " "This means that if the remote listener starts up *after* the handler has "
"been used, you could lose messages (since the handler won't even attempt a " "been used, you could lose messages (since the handler won't even attempt a "
@ -665,31 +673,31 @@ msgid ""
"during the delay period)." "during the delay period)."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:513 #: ../Doc/library/logging.handlers.rst:522
msgid "DatagramHandler" msgid "DatagramHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:515 #: ../Doc/library/logging.handlers.rst:524
msgid "" msgid ""
"The :class:`DatagramHandler` class, located in the :mod:`logging.handlers` " "The :class:`DatagramHandler` class, located in the :mod:`logging.handlers` "
"module, inherits from :class:`SocketHandler` to support sending logging " "module, inherits from :class:`SocketHandler` to support sending logging "
"messages over UDP sockets." "messages over UDP sockets."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:522 #: ../Doc/library/logging.handlers.rst:531
msgid "" msgid ""
"Returns a new instance of the :class:`DatagramHandler` class intended to " "Returns a new instance of the :class:`DatagramHandler` class intended to "
"communicate with a remote machine whose address is given by *host* and " "communicate with a remote machine whose address is given by *host* and "
"*port*." "*port*."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:525 #: ../Doc/library/logging.handlers.rst:534
msgid "" msgid ""
"If ``port`` is specified as ``None``, a Unix domain socket is created using " "If ``port`` is specified as ``None``, a Unix domain socket is created using "
"the value in ``host`` - otherwise, a UDP socket is created." "the value in ``host`` - otherwise, a UDP socket is created."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:531 #: ../Doc/library/logging.handlers.rst:540
msgid "" msgid ""
"Pickles the record's attribute dictionary and writes it to the socket in " "Pickles the record's attribute dictionary and writes it to the socket in "
"binary format. If there is an error with the socket, silently drops the " "binary format. If there is an error with the socket, silently drops the "
@ -697,27 +705,29 @@ msgid ""
"LogRecord`, use the :func:`~logging.makeLogRecord` function." "LogRecord`, use the :func:`~logging.makeLogRecord` function."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:540 #: ../Doc/library/logging.handlers.rst:549
msgid "" msgid ""
"The factory method of :class:`SocketHandler` is here overridden to create a " "The factory method of :class:`SocketHandler` is here overridden to create a "
"UDP socket (:const:`socket.SOCK_DGRAM`)." "UDP socket (:const:`socket.SOCK_DGRAM`)."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:546 #: ../Doc/library/logging.handlers.rst:555
msgid "Send a pickled string to a socket." msgid ""
"Send a pickled byte-string to a socket. The format of the sent byte-string "
"is as described in the documentation for :meth:`SocketHandler.makePickle`."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:552 #: ../Doc/library/logging.handlers.rst:562
msgid "SysLogHandler" msgid "SysLogHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:554 #: ../Doc/library/logging.handlers.rst:564
msgid "" msgid ""
"The :class:`SysLogHandler` class, located in the :mod:`logging.handlers` " "The :class:`SysLogHandler` class, located in the :mod:`logging.handlers` "
"module, supports sending logging messages to a remote or local Unix syslog." "module, supports sending logging messages to a remote or local Unix syslog."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:560 #: ../Doc/library/logging.handlers.rst:570
msgid "" msgid ""
"Returns a new instance of the :class:`SysLogHandler` class intended to " "Returns a new instance of the :class:`SysLogHandler` class intended to "
"communicate with a remote Unix machine whose address is given by *address* " "communicate with a remote Unix machine whose address is given by *address* "
@ -732,7 +742,7 @@ msgid ""
"rsyslog), specify a value of :const:`socket.SOCK_STREAM`." "rsyslog), specify a value of :const:`socket.SOCK_STREAM`."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:572 #: ../Doc/library/logging.handlers.rst:582
msgid "" msgid ""
"Note that if your server is not listening on UDP port 514, :class:" "Note that if your server is not listening on UDP port 514, :class:"
"`SysLogHandler` may appear not to work. In that case, check what address you " "`SysLogHandler` may appear not to work. In that case, check what address you "
@ -743,21 +753,21 @@ msgid ""
"platforms). On Windows, you pretty much have to use the UDP option." "platforms). On Windows, you pretty much have to use the UDP option."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:581 #: ../Doc/library/logging.handlers.rst:591
msgid "*socktype* was added." msgid "*socktype* was added."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:587 #: ../Doc/library/logging.handlers.rst:597
msgid "Closes the socket to the remote host." msgid "Closes the socket to the remote host."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:592 #: ../Doc/library/logging.handlers.rst:602
msgid "" msgid ""
"The record is formatted, and then sent to the syslog server. If exception " "The record is formatted, and then sent to the syslog server. If exception "
"information is present, it is *not* sent to the server." "information is present, it is *not* sent to the server."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:595 #: ../Doc/library/logging.handlers.rst:605
msgid "" msgid ""
"(See: :issue:`12168`.) In earlier versions, the message sent to the syslog " "(See: :issue:`12168`.) In earlier versions, the message sent to the syslog "
"daemons was always terminated with a NUL byte, because early versions of " "daemons was always terminated with a NUL byte, because early versions of "
@ -768,7 +778,7 @@ msgid ""
"byte on as part of the message." "byte on as part of the message."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:604 #: ../Doc/library/logging.handlers.rst:614
msgid "" msgid ""
"To enable easier handling of syslog messages in the face of all these " "To enable easier handling of syslog messages in the face of all these "
"differing daemon behaviours, the appending of the NUL byte has been made " "differing daemon behaviours, the appending of the NUL byte has been made "
@ -778,7 +788,7 @@ msgid ""
"*not* append the NUL terminator." "*not* append the NUL terminator."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:611 #: ../Doc/library/logging.handlers.rst:621
msgid "" msgid ""
"(See: :issue:`12419`.) In earlier versions, there was no facility for an " "(See: :issue:`12419`.) In earlier versions, there was no facility for an "
"\"ident\" or \"tag\" prefix to identify the source of the message. This can " "\"ident\" or \"tag\" prefix to identify the source of the message. This can "
@ -789,262 +799,262 @@ msgid ""
"bytes, and is prepended to the message exactly as is." "bytes, and is prepended to the message exactly as is."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:622 #: ../Doc/library/logging.handlers.rst:632
msgid "" msgid ""
"Encodes the facility and priority into an integer. You can pass in strings " "Encodes the facility and priority into an integer. You can pass in strings "
"or integers - if strings are passed, internal mapping dictionaries are used " "or integers - if strings are passed, internal mapping dictionaries are used "
"to convert them to integers." "to convert them to integers."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:626 #: ../Doc/library/logging.handlers.rst:636
msgid "" msgid ""
"The symbolic ``LOG_`` values are defined in :class:`SysLogHandler` and " "The symbolic ``LOG_`` values are defined in :class:`SysLogHandler` and "
"mirror the values defined in the ``sys/syslog.h`` header file." "mirror the values defined in the ``sys/syslog.h`` header file."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:629 #: ../Doc/library/logging.handlers.rst:639
msgid "**Priorities**" msgid "**Priorities**"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:632 #: ../Doc/library/logging.handlers.rst:642
#: ../Doc/library/logging.handlers.rst:654 #: ../Doc/library/logging.handlers.rst:664
msgid "Name (string)" msgid "Name (string)"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:632 #: ../Doc/library/logging.handlers.rst:642
#: ../Doc/library/logging.handlers.rst:654 #: ../Doc/library/logging.handlers.rst:664
msgid "Symbolic value" msgid "Symbolic value"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:634 #: ../Doc/library/logging.handlers.rst:644
msgid "``alert``" msgid "``alert``"
msgstr "``alert``" msgstr "``alert``"
#: ../Doc/library/logging.handlers.rst:634 #: ../Doc/library/logging.handlers.rst:644
msgid "LOG_ALERT" msgid "LOG_ALERT"
msgstr "LOG_ALERT" msgstr "LOG_ALERT"
#: ../Doc/library/logging.handlers.rst:636 #: ../Doc/library/logging.handlers.rst:646
msgid "``crit`` or ``critical``" msgid "``crit`` or ``critical``"
msgstr "``crit`` ou ``critical``" msgstr "``crit`` ou ``critical``"
#: ../Doc/library/logging.handlers.rst:636 #: ../Doc/library/logging.handlers.rst:646
msgid "LOG_CRIT" msgid "LOG_CRIT"
msgstr "LOG_CRIT" msgstr "LOG_CRIT"
#: ../Doc/library/logging.handlers.rst:638 #: ../Doc/library/logging.handlers.rst:648
msgid "``debug``" msgid "``debug``"
msgstr "``debug``" msgstr "``debug``"
#: ../Doc/library/logging.handlers.rst:638 #: ../Doc/library/logging.handlers.rst:648
msgid "LOG_DEBUG" msgid "LOG_DEBUG"
msgstr "LOG_DEBUG" msgstr "LOG_DEBUG"
#: ../Doc/library/logging.handlers.rst:640 #: ../Doc/library/logging.handlers.rst:650
msgid "``emerg`` or ``panic``" msgid "``emerg`` or ``panic``"
msgstr "``emerg`` ou ``panic``" msgstr "``emerg`` ou ``panic``"
#: ../Doc/library/logging.handlers.rst:640 #: ../Doc/library/logging.handlers.rst:650
msgid "LOG_EMERG" msgid "LOG_EMERG"
msgstr "LOG_EMERG" msgstr "LOG_EMERG"
#: ../Doc/library/logging.handlers.rst:642 #: ../Doc/library/logging.handlers.rst:652
msgid "``err`` or ``error``" msgid "``err`` or ``error``"
msgstr "``err`` ou ``error``" msgstr "``err`` ou ``error``"
#: ../Doc/library/logging.handlers.rst:642 #: ../Doc/library/logging.handlers.rst:652
msgid "LOG_ERR" msgid "LOG_ERR"
msgstr "LOG_ERR" msgstr "LOG_ERR"
#: ../Doc/library/logging.handlers.rst:644 #: ../Doc/library/logging.handlers.rst:654
msgid "``info``" msgid "``info``"
msgstr "``info``" msgstr "``info``"
#: ../Doc/library/logging.handlers.rst:644 #: ../Doc/library/logging.handlers.rst:654
msgid "LOG_INFO" msgid "LOG_INFO"
msgstr "LOG_INFO" msgstr "LOG_INFO"
#: ../Doc/library/logging.handlers.rst:646 #: ../Doc/library/logging.handlers.rst:656
msgid "``notice``" msgid "``notice``"
msgstr "``notice``" msgstr "``notice``"
#: ../Doc/library/logging.handlers.rst:646 #: ../Doc/library/logging.handlers.rst:656
msgid "LOG_NOTICE" msgid "LOG_NOTICE"
msgstr "LOG_NOTICE" msgstr "LOG_NOTICE"
#: ../Doc/library/logging.handlers.rst:648 #: ../Doc/library/logging.handlers.rst:658
msgid "``warn`` or ``warning``" msgid "``warn`` or ``warning``"
msgstr "``warn`` ou ``warning``" msgstr "``warn`` ou ``warning``"
#: ../Doc/library/logging.handlers.rst:648 #: ../Doc/library/logging.handlers.rst:658
msgid "LOG_WARNING" msgid "LOG_WARNING"
msgstr "LOG_WARNING" msgstr "LOG_WARNING"
#: ../Doc/library/logging.handlers.rst:651 #: ../Doc/library/logging.handlers.rst:661
msgid "**Facilities**" msgid "**Facilities**"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:656 #: ../Doc/library/logging.handlers.rst:666
msgid "``auth``" msgid "``auth``"
msgstr "``auth``" msgstr "``auth``"
#: ../Doc/library/logging.handlers.rst:656 #: ../Doc/library/logging.handlers.rst:666
msgid "LOG_AUTH" msgid "LOG_AUTH"
msgstr "LOG_AUTH" msgstr "LOG_AUTH"
#: ../Doc/library/logging.handlers.rst:658 #: ../Doc/library/logging.handlers.rst:668
msgid "``authpriv``" msgid "``authpriv``"
msgstr "``authpriv``" msgstr "``authpriv``"
#: ../Doc/library/logging.handlers.rst:658 #: ../Doc/library/logging.handlers.rst:668
msgid "LOG_AUTHPRIV" msgid "LOG_AUTHPRIV"
msgstr "LOG_AUTHPRIV" msgstr "LOG_AUTHPRIV"
#: ../Doc/library/logging.handlers.rst:660 #: ../Doc/library/logging.handlers.rst:670
msgid "``cron``" msgid "``cron``"
msgstr "``cron``" msgstr "``cron``"
#: ../Doc/library/logging.handlers.rst:660 #: ../Doc/library/logging.handlers.rst:670
msgid "LOG_CRON" msgid "LOG_CRON"
msgstr "LOG_CRON" msgstr "LOG_CRON"
#: ../Doc/library/logging.handlers.rst:662 #: ../Doc/library/logging.handlers.rst:672
msgid "``daemon``" msgid "``daemon``"
msgstr "``daemon``" msgstr "``daemon``"
#: ../Doc/library/logging.handlers.rst:662 #: ../Doc/library/logging.handlers.rst:672
msgid "LOG_DAEMON" msgid "LOG_DAEMON"
msgstr "LOG_DAEMON" msgstr "LOG_DAEMON"
#: ../Doc/library/logging.handlers.rst:664 #: ../Doc/library/logging.handlers.rst:674
msgid "``ftp``" msgid "``ftp``"
msgstr "``ftp``" msgstr "``ftp``"
#: ../Doc/library/logging.handlers.rst:664 #: ../Doc/library/logging.handlers.rst:674
msgid "LOG_FTP" msgid "LOG_FTP"
msgstr "LOG_FTP" msgstr "LOG_FTP"
#: ../Doc/library/logging.handlers.rst:666 #: ../Doc/library/logging.handlers.rst:676
msgid "``kern``" msgid "``kern``"
msgstr "``kern``" msgstr "``kern``"
#: ../Doc/library/logging.handlers.rst:666 #: ../Doc/library/logging.handlers.rst:676
msgid "LOG_KERN" msgid "LOG_KERN"
msgstr "LOG_KERN" msgstr "LOG_KERN"
#: ../Doc/library/logging.handlers.rst:668 #: ../Doc/library/logging.handlers.rst:678
msgid "``lpr``" msgid "``lpr``"
msgstr "``lpr``" msgstr "``lpr``"
#: ../Doc/library/logging.handlers.rst:668 #: ../Doc/library/logging.handlers.rst:678
msgid "LOG_LPR" msgid "LOG_LPR"
msgstr "LOG_LPR" msgstr "LOG_LPR"
#: ../Doc/library/logging.handlers.rst:670 #: ../Doc/library/logging.handlers.rst:680
msgid "``mail``" msgid "``mail``"
msgstr "``mail``" msgstr "``mail``"
#: ../Doc/library/logging.handlers.rst:670 #: ../Doc/library/logging.handlers.rst:680
msgid "LOG_MAIL" msgid "LOG_MAIL"
msgstr "LOG_MAIL" msgstr "LOG_MAIL"
#: ../Doc/library/logging.handlers.rst:672 #: ../Doc/library/logging.handlers.rst:682
msgid "``news``" msgid "``news``"
msgstr "``news``" msgstr "``news``"
#: ../Doc/library/logging.handlers.rst:672 #: ../Doc/library/logging.handlers.rst:682
msgid "LOG_NEWS" msgid "LOG_NEWS"
msgstr "LOG_NEWS" msgstr "LOG_NEWS"
#: ../Doc/library/logging.handlers.rst:674 #: ../Doc/library/logging.handlers.rst:684
msgid "``syslog``" msgid "``syslog``"
msgstr "``syslog``" msgstr "``syslog``"
#: ../Doc/library/logging.handlers.rst:674 #: ../Doc/library/logging.handlers.rst:684
msgid "LOG_SYSLOG" msgid "LOG_SYSLOG"
msgstr "LOG_SYSLOG" msgstr "LOG_SYSLOG"
#: ../Doc/library/logging.handlers.rst:676 #: ../Doc/library/logging.handlers.rst:686
msgid "``user``" msgid "``user``"
msgstr "``user``" msgstr "``user``"
#: ../Doc/library/logging.handlers.rst:676 #: ../Doc/library/logging.handlers.rst:686
msgid "LOG_USER" msgid "LOG_USER"
msgstr "LOG_USER" msgstr "LOG_USER"
#: ../Doc/library/logging.handlers.rst:678 #: ../Doc/library/logging.handlers.rst:688
msgid "``uucp``" msgid "``uucp``"
msgstr "``uucp``" msgstr "``uucp``"
#: ../Doc/library/logging.handlers.rst:678 #: ../Doc/library/logging.handlers.rst:688
msgid "LOG_UUCP" msgid "LOG_UUCP"
msgstr "LOG_UUCP" msgstr "LOG_UUCP"
#: ../Doc/library/logging.handlers.rst:680 #: ../Doc/library/logging.handlers.rst:690
msgid "``local0``" msgid "``local0``"
msgstr "``local0``" msgstr "``local0``"
#: ../Doc/library/logging.handlers.rst:680 #: ../Doc/library/logging.handlers.rst:690
msgid "LOG_LOCAL0" msgid "LOG_LOCAL0"
msgstr "LOG_LOCAL0" msgstr "LOG_LOCAL0"
#: ../Doc/library/logging.handlers.rst:682 #: ../Doc/library/logging.handlers.rst:692
msgid "``local1``" msgid "``local1``"
msgstr "``local1``" msgstr "``local1``"
#: ../Doc/library/logging.handlers.rst:682 #: ../Doc/library/logging.handlers.rst:692
msgid "LOG_LOCAL1" msgid "LOG_LOCAL1"
msgstr "LOG_LOCAL1" msgstr "LOG_LOCAL1"
#: ../Doc/library/logging.handlers.rst:684 #: ../Doc/library/logging.handlers.rst:694
msgid "``local2``" msgid "``local2``"
msgstr "``local2``" msgstr "``local2``"
#: ../Doc/library/logging.handlers.rst:684 #: ../Doc/library/logging.handlers.rst:694
msgid "LOG_LOCAL2" msgid "LOG_LOCAL2"
msgstr "LOG_LOCAL2" msgstr "LOG_LOCAL2"
#: ../Doc/library/logging.handlers.rst:686 #: ../Doc/library/logging.handlers.rst:696
msgid "``local3``" msgid "``local3``"
msgstr "``local3``" msgstr "``local3``"
#: ../Doc/library/logging.handlers.rst:686 #: ../Doc/library/logging.handlers.rst:696
msgid "LOG_LOCAL3" msgid "LOG_LOCAL3"
msgstr "LOG_LOCAL3" msgstr "LOG_LOCAL3"
#: ../Doc/library/logging.handlers.rst:688 #: ../Doc/library/logging.handlers.rst:698
msgid "``local4``" msgid "``local4``"
msgstr "``local4``" msgstr "``local4``"
#: ../Doc/library/logging.handlers.rst:688 #: ../Doc/library/logging.handlers.rst:698
msgid "LOG_LOCAL4" msgid "LOG_LOCAL4"
msgstr "LOG_LOCAL4" msgstr "LOG_LOCAL4"
#: ../Doc/library/logging.handlers.rst:690 #: ../Doc/library/logging.handlers.rst:700
msgid "``local5``" msgid "``local5``"
msgstr "``local5``" msgstr "``local5``"
#: ../Doc/library/logging.handlers.rst:690 #: ../Doc/library/logging.handlers.rst:700
msgid "LOG_LOCAL5" msgid "LOG_LOCAL5"
msgstr "LOG_LOCAL5" msgstr "LOG_LOCAL5"
#: ../Doc/library/logging.handlers.rst:692 #: ../Doc/library/logging.handlers.rst:702
msgid "``local6``" msgid "``local6``"
msgstr "``local6``" msgstr "``local6``"
#: ../Doc/library/logging.handlers.rst:692 #: ../Doc/library/logging.handlers.rst:702
msgid "LOG_LOCAL6" msgid "LOG_LOCAL6"
msgstr "LOG_LOCAL6" msgstr "LOG_LOCAL6"
#: ../Doc/library/logging.handlers.rst:694 #: ../Doc/library/logging.handlers.rst:704
msgid "``local7``" msgid "``local7``"
msgstr "``local7``" msgstr "``local7``"
#: ../Doc/library/logging.handlers.rst:694 #: ../Doc/library/logging.handlers.rst:704
msgid "LOG_LOCAL7" msgid "LOG_LOCAL7"
msgstr "LOG_LOCAL7" msgstr "LOG_LOCAL7"
#: ../Doc/library/logging.handlers.rst:699 #: ../Doc/library/logging.handlers.rst:709
msgid "" msgid ""
"Maps a logging level name to a syslog priority name. You may need to " "Maps a logging level name to a syslog priority name. You may need to "
"override this if you are using custom levels, or if the default algorithm is " "override this if you are using custom levels, or if the default algorithm is "
@ -1053,11 +1063,11 @@ msgid ""
"all other level names to 'warning'." "all other level names to 'warning'."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:709 #: ../Doc/library/logging.handlers.rst:719
msgid "NTEventLogHandler" msgid "NTEventLogHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:711 #: ../Doc/library/logging.handlers.rst:721
msgid "" msgid ""
"The :class:`NTEventLogHandler` class, located in the :mod:`logging.handlers` " "The :class:`NTEventLogHandler` class, located in the :mod:`logging.handlers` "
"module, supports sending logging messages to a local Windows NT, Windows " "module, supports sending logging messages to a local Windows NT, Windows "
@ -1065,7 +1075,7 @@ msgid ""
"Win32 extensions for Python installed." "Win32 extensions for Python installed."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:719 #: ../Doc/library/logging.handlers.rst:729
msgid "" msgid ""
"Returns a new instance of the :class:`NTEventLogHandler` class. The " "Returns a new instance of the :class:`NTEventLogHandler` class. The "
"*appname* is used to define the application name as it appears in the event " "*appname* is used to define the application name as it appears in the event "
@ -1081,7 +1091,7 @@ msgid ""
"or ``'Security'``, and defaults to ``'Application'``." "or ``'Security'``, and defaults to ``'Application'``."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:735 #: ../Doc/library/logging.handlers.rst:745
msgid "" msgid ""
"At this point, you can remove the application name from the registry as a " "At this point, you can remove the application name from the registry as a "
"source of event log entries. However, if you do this, you will not be able " "source of event log entries. However, if you do this, you will not be able "
@ -1090,19 +1100,19 @@ msgid ""
"not do this." "not do this."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:744 #: ../Doc/library/logging.handlers.rst:754
msgid "" msgid ""
"Determines the message ID, event category and event type, and then logs the " "Determines the message ID, event category and event type, and then logs the "
"message in the NT event log." "message in the NT event log."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:750 #: ../Doc/library/logging.handlers.rst:760
msgid "" msgid ""
"Returns the event category for the record. Override this if you want to " "Returns the event category for the record. Override this if you want to "
"specify your own categories. This version returns 0." "specify your own categories. This version returns 0."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:756 #: ../Doc/library/logging.handlers.rst:766
msgid "" msgid ""
"Returns the event type for the record. Override this if you want to specify " "Returns the event type for the record. Override this if you want to specify "
"your own types. This version does a mapping using the handler's typemap " "your own types. This version does a mapping using the handler's typemap "
@ -1113,7 +1123,7 @@ msgid ""
"the handler's *typemap* attribute." "the handler's *typemap* attribute."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:767 #: ../Doc/library/logging.handlers.rst:777
msgid "" msgid ""
"Returns the message ID for the record. If you are using your own messages, " "Returns the message ID for the record. If you are using your own messages, "
"you could do this by having the *msg* passed to the logger being an ID " "you could do this by having the *msg* passed to the logger being an ID "
@ -1122,17 +1132,17 @@ msgid ""
"message ID in :file:`win32service.pyd`." "message ID in :file:`win32service.pyd`."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:776 #: ../Doc/library/logging.handlers.rst:786
msgid "SMTPHandler" msgid "SMTPHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:778 #: ../Doc/library/logging.handlers.rst:788
msgid "" msgid ""
"The :class:`SMTPHandler` class, located in the :mod:`logging.handlers` " "The :class:`SMTPHandler` class, located in the :mod:`logging.handlers` "
"module, supports sending logging messages to an email address via SMTP." "module, supports sending logging messages to an email address via SMTP."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:784 #: ../Doc/library/logging.handlers.rst:794
msgid "" msgid ""
"Returns a new instance of the :class:`SMTPHandler` class. The instance is " "Returns a new instance of the :class:`SMTPHandler` class. The instance is "
"initialized with the from and to addresses and subject line of the email. " "initialized with the from and to addresses and subject line of the email. "
@ -1143,7 +1153,7 @@ msgid ""
"*credentials* argument." "*credentials* argument."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:791 #: ../Doc/library/logging.handlers.rst:801
msgid "" msgid ""
"To specify the use of a secure protocol (TLS), pass in a tuple to the " "To specify the use of a secure protocol (TLS), pass in a tuple to the "
"*secure* argument. This will only be used when authentication credentials " "*secure* argument. This will only be used when authentication credentials "
@ -1153,31 +1163,31 @@ msgid ""
"SMTP.starttls` method.)" "SMTP.starttls` method.)"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:798 #: ../Doc/library/logging.handlers.rst:808
msgid "" msgid ""
"A timeout can be specified for communication with the SMTP server using the " "A timeout can be specified for communication with the SMTP server using the "
"*timeout* argument." "*timeout* argument."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:801 #: ../Doc/library/logging.handlers.rst:811
msgid "The *timeout* argument was added." msgid "The *timeout* argument was added."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:806 #: ../Doc/library/logging.handlers.rst:816
msgid "Formats the record and sends it to the specified addressees." msgid "Formats the record and sends it to the specified addressees."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:811 #: ../Doc/library/logging.handlers.rst:821
msgid "" msgid ""
"If you want to specify a subject line which is record-dependent, override " "If you want to specify a subject line which is record-dependent, override "
"this method." "this method."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:817 #: ../Doc/library/logging.handlers.rst:827
msgid "MemoryHandler" msgid "MemoryHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:819 #: ../Doc/library/logging.handlers.rst:829
msgid "" msgid ""
"The :class:`MemoryHandler` class, located in the :mod:`logging.handlers` " "The :class:`MemoryHandler` class, located in the :mod:`logging.handlers` "
"module, supports buffering of logging records in memory, periodically " "module, supports buffering of logging records in memory, periodically "
@ -1185,7 +1195,7 @@ msgid ""
"buffer is full, or when an event of a certain severity or greater is seen." "buffer is full, or when an event of a certain severity or greater is seen."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:824 #: ../Doc/library/logging.handlers.rst:834
msgid "" msgid ""
":class:`MemoryHandler` is a subclass of the more general :class:" ":class:`MemoryHandler` is a subclass of the more general :class:"
"`BufferingHandler`, which is an abstract class. This buffers logging records " "`BufferingHandler`, which is an abstract class. This buffers logging records "
@ -1194,29 +1204,29 @@ msgid ""
"should, then :meth:`flush` is expected to do the flushing." "should, then :meth:`flush` is expected to do the flushing."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:833 #: ../Doc/library/logging.handlers.rst:843
msgid "Initializes the handler with a buffer of the specified capacity." msgid "Initializes the handler with a buffer of the specified capacity."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:838 #: ../Doc/library/logging.handlers.rst:848
msgid "" msgid ""
"Appends the record to the buffer. If :meth:`shouldFlush` returns true, " "Appends the record to the buffer. If :meth:`shouldFlush` returns true, "
"calls :meth:`flush` to process the buffer." "calls :meth:`flush` to process the buffer."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:844 #: ../Doc/library/logging.handlers.rst:854
msgid "" msgid ""
"You can override this to implement custom flushing behavior. This version " "You can override this to implement custom flushing behavior. This version "
"just zaps the buffer to empty." "just zaps the buffer to empty."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:850 #: ../Doc/library/logging.handlers.rst:860
msgid "" msgid ""
"Returns true if the buffer is up to capacity. This method can be overridden " "Returns true if the buffer is up to capacity. This method can be overridden "
"to implement custom flushing strategies." "to implement custom flushing strategies."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:856 #: ../Doc/library/logging.handlers.rst:866
msgid "" msgid ""
"Returns a new instance of the :class:`MemoryHandler` class. The instance is " "Returns a new instance of the :class:`MemoryHandler` class. The instance is "
"initialized with a buffer size of *capacity*. If *flushLevel* is not " "initialized with a buffer size of *capacity*. If *flushLevel* is not "
@ -1228,41 +1238,41 @@ msgid ""
"occur when the handler is closed." "occur when the handler is closed."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:864 #: ../Doc/library/logging.handlers.rst:874
msgid "The *flushOnClose* parameter was added." msgid "The *flushOnClose* parameter was added."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:870 #: ../Doc/library/logging.handlers.rst:880
msgid "Calls :meth:`flush`, sets the target to ``None`` and clears the buffer." msgid "Calls :meth:`flush`, sets the target to ``None`` and clears the buffer."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:876 #: ../Doc/library/logging.handlers.rst:886
msgid "" msgid ""
"For a :class:`MemoryHandler`, flushing means just sending the buffered " "For a :class:`MemoryHandler`, flushing means just sending the buffered "
"records to the target, if there is one. The buffer is also cleared when this " "records to the target, if there is one. The buffer is also cleared when this "
"happens. Override if you want different behavior." "happens. Override if you want different behavior."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:883 #: ../Doc/library/logging.handlers.rst:893
msgid "Sets the target handler for this handler." msgid "Sets the target handler for this handler."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:888 #: ../Doc/library/logging.handlers.rst:898
msgid "Checks for buffer full or a record at the *flushLevel* or higher." msgid "Checks for buffer full or a record at the *flushLevel* or higher."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:894 #: ../Doc/library/logging.handlers.rst:904
msgid "HTTPHandler" msgid "HTTPHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:896 #: ../Doc/library/logging.handlers.rst:906
msgid "" msgid ""
"The :class:`HTTPHandler` class, located in the :mod:`logging.handlers` " "The :class:`HTTPHandler` class, located in the :mod:`logging.handlers` "
"module, supports sending logging messages to a Web server, using either " "module, supports sending logging messages to a Web server, using either "
"``GET`` or ``POST`` semantics." "``GET`` or ``POST`` semantics."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:903 #: ../Doc/library/logging.handlers.rst:913
msgid "" msgid ""
"Returns a new instance of the :class:`HTTPHandler` class. The *host* can be " "Returns a new instance of the :class:`HTTPHandler` class. The *host* can be "
"of the form ``host:port``, should you need to use a specific port number. " "of the form ``host:port``, should you need to use a specific port number. "
@ -1276,11 +1286,11 @@ msgid ""
"cleartext across the wire." "cleartext across the wire."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:914 #: ../Doc/library/logging.handlers.rst:924
msgid "The *context* parameter was added." msgid "The *context* parameter was added."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:919 #: ../Doc/library/logging.handlers.rst:929
msgid "" msgid ""
"Provides a dictionary, based on ``record``, which is to be URL-encoded and " "Provides a dictionary, based on ``record``, which is to be URL-encoded and "
"sent to the web server. The default implementation just returns ``record." "sent to the web server. The default implementation just returns ``record."
@ -1289,14 +1299,14 @@ msgid ""
"customization of what's sent to the server is required." "customization of what's sent to the server is required."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:927 #: ../Doc/library/logging.handlers.rst:937
msgid "" msgid ""
"Sends the record to the Web server as a URL-encoded dictionary. The :meth:" "Sends the record to the Web server as a URL-encoded dictionary. The :meth:"
"`mapLogRecord` method is used to convert the record to the dictionary to be " "`mapLogRecord` method is used to convert the record to the dictionary to be "
"sent." "sent."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:931 #: ../Doc/library/logging.handlers.rst:941
msgid "" msgid ""
"Since preparing a record for sending it to a Web server is not the same as a " "Since preparing a record for sending it to a Web server is not the same as a "
"generic formatting operation, using :meth:`~logging.Handler.setFormatter` to " "generic formatting operation, using :meth:`~logging.Handler.setFormatter` to "
@ -1306,18 +1316,18 @@ msgid ""
"the dictionary in a form suitable for sending to a Web server." "the dictionary in a form suitable for sending to a Web server."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:944 #: ../Doc/library/logging.handlers.rst:954
msgid "QueueHandler" msgid "QueueHandler"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:948 #: ../Doc/library/logging.handlers.rst:958
msgid "" msgid ""
"The :class:`QueueHandler` class, located in the :mod:`logging.handlers` " "The :class:`QueueHandler` class, located in the :mod:`logging.handlers` "
"module, supports sending logging messages to a queue, such as those " "module, supports sending logging messages to a queue, such as those "
"implemented in the :mod:`queue` or :mod:`multiprocessing` modules." "implemented in the :mod:`queue` or :mod:`multiprocessing` modules."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:952 #: ../Doc/library/logging.handlers.rst:962
msgid "" msgid ""
"Along with the :class:`QueueListener` class, :class:`QueueHandler` can be " "Along with the :class:`QueueListener` class, :class:`QueueHandler` can be "
"used to let handlers do their work on a separate thread from the one which " "used to let handlers do their work on a separate thread from the one which "
@ -1327,7 +1337,7 @@ msgid ""
"an email via :class:`SMTPHandler`) are done on a separate thread." "an email via :class:`SMTPHandler`) are done on a separate thread."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:961 #: ../Doc/library/logging.handlers.rst:971
msgid "" msgid ""
"Returns a new instance of the :class:`QueueHandler` class. The instance is " "Returns a new instance of the :class:`QueueHandler` class. The instance is "
"initialized with the queue to send messages to. The queue can be any queue-" "initialized with the queue to send messages to. The queue can be any queue-"
@ -1335,42 +1345,42 @@ msgid ""
"know how to send messages to it." "know how to send messages to it."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:969 #: ../Doc/library/logging.handlers.rst:979
msgid "Enqueues the result of preparing the LogRecord." msgid "Enqueues the result of preparing the LogRecord."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:973 #: ../Doc/library/logging.handlers.rst:983
msgid "" msgid ""
"Prepares a record for queuing. The object returned by this method is " "Prepares a record for queuing. The object returned by this method is "
"enqueued." "enqueued."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:976 #: ../Doc/library/logging.handlers.rst:986
msgid "" msgid ""
"The base implementation formats the record to merge the message, arguments, " "The base implementation formats the record to merge the message, arguments, "
"and exception information, if present. It also removes unpickleable items " "and exception information, if present. It also removes unpickleable items "
"from the record in-place." "from the record in-place."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:980 #: ../Doc/library/logging.handlers.rst:990
msgid "" msgid ""
"You might want to override this method if you want to convert the record to " "You might want to override this method if you want to convert the record to "
"a dict or JSON string, or send a modified copy of the record while leaving " "a dict or JSON string, or send a modified copy of the record while leaving "
"the original intact." "the original intact."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:986 #: ../Doc/library/logging.handlers.rst:996
msgid "" msgid ""
"Enqueues the record on the queue using ``put_nowait()``; you may want to " "Enqueues the record on the queue using ``put_nowait()``; you may want to "
"override this if you want to use blocking behaviour, or a timeout, or a " "override this if you want to use blocking behaviour, or a timeout, or a "
"customized queue implementation." "customized queue implementation."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:995 #: ../Doc/library/logging.handlers.rst:1005
msgid "QueueListener" msgid "QueueListener"
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:999 #: ../Doc/library/logging.handlers.rst:1009
msgid "" msgid ""
"The :class:`QueueListener` class, located in the :mod:`logging.handlers` " "The :class:`QueueListener` class, located in the :mod:`logging.handlers` "
"module, supports receiving logging messages from a queue, such as those " "module, supports receiving logging messages from a queue, such as those "
@ -1381,7 +1391,7 @@ msgid ""
"works hand-in-hand with :class:`QueueHandler`." "works hand-in-hand with :class:`QueueHandler`."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1007 #: ../Doc/library/logging.handlers.rst:1017
msgid "" msgid ""
"Along with the :class:`QueueHandler` class, :class:`QueueListener` can be " "Along with the :class:`QueueHandler` class, :class:`QueueListener` can be "
"used to let handlers do their work on a separate thread from the one which " "used to let handlers do their work on a separate thread from the one which "
@ -1391,7 +1401,7 @@ msgid ""
"an email via :class:`SMTPHandler`) are done on a separate thread." "an email via :class:`SMTPHandler`) are done on a separate thread."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1016 #: ../Doc/library/logging.handlers.rst:1026
msgid "" msgid ""
"Returns a new instance of the :class:`QueueListener` class. The instance is " "Returns a new instance of the :class:`QueueListener` class. The instance is "
"initialized with the queue to send messages to and a list of handlers which " "initialized with the queue to send messages to and a list of handlers which "
@ -1404,82 +1414,82 @@ msgid ""
"handler." "handler."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1026 #: ../Doc/library/logging.handlers.rst:1036
msgid "The ``respect_handler_levels`` argument was added." msgid "The ``respect_handler_levels`` argument was added."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1031 #: ../Doc/library/logging.handlers.rst:1041
msgid "Dequeues a record and return it, optionally blocking." msgid "Dequeues a record and return it, optionally blocking."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1033 #: ../Doc/library/logging.handlers.rst:1043
msgid "" msgid ""
"The base implementation uses ``get()``. You may want to override this method " "The base implementation uses ``get()``. You may want to override this method "
"if you want to use timeouts or work with custom queue implementations." "if you want to use timeouts or work with custom queue implementations."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1039 #: ../Doc/library/logging.handlers.rst:1049
msgid "Prepare a record for handling." msgid "Prepare a record for handling."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1041 #: ../Doc/library/logging.handlers.rst:1051
msgid "" msgid ""
"This implementation just returns the passed-in record. You may want to " "This implementation just returns the passed-in record. You may want to "
"override this method if you need to do any custom marshalling or " "override this method if you need to do any custom marshalling or "
"manipulation of the record before passing it to the handlers." "manipulation of the record before passing it to the handlers."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1047 #: ../Doc/library/logging.handlers.rst:1057
msgid "Handle a record." msgid "Handle a record."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1049 #: ../Doc/library/logging.handlers.rst:1059
msgid "" msgid ""
"This just loops through the handlers offering them the record to handle. The " "This just loops through the handlers offering them the record to handle. The "
"actual object passed to the handlers is that which is returned from :meth:" "actual object passed to the handlers is that which is returned from :meth:"
"`prepare`." "`prepare`."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1055 #: ../Doc/library/logging.handlers.rst:1065
msgid "Starts the listener." msgid "Starts the listener."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1057 #: ../Doc/library/logging.handlers.rst:1067
msgid "" msgid ""
"This starts up a background thread to monitor the queue for LogRecords to " "This starts up a background thread to monitor the queue for LogRecords to "
"process." "process."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1062 #: ../Doc/library/logging.handlers.rst:1072
msgid "Stops the listener." msgid "Stops the listener."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1064 #: ../Doc/library/logging.handlers.rst:1074
msgid "" msgid ""
"This asks the thread to terminate, and then waits for it to do so. Note that " "This asks the thread to terminate, and then waits for it to do so. Note that "
"if you don't call this before your application exits, there may be some " "if you don't call this before your application exits, there may be some "
"records still left on the queue, which won't be processed." "records still left on the queue, which won't be processed."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1070 #: ../Doc/library/logging.handlers.rst:1080
msgid "" msgid ""
"Writes a sentinel to the queue to tell the listener to quit. This " "Writes a sentinel to the queue to tell the listener to quit. This "
"implementation uses ``put_nowait()``. You may want to override this method " "implementation uses ``put_nowait()``. You may want to override this method "
"if you want to use timeouts or work with custom queue implementations." "if you want to use timeouts or work with custom queue implementations."
msgstr "" msgstr ""
#: ../Doc/library/logging.handlers.rst:1081 #: ../Doc/library/logging.handlers.rst:1091
msgid "Module :mod:`logging`" msgid "Module :mod:`logging`"
msgstr "Module :mod:`logging`" msgstr "Module :mod:`logging`"
#: ../Doc/library/logging.handlers.rst:1081 #: ../Doc/library/logging.handlers.rst:1091
msgid "API reference for the logging module." msgid "API reference for the logging module."
msgstr "Référence d'API pour le module de journalisation." msgstr "Référence d'API pour le module de journalisation."
#: ../Doc/library/logging.handlers.rst:1083 #: ../Doc/library/logging.handlers.rst:1093
msgid "Module :mod:`logging.config`" msgid "Module :mod:`logging.config`"
msgstr "Module :mod:`logging.config`" msgstr "Module :mod:`logging.config`"
#: ../Doc/library/logging.handlers.rst:1084 #: ../Doc/library/logging.handlers.rst:1094
msgid "Configuration API for the logging module." msgid "Configuration API for the logging module."
msgstr "API de configuration pour le module de journalisation." msgstr "API de configuration pour le module de journalisation."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-11-29 16:06+0100\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: 2018-07-05 11:54+0200\n" "PO-Revision-Date: 2018-07-05 11:54+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -102,10 +102,10 @@ msgstr ""
#: ../Doc/library/logging.rst:53 #: ../Doc/library/logging.rst:53
msgid "" msgid ""
"Loggers have the following attributes and methods. Note that Loggers are " "Loggers have the following attributes and methods. Note that Loggers should "
"never instantiated directly, but always through the module-level function " "*NEVER* be instantiated directly, but always through the module-level "
"``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the " "function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` "
"same name will always return a reference to the same Logger object." "with the same name will always return a reference to the same Logger object."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:58 #: ../Doc/library/logging.rst:58
@ -1667,29 +1667,32 @@ msgid ""
"logger. The class should define :meth:`__init__` such that only a name " "logger. The class should define :meth:`__init__` such that only a name "
"argument is required, and the :meth:`__init__` should call :meth:`Logger." "argument is required, and the :meth:`__init__` should call :meth:`Logger."
"__init__`. This function is typically called before any loggers are " "__init__`. This function is typically called before any loggers are "
"instantiated by applications which need to use custom logger behavior." "instantiated by applications which need to use custom logger behavior. After "
msgstr "" "this call, as at any other time, do not instantiate loggers directly using "
"the subclass: continue to use the :func:`logging.getLogger` API to get your "
#: ../Doc/library/logging.rst:1199 "loggers."
msgid "Set a callable which is used to create a :class:`LogRecord`."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1201 #: ../Doc/library/logging.rst:1201
msgid "The factory callable to be used to instantiate a log record." msgid "Set a callable which is used to create a :class:`LogRecord`."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1203 #: ../Doc/library/logging.rst:1203
msgid "The factory callable to be used to instantiate a log record."
msgstr ""
#: ../Doc/library/logging.rst:1205
msgid "" msgid ""
"This function has been provided, along with :func:`getLogRecordFactory`, to " "This function has been provided, along with :func:`getLogRecordFactory`, to "
"allow developers more control over how the :class:`LogRecord` representing a " "allow developers more control over how the :class:`LogRecord` representing a "
"logging event is constructed." "logging event is constructed."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1208 #: ../Doc/library/logging.rst:1210
msgid "The factory has the following signature:" msgid "The factory has the following signature:"
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1210 #: ../Doc/library/logging.rst:1212
msgid "" msgid ""
"``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, " "``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, "
"**kwargs)``" "**kwargs)``"
@ -1697,7 +1700,7 @@ msgstr ""
"``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, " "``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, "
"**kwargs)``" "**kwargs)``"
#: ../Doc/library/logging.rst:1212 #: ../Doc/library/logging.rst:1214
msgid "The logger name." msgid "The logger name."
msgstr "" msgstr ""
@ -1705,7 +1708,7 @@ msgstr ""
msgid "level" msgid "level"
msgstr "level" msgstr "level"
#: ../Doc/library/logging.rst:1213 #: ../Doc/library/logging.rst:1215
msgid "The logging level (numeric)." msgid "The logging level (numeric)."
msgstr "" msgstr ""
@ -1713,7 +1716,7 @@ msgstr ""
msgid "fn" msgid "fn"
msgstr "fn" msgstr "fn"
#: ../Doc/library/logging.rst:1214 #: ../Doc/library/logging.rst:1216
msgid "The full pathname of the file where the logging call was made." msgid "The full pathname of the file where the logging call was made."
msgstr "" msgstr ""
@ -1721,19 +1724,19 @@ msgstr ""
msgid "lno" msgid "lno"
msgstr "lno" msgstr "lno"
#: ../Doc/library/logging.rst:1215 #: ../Doc/library/logging.rst:1217
msgid "The line number in the file where the logging call was made." msgid "The line number in the file where the logging call was made."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1216 #: ../Doc/library/logging.rst:1218
msgid "The logging message." msgid "The logging message."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1217 #: ../Doc/library/logging.rst:1219
msgid "The arguments for the logging message." msgid "The arguments for the logging message."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1218 #: ../Doc/library/logging.rst:1220
msgid "An exception tuple, or ``None``." msgid "An exception tuple, or ``None``."
msgstr "" msgstr ""
@ -1741,7 +1744,7 @@ msgstr ""
msgid "func" msgid "func"
msgstr "func" msgstr "func"
#: ../Doc/library/logging.rst:1219 #: ../Doc/library/logging.rst:1221
msgid "The name of the function or method which invoked the logging call." msgid "The name of the function or method which invoked the logging call."
msgstr "" msgstr ""
@ -1749,7 +1752,7 @@ msgstr ""
msgid "sinfo" msgid "sinfo"
msgstr "sinfo" msgstr "sinfo"
#: ../Doc/library/logging.rst:1221 #: ../Doc/library/logging.rst:1223
msgid "" msgid ""
"A stack traceback such as is provided by :func:`traceback.print_stack`, " "A stack traceback such as is provided by :func:`traceback.print_stack`, "
"showing the call hierarchy." "showing the call hierarchy."
@ -1759,15 +1762,15 @@ msgstr ""
msgid "kwargs" msgid "kwargs"
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1223 #: ../Doc/library/logging.rst:1225
msgid "Additional keyword arguments." msgid "Additional keyword arguments."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1227 #: ../Doc/library/logging.rst:1229
msgid "Module-Level Attributes" msgid "Module-Level Attributes"
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1231 #: ../Doc/library/logging.rst:1233
msgid "" msgid ""
"A \"handler of last resort\" is available through this attribute. This is a :" "A \"handler of last resort\" is available through this attribute. This is a :"
"class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, " "class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, "
@ -1778,22 +1781,22 @@ msgid ""
"reason, ``lastResort`` can be set to ``None``." "reason, ``lastResort`` can be set to ``None``."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1242 #: ../Doc/library/logging.rst:1244
msgid "Integration with the warnings module" msgid "Integration with the warnings module"
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1244 #: ../Doc/library/logging.rst:1246
msgid "" msgid ""
"The :func:`captureWarnings` function can be used to integrate :mod:`logging` " "The :func:`captureWarnings` function can be used to integrate :mod:`logging` "
"with the :mod:`warnings` module." "with the :mod:`warnings` module."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1249 #: ../Doc/library/logging.rst:1251
msgid "" msgid ""
"This function is used to turn the capture of warnings by logging on and off." "This function is used to turn the capture of warnings by logging on and off."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1252 #: ../Doc/library/logging.rst:1254
msgid "" msgid ""
"If *capture* is ``True``, warnings issued by the :mod:`warnings` module will " "If *capture* is ``True``, warnings issued by the :mod:`warnings` module will "
"be redirected to the logging system. Specifically, a warning will be " "be redirected to the logging system. Specifically, a warning will be "
@ -1802,46 +1805,46 @@ msgid ""
"`WARNING`." "`WARNING`."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1257 #: ../Doc/library/logging.rst:1259
msgid "" msgid ""
"If *capture* is ``False``, the redirection of warnings to the logging system " "If *capture* is ``False``, the redirection of warnings to the logging system "
"will stop, and warnings will be redirected to their original destinations (i." "will stop, and warnings will be redirected to their original destinations (i."
"e. those in effect before ``captureWarnings(True)`` was called)." "e. those in effect before ``captureWarnings(True)`` was called)."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1265 #: ../Doc/library/logging.rst:1267
msgid "Module :mod:`logging.config`" msgid "Module :mod:`logging.config`"
msgstr "Module :mod:`logging.config`" msgstr "Module :mod:`logging.config`"
#: ../Doc/library/logging.rst:1265 #: ../Doc/library/logging.rst:1267
msgid "Configuration API for the logging module." msgid "Configuration API for the logging module."
msgstr "API de configuration pour le module de journalisation." msgstr "API de configuration pour le module de journalisation."
#: ../Doc/library/logging.rst:1268 #: ../Doc/library/logging.rst:1270
msgid "Module :mod:`logging.handlers`" msgid "Module :mod:`logging.handlers`"
msgstr "Module :mod:`logging.handlers`" msgstr "Module :mod:`logging.handlers`"
#: ../Doc/library/logging.rst:1268 #: ../Doc/library/logging.rst:1270
msgid "Useful handlers included with the logging module." msgid "Useful handlers included with the logging module."
msgstr "Gestionnaires utiles inclus avec le module de journalisation." msgstr "Gestionnaires utiles inclus avec le module de journalisation."
#: ../Doc/library/logging.rst:1272 #: ../Doc/library/logging.rst:1274
msgid ":pep:`282` - A Logging System" msgid ":pep:`282` - A Logging System"
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1271 #: ../Doc/library/logging.rst:1273
msgid "" msgid ""
"The proposal which described this feature for inclusion in the Python " "The proposal which described this feature for inclusion in the Python "
"standard library." "standard library."
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1277 #: ../Doc/library/logging.rst:1279
msgid "" msgid ""
"`Original Python logging package <https://www.red-dove.com/python_logging." "`Original Python logging package <https://www.red-dove.com/python_logging."
"html>`_" "html>`_"
msgstr "" msgstr ""
#: ../Doc/library/logging.rst:1275 #: ../Doc/library/logging.rst:1277
msgid "" msgid ""
"This is the original source for the :mod:`logging` package. The version of " "This is the original source for the :mod:`logging` package. The version of "
"the package available from this site is suitable for use with Python 1.5.2, " "the package available from this site is suitable for use with Python 1.5.2, "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 22:10+0200\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -725,29 +725,37 @@ msgstr ""
#: ../Doc/library/typing.rst:881 #: ../Doc/library/typing.rst:881
msgid "" 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."
msgstr ""
#: ../Doc/library/typing.rst:888
msgid ""
"A helper function to indicate a distinct types to a typechecker, see :ref:" "A helper function to indicate a distinct types to a typechecker, see :ref:"
"`distinct`. At runtime it returns a function that returns its argument. " "`distinct`. At runtime it returns a function that returns its argument. "
"Usage::" "Usage::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:892 #: ../Doc/library/typing.rst:899
msgid "Cast a value to a type." msgid "Cast a value to a type."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:894 #: ../Doc/library/typing.rst:901
msgid "" msgid ""
"This returns the value unchanged. To the type checker this signals that the " "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 " "return value has the designated type, but at runtime we intentionally don't "
"check anything (we want this to be as fast as possible)." "check anything (we want this to be as fast as possible)."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:901 #: ../Doc/library/typing.rst:908
msgid "" msgid ""
"Return a dictionary containing type hints for a function, method, module or " "Return a dictionary containing type hints for a function, method, module or "
"class object." "class object."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:904 #: ../Doc/library/typing.rst:911
msgid "" msgid ""
"This is often the same as ``obj.__annotations__``. In addition, forward " "This is often the same as ``obj.__annotations__``. In addition, forward "
"references encoded as string literals are handled by evaluating them in " "references encoded as string literals are handled by evaluating them in "
@ -757,7 +765,7 @@ msgid ""
"merging all the ``__annotations__`` along ``C.__mro__`` in reverse order." "merging all the ``__annotations__`` along ``C.__mro__`` in reverse order."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:914 #: ../Doc/library/typing.rst:921
msgid "" msgid ""
"The ``@overload`` decorator allows describing functions and methods that " "The ``@overload`` decorator allows describing functions and methods that "
"support multiple different combinations of argument types. A series of " "support multiple different combinations of argument types. A series of "
@ -772,121 +780,121 @@ msgid ""
"variable::" "variable::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:938 #: ../Doc/library/typing.rst:945
msgid "See :pep:`484` for details and comparison with other typing semantics." msgid "See :pep:`484` for details and comparison with other typing semantics."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:942 #: ../Doc/library/typing.rst:949
msgid "Decorator to indicate that annotations are not type hints." msgid "Decorator to indicate that annotations are not type hints."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:944 #: ../Doc/library/typing.rst:951
msgid "" msgid ""
"This works as class or function :term:`decorator`. With a class, it applies " "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 " "recursively to all methods defined in that class (but not to methods defined "
"in its superclasses or subclasses)." "in its superclasses or subclasses)."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:948 #: ../Doc/library/typing.rst:955
msgid "This mutates the function(s) in place." msgid "This mutates the function(s) in place."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:952 #: ../Doc/library/typing.rst:959
msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgid "Decorator to give another decorator the :func:`no_type_check` effect."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:954 #: ../Doc/library/typing.rst:961
msgid "" msgid ""
"This wraps the decorator with something that wraps the decorated function " "This wraps the decorator with something that wraps the decorated function "
"in :func:`no_type_check`." "in :func:`no_type_check`."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:959 #: ../Doc/library/typing.rst:966
msgid "Decorator to mark a class or function to be unavailable at runtime." msgid "Decorator to mark a class or function to be unavailable at runtime."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:961 #: ../Doc/library/typing.rst:968
msgid "" msgid ""
"This decorator is itself not available at runtime. It is mainly intended to " "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 " "mark classes that are defined in type stub files if an implementation "
"returns an instance of a private class::" "returns an instance of a private class::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:972 #: ../Doc/library/typing.rst:979
msgid "" msgid ""
"Note that returning instances of private classes is not recommended. It is " "Note that returning instances of private classes is not recommended. It is "
"usually preferable to make such classes public." "usually preferable to make such classes public."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:977 #: ../Doc/library/typing.rst:984
msgid "Special type indicating an unconstrained type." msgid "Special type indicating an unconstrained type."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:979 #: ../Doc/library/typing.rst:986
msgid "Every type is compatible with :data:`Any`." msgid "Every type is compatible with :data:`Any`."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:980 #: ../Doc/library/typing.rst:987
msgid ":data:`Any` is compatible with every type." msgid ":data:`Any` is compatible with every type."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:984 #: ../Doc/library/typing.rst:991
msgid "Special type indicating that a function never returns. For example::" msgid "Special type indicating that a function never returns. For example::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:997 #: ../Doc/library/typing.rst:1004
msgid "Union type; ``Union[X, Y]`` means either X or Y." msgid "Union type; ``Union[X, Y]`` means either X or Y."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:999 #: ../Doc/library/typing.rst:1006
msgid "To define a union, use e.g. ``Union[int, str]``. Details:" msgid "To define a union, use e.g. ``Union[int, str]``. Details:"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1001 #: ../Doc/library/typing.rst:1008
msgid "The arguments must be types and there must be at least one." msgid "The arguments must be types and there must be at least one."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1003 #: ../Doc/library/typing.rst:1010
msgid "Unions of unions are flattened, e.g.::" msgid "Unions of unions are flattened, e.g.::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1007 #: ../Doc/library/typing.rst:1014
msgid "Unions of a single argument vanish, e.g.::" msgid "Unions of a single argument vanish, e.g.::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1011 #: ../Doc/library/typing.rst:1018
msgid "Redundant arguments are skipped, e.g.::" msgid "Redundant arguments are skipped, e.g.::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1015 #: ../Doc/library/typing.rst:1022
msgid "When comparing unions, the argument order is ignored, e.g.::" msgid "When comparing unions, the argument order is ignored, e.g.::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1019 #: ../Doc/library/typing.rst:1026
msgid "You cannot subclass or instantiate a union." msgid "You cannot subclass or instantiate a union."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1021 #: ../Doc/library/typing.rst:1028
msgid "You cannot write ``Union[X][Y]``." msgid "You cannot write ``Union[X][Y]``."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1023 #: ../Doc/library/typing.rst:1030
msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``." msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1025 #: ../Doc/library/typing.rst:1032
msgid "Don't remove explicit subclasses from unions at runtime." msgid "Don't remove explicit subclasses from unions at runtime."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1030 #: ../Doc/library/typing.rst:1037
msgid "Optional type." msgid "Optional type."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1032 #: ../Doc/library/typing.rst:1039
msgid "``Optional[X]`` is equivalent to ``Union[X, None]``." msgid "``Optional[X]`` is equivalent to ``Union[X, None]``."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1034 #: ../Doc/library/typing.rst:1041
msgid "" msgid ""
"Note that this is not the same concept as an optional argument, which is one " "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 " "that has a default. An optional argument with a default does not require "
@ -894,45 +902,45 @@ msgid ""
"optional. For example::" "optional. For example::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1042 #: ../Doc/library/typing.rst:1049
msgid "" msgid ""
"On the other hand, if an explicit value of ``None`` is allowed, the use of " "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 " "``Optional`` is appropriate, whether the argument is optional or not. For "
"example::" "example::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1051 #: ../Doc/library/typing.rst:1058
msgid "" msgid ""
"Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the " "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." "first item of type X and the second of type Y."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1054 #: ../Doc/library/typing.rst:1061
msgid "" msgid ""
"Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type " "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 " "variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a "
"float and a string." "float and a string."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1058 #: ../Doc/library/typing.rst:1065
msgid "" msgid ""
"To specify a variable-length tuple of homogeneous type, use literal " "To specify a variable-length tuple of homogeneous type, use literal "
"ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " "ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to "
"``Tuple[Any, ...]``, and in turn to :class:`tuple`." "``Tuple[Any, ...]``, and in turn to :class:`tuple`."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1064 #: ../Doc/library/typing.rst:1071
msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1066 #: ../Doc/library/typing.rst:1073
msgid "" msgid ""
"The subscription syntax must always be used with exactly two values: the " "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 " "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." "types or an ellipsis; the return type must be a single type."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1071 #: ../Doc/library/typing.rst:1078
msgid "" msgid ""
"There is no syntax to indicate optional or keyword arguments; such function " "There is no syntax to indicate optional or keyword arguments; such function "
"types are rarely used as callback types. ``Callable[..., ReturnType]`` " "types are rarely used as callback types. ``Callable[..., ReturnType]`` "
@ -942,22 +950,22 @@ msgid ""
"Callable`." "Callable`."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1081 #: ../Doc/library/typing.rst:1088
msgid "Special type construct to mark class variables." msgid "Special type construct to mark class variables."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1083 #: ../Doc/library/typing.rst:1090
msgid "" msgid ""
"As introduced in :pep:`526`, a variable annotation wrapped in ClassVar " "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 " "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::" "and should not be set on instances of that class. Usage::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1091 #: ../Doc/library/typing.rst:1098
msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." msgid ":data:`ClassVar` accepts only types and cannot be further subscribed."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1093 #: ../Doc/library/typing.rst:1100
msgid "" msgid ""
":data:`ClassVar` is not a class itself, and should not be used with :func:" ":data:`ClassVar` is not a class itself, and should not be used with :func:"
"`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python " "`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python "
@ -965,25 +973,25 @@ msgid ""
"example, a type checker might flag the following code as an error::" "example, a type checker might flag the following code as an error::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1107 #: ../Doc/library/typing.rst:1114
msgid "" msgid ""
"``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, " "``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, "
"bytes)``." "bytes)``."
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1110 #: ../Doc/library/typing.rst:1117
msgid "" msgid ""
"It is meant to be used for functions that may accept any kind of string " "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::" "without allowing different kinds of strings to mix. For example::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1122 #: ../Doc/library/typing.rst:1129
msgid "" msgid ""
"A special constant that is assumed to be ``True`` by 3rd party static type " "A special constant that is assumed to be ``True`` by 3rd party static type "
"checkers. It is ``False`` at runtime. Usage::" "checkers. It is ``False`` at runtime. Usage::"
msgstr "" msgstr ""
#: ../Doc/library/typing.rst:1131 #: ../Doc/library/typing.rst:1138
msgid "" msgid ""
"Note that the first type annotation must be enclosed in quotes, making it a " "Note that the first type annotation must be enclosed in quotes, making it a "
"\"forward reference\", to hide the ``expensive_mod`` reference from the " "\"forward reference\", to hide the ``expensive_mod`` reference from the "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-23 16:48+0200\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -99,8 +99,8 @@ msgid ""
"Not all objects can be weakly referenced; those objects which can include " "Not all objects can be weakly referenced; those objects which can include "
"class instances, functions written in Python (but not in C), instance " "class instances, functions written in Python (but not in C), instance "
"methods, sets, frozensets, some :term:`file objects <file object>`, :term:" "methods, sets, frozensets, some :term:`file objects <file object>`, :term:"
"`generator`\\s, type objects, sockets, arrays, deques, regular expression " "`generators <generator>`, type objects, sockets, arrays, deques, regular "
"pattern objects, and code objects." "expression pattern objects, and code objects."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:72 #: ../Doc/library/weakref.rst:72
@ -113,20 +113,19 @@ msgid ""
"directly support weak references but can add support through subclassing::" "directly support weak references but can add support through subclassing::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:83 #: ../Doc/library/weakref.rst:85
msgid "" msgid ""
"Other built-in types such as :class:`tuple` and :class:`int` do not support " "Other built-in types such as :class:`tuple` and :class:`int` do not support "
"weak references even when subclassed (This is an implementation detail and " "weak references even when subclassed."
"may be different across various Python implementations.)."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:87 #: ../Doc/library/weakref.rst:88
msgid "" msgid ""
"Extension types can easily be made to support weak references; see :ref:" "Extension types can easily be made to support weak references; see :ref:"
"`weakref-support`." "`weakref-support`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:93 #: ../Doc/library/weakref.rst:94
msgid "" msgid ""
"Return a weak reference to *object*. The original object can be retrieved " "Return a weak reference to *object*. The original object can be retrieved "
"by calling the reference object if the referent is still alive; if the " "by calling the reference object if the referent is still alive; if the "
@ -138,21 +137,21 @@ msgid ""
"available." "available."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:101 #: ../Doc/library/weakref.rst:102
msgid "" msgid ""
"It is allowable for many weak references to be constructed for the same " "It is allowable for many weak references to be constructed for the same "
"object. Callbacks registered for each weak reference will be called from the " "object. Callbacks registered for each weak reference will be called from the "
"most recently registered callback to the oldest registered callback." "most recently registered callback to the oldest registered callback."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:105 #: ../Doc/library/weakref.rst:106
msgid "" msgid ""
"Exceptions raised by the callback will be noted on the standard error " "Exceptions raised by the callback will be noted on the standard error "
"output, but cannot be propagated; they are handled in exactly the same way " "output, but cannot be propagated; they are handled in exactly the same way "
"as exceptions raised from an object's :meth:`__del__` method." "as exceptions raised from an object's :meth:`__del__` method."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:109 #: ../Doc/library/weakref.rst:110
msgid "" msgid ""
"Weak references are :term:`hashable` if the *object* is hashable. They will " "Weak references are :term:`hashable` if the *object* is hashable. They will "
"maintain their hash value even after the *object* was deleted. If :func:" "maintain their hash value even after the *object* was deleted. If :func:"
@ -160,7 +159,7 @@ msgid ""
"call will raise :exc:`TypeError`." "call will raise :exc:`TypeError`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:114 #: ../Doc/library/weakref.rst:115
msgid "" msgid ""
"Weak references support tests for equality, but not ordering. If the " "Weak references support tests for equality, but not ordering. If the "
"referents are still alive, two references have the same equality " "referents are still alive, two references have the same equality "
@ -169,22 +168,22 @@ msgid ""
"objects are the same object." "objects are the same object."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:119 #: ../Doc/library/weakref.rst:120
msgid "This is a subclassable type rather than a factory function." msgid "This is a subclassable type rather than a factory function."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:123 #: ../Doc/library/weakref.rst:124
msgid "" msgid ""
"This read-only attribute returns the callback currently associated to the " "This read-only attribute returns the callback currently associated to the "
"weakref. If there is no callback or if the referent of the weakref is no " "weakref. If there is no callback or if the referent of the weakref is no "
"longer alive then this attribute will have value ``None``." "longer alive then this attribute will have value ``None``."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:127 #: ../Doc/library/weakref.rst:128
msgid "Added the :attr:`__callback__` attribute." msgid "Added the :attr:`__callback__` attribute."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:133 #: ../Doc/library/weakref.rst:134
msgid "" msgid ""
"Return a proxy to *object* which uses a weak reference. This supports use " "Return a proxy to *object* which uses a weak reference. This supports use "
"of the proxy in most contexts instead of requiring the explicit " "of the proxy in most contexts instead of requiring the explicit "
@ -197,18 +196,18 @@ msgid ""
"`ref` function." "`ref` function."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:145 #: ../Doc/library/weakref.rst:146
msgid "" msgid ""
"Return the number of weak references and proxies which refer to *object*." "Return the number of weak references and proxies which refer to *object*."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:150 #: ../Doc/library/weakref.rst:151
msgid "" msgid ""
"Return a list of all weak reference and proxy objects which refer to " "Return a list of all weak reference and proxy objects which refer to "
"*object*." "*object*."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:155 #: ../Doc/library/weakref.rst:156
msgid "" msgid ""
"Mapping class that references keys weakly. Entries in the dictionary will " "Mapping class that references keys weakly. Entries in the dictionary will "
"be discarded when there is no longer a strong reference to the key. This " "be discarded when there is no longer a strong reference to the key. This "
@ -217,7 +216,7 @@ msgid ""
"especially useful with objects that override attribute accesses." "especially useful with objects that override attribute accesses."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:163 #: ../Doc/library/weakref.rst:164
msgid "" msgid ""
"Caution: Because a :class:`WeakKeyDictionary` is built on top of a Python " "Caution: Because a :class:`WeakKeyDictionary` is built on top of a Python "
"dictionary, it must not change size when iterating over it. This can be " "dictionary, it must not change size when iterating over it. This can be "
@ -226,7 +225,7 @@ msgid ""
"to vanish \"by magic\" (as a side effect of garbage collection)." "to vanish \"by magic\" (as a side effect of garbage collection)."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:169 #: ../Doc/library/weakref.rst:170
msgid "" msgid ""
":class:`WeakKeyDictionary` objects have an additional method that exposes " ":class:`WeakKeyDictionary` objects have an additional method that exposes "
"the internal references directly. The references are not guaranteed to be " "the internal references directly. The references are not guaranteed to be "
@ -236,17 +235,17 @@ msgid ""
"longer than needed." "longer than needed."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:179 #: ../Doc/library/weakref.rst:180
msgid "Return an iterable of the weak references to the keys." msgid "Return an iterable of the weak references to the keys."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:184 #: ../Doc/library/weakref.rst:185
msgid "" msgid ""
"Mapping class that references values weakly. Entries in the dictionary will " "Mapping class that references values weakly. Entries in the dictionary will "
"be discarded when no strong reference to the value exists any more." "be discarded when no strong reference to the value exists any more."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:189 #: ../Doc/library/weakref.rst:190
msgid "" msgid ""
"Caution: Because a :class:`WeakValueDictionary` is built on top of a Python " "Caution: Because a :class:`WeakValueDictionary` is built on top of a Python "
"dictionary, it must not change size when iterating over it. This can be " "dictionary, it must not change size when iterating over it. This can be "
@ -255,24 +254,24 @@ msgid ""
"to vanish \"by magic\" (as a side effect of garbage collection)." "to vanish \"by magic\" (as a side effect of garbage collection)."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:195 #: ../Doc/library/weakref.rst:196
msgid "" msgid ""
":class:`WeakValueDictionary` objects have an additional method that has the " ":class:`WeakValueDictionary` objects have an additional method that has the "
"same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary` " "same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary` "
"objects." "objects."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:202 #: ../Doc/library/weakref.rst:203
msgid "Return an iterable of the weak references to the values." msgid "Return an iterable of the weak references to the values."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:207 #: ../Doc/library/weakref.rst:208
msgid "" msgid ""
"Set class that keeps weak references to its elements. An element will be " "Set class that keeps weak references to its elements. An element will be "
"discarded when no strong reference to it exists any more." "discarded when no strong reference to it exists any more."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:213 #: ../Doc/library/weakref.rst:214
msgid "" msgid ""
"A custom :class:`ref` subclass which simulates a weak reference to a bound " "A custom :class:`ref` subclass which simulates a weak reference to a bound "
"method (i.e., a method defined on a class and looked up on an instance). " "method (i.e., a method defined on a class and looked up on an instance). "
@ -281,7 +280,7 @@ msgid ""
"method until either the object or the original function dies::" "method until either the object or the original function dies::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:241 #: ../Doc/library/weakref.rst:242
msgid "" msgid ""
"Return a callable finalizer object which will be called when *obj* is " "Return a callable finalizer object which will be called when *obj* is "
"garbage collected. Unlike an ordinary weak reference, a finalizer will " "garbage collected. Unlike an ordinary weak reference, a finalizer will "
@ -289,7 +288,7 @@ msgid ""
"lifecycle management." "lifecycle management."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:246 #: ../Doc/library/weakref.rst:247
msgid "" msgid ""
"A finalizer is considered *alive* until it is called (either explicitly or " "A finalizer is considered *alive* until it is called (either explicitly or "
"at garbage collection), and after that it is *dead*. Calling a live " "at garbage collection), and after that it is *dead*. Calling a live "
@ -297,7 +296,7 @@ msgid ""
"calling a dead finalizer returns :const:`None`." "calling a dead finalizer returns :const:`None`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:251 #: ../Doc/library/weakref.rst:252
msgid "" msgid ""
"Exceptions raised by finalizer callbacks during garbage collection will be " "Exceptions raised by finalizer callbacks during garbage collection will be "
"shown on the standard error output, but cannot be propagated. They are " "shown on the standard error output, but cannot be propagated. They are "
@ -305,50 +304,50 @@ msgid ""
"`__del__` method or a weak reference's callback." "`__del__` method or a weak reference's callback."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:257 #: ../Doc/library/weakref.rst:258
msgid "" msgid ""
"When the program exits, each remaining live finalizer is called unless its :" "When the program exits, each remaining live finalizer is called unless its :"
"attr:`atexit` attribute has been set to false. They are called in reverse " "attr:`atexit` attribute has been set to false. They are called in reverse "
"order of creation." "order of creation."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:261 #: ../Doc/library/weakref.rst:262
msgid "" msgid ""
"A finalizer will never invoke its callback during the later part of the :" "A finalizer will never invoke its callback during the later part of the :"
"term:`interpreter shutdown` when module globals are liable to have been " "term:`interpreter shutdown` when module globals are liable to have been "
"replaced by :const:`None`." "replaced by :const:`None`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:267 #: ../Doc/library/weakref.rst:268
msgid "" msgid ""
"If *self* is alive then mark it as dead and return the result of calling " "If *self* is alive then mark it as dead and return the result of calling "
"``func(*args, **kwargs)``. If *self* is dead then return :const:`None`." "``func(*args, **kwargs)``. If *self* is dead then return :const:`None`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:273 #: ../Doc/library/weakref.rst:274
msgid "" msgid ""
"If *self* is alive then mark it as dead and return the tuple ``(obj, func, " "If *self* is alive then mark it as dead and return the tuple ``(obj, func, "
"args, kwargs)``. If *self* is dead then return :const:`None`." "args, kwargs)``. If *self* is dead then return :const:`None`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:279 #: ../Doc/library/weakref.rst:280
msgid "" msgid ""
"If *self* is alive then return the tuple ``(obj, func, args, kwargs)``. If " "If *self* is alive then return the tuple ``(obj, func, args, kwargs)``. If "
"*self* is dead then return :const:`None`." "*self* is dead then return :const:`None`."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:284 #: ../Doc/library/weakref.rst:285
msgid "Property which is true if the finalizer is alive, false otherwise." msgid "Property which is true if the finalizer is alive, false otherwise."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:288 #: ../Doc/library/weakref.rst:289
msgid "" msgid ""
"A writable boolean property which by default is true. When the program " "A writable boolean property which by default is true. When the program "
"exits, it calls all remaining live finalizers for which :attr:`.atexit` is " "exits, it calls all remaining live finalizers for which :attr:`.atexit` is "
"true. They are called in reverse order of creation." "true. They are called in reverse order of creation."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:295 #: ../Doc/library/weakref.rst:296
msgid "" msgid ""
"It is important to ensure that *func*, *args* and *kwargs* do not own any " "It is important to ensure that *func*, *args* and *kwargs* do not own any "
"references to *obj*, either directly or indirectly, since otherwise *obj* " "references to *obj*, either directly or indirectly, since otherwise *obj* "
@ -356,67 +355,67 @@ msgid ""
"bound method of *obj*." "bound method of *obj*."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:305 #: ../Doc/library/weakref.rst:306
msgid "The type object for weak references objects." msgid "The type object for weak references objects."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:310 #: ../Doc/library/weakref.rst:311
msgid "The type object for proxies of objects which are not callable." msgid "The type object for proxies of objects which are not callable."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:315 #: ../Doc/library/weakref.rst:316
msgid "The type object for proxies of callable objects." msgid "The type object for proxies of callable objects."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:320 #: ../Doc/library/weakref.rst:321
msgid "" msgid ""
"Sequence containing all the type objects for proxies. This can make it " "Sequence containing all the type objects for proxies. This can make it "
"simpler to test if an object is a proxy without being dependent on naming " "simpler to test if an object is a proxy without being dependent on naming "
"both proxy types." "both proxy types."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:327 #: ../Doc/library/weakref.rst:328
msgid "" msgid ""
"Exception raised when a proxy object is used but the underlying object has " "Exception raised when a proxy object is used but the underlying object has "
"been collected. This is the same as the standard :exc:`ReferenceError` " "been collected. This is the same as the standard :exc:`ReferenceError` "
"exception." "exception."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:334 #: ../Doc/library/weakref.rst:335
msgid ":pep:`205` - Weak References" msgid ":pep:`205` - Weak References"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:334 #: ../Doc/library/weakref.rst:335
msgid "" msgid ""
"The proposal and rationale for this feature, including links to earlier " "The proposal and rationale for this feature, including links to earlier "
"implementations and information about similar features in other languages." "implementations and information about similar features in other languages."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:341 #: ../Doc/library/weakref.rst:342
msgid "Weak Reference Objects" msgid "Weak Reference Objects"
msgstr "Objets à références faibles" msgstr "Objets à références faibles"
#: ../Doc/library/weakref.rst:343 #: ../Doc/library/weakref.rst:344
msgid "" msgid ""
"Weak reference objects have no methods and no attributes besides :attr:`ref." "Weak reference objects have no methods and no attributes besides :attr:`ref."
"__callback__`. A weak reference object allows the referent to be obtained, " "__callback__`. A weak reference object allows the referent to be obtained, "
"if it still exists, by calling it:" "if it still exists, by calling it:"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:357 #: ../Doc/library/weakref.rst:358
msgid "" msgid ""
"If the referent no longer exists, calling the reference object returns :" "If the referent no longer exists, calling the reference object returns :"
"const:`None`:" "const:`None`:"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:364 #: ../Doc/library/weakref.rst:365
msgid "" msgid ""
"Testing that a weak reference object is still live should be done using the " "Testing that a weak reference object is still live should be done using the "
"expression ``ref() is not None``. Normally, application code that needs to " "expression ``ref() is not None``. Normally, application code that needs to "
"use a reference object should follow this pattern::" "use a reference object should follow this pattern::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:377 #: ../Doc/library/weakref.rst:378
msgid "" msgid ""
"Using a separate test for \"liveness\" creates race conditions in threaded " "Using a separate test for \"liveness\" creates race conditions in threaded "
"applications; another thread can cause a weak reference to become " "applications; another thread can cause a weak reference to become "
@ -424,7 +423,7 @@ msgid ""
"safe in threaded applications as well as single-threaded applications." "safe in threaded applications as well as single-threaded applications."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:382 #: ../Doc/library/weakref.rst:383
msgid "" msgid ""
"Specialized versions of :class:`ref` objects can be created through " "Specialized versions of :class:`ref` objects can be created through "
"subclassing. This is used in the implementation of the :class:" "subclassing. This is used in the implementation of the :class:"
@ -434,18 +433,18 @@ msgid ""
"to retrieve the referent." "to retrieve the referent."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:388 #: ../Doc/library/weakref.rst:389
msgid "" msgid ""
"This example shows how a subclass of :class:`ref` can be used to store " "This example shows how a subclass of :class:`ref` can be used to store "
"additional information about an object and affect the value that's returned " "additional information about an object and affect the value that's returned "
"when the referent is accessed::" "when the referent is accessed::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:415 #: ../Doc/library/weakref.rst:416
msgid "Example" msgid "Example"
msgstr "Exemple" msgstr "Exemple"
#: ../Doc/library/weakref.rst:417 #: ../Doc/library/weakref.rst:418
msgid "" msgid ""
"This simple example shows how an application can use object IDs to retrieve " "This simple example shows how an application can use object IDs to retrieve "
"objects that it has seen before. The IDs of the objects can then be used in " "objects that it has seen before. The IDs of the objects can then be used in "
@ -453,67 +452,67 @@ msgid ""
"objects can still be retrieved by ID if they do." "objects can still be retrieved by ID if they do."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:442 #: ../Doc/library/weakref.rst:443
msgid "Finalizer Objects" msgid "Finalizer Objects"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:444 #: ../Doc/library/weakref.rst:445
msgid "" msgid ""
"The main benefit of using :class:`finalize` is that it makes it simple to " "The main benefit of using :class:`finalize` is that it makes it simple to "
"register a callback without needing to preserve the returned finalizer " "register a callback without needing to preserve the returned finalizer "
"object. For instance" "object. For instance"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:458 #: ../Doc/library/weakref.rst:459
msgid "" msgid ""
"The finalizer can be called directly as well. However the finalizer will " "The finalizer can be called directly as well. However the finalizer will "
"invoke the callback at most once." "invoke the callback at most once."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:474 #: ../Doc/library/weakref.rst:475
msgid "" msgid ""
"You can unregister a finalizer using its :meth:`~finalize.detach` method. " "You can unregister a finalizer using its :meth:`~finalize.detach` method. "
"This kills the finalizer and returns the arguments passed to the constructor " "This kills the finalizer and returns the arguments passed to the constructor "
"when it was created." "when it was created."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:488 #: ../Doc/library/weakref.rst:489
msgid "" msgid ""
"Unless you set the :attr:`~finalize.atexit` attribute to :const:`False`, a " "Unless you set the :attr:`~finalize.atexit` attribute to :const:`False`, a "
"finalizer will be called when the program exits if it is still alive. For " "finalizer will be called when the program exits if it is still alive. For "
"instance" "instance"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:503 #: ../Doc/library/weakref.rst:504
msgid "Comparing finalizers with :meth:`__del__` methods" msgid "Comparing finalizers with :meth:`__del__` methods"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:505 #: ../Doc/library/weakref.rst:506
msgid "" msgid ""
"Suppose we want to create a class whose instances represent temporary " "Suppose we want to create a class whose instances represent temporary "
"directories. The directories should be deleted with their contents when the " "directories. The directories should be deleted with their contents when the "
"first of the following events occurs:" "first of the following events occurs:"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:509 #: ../Doc/library/weakref.rst:510
msgid "the object is garbage collected," msgid "the object is garbage collected,"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:510 #: ../Doc/library/weakref.rst:511
msgid "the object's :meth:`remove` method is called, or" msgid "the object's :meth:`remove` method is called, or"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:511 #: ../Doc/library/weakref.rst:512
msgid "the program exits." msgid "the program exits."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:513 #: ../Doc/library/weakref.rst:514
msgid "" msgid ""
"We might try to implement the class using a :meth:`__del__` method as " "We might try to implement the class using a :meth:`__del__` method as "
"follows::" "follows::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:532 #: ../Doc/library/weakref.rst:533
msgid "" msgid ""
"Starting with Python 3.4, :meth:`__del__` methods no longer prevent " "Starting with Python 3.4, :meth:`__del__` methods no longer prevent "
"reference cycles from being garbage collected, and module globals are no " "reference cycles from being garbage collected, and module globals are no "
@ -521,35 +520,35 @@ msgid ""
"code should work without any issues on CPython." "code should work without any issues on CPython."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:537 #: ../Doc/library/weakref.rst:538
msgid "" msgid ""
"However, handling of :meth:`__del__` methods is notoriously implementation " "However, handling of :meth:`__del__` methods is notoriously implementation "
"specific, since it depends on internal details of the interpreter's garbage " "specific, since it depends on internal details of the interpreter's garbage "
"collector implementation." "collector implementation."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:541 #: ../Doc/library/weakref.rst:542
msgid "" msgid ""
"A more robust alternative can be to define a finalizer which only references " "A more robust alternative can be to define a finalizer which only references "
"the specific functions and objects that it needs, rather than having access " "the specific functions and objects that it needs, rather than having access "
"to the full state of the object::" "to the full state of the object::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:557 #: ../Doc/library/weakref.rst:558
msgid "" msgid ""
"Defined like this, our finalizer only receives a reference to the details it " "Defined like this, our finalizer only receives a reference to the details it "
"needs to clean up the directory appropriately. If the object never gets " "needs to clean up the directory appropriately. If the object never gets "
"garbage collected the finalizer will still be called at exit." "garbage collected the finalizer will still be called at exit."
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:561 #: ../Doc/library/weakref.rst:562
msgid "" msgid ""
"The other advantage of weakref based finalizers is that they can be used to " "The other advantage of weakref based finalizers is that they can be used to "
"register finalizers for classes where the definition is controlled by a " "register finalizers for classes where the definition is controlled by a "
"third party, such as running code when a module is unloaded::" "third party, such as running code when a module is unloaded::"
msgstr "" msgstr ""
#: ../Doc/library/weakref.rst:573 #: ../Doc/library/weakref.rst:574
msgid "" msgid ""
"If you create a finalizer object in a daemonic thread just as the program " "If you create a finalizer object in a daemonic thread just as the program "
"exits then there is the possibility that the finalizer does not get called " "exits then there is the possibility that the finalizer does not get called "

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-10 10:50+0200\n" "POT-Creation-Date: 2019-06-19 22:32+0200\n"
"PO-Revision-Date: 2018-12-14 15:01+0100\n" "PO-Revision-Date: 2018-12-14 15:01+0100\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n" "Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -197,7 +197,7 @@ msgid "History and License of Python"
msgstr "Histoire et licence de Python" msgstr "Histoire et licence de Python"
#: ../Doc/tools/templates/indexcontent.html:63 #: ../Doc/tools/templates/indexcontent.html:63
#: ../Doc/tools/templates/layout.html:116 #: ../Doc/tools/templates/layout.html:127
msgid "Copyright" msgid "Copyright"
msgstr "Copyright" msgstr "Copyright"
@ -263,35 +263,46 @@ msgstr "Liste de livres"
msgid "Audio/Visual Talks" msgid "Audio/Visual Talks"
msgstr "Documents multimédia" msgstr "Documents multimédia"
#: ../Doc/tools/templates/layout.html:10 #: ../Doc/tools/templates/layout.html:6
msgid ""
"This document is for an old version of Python that is no longer supported.\n"
" You should upgrade, and read the "
msgstr ""
#: ../Doc/tools/templates/layout.html:8
#, fuzzy
msgid " Python documentation for the current stable release"
msgstr "Bienvenue sur la documentation de Python %(release)s."
#: ../Doc/tools/templates/layout.html:21
msgid "Documentation " msgid "Documentation "
msgstr "Documentation" msgstr "Documentation"
#: ../Doc/tools/templates/layout.html:21 #: ../Doc/tools/templates/layout.html:32
msgid "Quick search" msgid "Quick search"
msgstr "Recherche rapide" msgstr "Recherche rapide"
#: ../Doc/tools/templates/layout.html:22 #: ../Doc/tools/templates/layout.html:33
msgid "Go" msgid "Go"
msgstr "Go" msgstr "Go"
#: ../Doc/tools/templates/layout.html:118 #: ../Doc/tools/templates/layout.html:129
msgid "The Python Software Foundation is a non-profit corporation." msgid "The Python Software Foundation is a non-profit corporation."
msgstr "La Python Software Foundation est une organisation à but non lucratif." msgstr "La Python Software Foundation est une organisation à but non lucratif."
#: ../Doc/tools/templates/layout.html:119 #: ../Doc/tools/templates/layout.html:130
msgid "Please donate." msgid "Please donate."
msgstr "Les dons sont bienvenus." msgstr "Les dons sont bienvenus."
#: ../Doc/tools/templates/layout.html:121 #: ../Doc/tools/templates/layout.html:132
msgid "Last updated on %(last_updated)s." msgid "Last updated on %(last_updated)s."
msgstr "Dernière mise-à-jour le %(last_updated)s." msgstr "Dernière mise-à-jour le %(last_updated)s."
#: ../Doc/tools/templates/layout.html:122 #: ../Doc/tools/templates/layout.html:133
msgid "<a href=\"%(pathto_bugs)s\">Found a bug</a>?" msgid "<a href=\"%(pathto_bugs)s\">Found a bug</a>?"
msgstr "<a href=\"%(pathto_bugs)s\">Vous avez trouvé un bug</a> ?" msgstr "<a href=\"%(pathto_bugs)s\">Vous avez trouvé un bug</a> ?"
#: ../Doc/tools/templates/layout.html:124 #: ../Doc/tools/templates/layout.html:135
msgid "" msgid ""
"Created using <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> " "Created using <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> "
"%(sphinx_version)s." "%(sphinx_version)s."