From 3de5dcdad96558961810c37303b3507d36ae2f3d Mon Sep 17 00:00:00 2001 From: "Jules Lasne (jlasne)" Date: Fri, 15 Nov 2019 23:57:16 +0100 Subject: [PATCH] make merge from cpython:25ce77dd2455abbb6e2c9e055bbc98954642fa7c (#987) * make merge from cpython:25ce77dd2455abbb6e2c9e055bbc98954642fa7c * Fixed silly fuzzies for CI * More make merge from my PRs --- c-api/arg.po | 66 +- c-api/buffer.po | 40 +- c-api/bytearray.po | 11 +- c-api/bytes.po | 23 +- c-api/capsule.po | 54 +- c-api/cell.po | 21 +- c-api/code.po | 13 +- c-api/codec.po | 12 +- c-api/concrete.po | 10 +- c-api/contextvars.po | 8 +- c-api/conversion.po | 23 +- c-api/coro.po | 10 +- c-api/datetime.po | 44 +- c-api/dict.po | 14 +- c-api/exceptions.po | 82 +- c-api/file.po | 7 +- c-api/float.po | 9 +- c-api/function.po | 24 +- c-api/gcsupport.po | 10 +- c-api/gen.po | 16 +- c-api/import.po | 26 +- c-api/init.po | 388 ++++---- c-api/init_config.po | 8 +- c-api/intro.po | 16 +- c-api/iter.po | 7 +- c-api/list.po | 35 +- c-api/long.po | 21 +- c-api/mapping.po | 10 +- c-api/marshal.po | 6 +- c-api/memory.po | 72 +- c-api/memoryview.po | 4 +- c-api/method.po | 8 +- c-api/module.po | 76 +- c-api/number.po | 102 +- c-api/object.po | 101 +- c-api/refcounting.po | 33 +- c-api/reflection.po | 11 +- c-api/sequence.po | 47 +- c-api/set.po | 20 +- c-api/slice.po | 10 +- c-api/structures.po | 31 +- c-api/sys.po | 167 ++-- c-api/tuple.po | 118 ++- c-api/type.po | 19 +- c-api/typeobj.po | 162 +-- c-api/unicode.po | 210 ++-- c-api/veryhigh.po | 44 +- c-api/weakref.po | 16 +- distributing/index.po | 8 +- extending/embedding.po | 5 +- extending/extending.po | 96 +- extending/newtypes.po | 44 +- extending/newtypes_tutorial.po | 36 +- faq/extending.po | 5 +- howto/clinic.po | 4 +- howto/functional.po | 4 +- installing/index.po | 5 +- library/argparse.po | 330 +++---- library/asyncio-eventloop.po | 764 +++++++------- library/asyncio-exceptions.po | 40 +- library/asyncio-future.po | 112 ++- library/asyncio-platforms.po | 46 +- library/asyncio-protocol.po | 342 +++---- library/asyncio-queue.po | 74 +- library/asyncio-stream.po | 156 +-- library/asyncio-subprocess.po | 158 +-- library/asyncio-sync.po | 148 +-- library/asyncio-task.po | 292 +++--- library/asyncio.po | 8 +- library/ctypes.po | 10 +- library/dataclasses.po | 9 +- library/debug.po | 4 +- library/difflib.po | 14 +- library/doctest.po | 6 +- library/email.compat32-message.po | 8 +- library/email.errors.po | 5 +- library/email.message.po | 8 +- library/email.utils.po | 6 +- library/fileinput.po | 10 +- library/functions.po | 25 +- library/gc.po | 6 +- library/hmac.po | 52 +- library/http.client.po | 6 +- library/http.cookiejar.po | 9 +- library/importlib.po | 4 +- library/inspect.po | 75 +- library/ipaddress.po | 6 +- library/keyword.po | 5 +- library/logging.handlers.po | 10 +- library/logging.po | 20 +- library/lzma.po | 5 +- library/msvcrt.po | 4 +- library/optparse.po | 22 +- library/os.po | 391 ++++---- library/parser.po | 6 +- library/pickle.po | 357 +++---- library/platform.po | 6 +- library/plistlib.po | 6 +- library/sched.po | 4 +- library/socket.po | 8 +- library/ssl.po | 6 +- library/statistics.po | 217 ++-- library/stdtypes.po | 133 +-- library/stringprep.po | 9 +- library/sys.po | 781 +++++++-------- library/threading.po | 31 +- library/tkinter.ttk.po | 8 +- library/token.po | 11 +- library/types.po | 101 +- library/typing.po | 342 +++---- library/unittest.mock.po | 70 +- library/unittest.po | 10 +- library/urllib.request.po | 6 +- library/winreg.po | 6 +- library/wsgiref.po | 4 +- library/xml.dom.po | 22 +- library/xml.etree.elementtree.po | 6 +- license.po | 9 +- reference/import.po | 13 +- reference/simple_stmts.po | 73 +- sphinx.po | 10 +- tutorial/classes.po | 3 +- tutorial/datastructures.po | 11 +- tutorial/interpreter.po | 11 +- tutorial/stdlib.po | 8 +- using/cmdline.po | 11 +- using/windows.po | 26 +- whatsnew/2.7.po | 12 +- whatsnew/3.4.po | 6 +- whatsnew/3.7.po | 4 +- whatsnew/3.8.po | 1535 +++++++++++++++++------------ 131 files changed, 5107 insertions(+), 4437 deletions(-) diff --git a/c-api/arg.po b/c-api/arg.po index 83192fd2..74c30980 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:14+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -114,7 +114,7 @@ msgstr "Sauf indication contraire, les tampons ne se terminent pas par NUL." msgid "" "Some formats require a read-only :term:`bytes-like object`, and set a " "pointer instead of a buffer structure. They work by checking that the " -"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is *NULL*, which " +"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which " "disallows mutable objects such as :class:`bytearray`." msgstr "" @@ -196,9 +196,10 @@ msgid "``z`` (:class:`str` or ``None``) [const char \\*]" msgstr "``z`` (:class:`str` ou ``None``) [``const char *``]" #: ../Doc/c-api/arg.rst:101 +#, fuzzy msgid "" "Like ``s``, but the Python object may also be ``None``, in which case the C " -"pointer is set to *NULL*." +"pointer is set to ``NULL``." msgstr "" "Comme ``s``, mais l'objet Python peut aussi être ``None``, auquel cas le " "pointeur C devient *NULL*." @@ -210,10 +211,13 @@ msgstr "" "``z*`` (:class:`str`, :term:`bytes-like object` ou ``None``) [``Py_buffer``]" #: ../Doc/c-api/arg.rst:105 +#, fuzzy msgid "" "Like ``s*``, but the Python object may also be ``None``, in which case the " -"``buf`` member of the :c:type:`Py_buffer` structure is set to *NULL*." +"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``." msgstr "" +"Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le " +"pointeur :c:type:`Py_UNICODE` vaut *NULL*." #: ../Doc/c-api/arg.rst:110 msgid "" @@ -222,9 +226,10 @@ msgid "" msgstr "" #: ../Doc/c-api/arg.rst:109 +#, fuzzy msgid "" "Like ``s#``, but the Python object may also be ``None``, in which case the C " -"pointer is set to *NULL*." +"pointer is set to ``NULL``." msgstr "" "Comme ``s#``, mais l'objet Python peut également être ``None``, dans ce cas " "le pointeur C est définie à *NULL*." @@ -330,9 +335,10 @@ msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]" msgstr "``Z`` (:class:`str` ou ``None``) [``const Py_UNICODE *``]" #: ../Doc/c-api/arg.rst:168 +#, fuzzy msgid "" "Like ``u``, but the Python object may also be ``None``, in which case the :c:" -"type:`Py_UNICODE` pointer is set to *NULL*." +"type:`Py_UNICODE` pointer is set to ``NULL``." msgstr "" "Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le " "pointeur :c:type:`Py_UNICODE` vaut *NULL*." @@ -342,9 +348,10 @@ msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]" msgstr "``Z#`` (:class:`str` ou ``None``) [``const Py_UNICODE *``, ``int``]" #: ../Doc/c-api/arg.rst:176 +#, fuzzy msgid "" "Like ``u#``, but the Python object may also be ``None``, in which case the :" -"c:type:`Py_UNICODE` pointer is set to *NULL*." +"c:type:`Py_UNICODE` pointer is set to ``NULL``." msgstr "" "Comme ``u#``, mais l'objet Python peut également être ``None``, auquel cas " "le pointeur :c:type:`Py_UNICODE` vaut *NULL*." @@ -386,7 +393,7 @@ msgstr "" msgid "" "This format requires two arguments. The first is only used as input, and " "must be a :c:type:`const char\\*` which points to the name of an encoding as " -"a NUL-terminated string, or *NULL*, in which case ``'utf-8'`` encoding is " +"a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is " "used. An exception is raised if the named encoding is not known to Python. " "The second argument must be a :c:type:`char\\*\\*`; the value of the pointer " "it references will be set to a buffer with the contents of the argument " @@ -432,8 +439,8 @@ msgstr "" msgid "" "It requires three arguments. The first is only used as input, and must be " "a :c:type:`const char\\*` which points to the name of an encoding as a NUL-" -"terminated string, or *NULL*, in which case ``'utf-8'`` encoding is used. An " -"exception is raised if the named encoding is not known to Python. The " +"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. " +"An exception is raised if the named encoding is not known to Python. The " "second argument must be a :c:type:`char\\*\\*`; the value of the pointer it " "references will be set to a buffer with the contents of the argument text. " "The text will be encoded in the encoding specified by the first argument. " @@ -447,8 +454,8 @@ msgstr "Il existe deux modes de fonctionnement :" #: ../Doc/c-api/arg.rst:233 msgid "" -"If *\\*buffer* points a *NULL* pointer, the function will allocate a buffer " -"of the needed size, copy the encoded data into this buffer and set *" +"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a " +"buffer of the needed size, copy the encoded data into this buffer and set *" "\\*buffer* to reference the newly allocated storage. The caller is " "responsible for calling :c:func:`PyMem_Free` to free the allocated buffer " "after usage." @@ -456,7 +463,7 @@ msgstr "" #: ../Doc/c-api/arg.rst:238 msgid "" -"If *\\*buffer* points to a non-*NULL* pointer (an already allocated " +"If *\\*buffer* points to a non-``NULL`` pointer (an already allocated " "buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and " "interpret the initial value of *\\*buffer_length* as the buffer size. It " "will then copy the encoded data into the buffer and NUL-terminate it. If " @@ -661,10 +668,11 @@ msgid "``O`` (object) [PyObject \\*]" msgstr "``O`` (objet) [``PyObject *``]" #: ../Doc/c-api/arg.rst:318 +#, fuzzy msgid "" "Store a Python object (without any conversion) in a C object pointer. The C " "program thus receives the actual object that was passed. The object's " -"reference count is not increased. The pointer stored is not *NULL*." +"reference count is not increased. The pointer stored is not ``NULL``." msgstr "" "Stocke un objet Python (sans aucune conversion) en un pointeur sur un objet " "C. Ainsi, Le programme C reçoit l'objet réel qui a été passé. Le compteur de " @@ -711,7 +719,7 @@ msgid "" "If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a " "second time if the argument parsing eventually fails, giving the converter a " "chance to release any memory that it had already allocated. In this second " -"call, the *object* parameter will be NULL; *address* will have the same " +"call, the *object* parameter will be ``NULL``; *address* will have the same " "value as in the original call." msgstr "" @@ -871,7 +879,7 @@ msgstr "" #: ../Doc/c-api/arg.rst:438 msgid "" "Parse the parameters of a function that takes both positional and keyword " -"parameters into local variables. The *keywords* argument is a *NULL*-" +"parameters into local variables. The *keywords* argument is a ``NULL``-" "terminated array of keyword parameter names. Empty names denote :ref:" "`positional-only parameters `. Returns true on " "success; on failure, it returns false and raises the appropriate exception." @@ -945,8 +953,8 @@ msgstr "Construction des valeurs" msgid "" "Create a new value based on a format string similar to those accepted by " "the :c:func:`PyArg_Parse\\*` family of functions and a sequence of values. " -"Returns the value or *NULL* in the case of an error; an exception will be " -"raised if *NULL* is returned." +"Returns the value or ``NULL`` in the case of an error; an exception will be " +"raised if ``NULL`` is returned." msgstr "" #: ../Doc/c-api/arg.rst:526 @@ -991,7 +999,7 @@ msgstr "``s`` (:class:`str` ou ``None``) [``const char *``]" #: ../Doc/c-api/arg.rst:549 msgid "" "Convert a null-terminated C string to a Python :class:`str` object using " -"``'utf-8'`` encoding. If the C string pointer is *NULL*, ``None`` is used." +"``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used." msgstr "" #: ../Doc/c-api/arg.rst:555 @@ -1001,7 +1009,7 @@ msgstr "``s#`` (:class:`str` ou ``None``) [``const char *``, ``int``]" #: ../Doc/c-api/arg.rst:553 msgid "" "Convert a C string and its length to a Python :class:`str` object using " -"``'utf-8'`` encoding. If the C string pointer is *NULL*, the length is " +"``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is " "ignored and ``None`` is returned." msgstr "" @@ -1012,7 +1020,7 @@ msgstr "``y`` (:class:`bytes`) [``const char *``]" #: ../Doc/c-api/arg.rst:558 msgid "" "This converts a C string to a Python :class:`bytes` object. If the C string " -"pointer is *NULL*, ``None`` is returned." +"pointer is ``NULL``, ``None`` is returned." msgstr "" #: ../Doc/c-api/arg.rst:563 @@ -1022,7 +1030,7 @@ msgstr "``y#`` (:class:`bytes`) [``const char *, int``]" #: ../Doc/c-api/arg.rst:562 msgid "" "This converts a C string and its lengths to a Python object. If the C " -"string pointer is *NULL*, ``None`` is returned." +"string pointer is ``NULL``, ``None`` is returned." msgstr "" #: ../Doc/c-api/arg.rst:566 ../Doc/c-api/arg.rst:582 @@ -1045,7 +1053,7 @@ msgstr "``u`` (:class:`str`) [``const wchar_t *``]" msgid "" "Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or " "UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is " -"*NULL*, ``None`` is returned." +"``NULL``, ``None`` is returned." msgstr "" #: ../Doc/c-api/arg.rst:579 @@ -1055,7 +1063,7 @@ msgstr "``u#`` (:class:`str`) [``const wchar_t *``, ``int``]" #: ../Doc/c-api/arg.rst:577 msgid "" "Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python " -"Unicode object. If the Unicode buffer pointer is *NULL*, the length is " +"Unicode object. If the Unicode buffer pointer is ``NULL``, the length is " "ignored and ``None`` is returned." msgstr "" @@ -1150,11 +1158,11 @@ msgstr "" #: ../Doc/c-api/arg.rst:638 msgid "" "Pass a Python object untouched (except for its reference count, which is " -"incremented by one). If the object passed in is a *NULL* pointer, it is " +"incremented by one). If the object passed in is a ``NULL`` pointer, it is " "assumed that this was caused because the call producing the argument found " "an error and set an exception. Therefore, :c:func:`Py_BuildValue` will " -"return *NULL* but won't raise an exception. If no exception has been raised " -"yet, :exc:`SystemError` is set." +"return ``NULL`` but won't raise an exception. If no exception has been " +"raised yet, :exc:`SystemError` is set." msgstr "" #: ../Doc/c-api/arg.rst:646 @@ -1181,7 +1189,7 @@ msgid "" "Convert *anything* to a Python object through a *converter* function. The " "function is called with *anything* (which should be compatible with :c:type:" "`void \\*`) as its argument and should return a \"new\" Python object, or " -"*NULL* if an error occurred." +"``NULL`` if an error occurred." msgstr "" #: ../Doc/c-api/arg.rst:660 @@ -1214,7 +1222,7 @@ msgstr "" #: ../Doc/c-api/arg.rst:670 msgid "" "If there is an error in the format string, the :exc:`SystemError` exception " -"is set and *NULL* returned." +"is set and ``NULL`` returned." msgstr "" #: ../Doc/c-api/arg.rst:675 diff --git a/c-api/buffer.po b/c-api/buffer.po index f85aea35..fb27231c 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:18+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -202,7 +202,7 @@ msgstr "" #: ../Doc/c-api/buffer.rst:104 msgid "" "A new reference to the exporting object. The reference is owned by the " -"consumer and automatically decremented and set to *NULL* by :c:func:" +"consumer and automatically decremented and set to ``NULL`` by :c:func:" "`PyBuffer_Release`. The field is the equivalent of the return value of any " "standard C-API function." msgstr "" @@ -211,7 +211,7 @@ msgstr "" msgid "" "As a special case, for *temporary* buffers that are wrapped by :c:func:" "`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field is " -"*NULL*. In general, exporting objects MUST NOT use this scheme." +"``NULL``. In general, exporting objects MUST NOT use this scheme." msgstr "" #: ../Doc/c-api/buffer.rst:116 @@ -239,15 +239,15 @@ msgstr "" #: ../Doc/c-api/buffer.rst:132 msgid "" "Item size in bytes of a single element. Same as the value of :func:`struct." -"calcsize` called on non-NULL :c:member:`~Py_buffer.format` values." +"calcsize` called on non-``NULL`` :c:member:`~Py_buffer.format` values." msgstr "" #: ../Doc/c-api/buffer.rst:135 msgid "" "Important exception: If a consumer requests a buffer without the :c:macro:" -"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to *NULL*, " -"but :c:member:`~Py_buffer.itemsize` still has the value for the original " -"format." +"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to " +"``NULL``, but :c:member:`~Py_buffer.itemsize` still has the value for the " +"original format." msgstr "" #: ../Doc/c-api/buffer.rst:140 @@ -259,7 +259,7 @@ msgstr "" #: ../Doc/c-api/buffer.rst:144 msgid "" -"If :c:member:`~Py_buffer.shape` is *NULL* as a result of a :c:macro:" +"If :c:member:`~Py_buffer.shape` is ``NULL`` as a result of a :c:macro:" "`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer must " "disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == 1``." msgstr "" @@ -267,8 +267,8 @@ msgstr "" #: ../Doc/c-api/buffer.rst:150 msgid "" "A *NUL* terminated string in :mod:`struct` module style syntax describing " -"the contents of a single item. If this is *NULL*, ``\"B\"`` (unsigned bytes) " -"is assumed." +"the contents of a single item. If this is ``NULL``, ``\"B\"`` (unsigned " +"bytes) is assumed." msgstr "" #: ../Doc/c-api/buffer.rst:154 @@ -280,7 +280,7 @@ msgid "" "The number of dimensions the memory represents as an n-dimensional array. If " "it is ``0``, :c:member:`~Py_buffer.buf` points to a single item representing " "a scalar. In this case, :c:member:`~Py_buffer.shape`, :c:member:`~Py_buffer." -"strides` and :c:member:`~Py_buffer.suboffsets` MUST be *NULL*." +"strides` and :c:member:`~Py_buffer.suboffsets` MUST be ``NULL``." msgstr "" #: ../Doc/c-api/buffer.rst:163 @@ -337,7 +337,7 @@ msgstr "" #: ../Doc/c-api/buffer.rst:201 msgid "" "If all suboffsets are negative (i.e. no de-referencing is needed), then this " -"field must be NULL (the default value)." +"field must be ``NULL`` (the default value)." msgstr "" #: ../Doc/c-api/buffer.rst:204 @@ -403,7 +403,7 @@ msgstr "" #: ../Doc/c-api/buffer.rst:250 msgid "" "Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be " -"filled in correctly. Otherwise, this field MUST be *NULL*." +"filled in correctly. Otherwise, this field MUST be ``NULL``." msgstr "" #: ../Doc/c-api/buffer.rst:254 @@ -566,12 +566,12 @@ msgid "" "If ``ndim == 0``, the memory location pointed to by :c:member:`~Py_buffer." "buf` is interpreted as a scalar of size :c:member:`~Py_buffer.itemsize`. In " "that case, both :c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer." -"strides` are *NULL*." +"strides` are ``NULL``." msgstr "" #: ../Doc/c-api/buffer.rst:354 msgid "" -"If :c:member:`~Py_buffer.strides` is *NULL*, the array is interpreted as a " +"If :c:member:`~Py_buffer.strides` is ``NULL``, the array is interpreted as a " "standard n-dimensional C-array. Otherwise, the consumer must access an n-" "dimensional array as follows:" msgstr "" @@ -601,8 +601,8 @@ msgstr "" #: ../Doc/c-api/buffer.rst:409 msgid "" "Here is a function that returns a pointer to the element in an N-D array " -"pointed to by an N-dimensional index when there are both non-NULL strides " -"and suboffsets::" +"pointed to by an N-dimensional index when there are both non-``NULL`` " +"strides and suboffsets::" msgstr "" #: ../Doc/c-api/buffer.rst:428 @@ -620,7 +620,7 @@ msgstr "" msgid "" "Send a request to *exporter* to fill in *view* as specified by *flags*. If " "the exporter cannot provide a buffer of the exact type, it MUST raise :c:" -"data:`PyExc_BufferError`, set :c:member:`view->obj` to *NULL* and return " +"data:`PyExc_BufferError`, set :c:member:`view->obj` to ``NULL`` and return " "``-1``." msgstr "" @@ -717,12 +717,12 @@ msgstr "" msgid "" "On success, set :c:member:`view->obj` to a new reference to *exporter* and " "return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set :c:member:`view-" -">obj` to *NULL* and return ``-1``;" +">obj` to ``NULL`` and return ``-1``;" msgstr "" #: ../Doc/c-api/buffer.rst:521 msgid "" "If this function is used as part of a :ref:`getbufferproc `, " "*exporter* MUST be set to the exporting object and *flags* must be passed " -"unmodified. Otherwise, *exporter* MUST be NULL." +"unmodified. Otherwise, *exporter* MUST be ``NULL``." msgstr "" diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 4b311628..53d2190c 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -65,9 +65,10 @@ msgstr "" "implémente le :ref:`protocole buffer `." #: ../Doc/c-api/bytearray.rst:50 +#, fuzzy msgid "" "Create a new bytearray object from *string* and its length, *len*. On " -"failure, *NULL* is returned." +"failure, ``NULL`` is returned." msgstr "" "Crée un nouvel objet ``bytearray`` à partir d'un objet *string* et de sa " "longueur, *len*. En cas d'échec, *NULL* est renvoyé." @@ -80,15 +81,17 @@ msgstr "" "avec le résultat." #: ../Doc/c-api/bytearray.rst:61 -msgid "Return the size of *bytearray* after checking for a *NULL* pointer." +#, fuzzy +msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." msgstr "" "Renvoie la taille de *bytearray* après vérification de la présence d'un " "pointeur *NULL*." #: ../Doc/c-api/bytearray.rst:66 +#, fuzzy msgid "" "Return the contents of *bytearray* as a char array after checking for a " -"*NULL* pointer. The returned array always has an extra null byte appended." +"``NULL`` pointer. The returned array always has an extra null byte appended." msgstr "" "Renvoie le contenu de *bytearray* sous forme d'un tableau de caractères, en " "vérifiant que ce n'est pas un pointeur *NULL*. Le tableau renvoyé se termine " diff --git a/c-api/bytes.po b/c-api/bytes.po index 5554f048..4caa22cd 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-03 11:50+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -49,15 +49,15 @@ msgstr "" #: ../Doc/c-api/bytes.rst:39 msgid "" "Return a new bytes object with a copy of the string *v* as value on success, " -"and *NULL* on failure. The parameter *v* must not be *NULL*; it will not be " -"checked." +"and ``NULL`` on failure. The parameter *v* must not be ``NULL``; it will " +"not be checked." msgstr "" #: ../Doc/c-api/bytes.rst:46 msgid "" "Return a new bytes object with a copy of the string *v* as value and length " -"*len* on success, and *NULL* on failure. If *v* is *NULL*, the contents of " -"the bytes object are uninitialized." +"*len* on success, and ``NULL`` on failure. If *v* is ``NULL``, the contents " +"of the bytes object are uninitialized." msgstr "" #: ../Doc/c-api/bytes.rst:53 @@ -258,7 +258,7 @@ msgid "" "bytes. The data must not be modified in any way, unless the object was just " "created using ``PyBytes_FromStringAndSize(NULL, size)``. It must not be " "deallocated. If *o* is not a bytes object at all, :c:func:" -"`PyBytes_AsString` returns *NULL* and raises :exc:`TypeError`." +"`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`." msgstr "" #: ../Doc/c-api/bytes.rst:154 @@ -273,8 +273,9 @@ msgstr "" #: ../Doc/c-api/bytes.rst:162 msgid "" -"If *length* is *NULL*, the bytes object may not contain embedded null bytes; " -"if it does, the function returns ``-1`` and a :exc:`ValueError` is raised." +"If *length* is ``NULL``, the bytes object may not contain embedded null " +"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is " +"raised." msgstr "" #: ../Doc/c-api/bytes.rst:166 @@ -299,7 +300,7 @@ msgid "" "appended to *bytes*; the caller will own the new reference. The reference " "to the old value of *bytes* will be stolen. If the new object cannot be " "created, the old reference to *bytes* will still be discarded and the value " -"of *\\*bytes* will be set to *NULL*; the appropriate exception will be set." +"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be set." msgstr "" #: ../Doc/c-api/bytes.rst:189 @@ -319,6 +320,6 @@ msgid "" "and the new size desired. On success, *\\*bytes* holds the resized bytes " "object and ``0`` is returned; the address in *\\*bytes* may differ from its " "input value. If the reallocation fails, the original bytes object at *" -"\\*bytes* is deallocated, *\\*bytes* is set to *NULL*, :exc:`MemoryError` is " -"set, and ``-1`` is returned." +"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` " +"is set, and ``-1`` is returned." msgstr "" diff --git a/c-api/capsule.po b/c-api/capsule.po index f2fa76d9..4525a496 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -52,23 +52,23 @@ msgstr "" #: ../Doc/c-api/capsule.rst:42 msgid "" "Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* " -"argument may not be *NULL*." +"argument may not be ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:45 -msgid "On failure, set an exception and return *NULL*." +msgid "On failure, set an exception and return ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:47 msgid "" -"The *name* string may either be *NULL* or a pointer to a valid C string. If " -"non-*NULL*, this string must outlive the capsule. (Though it is permitted " -"to free it inside the *destructor*.)" +"The *name* string may either be ``NULL`` or a pointer to a valid C string. " +"If non-``NULL``, this string must outlive the capsule. (Though it is " +"permitted to free it inside the *destructor*.)" msgstr "" #: ../Doc/c-api/capsule.rst:51 msgid "" -"If the *destructor* argument is not *NULL*, it will be called with the " +"If the *destructor* argument is not ``NULL``, it will be called with the " "capsule as its argument when it is destroyed." msgstr "" @@ -82,39 +82,39 @@ msgstr "" #: ../Doc/c-api/capsule.rst:61 msgid "" "Retrieve the *pointer* stored in the capsule. On failure, set an exception " -"and return *NULL*." +"and return ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:64 msgid "" "The *name* parameter must compare exactly to the name stored in the capsule. " -"If the name stored in the capsule is *NULL*, the *name* passed in must also " -"be *NULL*. Python uses the C function :c:func:`strcmp` to compare capsule " -"names." +"If the name stored in the capsule is ``NULL``, the *name* passed in must " +"also be ``NULL``. Python uses the C function :c:func:`strcmp` to compare " +"capsule names." msgstr "" #: ../Doc/c-api/capsule.rst:72 msgid "" "Return the current destructor stored in the capsule. On failure, set an " -"exception and return *NULL*." +"exception and return ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:75 msgid "" -"It is legal for a capsule to have a *NULL* destructor. This makes a *NULL* " -"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:" -"`PyErr_Occurred` to disambiguate." +"It is legal for a capsule to have a ``NULL`` destructor. This makes a " +"``NULL`` return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :" +"c:func:`PyErr_Occurred` to disambiguate." msgstr "" #: ../Doc/c-api/capsule.rst:82 msgid "" "Return the current context stored in the capsule. On failure, set an " -"exception and return *NULL*." +"exception and return ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:85 msgid "" -"It is legal for a capsule to have a *NULL* context. This makes a *NULL* " +"It is legal for a capsule to have a ``NULL`` context. This makes a ``NULL`` " "return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:" "`PyErr_Occurred` to disambiguate." msgstr "" @@ -122,13 +122,13 @@ msgstr "" #: ../Doc/c-api/capsule.rst:92 msgid "" "Return the current name stored in the capsule. On failure, set an exception " -"and return *NULL*." +"and return ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:95 msgid "" -"It is legal for a capsule to have a *NULL* name. This makes a *NULL* return " -"code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:" +"It is legal for a capsule to have a ``NULL`` name. This makes a ``NULL`` " +"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:" "`PyErr_Occurred` to disambiguate." msgstr "" @@ -145,15 +145,15 @@ msgstr "" #: ../Doc/c-api/capsule.rst:109 msgid "" "Return the capsule's internal *pointer* on success. On failure, set an " -"exception and return *NULL*." +"exception and return ``NULL``." msgstr "" #: ../Doc/c-api/capsule.rst:115 msgid "" "Determines whether or not *capsule* is a valid capsule. A valid capsule is " -"non-*NULL*, passes :c:func:`PyCapsule_CheckExact`, has a non-*NULL* pointer " -"stored in it, and its internal name matches the *name* parameter. (See :c:" -"func:`PyCapsule_GetPointer` for information on how capsule names are " +"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` " +"pointer stored in it, and its internal name matches the *name* parameter. " +"(See :c:func:`PyCapsule_GetPointer` for information on how capsule names are " "compared.)" msgstr "" @@ -186,13 +186,13 @@ msgstr "" #: ../Doc/c-api/capsule.rst:145 msgid "" -"Set the name inside *capsule* to *name*. If non-*NULL*, the name must " +"Set the name inside *capsule* to *name*. If non-``NULL``, the name must " "outlive the capsule. If the previous *name* stored in the capsule was not " -"*NULL*, no attempt is made to free it." +"``NULL``, no attempt is made to free it." msgstr "" #: ../Doc/c-api/capsule.rst:154 msgid "" "Set the void pointer inside *capsule* to *pointer*. The pointer may not be " -"*NULL*." +"``NULL``." msgstr "" diff --git a/c-api/cell.po b/c-api/cell.po index 44b2efd6..7506a573 100644 --- a/c-api/cell.po +++ b/c-api/cell.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-05-09 10:14+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -50,15 +50,17 @@ msgid "The type object corresponding to cell objects." msgstr "Type objet correspondant aux objets cellules." #: ../Doc/c-api/cell.rst:30 -msgid "Return true if *ob* is a cell object; *ob* must not be *NULL*." +#, fuzzy +msgid "Return true if *ob* is a cell object; *ob* must not be ``NULL``." msgstr "" "Renvoie ``True`` si *ob* est un objet cellule ; *ob* ne doit pas être à " "*NULL*." #: ../Doc/c-api/cell.rst:35 +#, fuzzy msgid "" "Create and return a new cell object containing the value *ob*. The parameter " -"may be *NULL*." +"may be ``NULL``." msgstr "" "Crée et retourne un nouvel objet cellule contenant la valeur *ob*. Le " "paramètre peut être mis à *NULL*." @@ -68,19 +70,21 @@ msgid "Return the contents of the cell *cell*." msgstr "Renvoie le contenu de la cellule *cell*." #: ../Doc/c-api/cell.rst:46 +#, fuzzy msgid "" "Return the contents of the cell *cell*, but without checking that *cell* is " -"non-*NULL* and a cell object." +"non-``NULL`` and a cell object." msgstr "" "Renvoie le contenu de la cellule *cell*, mais sans vérifier si *cell* est " "non *NULL* et sans vérifier si c'est un objet cellule." #: ../Doc/c-api/cell.rst:52 +#, fuzzy msgid "" "Set the contents of the cell object *cell* to *value*. This releases the " -"reference to any current content of the cell. *value* may be *NULL*. *cell* " -"must be non-*NULL*; if it is not a cell object, ``-1`` will be returned. On " -"success, ``0`` will be returned." +"reference to any current content of the cell. *value* may be ``NULL``. " +"*cell* must be non-``NULL``; if it is not a cell object, ``-1`` will be " +"returned. On success, ``0`` will be returned." msgstr "" "Définit le contenu de l'objet cellule à *value*. Cela libère la référence à " "toute valeur de la cellule. *value* peut être fixé à *NULL*. *cell* ne doit " @@ -88,9 +92,10 @@ msgstr "" "c'est un objet cellule, renvoie ``0``." #: ../Doc/c-api/cell.rst:60 +#, fuzzy msgid "" "Sets the value of the cell object *cell* to *value*. No reference counts " -"are adjusted, and no checks are made for safety; *cell* must be non-*NULL* " +"are adjusted, and no checks are made for safety; *cell* must be non-``NULL`` " "and must be a cell object." msgstr "" "Définit la valeur de l'objet cellule à *value*. Pas de comptage de " diff --git a/c-api/code.po b/c-api/code.po index 00b83265..77b0fb96 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-02-15 00:30+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -64,20 +64,13 @@ msgstr "" "c:func:`PyCode_New` peut vous lier directement à une version spécifique de " "Python, le *bytecode* étant sujet à modifications." -#: ../Doc/c-api/code.rst:43 -msgid "" -"Raises an :ref:`auditing event ` ``code.__new__`` with arguments " -"``code``, ``filename``, ``name``, ``argcount``, ``posonlyargcount``, " -"``kwonlyargcount``, ``nlocals``, ``stacksize``, ``flags``." -msgstr "" - -#: ../Doc/c-api/code.rst:47 +#: ../Doc/c-api/code.rst:45 msgid "" "Similar to :c:func:`PyCode_New`, but with an extra \"posonlyargcount\" for " "positonal-only arguments." msgstr "" -#: ../Doc/c-api/code.rst:53 +#: ../Doc/c-api/code.rst:51 msgid "" "Return a new empty code object with the specified filename, function name, " "and first line number. It is illegal to :func:`exec` or :func:`eval` the " diff --git a/c-api/codec.po b/c-api/codec.po index 977a2cd0..dcf4ba92 100644 --- a/c-api/codec.po +++ b/c-api/codec.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -42,7 +42,7 @@ msgstr "" msgid "" "*object* is passed through the encoder function found for the given " "*encoding* using the error handling method defined by *errors*. *errors* " -"may be *NULL* to use the default method defined for the codec. Raises a :" +"may be ``NULL`` to use the default method defined for the codec. Raises a :" "exc:`LookupError` if no encoder can be found." msgstr "" @@ -54,7 +54,7 @@ msgstr "" msgid "" "*object* is passed through the decoder function found for the given " "*encoding* using the error handling method defined by *errors*. *errors* " -"may be *NULL* to use the default method defined for the codec. Raises a :" +"may be ``NULL`` to use the default method defined for the codec. Raises a :" "exc:`LookupError` if no encoder can be found." msgstr "" @@ -67,7 +67,7 @@ msgid "" "In the following functions, the *encoding* string is looked up converted to " "all lower-case characters, which makes encodings looked up through this " "mechanism effectively case-insensitive. If no codec is found, a :exc:" -"`KeyError` is set and *NULL* returned." +"`KeyError` is set and ``NULL`` returned." msgstr "" #: ../Doc/c-api/codec.rst:47 @@ -132,8 +132,8 @@ msgstr "" #: ../Doc/c-api/codec.rst:94 msgid "" "Lookup the error handling callback function registered under *name*. As a " -"special case *NULL* can be passed, in which case the error handling callback " -"for \"strict\" will be returned." +"special case ``NULL`` can be passed, in which case the error handling " +"callback for \"strict\" will be returned." msgstr "" #: ../Doc/c-api/codec.rst:100 diff --git a/c-api/concrete.po b/c-api/concrete.po index 52b28b17..7c1537a6 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-02-15 00:31+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -36,11 +36,13 @@ msgstr "" "types d'objets Python." #: ../Doc/c-api/concrete.rst:19 +#, fuzzy msgid "" "While the functions described in this chapter carefully check the type of " -"the objects which are passed in, many of them do not check for *NULL* being " -"passed instead of a valid object. Allowing *NULL* to be passed in can cause " -"memory access violations and immediate termination of the interpreter." +"the objects which are passed in, many of them do not check for ``NULL`` " +"being passed instead of a valid object. Allowing ``NULL`` to be passed in " +"can cause memory access violations and immediate termination of the " +"interpreter." msgstr "" "Tandis que les fonctions décrites dans ce chapitre vérifient avec soin le " "type des objets qui leur sont passés, beaucoup d'entre elles ne vérifient " diff --git a/c-api/contextvars.po b/c-api/contextvars.po index 72faa61a..ce80f120 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-12 18:59+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -67,19 +67,19 @@ msgstr "Macros pour vérifier les types :" #: ../Doc/c-api/contextvars.rst:62 msgid "" "Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be " -"*NULL*. This function always succeeds." +"``NULL``. This function always succeeds." msgstr "" #: ../Doc/c-api/contextvars.rst:67 msgid "" "Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be " -"*NULL*. This function always succeeds." +"``NULL``. This function always succeeds." msgstr "" #: ../Doc/c-api/contextvars.rst:72 msgid "" "Return true if *o* is of type :c:data:`PyContextToken_Type`. *o* must not be " -"*NULL*. This function always succeeds." +"``NULL``. This function always succeeds." msgstr "" #: ../Doc/c-api/contextvars.rst:76 diff --git a/c-api/conversion.po b/c-api/conversion.po index 476f119a..929894ac 100644 --- a/c-api/conversion.po +++ b/c-api/conversion.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -58,7 +58,7 @@ msgstr "" msgid "" "If the platform doesn't have :c:func:`vsnprintf` and the buffer size needed " "to avoid truncation exceeds *size* by more than 512 bytes, Python aborts " -"with a *Py_FatalError*." +"with a :c:func:`Py_FatalError`." msgstr "" #: ../Doc/c-api/conversion.rst:37 @@ -150,39 +150,40 @@ msgstr "" #: ../Doc/c-api/conversion.rst:98 msgid "" -"*flags* can be zero or more of the values *Py_DTSF_SIGN*, " -"*Py_DTSF_ADD_DOT_0*, or *Py_DTSF_ALT*, or-ed together:" +"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, " +"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:" msgstr "" #: ../Doc/c-api/conversion.rst:101 msgid "" -"*Py_DTSF_SIGN* means to always precede the returned string with a sign " +"``Py_DTSF_SIGN`` means to always precede the returned string with a sign " "character, even if *val* is non-negative." msgstr "" #: ../Doc/c-api/conversion.rst:104 msgid "" -"*Py_DTSF_ADD_DOT_0* means to ensure that the returned string will not look " +"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look " "like an integer." msgstr "" #: ../Doc/c-api/conversion.rst:107 msgid "" -"*Py_DTSF_ALT* means to apply \"alternate\" formatting rules. See the " +"``Py_DTSF_ALT`` means to apply \"alternate\" formatting rules. See the " "documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details." msgstr "" #: ../Doc/c-api/conversion.rst:111 msgid "" -"If *ptype* is non-NULL, then the value it points to will be set to one of " -"*Py_DTST_FINITE*, *Py_DTST_INFINITE*, or *Py_DTST_NAN*, signifying that " -"*val* is a finite number, an infinite number, or not a number, respectively." +"If *ptype* is non-``NULL``, then the value it points to will be set to one " +"of ``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying " +"that *val* is a finite number, an infinite number, or not a number, " +"respectively." msgstr "" #: ../Doc/c-api/conversion.rst:115 msgid "" "The return value is a pointer to *buffer* with the converted string or " -"*NULL* if the conversion failed. The caller is responsible for freeing the " +"``NULL`` if the conversion failed. The caller is responsible for freeing the " "returned string by calling :c:func:`PyMem_Free`." msgstr "" diff --git a/c-api/coro.po b/c-api/coro.po index 32fe3056..1a92a237 100644 --- a/c-api/coro.po +++ b/c-api/coro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -35,16 +35,20 @@ msgid "The type object corresponding to coroutine objects." msgstr "L'objet type correspondant aux objets coroutines." #: ../Doc/c-api/coro.rst:26 -msgid "Return true if *ob*'s type is *PyCoro_Type*; *ob* must not be *NULL*." +#, fuzzy +msgid "" +"Return true if *ob*'s type is :c:type:`PyCoro_Type`; *ob* must not be " +"``NULL``." msgstr "" "Renvoie vrai si *ob* est de type *PyCoro_Type*. *ob* ne doit pas être *NULL*." #: ../Doc/c-api/coro.rst:31 +#, fuzzy msgid "" "Create and return a new coroutine object based on the *frame* object, with " "``__name__`` and ``__qualname__`` set to *name* and *qualname*. A reference " "to *frame* is stolen by this function. The *frame* argument must not be " -"*NULL*." +"``NULL``." msgstr "" "Crée et renvoie un nouvel objet coroutine basé sur l'objet *frame*, avec " "``__name__`` et ``__qualname__`` respectivement assignés de *name* et " diff --git a/c-api/datetime.po b/c-api/datetime.po index 4e268df3..f2f0ead9 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-05-31 10:15+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -56,81 +56,91 @@ msgid "Type-check macros:" msgstr "Macros pour vérifier les types :" #: ../Doc/c-api/datetime.rst:30 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype " -"of :c:data:`PyDateTime_DateType`. *ob* must not be *NULL*." +"of :c:data:`PyDateTime_DateType`. *ob* must not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateType` ou un sous-" "type de :c:data:`PyDateTime_DateType`. *ob* ne doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:36 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not " -"be *NULL*." +"be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateType`. *ob* ne doit " "pas être *NULL*." #: ../Doc/c-api/datetime.rst:42 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a " -"subtype of :c:data:`PyDateTime_DateTimeType`. *ob* must not be *NULL*." +"subtype of :c:data:`PyDateTime_DateTimeType`. *ob* must not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateTimeType` ou un " "sous-type de :c:data:`PyDateTime_DateTimeType`. *ob* ne doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:48 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must " -"not be *NULL*." +"not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DateTimeType`. *ob* ne " "doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:54 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype " -"of :c:data:`PyDateTime_TimeType`. *ob* must not be *NULL*." +"of :c:data:`PyDateTime_TimeType`. *ob* must not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TimeType` ou un sous-" "type de :c:data:`PyDateTime_TimeType`. *ob* ne doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:60 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not " -"be *NULL*." +"be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TimeType`. *ob* ne doit " "pas être *NULL*." #: ../Doc/c-api/datetime.rst:66 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype " -"of :c:data:`PyDateTime_DeltaType`. *ob* must not be *NULL*." +"of :c:data:`PyDateTime_DeltaType`. *ob* must not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DeltaType` ou un sous-" "type de :c:data:`PyDateTime_DeltaType`. *ob* ne doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:72 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not " -"be *NULL*." +"be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_DeltaType`. *ob* ne " "doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:78 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype " -"of :c:data:`PyDateTime_TZInfoType`. *ob* must not be *NULL*." +"of :c:data:`PyDateTime_TZInfoType`. *ob* must not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TZInfoType` ou un sous-" "type de :c:data:`PyDateTime_TZInfoType`. *ob* ne doit pas être *NULL*." #: ../Doc/c-api/datetime.rst:84 +#, fuzzy msgid "" "Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must " -"not be *NULL*." +"not be ``NULL``." msgstr "" "Renvoie vrai si *ob* est de type :c:data:`PyDateTime_TZInfoType`. *ob* ne " "doit pas être *NULL*." @@ -209,10 +219,11 @@ msgstr "" "par l'argument *offset* et avec le nom de fuseau horaire *name*." #: ../Doc/c-api/datetime.rst:145 +#, fuzzy msgid "" "Macros to extract fields from date objects. The argument must be an " "instance of :c:data:`PyDateTime_Date`, including subclasses (such as :c:data:" -"`PyDateTime_DateTime`). The argument must not be *NULL*, and the type is " +"`PyDateTime_DateTime`). The argument must not be ``NULL``, and the type is " "not checked:" msgstr "" "Macros pour extraire les champs des objets *date*. L'argument doit être une " @@ -233,10 +244,11 @@ msgid "Return the day, as an int from 1 through 31." msgstr "Renvoie le jour, sous forme d'entier allant de 1 à 31." #: ../Doc/c-api/datetime.rst:165 +#, fuzzy msgid "" "Macros to extract fields from datetime objects. The argument must be an " "instance of :c:data:`PyDateTime_DateTime`, including subclasses. The " -"argument must not be *NULL*, and the type is not checked:" +"argument must not be ``NULL``, and the type is not checked:" msgstr "" "Macros pour extraire les champs des objets *datetime*. L'argument doit être " "une instance de :c:data:`PyDateTime_DateTime` ou une sous-classe de celle-" @@ -259,20 +271,22 @@ msgid "Return the microsecond, as an int from 0 through 999999." msgstr "Renvoie la microseconde, sous forme d'entier allant de 0 à 999999." #: ../Doc/c-api/datetime.rst:189 +#, fuzzy msgid "" "Macros to extract fields from time objects. The argument must be an " "instance of :c:data:`PyDateTime_Time`, including subclasses. The argument " -"must not be *NULL*, and the type is not checked:" +"must not be ``NULL``, and the type is not checked:" msgstr "" "Macros pour extraire les champs des objets *time*. L'argument doit être une " "instance de :c:data:`PyDateTime_Time` ou une sous-classe de celle-ci. " "L'argument ne doit pas être *NULL*, et le type n'est pas vérifié :" #: ../Doc/c-api/datetime.rst:213 +#, fuzzy msgid "" "Macros to extract fields from time delta objects. The argument must be an " "instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument " -"must not be *NULL*, and the type is not checked:" +"must not be ``NULL``, and the type is not checked:" msgstr "" "Macros pour extraire les champs des objets *time delta*. L'argument doit " "être une instance de :c:data:`PyDateTime_Delta` ou une sous-classe de celle-" diff --git a/c-api/dict.po b/c-api/dict.po index c50d1ef4..e013b2b0 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-03 11:36+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -42,7 +42,7 @@ msgid "" msgstr "" #: ../Doc/c-api/dict.rst:36 -msgid "Return a new empty dictionary, or *NULL* on failure." +msgid "Return a new empty dictionary, or ``NULL`` on failure." msgstr "" #: ../Doc/c-api/dict.rst:41 @@ -96,8 +96,8 @@ msgstr "" #: ../Doc/c-api/dict.rst:95 msgid "" -"Return the object from dictionary *p* which has a key *key*. Return *NULL* " -"if the key *key* is not present, but *without* setting an exception." +"Return the object from dictionary *p* which has a key *key*. Return " +"``NULL`` if the key *key* is not present, but *without* setting an exception." msgstr "" #: ../Doc/c-api/dict.rst:98 @@ -110,8 +110,8 @@ msgstr "" #: ../Doc/c-api/dict.rst:105 msgid "" "Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. " -"Return *NULL* **with** an exception set if an exception occurred. Return " -"*NULL* **without** an exception set if the key wasn't present." +"Return ``NULL`` **with** an exception set if an exception occurred. Return " +"``NULL`` **without** an exception set if the key wasn't present." msgstr "" #: ../Doc/c-api/dict.rst:113 @@ -167,7 +167,7 @@ msgid "" "true for each pair in the dictionary, and false once all pairs have been " "reported. The parameters *pkey* and *pvalue* should either point to :c:type:" "`PyObject\\*` variables that will be filled in with each key and value, " -"respectively, or may be *NULL*. Any references returned through them are " +"respectively, or may be ``NULL``. Any references returned through them are " "borrowed. *ppos* should not be altered during iteration. Its value " "represents offsets within the internal dictionary structure, and since the " "structure is sparse, the offsets are not consecutive." diff --git a/c-api/exceptions.po b/c-api/exceptions.po index bfda869a..9853e8e0 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -27,7 +27,7 @@ msgid "" "variable: there is a global indicator (per thread) of the last error that " "occurred. Most C API functions don't clear this on success, but will set it " "to indicate the cause of the error on failure. Most C API functions also " -"return an error indicator, usually *NULL* if they are supposed to return a " +"return an error indicator, usually ``NULL`` if they are supposed to return a " "pointer, or ``-1`` if they return an integer (exception: the :c:func:`PyArg_" "\\*` functions return ``1`` for success and ``0`` for failure)." msgstr "" @@ -36,9 +36,9 @@ msgstr "" msgid "" "Concretely, the error indicator consists of three object pointers: the " "exception's type, the exception's value, and the traceback object. Any of " -"those pointers can be NULL if non-set (although some combinations are " -"forbidden, for example you can't have a non-NULL traceback if the exception " -"type is NULL)." +"those pointers can be ``NULL`` if non-set (although some combinations are " +"forbidden, for example you can't have a non-``NULL`` traceback if the " +"exception type is ``NULL``)." msgstr "" #: ../Doc/c-api/exceptions.rst:26 @@ -129,8 +129,8 @@ msgstr "Lever des exceptions" #: ../Doc/c-api/exceptions.rst:93 msgid "" "These functions help you set the current thread's error indicator. For " -"convenience, some of these functions will always return a NULL pointer for " -"use in a ``return`` statement." +"convenience, some of these functions will always return a ``NULL`` pointer " +"for use in a ``return`` statement." msgstr "" #: ../Doc/c-api/exceptions.rst:100 @@ -150,7 +150,7 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:114 msgid "" -"This function sets the error indicator and returns *NULL*. *exception* " +"This function sets the error indicator and returns ``NULL``. *exception* " "should be a Python exception class. The *format* and subsequent parameters " "help format the error message; they have the same meaning and values as in :" "c:func:`PyUnicode_FromFormat`. *format* is an ASCII-encoded string." @@ -176,8 +176,8 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:143 msgid "" "This is a shorthand for ``PyErr_SetNone(PyExc_MemoryError)``; it returns " -"*NULL* so an object allocation function can write ``return PyErr_NoMemory();" -"`` when it runs out of memory." +"``NULL`` so an object allocation function can write ``return " +"PyErr_NoMemory();`` when it runs out of memory." msgstr "" #: ../Doc/c-api/exceptions.rst:152 @@ -190,16 +190,16 @@ msgid "" "Unix, when the :c:data:`errno` value is :const:`EINTR`, indicating an " "interrupted system call, this calls :c:func:`PyErr_CheckSignals`, and if " "that set the error indicator, leaves it set to that. The function always " -"returns *NULL*, so a wrapper function around a system call can write " +"returns ``NULL``, so a wrapper function around a system call can write " "``return PyErr_SetFromErrno(type);`` when the system call returns an error." msgstr "" #: ../Doc/c-api/exceptions.rst:166 msgid "" "Similar to :c:func:`PyErr_SetFromErrno`, with the additional behavior that " -"if *filenameObject* is not *NULL*, it is passed to the constructor of *type* " -"as a third parameter. In the case of :exc:`OSError` exception, this is used " -"to define the :attr:`filename` attribute of the exception instance." +"if *filenameObject* is not ``NULL``, it is passed to the constructor of " +"*type* as a third parameter. In the case of :exc:`OSError` exception, this " +"is used to define the :attr:`filename` attribute of the exception instance." msgstr "" #: ../Doc/c-api/exceptions.rst:175 @@ -226,7 +226,7 @@ msgid "" "first item is the *ierr* value and whose second item is the corresponding " "error message (gotten from :c:func:`FormatMessage`), and then calls " "``PyErr_SetObject(PyExc_WindowsError, object)``. This function always " -"returns *NULL*." +"returns ``NULL``." msgstr "" #: ../Doc/c-api/exceptions.rst:200 ../Doc/c-api/exceptions.rst:208 @@ -325,7 +325,7 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:306 msgid "" "Issue a warning message. The *category* argument is a warning category (see " -"below) or *NULL*; the *message* argument is a UTF-8 encoded string. " +"below) or ``NULL``; the *message* argument is a UTF-8 encoded string. " "*stack_level* is a positive number giving a number of stack frames; the " "warning will be issued from the currently executing line of code in that " "stack frame. A *stack_level* of 1 is the function calling :c:func:" @@ -359,7 +359,7 @@ msgid "" "Issue a warning message with explicit control over all warning attributes. " "This is a straightforward wrapper around the Python function :func:`warnings." "warn_explicit`, see there for more information. The *module* and *registry* " -"arguments may be set to *NULL* to get the default effect described there." +"arguments may be set to ``NULL`` to get the default effect described there." msgstr "" #: ../Doc/c-api/exceptions.rst:344 @@ -390,9 +390,9 @@ msgstr "" msgid "" "Test whether the error indicator is set. If set, return the exception " "*type* (the first argument to the last call to one of the :c:func:`PyErr_Set" -"\\*` functions or to :c:func:`PyErr_Restore`). If not set, return *NULL*. " -"You do not own a reference to the return value, so you do not need to :c:" -"func:`Py_DECREF` it." +"\\*` functions or to :c:func:`PyErr_Restore`). If not set, return " +"``NULL``. You do not own a reference to the return value, so you do not " +"need to :c:func:`Py_DECREF` it." msgstr "" #: ../Doc/c-api/exceptions.rst:379 @@ -422,8 +422,8 @@ msgstr "" msgid "" "Retrieve the error indicator into three variables whose addresses are " "passed. If the error indicator is not set, set all three variables to " -"*NULL*. If it is set, it will be cleared and you own a reference to each " -"object retrieved. The value and traceback object may be *NULL* even when " +"``NULL``. If it is set, it will be cleared and you own a reference to each " +"object retrieved. The value and traceback object may be ``NULL`` even when " "the type object is not." msgstr "" @@ -437,8 +437,8 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:424 msgid "" "Set the error indicator from the three objects. If the error indicator is " -"already set, it is cleared first. If the objects are *NULL*, the error " -"indicator is cleared. Do not pass a *NULL* type and non-*NULL* value or " +"already set, it is cleared first. If the objects are ``NULL``, the error " +"indicator is cleared. Do not pass a ``NULL`` type and non-``NULL`` value or " "traceback. The exception type should be a class. Do not pass an invalid " "exception type or value. (Violating these rules will cause subtle problems " "later.) This call takes away a reference to each object: you must own a " @@ -476,7 +476,7 @@ msgid "" "Retrieve the exception info, as known from ``sys.exc_info()``. This refers " "to an exception that was *already caught*, not to an exception that was " "freshly raised. Returns new references for the three objects, any of which " -"may be *NULL*. Does not modify the exception info state." +"may be ``NULL``. Does not modify the exception info state." msgstr "" #: ../Doc/c-api/exceptions.rst:469 @@ -492,7 +492,7 @@ msgid "" "Set the exception info, as known from ``sys.exc_info()``. This refers to an " "exception that was *already caught*, not to an exception that was freshly " "raised. This function steals the references of the arguments. To clear the " -"exception state, pass *NULL* for all three arguments. For general rules " +"exception state, pass ``NULL`` for all three arguments. For general rules " "about the three arguments, see :c:func:`PyErr_Restore`." msgstr "" @@ -560,9 +560,9 @@ msgstr "" msgid "" "This utility function creates and returns a new exception class. The *name* " "argument must be the name of the new exception, a C string of the form " -"``module.classname``. The *base* and *dict* arguments are normally *NULL*. " -"This creates a class object derived from :exc:`Exception` (accessible in C " -"as :c:data:`PyExc_Exception`)." +"``module.classname``. The *base* and *dict* arguments are normally " +"``NULL``. This creates a class object derived from :exc:`Exception` " +"(accessible in C as :c:data:`PyExc_Exception`)." msgstr "" #: ../Doc/c-api/exceptions.rst:556 @@ -578,8 +578,8 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:565 msgid "" "Same as :c:func:`PyErr_NewException`, except that the new exception class " -"can easily be given a docstring: If *doc* is non-*NULL*, it will be used as " -"the docstring for the exception class." +"can easily be given a docstring: If *doc* is non-``NULL``, it will be used " +"as the docstring for the exception class." msgstr "" #: ../Doc/c-api/exceptions.rst:573 @@ -590,7 +590,7 @@ msgstr "Objets exception" msgid "" "Return the traceback associated with the exception as a new reference, as " "accessible from Python through :attr:`__traceback__`. If there is no " -"traceback associated, this returns *NULL*." +"traceback associated, this returns ``NULL``." msgstr "" #: ../Doc/c-api/exceptions.rst:584 @@ -604,13 +604,13 @@ msgid "" "Return the context (another exception instance during whose handling *ex* " "was raised) associated with the exception as a new reference, as accessible " "from Python through :attr:`__context__`. If there is no context associated, " -"this returns *NULL*." +"this returns ``NULL``." msgstr "" #: ../Doc/c-api/exceptions.rst:598 msgid "" -"Set the context associated with the exception to *ctx*. Use *NULL* to clear " -"it. There is no type check to make sure that *ctx* is an exception " +"Set the context associated with the exception to *ctx*. Use ``NULL`` to " +"clear it. There is no type check to make sure that *ctx* is an exception " "instance. This steals a reference to *ctx*." msgstr "" @@ -623,9 +623,9 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:612 msgid "" -"Set the cause associated with the exception to *cause*. Use *NULL* to clear " -"it. There is no type check to make sure that *cause* is either an exception " -"instance or :const:`None`. This steals a reference to *cause*." +"Set the cause associated with the exception to *cause*. Use ``NULL`` to " +"clear it. There is no type check to make sure that *cause* is either an " +"exception instance or :const:`None`. This steals a reference to *cause*." msgstr "" #: ../Doc/c-api/exceptions.rst:616 @@ -674,8 +674,8 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:658 msgid "" "Get the *start* attribute of the given exception object and place it into *" -"\\*start*. *start* must not be *NULL*. Return ``0`` on success, ``-1`` on " -"failure." +"\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` " +"on failure." msgstr "" #: ../Doc/c-api/exceptions.rst:666 @@ -687,7 +687,7 @@ msgstr "" #: ../Doc/c-api/exceptions.rst:673 msgid "" "Get the *end* attribute of the given exception object and place it into *" -"\\*end*. *end* must not be *NULL*. Return ``0`` on success, ``-1`` on " +"\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on " "failure." msgstr "" diff --git a/c-api/file.po b/c-api/file.po index e97c0846..046d8263 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-18 09:48+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -42,11 +42,12 @@ msgstr "" "`io` à la place." #: ../Doc/c-api/file.rst:22 +#, fuzzy msgid "" "Create a Python file object from the file descriptor of an already opened " "file *fd*. The arguments *name*, *encoding*, *errors* and *newline* can be " -"*NULL* to use the defaults; *buffering* can be *-1* to use the default. " -"*name* is ignored and kept for backward compatibility. Return *NULL* on " +"``NULL`` to use the defaults; *buffering* can be *-1* to use the default. " +"*name* is ignored and kept for backward compatibility. Return ``NULL`` on " "failure. For a more comprehensive description of the arguments, please refer " "to the :func:`io.open` function documentation." msgstr "" diff --git a/c-api/float.po b/c-api/float.po index e668682a..de9b3524 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-01-14 15:30+0100\n" "Last-Translator: ANTOINE FOURES \n" "Language-Team: FRENCH \n" @@ -51,15 +51,18 @@ msgstr "" "sous-type de :c:type:`PyFloatObject`." #: ../Doc/c-api/float.rst:36 +#, fuzzy msgid "" "Create a :c:type:`PyFloatObject` object based on the string value in *str*, " -"or *NULL* on failure." +"or ``NULL`` on failure." msgstr "" "Crée un objet :c:type:`PyFloatObject` à partir de la valeur de la chaîne de " "caractères *str*, ou *NULL* en cas d'échec." #: ../Doc/c-api/float.rst:42 -msgid "Create a :c:type:`PyFloatObject` object from *v*, or *NULL* on failure." +#, fuzzy +msgid "" +"Create a :c:type:`PyFloatObject` object from *v*, or ``NULL`` on failure." msgstr "" "Crée un objet :c:type:`PyFloatObject` à partir de *v*, ou *NULL* en cas " "d'échec." diff --git a/c-api/function.po b/c-api/function.po index 9185b0b5..c571a2fd 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -36,7 +36,7 @@ msgstr "" #: ../Doc/c-api/function.rst:28 msgid "" "Return true if *o* is a function object (has type :c:data:" -"`PyFunction_Type`). The parameter must not be *NULL*." +"`PyFunction_Type`). The parameter must not be ``NULL``." msgstr "" #: ../Doc/c-api/function.rst:34 @@ -50,16 +50,16 @@ msgstr "" msgid "" "The function's docstring and name are retrieved from the code object. " "*__module__* is retrieved from *globals*. The argument defaults, annotations " -"and closure are set to *NULL*. *__qualname__* is set to the same value as " +"and closure are set to ``NULL``. *__qualname__* is set to the same value as " "the function's name." msgstr "" #: ../Doc/c-api/function.rst:44 msgid "" "As :c:func:`PyFunction_New`, but also allows setting the function object's " -"``__qualname__`` attribute. *qualname* should be a unicode object or NULL; " -"if NULL, the ``__qualname__`` attribute is set to the same value as its " -"``__name__`` attribute." +"``__qualname__`` attribute. *qualname* should be a unicode object or " +"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same " +"value as its ``__name__`` attribute." msgstr "" #: ../Doc/c-api/function.rst:54 @@ -80,13 +80,13 @@ msgstr "" #: ../Doc/c-api/function.rst:71 msgid "" "Return the argument default values of the function object *op*. This can be " -"a tuple of arguments or *NULL*." +"a tuple of arguments or ``NULL``." msgstr "" #: ../Doc/c-api/function.rst:77 msgid "" "Set the argument default values for the function object *op*. *defaults* " -"must be *Py_None* or a tuple." +"must be ``Py_None`` or a tuple." msgstr "" #: ../Doc/c-api/function.rst:80 ../Doc/c-api/function.rst:94 @@ -97,23 +97,23 @@ msgstr "" #: ../Doc/c-api/function.rst:85 msgid "" "Return the closure associated with the function object *op*. This can be " -"*NULL* or a tuple of cell objects." +"``NULL`` or a tuple of cell objects." msgstr "" #: ../Doc/c-api/function.rst:91 msgid "" "Set the closure associated with the function object *op*. *closure* must be " -"*Py_None* or a tuple of cell objects." +"``Py_None`` or a tuple of cell objects." msgstr "" #: ../Doc/c-api/function.rst:99 msgid "" "Return the annotations of the function object *op*. This can be a mutable " -"dictionary or *NULL*." +"dictionary or ``NULL``." msgstr "" #: ../Doc/c-api/function.rst:105 msgid "" "Set the annotations for the function object *op*. *annotations* must be a " -"dictionary or *Py_None*." +"dictionary or ``Py_None``." msgstr "" diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index 69e0b021..5ec12f3c 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -75,7 +75,7 @@ msgstr "" #: ../Doc/c-api/gcsupport.rst:51 msgid "" "Resize an object allocated by :c:func:`PyObject_NewVar`. Returns the " -"resized object or *NULL* on failure. *op* must not be tracked by the " +"resized object or ``NULL`` on failure. *op* must not be tracked by the " "collector yet." msgstr "" @@ -154,7 +154,7 @@ msgid "" "Traversal function for a container object. Implementations must call the " "*visit* function for each object directly contained by *self*, with the " "parameters to *visit* being the contained object and the *arg* value passed " -"to the handler. The *visit* function must not be called with a *NULL* " +"to the handler. The *visit* function must not be called with a ``NULL`` " "object argument. If *visit* returns a non-zero value that value should be " "returned immediately." msgstr "" @@ -169,7 +169,7 @@ msgstr "" #: ../Doc/c-api/gcsupport.rst:124 msgid "" -"If *o* is not *NULL*, call the *visit* callback, with arguments *o* and " +"If *o* is not ``NULL``, call the *visit* callback, with arguments *o* and " "*arg*. If *visit* returns a non-zero value, then return it. Using this " "macro, :c:member:`~PyTypeObject.tp_traverse` handlers look like::" msgstr "" @@ -177,7 +177,7 @@ msgstr "" #: ../Doc/c-api/gcsupport.rst:137 msgid "" "The :c:member:`~PyTypeObject.tp_clear` handler must be of the :c:type:" -"`inquiry` type, or *NULL* if the object is immutable." +"`inquiry` type, or ``NULL`` if the object is immutable." msgstr "" #: ../Doc/c-api/gcsupport.rst:143 diff --git a/c-api/gen.po b/c-api/gen.po index 10df7139..064c0506 100644 --- a/c-api/gen.po +++ b/c-api/gen.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -40,33 +40,39 @@ msgid "The type object corresponding to generator objects." msgstr "Le type objet correspondant aux objets générateurs." #: ../Doc/c-api/gen.rst:25 -msgid "Return true if *ob* is a generator object; *ob* must not be *NULL*." +#, fuzzy +msgid "Return true if *ob* is a generator object; *ob* must not be ``NULL``." msgstr "" "Renvoie ``True`` si *ob* est un objet générateur. *ob* ne doit pas être " "*NULL*." #: ../Doc/c-api/gen.rst:30 -msgid "Return true if *ob*'s type is *PyGen_Type*; *ob* must not be *NULL*." +#, fuzzy +msgid "" +"Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be " +"``NULL``." msgstr "" "Renvoie ``True`` si le type de *ob* est *PyGen_Type*. *ob* ne doit pas être " "*NULL*." #: ../Doc/c-api/gen.rst:35 +#, fuzzy msgid "" "Create and return a new generator object based on the *frame* object. A " "reference to *frame* is stolen by this function. The argument must not be " -"*NULL*." +"``NULL``." msgstr "" "Crée et renvoie un nouvel objet générateur basé sur l'objet *frame*. Une " "référence à *frame* est volée par cette fonction. L'argument ne doit pas " "être *NULL*." #: ../Doc/c-api/gen.rst:41 +#, fuzzy msgid "" "Create and return a new generator object based on the *frame* object, with " "``__name__`` and ``__qualname__`` set to *name* and *qualname*. A reference " "to *frame* is stolen by this function. The *frame* argument must not be " -"*NULL*." +"``NULL``." msgstr "" "Crée et renvoie un nouvel objet générateur basé sur l'objet *frame*, avec " "``__name__`` et ``__qualname__`` valant *name* et *qualname*. Une référence " diff --git a/c-api/import.po b/c-api/import.po index a47f98a4..6fc4e59e 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -21,7 +21,7 @@ msgstr "Importer des modules" #: ../Doc/c-api/import.rst:16 msgid "" "This is a simplified interface to :c:func:`PyImport_ImportModuleEx` below, " -"leaving the *globals* and *locals* arguments set to *NULL* and *level* set " +"leaving the *globals* and *locals* arguments set to ``NULL`` and *level* set " "to 0. When the *name* argument contains a dot (when it specifies a " "submodule of a package), the *fromlist* argument is set to the list " "``['*']`` so that the return value is the named module rather than the top-" @@ -29,7 +29,7 @@ msgid "" "this has an additional side effect when *name* in fact specifies a " "subpackage instead of a submodule: the submodules specified in the package's " "``__all__`` variable are loaded.) Return a new reference to the imported " -"module, or *NULL* with an exception set on failure. A failing import of a " +"module, or ``NULL`` with an exception set on failure. A failing import of a " "module doesn't leave the module in :data:`sys.modules`." msgstr "" @@ -58,7 +58,7 @@ msgstr "" #: ../Doc/c-api/import.rst:49 ../Doc/c-api/import.rst:65 msgid "" "The return value is a new reference to the imported module or top-level " -"package, or *NULL* with an exception set on failure. Like for :func:" +"package, or ``NULL`` with an exception set on failure. Like for :func:" "`__import__`, the return value when a submodule of a package was requested " "is normally the top-level package, unless a non-empty *fromlist* was given." msgstr "" @@ -97,7 +97,7 @@ msgstr "" #: ../Doc/c-api/import.rst:94 msgid "" -"Reload a module. Return a new reference to the reloaded module, or *NULL* " +"Reload a module. Return a new reference to the reloaded module, or ``NULL`` " "with an exception set on failure (the module still exists in this case)." msgstr "" @@ -106,7 +106,7 @@ msgid "" "Return the module object corresponding to a module name. The *name* " "argument may be of the form ``package.module``. First check the modules " "dictionary if there's one there, and if not, create a new one and insert it " -"in the modules dictionary. Return *NULL* with an exception set on failure." +"in the modules dictionary. Return ``NULL`` with an exception set on failure." msgstr "" #: ../Doc/c-api/import.rst:107 @@ -129,9 +129,9 @@ msgid "" "Given a module name (possibly of the form ``package.module``) and a code " "object read from a Python bytecode file or obtained from the built-in " "function :func:`compile`, load the module. Return a new reference to the " -"module object, or *NULL* with an exception set if an error occurred. *name* " -"is removed from :attr:`sys.modules` in error cases, even if *name* was " -"already in :attr:`sys.modules` on entry to :c:func:" +"module object, or ``NULL`` with an exception set if an error occurred. " +"*name* is removed from :attr:`sys.modules` in error cases, even if *name* " +"was already in :attr:`sys.modules` on entry to :c:func:" "`PyImport_ExecCodeModule`. Leaving incompletely initialized modules in :" "attr:`sys.modules` is dangerous, as imports of such modules have no way to " "know that the module object is an unknown (and probably damaged with respect " @@ -228,8 +228,8 @@ msgstr "" #: ../Doc/c-api/import.rst:209 msgid "" "Return the already imported module with the given name. If the module has " -"not been imported yet then returns NULL but does not set an error. Returns " -"NULL and sets an error if the lookup failed." +"not been imported yet then returns ``NULL`` but does not set an error. " +"Returns ``NULL`` and sets an error if the lookup failed." msgstr "" #: ../Doc/c-api/import.rst:217 @@ -285,7 +285,7 @@ msgstr "" #: ../Doc/c-api/import.rst:279 msgid "" "This pointer is initialized to point to an array of :c:type:`struct _frozen` " -"records, terminated by one whose members are all *NULL* or zero. When a " +"records, terminated by one whose members are all ``NULL`` or zero. When a " "frozen module is imported, it is searched in this table. Third-party code " "could play tricks with this to provide a dynamically created collection of " "frozen modules." @@ -314,7 +314,7 @@ msgstr "" #: ../Doc/c-api/import.rst:312 msgid "" "Add a collection of modules to the table of built-in modules. The *newtab* " -"array must end with a sentinel entry which contains *NULL* for the :attr:" +"array must end with a sentinel entry which contains ``NULL`` for the :attr:" "`name` field; failure to provide the sentinel value can result in a memory " "fault. Returns ``0`` on success or ``-1`` if insufficient memory could be " "allocated to extend the internal table. In the event of failure, no modules " diff --git a/c-api/init.po b/c-api/init.po index eacc1754..5bff908c 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 23:53+0100\n" "PO-Revision-Date: 2018-11-29 18:22+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -498,7 +498,7 @@ msgstr "" #: ../Doc/c-api/init.rst:332 msgid "" -"``encoding`` and/or ``errors`` may be NULL to use :envvar:`PYTHONIOENCODING` " +"*encoding* and/or *errors* may be ``NULL`` to use :envvar:`PYTHONIOENCODING` " "and/or default values (depending on other settings)." msgstr "" @@ -923,37 +923,60 @@ msgid "" "`PyGILState_\\*` API is unsupported." msgstr "" -#: ../Doc/c-api/init.rst:772 +#: ../Doc/c-api/init.rst:776 +msgid "Cautions about fork()" +msgstr "" + +#: ../Doc/c-api/init.rst:778 msgid "" "Another important thing to note about threads is their behaviour in the face " "of the C :c:func:`fork` call. On most systems with :c:func:`fork`, after a " -"process forks only the thread that issued the fork will exist. That also " -"means any locks held by other threads will never be released. Python solves " -"this for :func:`os.fork` by acquiring the locks it uses internally before " -"the fork, and releasing them afterwards. In addition, it resets any :ref:" -"`lock-objects` in the child. When extending or embedding Python, there is no " -"way to inform Python of additional (non-Python) locks that need to be " -"acquired before or reset after a fork. OS facilities such as :c:func:" -"`pthread_atfork` would need to be used to accomplish the same thing. " -"Additionally, when extending or embedding Python, calling :c:func:`fork` " -"directly rather than through :func:`os.fork` (and returning to or calling " -"into Python) may result in a deadlock by one of Python's internal locks " -"being held by a thread that is defunct after the fork. :c:func:" -"`PyOS_AfterFork_Child` tries to reset the necessary locks, but is not always " -"able to." +"process forks only the thread that issued the fork will exist. This has a " +"concrete impact both on how locks must be handled and on all stored state in " +"CPython's runtime." msgstr "" -#: ../Doc/c-api/init.rst:791 +#: ../Doc/c-api/init.rst:784 +msgid "" +"The fact that only the \"current\" thread remains means any locks held by " +"other threads will never be released. Python solves this for :func:`os.fork` " +"by acquiring the locks it uses internally before the fork, and releasing " +"them afterwards. In addition, it resets any :ref:`lock-objects` in the " +"child. When extending or embedding Python, there is no way to inform Python " +"of additional (non-Python) locks that need to be acquired before or reset " +"after a fork. OS facilities such as :c:func:`pthread_atfork` would need to " +"be used to accomplish the same thing. Additionally, when extending or " +"embedding Python, calling :c:func:`fork` directly rather than through :func:" +"`os.fork` (and returning to or calling into Python) may result in a deadlock " +"by one of Python's internal locks being held by a thread that is defunct " +"after the fork. :c:func:`PyOS_AfterFork_Child` tries to reset the necessary " +"locks, but is not always able to." +msgstr "" + +#: ../Doc/c-api/init.rst:799 +msgid "" +"The fact that all other threads go away also means that CPython's runtime " +"state there must be cleaned up properly, which :func:`os.fork` does. This " +"means finalizing all other :c:type:`PyThreadState` objects belonging to the " +"current interpreter and all other :c:type:`PyInterpreterState` objects. Due " +"to this and the special nature of the :ref:`\"main\" interpreter `, :c:func:`fork` should only be called in that " +"interpreter's \"main\" thread, where the CPython global runtime was " +"originally initialized. The only exception is if :c:func:`exec` will be " +"called immediately after." +msgstr "" + +#: ../Doc/c-api/init.rst:812 msgid "High-level API" msgstr "" -#: ../Doc/c-api/init.rst:793 +#: ../Doc/c-api/init.rst:814 msgid "" "These are the most commonly used types and functions when writing C " "extension code, or when embedding the Python interpreter:" msgstr "" -#: ../Doc/c-api/init.rst:798 +#: ../Doc/c-api/init.rst:819 msgid "" "This data structure represents the state shared by a number of cooperating " "threads. Threads belonging to the same interpreter share their module " @@ -961,7 +984,7 @@ msgid "" "in this structure." msgstr "" -#: ../Doc/c-api/init.rst:803 +#: ../Doc/c-api/init.rst:824 msgid "" "Threads belonging to different interpreters initially share nothing, except " "process state like available memory, open file descriptors and such. The " @@ -969,14 +992,14 @@ msgid "" "which interpreter they belong." msgstr "" -#: ../Doc/c-api/init.rst:811 +#: ../Doc/c-api/init.rst:832 msgid "" "This data structure represents the state of a single thread. The only " "public data member is :c:type:`PyInterpreterState \\*`:attr:`interp`, which " "points to this thread's interpreter state." msgstr "" -#: ../Doc/c-api/init.rst:824 +#: ../Doc/c-api/init.rst:845 msgid "" "Initialize and acquire the global interpreter lock. It should be called in " "the main thread before creating a second thread or engaging in any other " @@ -984,50 +1007,50 @@ msgid "" "before calling :c:func:`PyEval_SaveThread` or :c:func:`PyEval_RestoreThread`." msgstr "" -#: ../Doc/c-api/init.rst:829 +#: ../Doc/c-api/init.rst:850 msgid "This is a no-op when called for a second time." msgstr "" -#: ../Doc/c-api/init.rst:831 +#: ../Doc/c-api/init.rst:852 msgid "" "This function is now called by :c:func:`Py_Initialize()`, so you don't have " "to call it yourself anymore." msgstr "" -#: ../Doc/c-api/init.rst:835 +#: ../Doc/c-api/init.rst:856 msgid "" "This function cannot be called before :c:func:`Py_Initialize()` anymore." msgstr "" -#: ../Doc/c-api/init.rst:843 +#: ../Doc/c-api/init.rst:864 msgid "" "Returns a non-zero value if :c:func:`PyEval_InitThreads` has been called. " "This function can be called without holding the GIL, and therefore can be " "used to avoid calls to the locking API when running single-threaded." msgstr "" -#: ../Doc/c-api/init.rst:847 +#: ../Doc/c-api/init.rst:868 msgid "The :term:`GIL` is now initialized by :c:func:`Py_Initialize()`." msgstr "" -#: ../Doc/c-api/init.rst:853 +#: ../Doc/c-api/init.rst:874 msgid "" "Release the global interpreter lock (if it has been created) and reset the " -"thread state to *NULL*, returning the previous thread state (which is not " -"*NULL*). If the lock has been created, the current thread must have " +"thread state to ``NULL``, returning the previous thread state (which is not " +"``NULL``). If the lock has been created, the current thread must have " "acquired it." msgstr "" -#: ../Doc/c-api/init.rst:861 +#: ../Doc/c-api/init.rst:882 msgid "" "Acquire the global interpreter lock (if it has been created) and set the " -"thread state to *tstate*, which must not be *NULL*. If the lock has been " +"thread state to *tstate*, which must not be ``NULL``. If the lock has been " "created, the current thread must not have acquired it, otherwise deadlock " "ensues." msgstr "" -#: ../Doc/c-api/init.rst:867 ../Doc/c-api/init.rst:913 -#: ../Doc/c-api/init.rst:1088 ../Doc/c-api/init.rst:1126 +#: ../Doc/c-api/init.rst:888 ../Doc/c-api/init.rst:934 +#: ../Doc/c-api/init.rst:1109 ../Doc/c-api/init.rst:1147 msgid "" "Calling this function from a thread when the runtime is finalizing will " "terminate the thread, even if the thread was not created by Python. You can " @@ -1036,27 +1059,27 @@ msgid "" "avoid unwanted termination." msgstr "" -#: ../Doc/c-api/init.rst:875 +#: ../Doc/c-api/init.rst:896 msgid "" "Return the current thread state. The global interpreter lock must be held. " -"When the current thread state is *NULL*, this issues a fatal error (so that " -"the caller needn't check for *NULL*)." +"When the current thread state is ``NULL``, this issues a fatal error (so " +"that the caller needn't check for ``NULL``)." msgstr "" -#: ../Doc/c-api/init.rst:882 +#: ../Doc/c-api/init.rst:903 msgid "" "Swap the current thread state with the thread state given by the argument " -"*tstate*, which may be *NULL*. The global interpreter lock must be held and " -"is not released." +"*tstate*, which may be ``NULL``. The global interpreter lock must be held " +"and is not released." msgstr "" -#: ../Doc/c-api/init.rst:887 +#: ../Doc/c-api/init.rst:908 msgid "" "The following functions use thread-local storage, and are not compatible " "with sub-interpreters:" msgstr "" -#: ../Doc/c-api/init.rst:892 +#: ../Doc/c-api/init.rst:913 msgid "" "Ensure that the current thread is ready to call the Python C API regardless " "of the current state of Python, or of the global interpreter lock. This may " @@ -1069,7 +1092,7 @@ msgid "" "is acceptable." msgstr "" -#: ../Doc/c-api/init.rst:902 +#: ../Doc/c-api/init.rst:923 msgid "" "The return value is an opaque \"handle\" to the thread state when :c:func:" "`PyGILState_Ensure` was called, and must be passed to :c:func:" @@ -1079,13 +1102,13 @@ msgid "" "func:`PyGILState_Release`." msgstr "" -#: ../Doc/c-api/init.rst:909 +#: ../Doc/c-api/init.rst:930 msgid "" "When the function returns, the current thread will hold the GIL and be able " "to call arbitrary Python code. Failure is a fatal error." msgstr "" -#: ../Doc/c-api/init.rst:921 +#: ../Doc/c-api/init.rst:942 msgid "" "Release any resources previously acquired. After this call, Python's state " "will be the same as it was prior to the corresponding :c:func:" @@ -1093,13 +1116,13 @@ msgid "" "caller, hence the use of the GILState API)." msgstr "" -#: ../Doc/c-api/init.rst:926 +#: ../Doc/c-api/init.rst:947 msgid "" "Every call to :c:func:`PyGILState_Ensure` must be matched by a call to :c:" "func:`PyGILState_Release` on the same thread." msgstr "" -#: ../Doc/c-api/init.rst:932 +#: ../Doc/c-api/init.rst:953 msgid "" "Get the current thread state for this thread. May return ``NULL`` if no " "GILState API has been used on the current thread. Note that the main thread " @@ -1107,7 +1130,7 @@ msgid "" "made on the main thread. This is mainly a helper/diagnostic function." msgstr "" -#: ../Doc/c-api/init.rst:940 +#: ../Doc/c-api/init.rst:961 msgid "" "Return ``1`` if the current thread is holding the GIL and ``0`` otherwise. " "This function can be called from any thread at any time. Only if it has had " @@ -1118,13 +1141,13 @@ msgid "" "otherwise behave differently." msgstr "" -#: ../Doc/c-api/init.rst:952 +#: ../Doc/c-api/init.rst:973 msgid "" "The following macros are normally used without a trailing semicolon; look " "for example usage in the Python source distribution." msgstr "" -#: ../Doc/c-api/init.rst:958 +#: ../Doc/c-api/init.rst:979 msgid "" "This macro expands to ``{ PyThreadState *_save; _save = PyEval_SaveThread();" "``. Note that it contains an opening brace; it must be matched with a " @@ -1132,7 +1155,7 @@ msgid "" "discussion of this macro." msgstr "" -#: ../Doc/c-api/init.rst:966 +#: ../Doc/c-api/init.rst:987 msgid "" "This macro expands to ``PyEval_RestoreThread(_save); }``. Note that it " "contains a closing brace; it must be matched with an earlier :c:macro:" @@ -1140,113 +1163,113 @@ msgid "" "macro." msgstr "" -#: ../Doc/c-api/init.rst:974 +#: ../Doc/c-api/init.rst:995 msgid "" "This macro expands to ``PyEval_RestoreThread(_save);``: it is equivalent to :" "c:macro:`Py_END_ALLOW_THREADS` without the closing brace." msgstr "" -#: ../Doc/c-api/init.rst:980 +#: ../Doc/c-api/init.rst:1001 msgid "" "This macro expands to ``_save = PyEval_SaveThread();``: it is equivalent to :" "c:macro:`Py_BEGIN_ALLOW_THREADS` without the opening brace and variable " "declaration." msgstr "" -#: ../Doc/c-api/init.rst:986 +#: ../Doc/c-api/init.rst:1007 msgid "Low-level API" msgstr "" -#: ../Doc/c-api/init.rst:988 +#: ../Doc/c-api/init.rst:1009 msgid "" "All of the following functions must be called after :c:func:`Py_Initialize`." msgstr "" -#: ../Doc/c-api/init.rst:990 +#: ../Doc/c-api/init.rst:1011 msgid ":c:func:`Py_Initialize()` now initializes the :term:`GIL`." msgstr "" -#: ../Doc/c-api/init.rst:996 +#: ../Doc/c-api/init.rst:1017 msgid "" "Create a new interpreter state object. The global interpreter lock need not " "be held, but may be held if it is necessary to serialize calls to this " "function." msgstr "" -#: ../Doc/c-api/init.rst:1000 +#: ../Doc/c-api/init.rst:1021 msgid "" "Raises an :ref:`auditing event ` ``cpython." "PyInterpreterState_New`` with no arguments." msgstr "" -#: ../Doc/c-api/init.rst:1005 +#: ../Doc/c-api/init.rst:1026 msgid "" "Reset all information in an interpreter state object. The global " "interpreter lock must be held." msgstr "" -#: ../Doc/c-api/init.rst:1008 +#: ../Doc/c-api/init.rst:1029 msgid "" "Raises an :ref:`auditing event ` ``cpython." "PyInterpreterState_Clear`` with no arguments." msgstr "" -#: ../Doc/c-api/init.rst:1013 +#: ../Doc/c-api/init.rst:1034 msgid "" "Destroy an interpreter state object. The global interpreter lock need not " "be held. The interpreter state must have been reset with a previous call " "to :c:func:`PyInterpreterState_Clear`." msgstr "" -#: ../Doc/c-api/init.rst:1020 +#: ../Doc/c-api/init.rst:1041 msgid "" "Create a new thread state object belonging to the given interpreter object. " "The global interpreter lock need not be held, but may be held if it is " "necessary to serialize calls to this function." msgstr "" -#: ../Doc/c-api/init.rst:1027 +#: ../Doc/c-api/init.rst:1048 msgid "" "Reset all information in a thread state object. The global interpreter lock " "must be held." msgstr "" -#: ../Doc/c-api/init.rst:1033 +#: ../Doc/c-api/init.rst:1054 msgid "" "Destroy a thread state object. The global interpreter lock need not be " "held. The thread state must have been reset with a previous call to :c:func:" "`PyThreadState_Clear`." msgstr "" -#: ../Doc/c-api/init.rst:1040 +#: ../Doc/c-api/init.rst:1061 msgid "" "Return the interpreter's unique ID. If there was any error in doing so then " "``-1`` is returned and an error is set." msgstr "" -#: ../Doc/c-api/init.rst:1048 +#: ../Doc/c-api/init.rst:1069 msgid "" "Return a dictionary in which interpreter-specific data may be stored. If " -"this function returns *NULL* then no exception has been raised and the " +"this function returns ``NULL`` then no exception has been raised and the " "caller should assume no interpreter-specific dict is available." msgstr "" -#: ../Doc/c-api/init.rst:1052 +#: ../Doc/c-api/init.rst:1073 msgid "" "This is not a replacement for :c:func:`PyModule_GetState()`, which " "extensions should use to store interpreter-specific state information." msgstr "" -#: ../Doc/c-api/init.rst:1060 +#: ../Doc/c-api/init.rst:1081 msgid "" "Return a dictionary in which extensions can store thread-specific state " "information. Each extension should use a unique key to use to store state " "in the dictionary. It is okay to call this function when no current thread " -"state is available. If this function returns *NULL*, no exception has been " +"state is available. If this function returns ``NULL``, no exception has been " "raised and the caller should assume no current thread state is available." msgstr "" -#: ../Doc/c-api/init.rst:1069 +#: ../Doc/c-api/init.rst:1090 msgid "" "Asynchronously raise an exception in a thread. The *id* argument is the " "thread id of the target thread; *exc* is the exception object to be raised. " @@ -1258,76 +1281,76 @@ msgid "" "raises no exceptions." msgstr "" -#: ../Doc/c-api/init.rst:1077 +#: ../Doc/c-api/init.rst:1098 msgid "" "The type of the *id* parameter changed from :c:type:`long` to :c:type:" "`unsigned long`." msgstr "" -#: ../Doc/c-api/init.rst:1083 +#: ../Doc/c-api/init.rst:1104 msgid "" "Acquire the global interpreter lock and set the current thread state to " -"*tstate*, which should not be *NULL*. The lock must have been created " +"*tstate*, which should not be ``NULL``. The lock must have been created " "earlier. If this thread already has the lock, deadlock ensues." msgstr "" -#: ../Doc/c-api/init.rst:1094 ../Doc/c-api/init.rst:1132 +#: ../Doc/c-api/init.rst:1115 ../Doc/c-api/init.rst:1153 msgid "" "Updated to be consistent with :c:func:`PyEval_RestoreThread`, :c:func:" "`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`, and terminate the " "current thread if called while the interpreter is finalizing." msgstr "" -#: ../Doc/c-api/init.rst:1099 +#: ../Doc/c-api/init.rst:1120 msgid "" ":c:func:`PyEval_RestoreThread` is a higher-level function which is always " "available (even when threads have not been initialized)." msgstr "" -#: ../Doc/c-api/init.rst:1105 +#: ../Doc/c-api/init.rst:1126 msgid "" -"Reset the current thread state to *NULL* and release the global interpreter " -"lock. The lock must have been created earlier and must be held by the " -"current thread. The *tstate* argument, which must not be *NULL*, is only " -"used to check that it represents the current thread state --- if it isn't, a " -"fatal error is reported." +"Reset the current thread state to ``NULL`` and release the global " +"interpreter lock. The lock must have been created earlier and must be held " +"by the current thread. The *tstate* argument, which must not be ``NULL``, " +"is only used to check that it represents the current thread state --- if it " +"isn't, a fatal error is reported." msgstr "" -#: ../Doc/c-api/init.rst:1111 +#: ../Doc/c-api/init.rst:1132 msgid "" ":c:func:`PyEval_SaveThread` is a higher-level function which is always " "available (even when threads have not been initialized)." msgstr "" -#: ../Doc/c-api/init.rst:1117 +#: ../Doc/c-api/init.rst:1138 msgid "" "Acquire the global interpreter lock. The lock must have been created " "earlier. If this thread already has the lock, a deadlock ensues." msgstr "" -#: ../Doc/c-api/init.rst:1120 +#: ../Doc/c-api/init.rst:1141 msgid "" "This function does not update the current thread state. Please use :c:func:" "`PyEval_RestoreThread` or :c:func:`PyEval_AcquireThread` instead." msgstr "" -#: ../Doc/c-api/init.rst:1140 +#: ../Doc/c-api/init.rst:1161 msgid "" "Release the global interpreter lock. The lock must have been created " "earlier." msgstr "" -#: ../Doc/c-api/init.rst:1142 +#: ../Doc/c-api/init.rst:1163 msgid "" "This function does not update the current thread state. Please use :c:func:" "`PyEval_SaveThread` or :c:func:`PyEval_ReleaseThread` instead." msgstr "" -#: ../Doc/c-api/init.rst:1151 +#: ../Doc/c-api/init.rst:1172 msgid "Sub-interpreter support" msgstr "" -#: ../Doc/c-api/init.rst:1153 +#: ../Doc/c-api/init.rst:1174 msgid "" "While in most uses, you will only embed a single Python interpreter, there " "are cases where you need to create several independent interpreters in the " @@ -1335,7 +1358,7 @@ msgid "" "to do that." msgstr "" -#: ../Doc/c-api/init.rst:1158 +#: ../Doc/c-api/init.rst:1179 msgid "" "The \"main\" interpreter is the first one created when the runtime " "initializes. It is usually the only Python interpreter in a process. Unlike " @@ -1346,14 +1369,14 @@ msgid "" "a pointer to its state." msgstr "" -#: ../Doc/c-api/init.rst:1165 +#: ../Doc/c-api/init.rst:1186 msgid "" "You can switch between sub-interpreters using the :c:func:" "`PyThreadState_Swap` function. You can create and destroy them using the " "following functions:" msgstr "" -#: ../Doc/c-api/init.rst:1179 +#: ../Doc/c-api/init.rst:1200 msgid "" "Create a new sub-interpreter. This is an (almost) totally separate " "environment for the execution of Python code. In particular, the new " @@ -1366,12 +1389,12 @@ msgid "" "underlying file descriptors)." msgstr "" -#: ../Doc/c-api/init.rst:1189 +#: ../Doc/c-api/init.rst:1210 msgid "" "The return value points to the first thread state created in the new sub-" "interpreter. This thread state is made in the current thread state. Note " "that no actual thread is created; see the discussion of thread states " -"below. If creation of the new interpreter is unsuccessful, *NULL* is " +"below. If creation of the new interpreter is unsuccessful, ``NULL`` is " "returned; no exception is set since the exception state is stored in the " "current thread state and there may not be a current thread state. (Like all " "other Python/C API functions, the global interpreter lock must be held " @@ -1380,7 +1403,7 @@ msgid "" "state on entry.)" msgstr "" -#: ../Doc/c-api/init.rst:1204 +#: ../Doc/c-api/init.rst:1225 msgid "" "Extension modules are shared between (sub-)interpreters as follows: the " "first time a particular extension is imported, it is initialized normally, " @@ -1394,22 +1417,23 @@ msgid "" "called again." msgstr "" -#: ../Doc/c-api/init.rst:1221 +#: ../Doc/c-api/init.rst:1242 msgid "" "Destroy the (sub-)interpreter represented by the given thread state. The " "given thread state must be the current thread state. See the discussion of " "thread states below. When the call returns, the current thread state is " -"*NULL*. All thread states associated with this interpreter are destroyed. " -"(The global interpreter lock must be held before calling this function and " -"is still held when it returns.) :c:func:`Py_FinalizeEx` will destroy all " -"sub-interpreters that haven't been explicitly destroyed at that point." +"``NULL``. All thread states associated with this interpreter are " +"destroyed. (The global interpreter lock must be held before calling this " +"function and is still held when it returns.) :c:func:`Py_FinalizeEx` will " +"destroy all sub-interpreters that haven't been explicitly destroyed at that " +"point." msgstr "" -#: ../Doc/c-api/init.rst:1231 +#: ../Doc/c-api/init.rst:1252 msgid "Bugs and caveats" msgstr "" -#: ../Doc/c-api/init.rst:1233 +#: ../Doc/c-api/init.rst:1254 msgid "" "Because sub-interpreters (and the main interpreter) are part of the same " "process, the insulation between them isn't perfect --- for example, using " @@ -1426,7 +1450,7 @@ msgid "" "of loaded modules." msgstr "" -#: ../Doc/c-api/init.rst:1247 +#: ../Doc/c-api/init.rst:1268 msgid "" "Also note that combining this functionality with :c:func:`PyGILState_\\*` " "APIs is delicate, because these APIs assume a bijection between Python " @@ -1438,25 +1462,25 @@ msgid "" "created threads will probably be broken when using sub-interpreters." msgstr "" -#: ../Doc/c-api/init.rst:1258 +#: ../Doc/c-api/init.rst:1279 msgid "Asynchronous Notifications" msgstr "" -#: ../Doc/c-api/init.rst:1260 +#: ../Doc/c-api/init.rst:1281 msgid "" "A mechanism is provided to make asynchronous notifications to the main " "interpreter thread. These notifications take the form of a function pointer " "and a void pointer argument." msgstr "" -#: ../Doc/c-api/init.rst:1269 +#: ../Doc/c-api/init.rst:1290 msgid "" "Schedule a function to be called from the main interpreter thread. On " "success, ``0`` is returned and *func* is queued for being called in the main " "thread. On failure, ``-1`` is returned without setting any exception." msgstr "" -#: ../Doc/c-api/init.rst:1273 +#: ../Doc/c-api/init.rst:1294 msgid "" "When successfully queued, *func* will be *eventually* called from the main " "interpreter thread with the argument *arg*. It will be called " @@ -1464,17 +1488,17 @@ msgid "" "these conditions met:" msgstr "" -#: ../Doc/c-api/init.rst:1278 +#: ../Doc/c-api/init.rst:1299 msgid "on a :term:`bytecode` boundary;" msgstr "" -#: ../Doc/c-api/init.rst:1279 +#: ../Doc/c-api/init.rst:1300 msgid "" "with the main thread holding the :term:`global interpreter lock` (*func* can " "therefore use the full C API)." msgstr "" -#: ../Doc/c-api/init.rst:1282 +#: ../Doc/c-api/init.rst:1303 msgid "" "*func* must return ``0`` on success, or ``-1`` on failure with an exception " "set. *func* won't be interrupted to perform another asynchronous " @@ -1482,13 +1506,13 @@ msgid "" "if the global interpreter lock is released." msgstr "" -#: ../Doc/c-api/init.rst:1287 +#: ../Doc/c-api/init.rst:1308 msgid "" "This function doesn't need a current thread state to run, and it doesn't " "need the global interpreter lock." msgstr "" -#: ../Doc/c-api/init.rst:1291 +#: ../Doc/c-api/init.rst:1312 msgid "" "This is a low-level function, only useful for very special cases. There is " "no guarantee that *func* will be called as quick as possible. If the main " @@ -1498,18 +1522,18 @@ msgid "" "`PyGILState API`." msgstr "" -#: ../Doc/c-api/init.rst:1303 +#: ../Doc/c-api/init.rst:1324 msgid "Profiling and Tracing" msgstr "" -#: ../Doc/c-api/init.rst:1308 +#: ../Doc/c-api/init.rst:1329 msgid "" "The Python interpreter provides some low-level support for attaching " "profiling and execution tracing facilities. These are used for profiling, " "debugging, and coverage analysis tools." msgstr "" -#: ../Doc/c-api/init.rst:1312 +#: ../Doc/c-api/init.rst:1333 msgid "" "This C interface allows the profiling or tracing code to avoid the overhead " "of calling through Python-level callable objects, making a direct C function " @@ -1519,7 +1543,7 @@ msgid "" "reported to the Python-level trace functions in previous versions." msgstr "" -#: ../Doc/c-api/init.rst:1322 +#: ../Doc/c-api/init.rst:1343 msgid "" "The type of the trace function registered using :c:func:`PyEval_SetProfile` " "and :c:func:`PyEval_SetTrace`. The first parameter is the object passed to " @@ -1530,66 +1554,66 @@ msgid "" "or :const:`PyTrace_OPCODE`, and *arg* depends on the value of *what*:" msgstr "" -#: ../Doc/c-api/init.rst:1331 +#: ../Doc/c-api/init.rst:1352 msgid "Value of *what*" msgstr "" -#: ../Doc/c-api/init.rst:1331 +#: ../Doc/c-api/init.rst:1352 msgid "Meaning of *arg*" msgstr "" -#: ../Doc/c-api/init.rst:1333 +#: ../Doc/c-api/init.rst:1354 msgid ":const:`PyTrace_CALL`" msgstr "" -#: ../Doc/c-api/init.rst:1333 ../Doc/c-api/init.rst:1338 -#: ../Doc/c-api/init.rst:1349 +#: ../Doc/c-api/init.rst:1354 ../Doc/c-api/init.rst:1359 +#: ../Doc/c-api/init.rst:1370 msgid "Always :c:data:`Py_None`." msgstr "" -#: ../Doc/c-api/init.rst:1335 +#: ../Doc/c-api/init.rst:1356 msgid ":const:`PyTrace_EXCEPTION`" msgstr "" -#: ../Doc/c-api/init.rst:1335 +#: ../Doc/c-api/init.rst:1356 msgid "Exception information as returned by :func:`sys.exc_info`." msgstr "" -#: ../Doc/c-api/init.rst:1338 +#: ../Doc/c-api/init.rst:1359 msgid ":const:`PyTrace_LINE`" msgstr "" -#: ../Doc/c-api/init.rst:1340 +#: ../Doc/c-api/init.rst:1361 msgid ":const:`PyTrace_RETURN`" msgstr "" -#: ../Doc/c-api/init.rst:1340 +#: ../Doc/c-api/init.rst:1361 msgid "" -"Value being returned to the caller, or *NULL* if caused by an exception." +"Value being returned to the caller, or ``NULL`` if caused by an exception." msgstr "" -#: ../Doc/c-api/init.rst:1343 +#: ../Doc/c-api/init.rst:1364 msgid ":const:`PyTrace_C_CALL`" msgstr "" -#: ../Doc/c-api/init.rst:1343 ../Doc/c-api/init.rst:1345 -#: ../Doc/c-api/init.rst:1347 +#: ../Doc/c-api/init.rst:1364 ../Doc/c-api/init.rst:1366 +#: ../Doc/c-api/init.rst:1368 msgid "Function object being called." msgstr "" -#: ../Doc/c-api/init.rst:1345 +#: ../Doc/c-api/init.rst:1366 msgid ":const:`PyTrace_C_EXCEPTION`" msgstr "" -#: ../Doc/c-api/init.rst:1347 +#: ../Doc/c-api/init.rst:1368 msgid ":const:`PyTrace_C_RETURN`" msgstr "" -#: ../Doc/c-api/init.rst:1349 +#: ../Doc/c-api/init.rst:1370 msgid ":const:`PyTrace_OPCODE`" msgstr "" -#: ../Doc/c-api/init.rst:1354 +#: ../Doc/c-api/init.rst:1375 msgid "" "The value of the *what* parameter to a :c:type:`Py_tracefunc` function when " "a new call to a function or method is being reported, or a new entry into a " @@ -1598,7 +1622,7 @@ msgid "" "the corresponding frame." msgstr "" -#: ../Doc/c-api/init.rst:1363 +#: ../Doc/c-api/init.rst:1384 msgid "" "The value of the *what* parameter to a :c:type:`Py_tracefunc` function when " "an exception has been raised. The callback function is called with this " @@ -1610,7 +1634,7 @@ msgid "" "profiler." msgstr "" -#: ../Doc/c-api/init.rst:1374 +#: ../Doc/c-api/init.rst:1395 msgid "" "The value passed as the *what* parameter to a :c:type:`Py_tracefunc` " "function (but not a profiling function) when a line-number event is being " @@ -1618,31 +1642,31 @@ msgid "" "*0* on that frame." msgstr "" -#: ../Doc/c-api/init.rst:1381 +#: ../Doc/c-api/init.rst:1402 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a call is about to return." msgstr "" -#: ../Doc/c-api/init.rst:1387 +#: ../Doc/c-api/init.rst:1408 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function is about to be called." msgstr "" -#: ../Doc/c-api/init.rst:1393 +#: ../Doc/c-api/init.rst:1414 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function has raised an exception." msgstr "" -#: ../Doc/c-api/init.rst:1399 +#: ../Doc/c-api/init.rst:1420 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function has returned." msgstr "" -#: ../Doc/c-api/init.rst:1405 +#: ../Doc/c-api/init.rst:1426 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions (but " "not profiling functions) when a new opcode is about to be executed. This " @@ -1650,17 +1674,17 @@ msgid "" "attr:`f_trace_opcodes` to *1* on the frame." msgstr "" -#: ../Doc/c-api/init.rst:1413 +#: ../Doc/c-api/init.rst:1434 msgid "" "Set the profiler function to *func*. The *obj* parameter is passed to the " -"function as its first parameter, and may be any Python object, or *NULL*. " +"function as its first parameter, and may be any Python object, or ``NULL``. " "If the profile function needs to maintain state, using a different value for " "*obj* for each thread provides a convenient and thread-safe place to store " "it. The profile function is called for all monitored events except :const:" "`PyTrace_LINE` :const:`PyTrace_OPCODE` and :const:`PyTrace_EXCEPTION`." msgstr "" -#: ../Doc/c-api/init.rst:1423 +#: ../Doc/c-api/init.rst:1444 msgid "" "Set the tracing function to *func*. This is similar to :c:func:" "`PyEval_SetProfile`, except the tracing function does receive line-number " @@ -1671,48 +1695,48 @@ msgid "" "parameter." msgstr "" -#: ../Doc/c-api/init.rst:1433 +#: ../Doc/c-api/init.rst:1454 msgid "Advanced Debugger Support" msgstr "Support avancé du débogueur" -#: ../Doc/c-api/init.rst:1438 +#: ../Doc/c-api/init.rst:1459 msgid "" "These functions are only intended to be used by advanced debugging tools." msgstr "" -#: ../Doc/c-api/init.rst:1443 +#: ../Doc/c-api/init.rst:1464 msgid "" "Return the interpreter state object at the head of the list of all such " "objects." msgstr "" -#: ../Doc/c-api/init.rst:1448 +#: ../Doc/c-api/init.rst:1469 msgid "Return the main interpreter state object." msgstr "" -#: ../Doc/c-api/init.rst:1453 +#: ../Doc/c-api/init.rst:1474 msgid "" "Return the next interpreter state object after *interp* from the list of all " "such objects." msgstr "" -#: ../Doc/c-api/init.rst:1459 +#: ../Doc/c-api/init.rst:1480 msgid "" "Return the pointer to the first :c:type:`PyThreadState` object in the list " "of threads associated with the interpreter *interp*." msgstr "" -#: ../Doc/c-api/init.rst:1465 +#: ../Doc/c-api/init.rst:1486 msgid "" "Return the next thread state object after *tstate* from the list of all such " "objects belonging to the same :c:type:`PyInterpreterState` object." msgstr "" -#: ../Doc/c-api/init.rst:1472 +#: ../Doc/c-api/init.rst:1493 msgid "Thread Local Storage Support" msgstr "" -#: ../Doc/c-api/init.rst:1476 +#: ../Doc/c-api/init.rst:1497 msgid "" "The Python interpreter provides low-level support for thread-local storage " "(TLS) which wraps the underlying native TLS implementation to support the " @@ -1722,19 +1746,19 @@ msgid "" "thread." msgstr "" -#: ../Doc/c-api/init.rst:1483 +#: ../Doc/c-api/init.rst:1504 msgid "" "The GIL does *not* need to be held when calling these functions; they supply " "their own locking." msgstr "" -#: ../Doc/c-api/init.rst:1486 +#: ../Doc/c-api/init.rst:1507 msgid "" "Note that :file:`Python.h` does not include the declaration of the TLS APIs, " "you need to include :file:`pythread.h` to use thread-local storage." msgstr "" -#: ../Doc/c-api/init.rst:1490 +#: ../Doc/c-api/init.rst:1511 msgid "" "None of these API functions handle memory management on behalf of the :c:" "type:`void\\*` values. You need to allocate and deallocate them yourself. " @@ -1742,22 +1766,22 @@ msgid "" "functions don't do refcount operations on them either." msgstr "" -#: ../Doc/c-api/init.rst:1498 +#: ../Doc/c-api/init.rst:1519 msgid "Thread Specific Storage (TSS) API" msgstr "" -#: ../Doc/c-api/init.rst:1500 +#: ../Doc/c-api/init.rst:1521 msgid "" "TSS API is introduced to supersede the use of the existing TLS API within " "the CPython interpreter. This API uses a new type :c:type:`Py_tss_t` " "instead of :c:type:`int` to represent thread keys." msgstr "" -#: ../Doc/c-api/init.rst:1506 +#: ../Doc/c-api/init.rst:1527 msgid "\"A New C-API for Thread-Local Storage in CPython\" (:pep:`539`)" msgstr "" -#: ../Doc/c-api/init.rst:1511 +#: ../Doc/c-api/init.rst:1532 msgid "" "This data structure represents the state of a thread key, the definition of " "which may depend on the underlying TLS implementation, and it has an " @@ -1765,66 +1789,66 @@ msgid "" "public members in this structure." msgstr "" -#: ../Doc/c-api/init.rst:1516 +#: ../Doc/c-api/init.rst:1537 msgid "" "When :ref:`Py_LIMITED_API ` is not defined, static allocation of " "this type by :c:macro:`Py_tss_NEEDS_INIT` is allowed." msgstr "" -#: ../Doc/c-api/init.rst:1522 +#: ../Doc/c-api/init.rst:1543 msgid "" "This macro expands to the initializer for :c:type:`Py_tss_t` variables. Note " "that this macro won't be defined with :ref:`Py_LIMITED_API `." msgstr "" -#: ../Doc/c-api/init.rst:1527 +#: ../Doc/c-api/init.rst:1548 msgid "Dynamic Allocation" msgstr "" -#: ../Doc/c-api/init.rst:1529 +#: ../Doc/c-api/init.rst:1550 msgid "" "Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules " "built with :ref:`Py_LIMITED_API `, where static allocation of this " "type is not possible due to its implementation being opaque at build time." msgstr "" -#: ../Doc/c-api/init.rst:1536 +#: ../Doc/c-api/init.rst:1557 msgid "" "Return a value which is the same state as a value initialized with :c:macro:" -"`Py_tss_NEEDS_INIT`, or *NULL* in the case of dynamic allocation failure." +"`Py_tss_NEEDS_INIT`, or ``NULL`` in the case of dynamic allocation failure." msgstr "" -#: ../Doc/c-api/init.rst:1543 +#: ../Doc/c-api/init.rst:1564 msgid "" "Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first " "calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals " "have been unassigned. This is a no-op if the *key* argument is `NULL`." msgstr "" -#: ../Doc/c-api/init.rst:1549 +#: ../Doc/c-api/init.rst:1570 msgid "" "A freed key becomes a dangling pointer, you should reset the key to `NULL`." msgstr "" -#: ../Doc/c-api/init.rst:1554 +#: ../Doc/c-api/init.rst:1575 msgid "Methods" msgstr "Méthodes" -#: ../Doc/c-api/init.rst:1556 +#: ../Doc/c-api/init.rst:1577 msgid "" -"The parameter *key* of these functions must not be *NULL*. Moreover, the " +"The parameter *key* of these functions must not be ``NULL``. Moreover, the " "behaviors of :c:func:`PyThread_tss_set` and :c:func:`PyThread_tss_get` are " "undefined if the given :c:type:`Py_tss_t` has not been initialized by :c:" "func:`PyThread_tss_create`." msgstr "" -#: ../Doc/c-api/init.rst:1564 +#: ../Doc/c-api/init.rst:1585 msgid "" "Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized " "by :c:func:`PyThread_tss_create`." msgstr "" -#: ../Doc/c-api/init.rst:1570 +#: ../Doc/c-api/init.rst:1591 msgid "" "Return a zero value on successful initialization of a TSS key. The behavior " "is undefined if the value pointed to by the *key* argument is not " @@ -1833,7 +1857,7 @@ msgid "" "no-op and immediately returns success." msgstr "" -#: ../Doc/c-api/init.rst:1579 +#: ../Doc/c-api/init.rst:1600 msgid "" "Destroy a TSS key to forget the values associated with the key across all " "threads, and change the key's initialization state to uninitialized. A " @@ -1842,31 +1866,31 @@ msgid "" "key -- calling it on an already destroyed key is a no-op." msgstr "" -#: ../Doc/c-api/init.rst:1588 +#: ../Doc/c-api/init.rst:1609 msgid "" "Return a zero value to indicate successfully associating a :c:type:`void\\*` " "value with a TSS key in the current thread. Each thread has a distinct " "mapping of the key to a :c:type:`void\\*` value." msgstr "" -#: ../Doc/c-api/init.rst:1595 +#: ../Doc/c-api/init.rst:1616 msgid "" "Return the :c:type:`void\\*` value associated with a TSS key in the current " -"thread. This returns *NULL* if no value is associated with the key in the " +"thread. This returns ``NULL`` if no value is associated with the key in the " "current thread." msgstr "" -#: ../Doc/c-api/init.rst:1603 +#: ../Doc/c-api/init.rst:1624 msgid "Thread Local Storage (TLS) API" msgstr "" -#: ../Doc/c-api/init.rst:1605 +#: ../Doc/c-api/init.rst:1626 msgid "" "This API is superseded by :ref:`Thread Specific Storage (TSS) API `." msgstr "" -#: ../Doc/c-api/init.rst:1610 +#: ../Doc/c-api/init.rst:1631 msgid "" "This version of the API does not support platforms where the native TLS key " "is defined in a way that cannot be safely cast to ``int``. On such " @@ -1875,7 +1899,7 @@ msgid "" "platforms." msgstr "" -#: ../Doc/c-api/init.rst:1615 +#: ../Doc/c-api/init.rst:1636 msgid "" "Due to the compatibility problem noted above, this version of the API should " "not be used in new code." diff --git a/c-api/init_config.po b/c-api/init_config.po index d3dcfff6..0de07799 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-04 11:42+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -172,8 +172,8 @@ msgstr "" #: ../Doc/c-api/init_config.rst:64 msgid "" -"If *length* is non-zero, *items* must be non-NULL and all strings must be " -"non-NULL." +"If *length* is non-zero, *items* must be non-``NULL`` and all strings must " +"be non-``NULL``." msgstr "" #: ../Doc/c-api/init_config.rst:67 @@ -832,7 +832,7 @@ msgid ":data:`sys.pycache_prefix`: ``.pyc`` cache prefix." msgstr "" #: ../Doc/c-api/init_config.rst:611 -msgid "If NULL, :data:`sys.pycache_prefix` is set to ``None``." +msgid "If ``NULL``, :data:`sys.pycache_prefix` is set to ``None``." msgstr "" #: ../Doc/c-api/init_config.rst:615 diff --git a/c-api/intro.po b/c-api/intro.po index 8a9ea280..18b0653d 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -190,7 +190,7 @@ msgstr "" #: ../Doc/c-api/intro.rst:155 msgid "" -"Like ``getenv(s)``, but returns *NULL* if :option:`-E` was passed on the " +"Like ``getenv(s)``, but returns ``NULL`` if :option:`-E` was passed on the " "command line (i.e. if ``Py_IgnoreEnvironmentFlag`` is set)." msgstr "" @@ -468,7 +468,7 @@ msgid "" "is made otherwise in a function's documentation. In general, when a " "function encounters an error, it sets an exception, discards any object " "references that it owns, and returns an error indicator. If not documented " -"otherwise, this indicator is either *NULL* or ``-1``, depending on the " +"otherwise, this indicator is either ``NULL`` or ``-1``, depending on the " "function's return type. A few functions return a Boolean true/false result, " "with false indicating an error. Very few functions return no explicit error " "indicator or have an ambiguous return value, and require explicit testing " @@ -483,7 +483,7 @@ msgid "" "of two states: an exception has occurred, or not. The function :c:func:" "`PyErr_Occurred` can be used to check for this: it returns a borrowed " "reference to the exception type object when an exception has occurred, and " -"*NULL* otherwise. There are a number of functions to set the exception " +"``NULL`` otherwise. There are a number of functions to set the exception " "state: :c:func:`PyErr_SetString` is the most common (though not the most " "general) function to set the exception state, and :c:func:`PyErr_Clear` " "clears the exception state." @@ -492,7 +492,7 @@ msgstr "" #: ../Doc/c-api/intro.rst:498 msgid "" "The full exception state consists of three objects (all of which can be " -"*NULL*): the exception type, the corresponding exception value, and the " +"``NULL``): the exception type, the corresponding exception value, and the " "traceback. These have the same meanings as the Python result of ``sys." "exc_info()``; however, they are not the same: the Python objects represent " "the last exception being handled by a Python :keyword:`try` ... :keyword:" @@ -545,10 +545,10 @@ msgid "" "This example represents an endorsed use of the ``goto`` statement in C! It " "illustrates the use of :c:func:`PyErr_ExceptionMatches` and :c:func:" "`PyErr_Clear` to handle specific exceptions, and the use of :c:func:" -"`Py_XDECREF` to dispose of owned references that may be *NULL* (note the " +"`Py_XDECREF` to dispose of owned references that may be ``NULL`` (note the " "``'X'`` in the name; :c:func:`Py_DECREF` would crash when confronted with a " -"*NULL* reference). It is important that the variables used to hold owned " -"references are initialized to *NULL* for this to work; likewise, the " +"``NULL`` reference). It is important that the variables used to hold owned " +"references are initialized to ``NULL`` for this to work; likewise, the " "proposed return value is initialized to ``-1`` (failure) and only set to " "success after the final call made is successful." msgstr "" diff --git a/c-api/iter.po b/c-api/iter.po index 4b93f6dd..813c8b18 100644 --- a/c-api/iter.po +++ b/c-api/iter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-02-15 00:33+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -27,11 +27,12 @@ msgid "Return true if the object *o* supports the iterator protocol." msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération." #: ../Doc/c-api/iter.rst:17 +#, fuzzy msgid "" "Return the next value from the iteration *o*. The object must be an " "iterator (it is up to the caller to check this). If there are no remaining " -"values, returns *NULL* with no exception set. If an error occurs while " -"retrieving the item, returns *NULL* and passes along the exception." +"values, returns ``NULL`` with no exception set. If an error occurs while " +"retrieving the item, returns ``NULL`` and passes along the exception." msgstr "" "Renvoie la valeur suivante d'une itération de *o*. L'objet doit être un " "itérateur (c'est à l'appelant de faire cette vérification). Renvoie *NULL* " diff --git a/c-api/list.po b/c-api/list.po index b8acbad3..65c6fca0 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -41,7 +41,7 @@ msgid "" msgstr "" #: ../Doc/c-api/list.rst:36 -msgid "Return a new list of length *len* on success, or *NULL* on failure." +msgid "Return a new list of length *len* on success, or ``NULL`` on failure." msgstr "" #: ../Doc/c-api/list.rst:40 @@ -66,7 +66,7 @@ msgstr "" msgid "" "Return the object at position *index* in the list pointed to by *list*. The " "position must be non-negative; indexing from the end of the list is not " -"supported. If *index* is out of bounds (<0 or >=len(list)), return *NULL* " +"supported. If *index* is out of bounds (<0 or >=len(list)), return ``NULL`` " "and set an :exc:`IndexError` exception." msgstr "" @@ -76,58 +76,59 @@ msgstr "" #: ../Doc/c-api/list.rst:74 msgid "" -"Set the item at index *index* in list to *item*. Return ``0`` on success or " -"``-1`` on failure." +"Set the item at index *index* in list to *item*. Return ``0`` on success. " +"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` " +"exception." msgstr "" -#: ../Doc/c-api/list.rst:79 +#: ../Doc/c-api/list.rst:80 msgid "" "This function \"steals\" a reference to *item* and discards a reference to " "an item already in the list at the affected position." msgstr "" -#: ../Doc/c-api/list.rst:85 +#: ../Doc/c-api/list.rst:86 msgid "" "Macro form of :c:func:`PyList_SetItem` without error checking. This is " "normally only used to fill in new lists where there is no previous content." msgstr "" -#: ../Doc/c-api/list.rst:90 +#: ../Doc/c-api/list.rst:91 msgid "" "This macro \"steals\" a reference to *item*, and, unlike :c:func:" "`PyList_SetItem`, does *not* discard a reference to any item that is being " "replaced; any reference in *list* at position *i* will be leaked." msgstr "" -#: ../Doc/c-api/list.rst:98 +#: ../Doc/c-api/list.rst:99 msgid "" "Insert the item *item* into list *list* in front of index *index*. Return " "``0`` if successful; return ``-1`` and set an exception if unsuccessful. " "Analogous to ``list.insert(index, item)``." msgstr "" -#: ../Doc/c-api/list.rst:105 +#: ../Doc/c-api/list.rst:106 msgid "" "Append the object *item* at the end of list *list*. Return ``0`` if " "successful; return ``-1`` and set an exception if unsuccessful. Analogous " "to ``list.append(item)``." msgstr "" -#: ../Doc/c-api/list.rst:112 +#: ../Doc/c-api/list.rst:113 msgid "" "Return a list of the objects in *list* containing the objects *between* " -"*low* and *high*. Return *NULL* and set an exception if unsuccessful. " -"Analogous to ``list[low:high]``. Negative indices, as when slicing from " -"Python, are not supported." +"*low* and *high*. Return ``NULL`` and set an exception if unsuccessful. " +"Analogous to ``list[low:high]``. Indexing from the end of the list is not " +"supported." msgstr "" #: ../Doc/c-api/list.rst:120 msgid "" "Set the slice of *list* between *low* and *high* to the contents of " "*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may " -"be *NULL*, indicating the assignment of an empty list (slice deletion). " -"Return ``0`` on success, ``-1`` on failure. Negative indices, as when " -"slicing from Python, are not supported." +"be ``NULL``, indicating the assignment of an empty list (slice deletion). " +"Return ``0`` on success, ``-1`` on failure. Indexing from the end of the " +"list is not supported." msgstr "" #: ../Doc/c-api/list.rst:129 diff --git a/c-api/long.po b/c-api/long.po index 906f1df1..bb1d81ba 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -54,7 +54,7 @@ msgstr "" #: ../Doc/c-api/long.rst:41 msgid "" -"Return a new :c:type:`PyLongObject` object from *v*, or *NULL* on failure." +"Return a new :c:type:`PyLongObject` object from *v*, or ``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:43 @@ -69,44 +69,44 @@ msgstr "" #: ../Doc/c-api/long.rst:52 msgid "" "Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`, " -"or *NULL* on failure." +"or ``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:58 msgid "" "Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or " -"*NULL* on failure." +"``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:64 msgid "" "Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or " -"*NULL* on failure." +"``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:70 msgid "" "Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or " -"*NULL* on failure." +"``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:76 msgid "" "Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long " -"long`, or *NULL* on failure." +"long`, or ``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:82 msgid "" "Return a new :c:type:`PyLongObject` object from the integer part of *v*, or " -"*NULL* on failure." +"``NULL`` on failure." msgstr "" #: ../Doc/c-api/long.rst:88 msgid "" "Return a new :c:type:`PyLongObject` based on the string value in *str*, " "which is interpreted according to the radix in *base*. If *pend* is non-" -"*NULL*, *\\*pend* will point to the first character in *str* which follows " +"``NULL``, *\\*pend* will point to the first character in *str* which follows " "the representation of the number. If *base* is ``0``, *str* is interpreted " "using the :ref:`integers` definition; in this case, leading zeros in a non-" "zero decimal number raises a :exc:`ValueError`. If *base* is not ``0``, it " @@ -333,5 +333,6 @@ msgid "" msgstr "" #: ../Doc/c-api/long.rst:339 -msgid "Returns *NULL* on error. Use :c:func:`PyErr_Occurred` to disambiguate." +msgid "" +"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" diff --git a/c-api/mapping.po b/c-api/mapping.po index c94973f9..e070501a 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -40,7 +40,7 @@ msgstr "" #: ../Doc/c-api/mapping.rst:32 msgid "" -"Return element of *o* corresponding to the string *key* or *NULL* on " +"Return element of *o* corresponding to the string *key* or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o[key]``. See " "also :c:func:`PyObject_GetItem`." msgstr "" @@ -89,7 +89,7 @@ msgstr "" #: ../Doc/c-api/mapping.rst:81 msgid "" "On success, return a list of the keys in object *o*. On failure, return " -"*NULL*." +"``NULL``." msgstr "" #: ../Doc/c-api/mapping.rst:84 ../Doc/c-api/mapping.rst:93 @@ -100,11 +100,11 @@ msgstr "" #: ../Doc/c-api/mapping.rst:90 msgid "" "On success, return a list of the values in object *o*. On failure, return " -"*NULL*." +"``NULL``." msgstr "" #: ../Doc/c-api/mapping.rst:99 msgid "" "On success, return a list of the items in object *o*, where each item is a " -"tuple containing a key-value pair. On failure, return *NULL*." +"tuple containing a key-value pair. On failure, return ``NULL``." msgstr "" diff --git a/c-api/marshal.po b/c-api/marshal.po index 3b3eee18..8b727a35 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-08-03 17:52+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -36,7 +36,7 @@ msgid "" "The module supports two versions of the data format: version 0 is the " "historical version, version 1 shares interned strings in the file, and upon " "unmarshalling. Version 2 uses a binary format for floating point numbers. " -"*Py_MARSHAL_VERSION* indicates the current file format (currently 2)." +"``Py_MARSHAL_VERSION`` indicates the current file format (currently 2)." msgstr "" #: ../Doc/c-api/marshal.rst:24 @@ -92,7 +92,7 @@ msgstr "" #: ../Doc/c-api/marshal.rst:92 msgid "" "On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` " -"or :exc:`TypeError`) and returns *NULL*." +"or :exc:`TypeError`) and returns ``NULL``." msgstr "" #: ../Doc/c-api/marshal.rst:75 diff --git a/c-api/memory.po b/c-api/memory.po index acf4e278..05ce7bb2 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -128,28 +128,28 @@ msgstr "" #: ../Doc/c-api/memory.rst:285 msgid "" "Allocates *n* bytes and returns a pointer of type :c:type:`void\\*` to the " -"allocated memory, or *NULL* if the request fails." +"allocated memory, or ``NULL`` if the request fails." msgstr "" #: ../Doc/c-api/memory.rst:115 msgid "" -"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as " -"if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not have " -"been initialized in any way." +"Requesting zero bytes returns a distinct non-``NULL`` pointer if possible, " +"as if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not " +"have been initialized in any way." msgstr "" #: ../Doc/c-api/memory.rst:122 ../Doc/c-api/memory.rst:193 #: ../Doc/c-api/memory.rst:295 msgid "" "Allocates *nelem* elements each whose size in bytes is *elsize* and returns " -"a pointer of type :c:type:`void\\*` to the allocated memory, or *NULL* if " +"a pointer of type :c:type:`void\\*` to the allocated memory, or ``NULL`` if " "the request fails. The memory is initialized to zeros." msgstr "" #: ../Doc/c-api/memory.rst:126 msgid "" "Requesting zero elements or elements of size zero bytes returns a distinct " -"non-*NULL* pointer if possible, as if ``PyMem_RawCalloc(1, 1)`` had been " +"non-``NULL`` pointer if possible, as if ``PyMem_RawCalloc(1, 1)`` had been " "called instead." msgstr "" @@ -162,21 +162,21 @@ msgstr "" #: ../Doc/c-api/memory.rst:138 msgid "" -"If *p* is *NULL*, the call is equivalent to ``PyMem_RawMalloc(n)``; else if " -"*n* is equal to zero, the memory block is resized but is not freed, and the " -"returned pointer is non-*NULL*." +"If *p* is ``NULL``, the call is equivalent to ``PyMem_RawMalloc(n)``; else " +"if *n* is equal to zero, the memory block is resized but is not freed, and " +"the returned pointer is non-``NULL``." msgstr "" #: ../Doc/c-api/memory.rst:142 msgid "" -"Unless *p* is *NULL*, it must have been returned by a previous call to :c:" +"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:" "func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or :c:func:" "`PyMem_RawCalloc`." msgstr "" #: ../Doc/c-api/memory.rst:146 msgid "" -"If the request fails, :c:func:`PyMem_RawRealloc` returns *NULL* and *p* " +"If the request fails, :c:func:`PyMem_RawRealloc` returns ``NULL`` and *p* " "remains a valid pointer to the previous memory area." msgstr "" @@ -190,7 +190,7 @@ msgstr "" #: ../Doc/c-api/memory.rst:157 ../Doc/c-api/memory.rst:227 #: ../Doc/c-api/memory.rst:329 -msgid "If *p* is *NULL*, no operation is performed." +msgid "If *p* is ``NULL``, no operation is performed." msgstr "" #: ../Doc/c-api/memory.rst:163 @@ -223,35 +223,35 @@ msgstr "" #: ../Doc/c-api/memory.rst:186 msgid "" -"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as " -"if ``PyMem_Malloc(1)`` had been called instead. The memory will not have " +"Requesting zero bytes returns a distinct non-``NULL`` pointer if possible, " +"as if ``PyMem_Malloc(1)`` had been called instead. The memory will not have " "been initialized in any way." msgstr "" #: ../Doc/c-api/memory.rst:197 msgid "" "Requesting zero elements or elements of size zero bytes returns a distinct " -"non-*NULL* pointer if possible, as if ``PyMem_Calloc(1, 1)`` had been called " -"instead." +"non-``NULL`` pointer if possible, as if ``PyMem_Calloc(1, 1)`` had been " +"called instead." msgstr "" #: ../Doc/c-api/memory.rst:209 msgid "" -"If *p* is *NULL*, the call is equivalent to ``PyMem_Malloc(n)``; else if *n* " -"is equal to zero, the memory block is resized but is not freed, and the " -"returned pointer is non-*NULL*." +"If *p* is ``NULL``, the call is equivalent to ``PyMem_Malloc(n)``; else if " +"*n* is equal to zero, the memory block is resized but is not freed, and the " +"returned pointer is non-``NULL``." msgstr "" #: ../Doc/c-api/memory.rst:213 msgid "" -"Unless *p* is *NULL*, it must have been returned by a previous call to :c:" +"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:" "func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`." msgstr "" #: ../Doc/c-api/memory.rst:216 msgid "" -"If the request fails, :c:func:`PyMem_Realloc` returns *NULL* and *p* remains " -"a valid pointer to the previous memory area." +"If the request fails, :c:func:`PyMem_Realloc` returns ``NULL`` and *p* " +"remains a valid pointer to the previous memory area." msgstr "" #: ../Doc/c-api/memory.rst:222 @@ -279,8 +279,8 @@ msgstr "" msgid "" "Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n * " "sizeof(TYPE))`` bytes. Returns a pointer cast to :c:type:`TYPE\\*`. On " -"return, *p* will be a pointer to the new memory area, or *NULL* in the event " -"of failure." +"return, *p* will be a pointer to the new memory area, or ``NULL`` in the " +"event of failure." msgstr "" #: ../Doc/c-api/memory.rst:247 @@ -337,35 +337,35 @@ msgstr "" #: ../Doc/c-api/memory.rst:288 msgid "" -"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as " -"if ``PyObject_Malloc(1)`` had been called instead. The memory will not have " -"been initialized in any way." +"Requesting zero bytes returns a distinct non-``NULL`` pointer if possible, " +"as if ``PyObject_Malloc(1)`` had been called instead. The memory will not " +"have been initialized in any way." msgstr "" #: ../Doc/c-api/memory.rst:299 msgid "" "Requesting zero elements or elements of size zero bytes returns a distinct " -"non-*NULL* pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been " +"non-``NULL`` pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been " "called instead." msgstr "" #: ../Doc/c-api/memory.rst:311 msgid "" -"If *p* is *NULL*, the call is equivalent to ``PyObject_Malloc(n)``; else if " -"*n* is equal to zero, the memory block is resized but is not freed, and the " -"returned pointer is non-*NULL*." +"If *p* is ``NULL``, the call is equivalent to ``PyObject_Malloc(n)``; else " +"if *n* is equal to zero, the memory block is resized but is not freed, and " +"the returned pointer is non-``NULL``." msgstr "" #: ../Doc/c-api/memory.rst:315 msgid "" -"Unless *p* is *NULL*, it must have been returned by a previous call to :c:" +"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:" "func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:" "`PyObject_Calloc`." msgstr "" #: ../Doc/c-api/memory.rst:318 msgid "" -"If the request fails, :c:func:`PyObject_Realloc` returns *NULL* and *p* " +"If the request fails, :c:func:`PyObject_Realloc` returns ``NULL`` and *p* " "remains a valid pointer to the previous memory area." msgstr "" @@ -607,8 +607,8 @@ msgstr "" #: ../Doc/c-api/memory.rst:427 msgid "" -"The new allocator must return a distinct non-NULL pointer when requesting " -"zero bytes." +"The new allocator must return a distinct non-``NULL`` pointer when " +"requesting zero bytes." msgstr "" #: ../Doc/c-api/memory.rst:430 diff --git a/c-api/memoryview.po b/c-api/memoryview.po index 733a1290..edd04efe 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -71,7 +71,7 @@ msgstr "" #: ../Doc/c-api/memoryview.rst:59 msgid "" "Return either a pointer to the exporting object that the memoryview is based " -"on or *NULL* if the memoryview has been created by one of the functions :c:" +"on or ``NULL`` if the memoryview has been created by one of the functions :c:" "func:`PyMemoryView_FromMemory` or :c:func:`PyMemoryView_FromBuffer`. *mview* " "**must** be a memoryview instance." msgstr "" diff --git a/c-api/method.po b/c-api/method.po index a99b94ba..cd5e84d8 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -34,7 +34,7 @@ msgstr "" #: ../Doc/c-api/method.rst:23 msgid "" "Return true if *o* is an instance method object (has type :c:data:" -"`PyInstanceMethod_Type`). The parameter must not be *NULL*." +"`PyInstanceMethod_Type`). The parameter must not be ``NULL``." msgstr "" #: ../Doc/c-api/method.rst:29 @@ -74,14 +74,14 @@ msgstr "" #: ../Doc/c-api/method.rst:66 msgid "" "Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). " -"The parameter must not be *NULL*." +"The parameter must not be ``NULL``." msgstr "" #: ../Doc/c-api/method.rst:72 msgid "" "Return a new method object, with *func* being any callable object and *self* " "the instance the method should be bound. *func* is the function that will be " -"called when the method is called. *self* must not be *NULL*." +"called when the method is called. *self* must not be ``NULL``." msgstr "" #: ../Doc/c-api/method.rst:79 diff --git a/c-api/module.po b/c-api/module.po index 90e5e77e..286b3108 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -58,7 +58,7 @@ msgid "" "Return the dictionary object that implements *module*'s namespace; this " "object is the same as the :attr:`~object.__dict__` attribute of the module " "object. If *module* is not a module object (or a subtype of a module " -"object), :exc:`SystemError` is raised and *NULL* is returned." +"object), :exc:`SystemError` is raised and ``NULL`` is returned." msgstr "" #: ../Doc/c-api/module.rst:66 @@ -71,7 +71,7 @@ msgstr "" #: ../Doc/c-api/module.rst:77 msgid "" "Return *module*'s :attr:`__name__` value. If the module does not provide " -"one, or if it is not a string, :exc:`SystemError` is raised and *NULL* is " +"one, or if it is not a string, :exc:`SystemError` is raised and ``NULL`` is " "returned." msgstr "" @@ -84,22 +84,22 @@ msgstr "" #: ../Doc/c-api/module.rst:90 msgid "" "Return the \"state\" of the module, that is, a pointer to the block of " -"memory allocated at module creation time, or *NULL*. See :c:member:" +"memory allocated at module creation time, or ``NULL``. See :c:member:" "`PyModuleDef.m_size`." msgstr "" #: ../Doc/c-api/module.rst:97 msgid "" "Return a pointer to the :c:type:`PyModuleDef` struct from which the module " -"was created, or *NULL* if the module wasn't created from a definition." +"was created, or ``NULL`` if the module wasn't created from a definition." msgstr "" #: ../Doc/c-api/module.rst:107 msgid "" "Return the name of the file from which *module* was loaded using *module*'s :" "attr:`__file__` attribute. If this is not defined, or if it is not a " -"unicode string, raise :exc:`SystemError` and return *NULL*; otherwise return " -"a reference to a Unicode object." +"unicode string, raise :exc:`SystemError` and return ``NULL``; otherwise " +"return a reference to a Unicode object." msgstr "" #: ../Doc/c-api/module.rst:117 @@ -189,41 +189,41 @@ msgstr "" #: ../Doc/c-api/module.rst:180 msgid "" "A pointer to a table of module-level functions, described by :c:type:" -"`PyMethodDef` values. Can be *NULL* if no functions are present." +"`PyMethodDef` values. Can be ``NULL`` if no functions are present." msgstr "" #: ../Doc/c-api/module.rst:185 msgid "" "An array of slot definitions for multi-phase initialization, terminated by a " "``{0, NULL}`` entry. When using single-phase initialization, *m_slots* must " -"be *NULL*." +"be ``NULL``." msgstr "" #: ../Doc/c-api/module.rst:191 msgid "" -"Prior to version 3.5, this member was always set to *NULL*, and was defined " -"as:" +"Prior to version 3.5, this member was always set to ``NULL``, and was " +"defined as:" msgstr "" #: ../Doc/c-api/module.rst:198 msgid "" "A traversal function to call during GC traversal of the module object, or " -"*NULL* if not needed. This function may be called before module state is " +"``NULL`` if not needed. This function may be called before module state is " "allocated (:c:func:`PyModule_GetState()` may return `NULL`), and before the :" "c:member:`Py_mod_exec` function is executed." msgstr "" #: ../Doc/c-api/module.rst:205 msgid "" -"A clear function to call during GC clearing of the module object, or *NULL* " -"if not needed. This function may be called before module state is allocated " -"(:c:func:`PyModule_GetState()` may return `NULL`), and before the :c:member:" -"`Py_mod_exec` function is executed." +"A clear function to call during GC clearing of the module object, or " +"``NULL`` if not needed. This function may be called before module state is " +"allocated (:c:func:`PyModule_GetState()` may return `NULL`), and before the :" +"c:member:`Py_mod_exec` function is executed." msgstr "" #: ../Doc/c-api/module.rst:212 msgid "" -"A function to call during deallocation of the module object, or *NULL* if " +"A function to call during deallocation of the module object, or ``NULL`` if " "not needed. This function may be called before module state is allocated (:c:" "func:`PyModule_GetState()` may return `NULL`), and before the :c:member:" "`Py_mod_exec` function is executed." @@ -316,7 +316,7 @@ msgid "" msgstr "" #: ../Doc/c-api/module.rst:281 -msgid "Returns *def* cast to ``PyObject*``, or *NULL* if an error occurred." +msgid "Returns *def* cast to ``PyObject*``, or ``NULL`` if an error occurred." msgstr "" #: ../Doc/c-api/module.rst:285 @@ -351,7 +351,7 @@ msgstr "" msgid "" "The function receives a :py:class:`~importlib.machinery.ModuleSpec` " "instance, as defined in :PEP:`451`, and the module definition. It should " -"return a new module object, or set an error and return *NULL*." +"return a new module object, or set an error and return ``NULL``." msgstr "" #: ../Doc/c-api/module.rst:316 @@ -381,7 +381,7 @@ msgid "" "There is no requirement for the returned object to be an instance of :c:type:" "`PyModule_Type`. Any type can be used, as long as it supports setting and " "getting import-related attributes. However, only ``PyModule_Type`` instances " -"may be returned if the ``PyModuleDef`` has non-*NULL* ``m_traverse``, " +"may be returned if the ``PyModuleDef`` has non-``NULL`` ``m_traverse``, " "``m_clear``, ``m_free``; non-zero ``m_size``; or slots other than " "``Py_mod_create``." msgstr "" @@ -450,12 +450,12 @@ msgstr "" #: ../Doc/c-api/module.rst:397 msgid "" -"Add the functions from the *NULL* terminated *functions* array to *module*. " -"Refer to the :c:type:`PyMethodDef` documentation for details on individual " -"entries (due to the lack of a shared module namespace, module level " -"\"functions\" implemented in C typically receive the module as their first " -"parameter, making them similar to instance methods on Python classes). This " -"function is called automatically when creating a module from " +"Add the functions from the ``NULL`` terminated *functions* array to " +"*module*. Refer to the :c:type:`PyMethodDef` documentation for details on " +"individual entries (due to the lack of a shared module namespace, module " +"level \"functions\" implemented in C typically receive the module as their " +"first parameter, making them similar to instance methods on Python classes). " +"This function is called automatically when creating a module from " "``PyModuleDef``, using either ``PyModule_Create`` or " "``PyModule_FromDefAndSpec``." msgstr "" @@ -502,7 +502,7 @@ msgstr "" msgid "" "Add a string constant to *module* as *name*. This convenience function can " "be used from the module's initialization function. The string *value* must " -"be *NULL*-terminated. Return ``-1`` on error, ``0`` on success." +"be ``NULL``-terminated. Return ``-1`` on error, ``0`` on success." msgstr "" #: ../Doc/c-api/module.rst:453 @@ -541,7 +541,7 @@ msgid "" "interpreter. This method requires that the module object has been attached " "to the interpreter state with :c:func:`PyState_AddModule` beforehand. In " "case the corresponding module object is not found or has not been attached " -"to the interpreter state yet, it returns *NULL*." +"to the interpreter state yet, it returns ``NULL``." msgstr "" #: ../Doc/c-api/module.rst:483 @@ -555,7 +555,23 @@ msgstr "" msgid "Only effective on modules created using single-phase initialization." msgstr "" -#: ../Doc/c-api/module.rst:492 +#: ../Doc/c-api/module.rst:488 msgid "" -"Removes the module object created from *def* from the interpreter state." +"Python calls ``PyState_AddModule`` automatically after importing a module, " +"so it is unnecessary (but harmless) to call it from module initialization " +"code. An explicit call is needed only if the module's own init code " +"subsequently calls ``PyState_FindModule``. The function is mainly intended " +"for implementing alternative import mechanisms (either by calling it " +"directly, or by referring to its implementation for details of the required " +"state updates)." +msgstr "" + +#: ../Doc/c-api/module.rst:496 +msgid "Return 0 on success or -1 on failure." +msgstr "" + +#: ../Doc/c-api/module.rst:502 +msgid "" +"Removes the module object created from *def* from the interpreter state. " +"Return 0 on success or -1 on failure." msgstr "" diff --git a/c-api/number.po b/c-api/number.po index 216ff83c..c1a7752f 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -30,148 +30,148 @@ msgstr "" #: ../Doc/c-api/number.rst:20 msgid "" -"Returns the result of adding *o1* and *o2*, or *NULL* on failure. This is " +"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. This is " "the equivalent of the Python expression ``o1 + o2``." msgstr "" #: ../Doc/c-api/number.rst:26 msgid "" -"Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. " +"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. " "This is the equivalent of the Python expression ``o1 - o2``." msgstr "" #: ../Doc/c-api/number.rst:32 msgid "" -"Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. This " -"is the equivalent of the Python expression ``o1 * o2``." +"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. " +"This is the equivalent of the Python expression ``o1 * o2``." msgstr "" #: ../Doc/c-api/number.rst:38 msgid "" -"Returns the result of matrix multiplication on *o1* and *o2*, or *NULL* on " +"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o1 @ o2``." msgstr "" #: ../Doc/c-api/number.rst:46 msgid "" -"Return the floor of *o1* divided by *o2*, or *NULL* on failure. This is " +"Return the floor of *o1* divided by *o2*, or ``NULL`` on failure. This is " "equivalent to the \"classic\" division of integers." msgstr "" #: ../Doc/c-api/number.rst:52 msgid "" "Return a reasonable approximation for the mathematical value of *o1* divided " -"by *o2*, or *NULL* on failure. The return value is \"approximate\" because " -"binary floating point numbers are approximate; it is not possible to " +"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" " +"because binary floating point numbers are approximate; it is not possible to " "represent all real numbers in base two. This function can return a floating " "point value when passed two integers." msgstr "" #: ../Doc/c-api/number.rst:61 msgid "" -"Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. This " -"is the equivalent of the Python expression ``o1 % o2``." +"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. " +"This is the equivalent of the Python expression ``o1 % o2``." msgstr "" #: ../Doc/c-api/number.rst:69 msgid "" -"See the built-in function :func:`divmod`. Returns *NULL* on failure. This " +"See the built-in function :func:`divmod`. Returns ``NULL`` on failure. This " "is the equivalent of the Python expression ``divmod(o1, o2)``." msgstr "" #: ../Doc/c-api/number.rst:77 msgid "" -"See the built-in function :func:`pow`. Returns *NULL* on failure. This is " +"See the built-in function :func:`pow`. Returns ``NULL`` on failure. This is " "the equivalent of the Python expression ``pow(o1, o2, o3)``, where *o3* is " "optional. If *o3* is to be ignored, pass :c:data:`Py_None` in its place " -"(passing *NULL* for *o3* would cause an illegal memory access)." +"(passing ``NULL`` for *o3* would cause an illegal memory access)." msgstr "" #: ../Doc/c-api/number.rst:85 msgid "" -"Returns the negation of *o* on success, or *NULL* on failure. This is the " +"Returns the negation of *o* on success, or ``NULL`` on failure. This is the " "equivalent of the Python expression ``-o``." msgstr "" #: ../Doc/c-api/number.rst:91 msgid "" -"Returns *o* on success, or *NULL* on failure. This is the equivalent of the " -"Python expression ``+o``." +"Returns *o* on success, or ``NULL`` on failure. This is the equivalent of " +"the Python expression ``+o``." msgstr "" #: ../Doc/c-api/number.rst:99 msgid "" -"Returns the absolute value of *o*, or *NULL* on failure. This is the " +"Returns the absolute value of *o*, or ``NULL`` on failure. This is the " "equivalent of the Python expression ``abs(o)``." msgstr "" #: ../Doc/c-api/number.rst:105 msgid "" -"Returns the bitwise negation of *o* on success, or *NULL* on failure. This " -"is the equivalent of the Python expression ``~o``." +"Returns the bitwise negation of *o* on success, or ``NULL`` on failure. " +"This is the equivalent of the Python expression ``~o``." msgstr "" #: ../Doc/c-api/number.rst:111 msgid "" -"Returns the result of left shifting *o1* by *o2* on success, or *NULL* on " +"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o1 << o2``." msgstr "" #: ../Doc/c-api/number.rst:117 msgid "" -"Returns the result of right shifting *o1* by *o2* on success, or *NULL* on " +"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o1 >> o2``." msgstr "" #: ../Doc/c-api/number.rst:123 msgid "" -"Returns the \"bitwise and\" of *o1* and *o2* on success and *NULL* on " +"Returns the \"bitwise and\" of *o1* and *o2* on success and ``NULL`` on " "failure. This is the equivalent of the Python expression ``o1 & o2``." msgstr "" #: ../Doc/c-api/number.rst:129 msgid "" -"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or *NULL* " +"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL`` " "on failure. This is the equivalent of the Python expression ``o1 ^ o2``." msgstr "" #: ../Doc/c-api/number.rst:135 msgid "" -"Returns the \"bitwise or\" of *o1* and *o2* on success, or *NULL* on " +"Returns the \"bitwise or\" of *o1* and *o2* on success, or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o1 | o2``." msgstr "" #: ../Doc/c-api/number.rst:141 msgid "" -"Returns the result of adding *o1* and *o2*, or *NULL* on failure. The " +"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. The " "operation is done *in-place* when *o1* supports it. This is the equivalent " "of the Python statement ``o1 += o2``." msgstr "" #: ../Doc/c-api/number.rst:148 msgid "" -"Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. The " -"operation is done *in-place* when *o1* supports it. This is the equivalent " -"of the Python statement ``o1 -= o2``." +"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. " +"The operation is done *in-place* when *o1* supports it. This is the " +"equivalent of the Python statement ``o1 -= o2``." msgstr "" #: ../Doc/c-api/number.rst:155 msgid "" -"Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. The " -"operation is done *in-place* when *o1* supports it. This is the equivalent " -"of the Python statement ``o1 *= o2``." +"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. " +"The operation is done *in-place* when *o1* supports it. This is the " +"equivalent of the Python statement ``o1 *= o2``." msgstr "" #: ../Doc/c-api/number.rst:162 msgid "" -"Returns the result of matrix multiplication on *o1* and *o2*, or *NULL* on " +"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on " "failure. The operation is done *in-place* when *o1* supports it. This is " "the equivalent of the Python statement ``o1 @= o2``." msgstr "" #: ../Doc/c-api/number.rst:171 msgid "" -"Returns the mathematical floor of dividing *o1* by *o2*, or *NULL* on " +"Returns the mathematical floor of dividing *o1* by *o2*, or ``NULL`` on " "failure. The operation is done *in-place* when *o1* supports it. This is " "the equivalent of the Python statement ``o1 //= o2``." msgstr "" @@ -179,8 +179,8 @@ msgstr "" #: ../Doc/c-api/number.rst:178 msgid "" "Return a reasonable approximation for the mathematical value of *o1* divided " -"by *o2*, or *NULL* on failure. The return value is \"approximate\" because " -"binary floating point numbers are approximate; it is not possible to " +"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" " +"because binary floating point numbers are approximate; it is not possible to " "represent all real numbers in base two. This function can return a floating " "point value when passed two integers. The operation is done *in-place* when " "*o1* supports it." @@ -188,71 +188,71 @@ msgstr "" #: ../Doc/c-api/number.rst:187 msgid "" -"Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. The " +"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. The " "operation is done *in-place* when *o1* supports it. This is the equivalent " "of the Python statement ``o1 %= o2``." msgstr "" #: ../Doc/c-api/number.rst:196 msgid "" -"See the built-in function :func:`pow`. Returns *NULL* on failure. The " +"See the built-in function :func:`pow`. Returns ``NULL`` on failure. The " "operation is done *in-place* when *o1* supports it. This is the equivalent " "of the Python statement ``o1 **= o2`` when o3 is :c:data:`Py_None`, or an in-" "place variant of ``pow(o1, o2, o3)`` otherwise. If *o3* is to be ignored, " -"pass :c:data:`Py_None` in its place (passing *NULL* for *o3* would cause an " -"illegal memory access)." +"pass :c:data:`Py_None` in its place (passing ``NULL`` for *o3* would cause " +"an illegal memory access)." msgstr "" #: ../Doc/c-api/number.rst:205 msgid "" -"Returns the result of left shifting *o1* by *o2* on success, or *NULL* on " +"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on " "failure. The operation is done *in-place* when *o1* supports it. This is " "the equivalent of the Python statement ``o1 <<= o2``." msgstr "" #: ../Doc/c-api/number.rst:212 msgid "" -"Returns the result of right shifting *o1* by *o2* on success, or *NULL* on " +"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on " "failure. The operation is done *in-place* when *o1* supports it. This is " "the equivalent of the Python statement ``o1 >>= o2``." msgstr "" #: ../Doc/c-api/number.rst:219 msgid "" -"Returns the \"bitwise and\" of *o1* and *o2* on success and *NULL* on " +"Returns the \"bitwise and\" of *o1* and *o2* on success and ``NULL`` on " "failure. The operation is done *in-place* when *o1* supports it. This is " "the equivalent of the Python statement ``o1 &= o2``." msgstr "" #: ../Doc/c-api/number.rst:226 msgid "" -"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or *NULL* " +"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL`` " "on failure. The operation is done *in-place* when *o1* supports it. This " "is the equivalent of the Python statement ``o1 ^= o2``." msgstr "" #: ../Doc/c-api/number.rst:233 msgid "" -"Returns the \"bitwise or\" of *o1* and *o2* on success, or *NULL* on " +"Returns the \"bitwise or\" of *o1* and *o2* on success, or ``NULL`` on " "failure. The operation is done *in-place* when *o1* supports it. This is " "the equivalent of the Python statement ``o1 |= o2``." msgstr "" #: ../Doc/c-api/number.rst:242 msgid "" -"Returns the *o* converted to an integer object on success, or *NULL* on " +"Returns the *o* converted to an integer object on success, or ``NULL`` on " "failure. This is the equivalent of the Python expression ``int(o)``." msgstr "" #: ../Doc/c-api/number.rst:250 msgid "" -"Returns the *o* converted to a float object on success, or *NULL* on " +"Returns the *o* converted to a float object on success, or ``NULL`` on " "failure. This is the equivalent of the Python expression ``float(o)``." msgstr "" #: ../Doc/c-api/number.rst:256 msgid "" -"Returns the *o* converted to a Python int on success or *NULL* with a :exc:" +"Returns the *o* converted to a Python int on success or ``NULL`` with a :exc:" "`TypeError` exception raised on failure." msgstr "" @@ -276,9 +276,9 @@ msgid "" "If *o* can be converted to a Python int but the attempt to convert to a " "Py_ssize_t value would raise an :exc:`OverflowError`, then the *exc* " "argument is the type of exception that will be raised (usually :exc:" -"`IndexError` or :exc:`OverflowError`). If *exc* is *NULL*, then the " -"exception is cleared and the value is clipped to *PY_SSIZE_T_MIN* for a " -"negative integer or *PY_SSIZE_T_MAX* for a positive integer." +"`IndexError` or :exc:`OverflowError`). If *exc* is ``NULL``, then the " +"exception is cleared and the value is clipped to ``PY_SSIZE_T_MIN`` for a " +"negative integer or ``PY_SSIZE_T_MAX`` for a positive integer." msgstr "" #: ../Doc/c-api/number.rst:284 diff --git a/c-api/object.po b/c-api/object.po index a73dc30b..0a41d486 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-08-16 22:56+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -76,20 +76,22 @@ msgid "" msgstr "" #: ../Doc/c-api/object.rst:55 +#, fuzzy msgid "" "Retrieve an attribute named *attr_name* from object *o*. Returns the " -"attribute value on success, or *NULL* on failure. This is the equivalent of " -"the Python expression ``o.attr_name``." +"attribute value on success, or ``NULL`` on failure. This is the equivalent " +"of the Python expression ``o.attr_name``." msgstr "" "Récupère l'attribut nommé *attr_name* de l'objet *o*. Renvoie la valeur de " "l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à " "l'expression Python ``o.attr_name``." #: ../Doc/c-api/object.rst:62 +#, fuzzy msgid "" "Retrieve an attribute named *attr_name* from object *o*. Returns the " -"attribute value on success, or *NULL* on failure. This is the equivalent of " -"the Python expression ``o.attr_name``." +"attribute value on success, or ``NULL`` on failure. This is the equivalent " +"of the Python expression ``o.attr_name``." msgstr "" "Récupère un attribut nommé *attr_name* de l'objet *o*. Renvoie la valeur de " "l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à " @@ -124,16 +126,18 @@ msgstr "" "attr_name = v``." #: ../Doc/c-api/object.rst:84 +#, fuzzy msgid "" -"If *v* is *NULL*, the attribute is deleted, however this feature is " +"If *v* is ``NULL``, the attribute is deleted, however this feature is " "deprecated in favour of using :c:func:`PyObject_DelAttr`." msgstr "" "Si *v* est *NULL*, l'attribut est supprimé. Cette fonctionnalité est " "obsolète,nous vous conseillons d'utiliser :c:func:`PyObject_DelAttr`." #: ../Doc/c-api/object.rst:95 +#, fuzzy msgid "" -"If *v* is *NULL*, the attribute is deleted, however this feature is " +"If *v* is ``NULL``, the attribute is deleted, however this feature is " "deprecated in favour of using :c:func:`PyObject_DelAttrString`." msgstr "" "Si *v* est *NULL*, l'attribut est supprimé. Cette fonctionnalité est " @@ -185,13 +189,14 @@ msgstr "" "Cette implémentation n'autorise pas la suppression du dictionnaire." #: ../Doc/c-api/object.rst:141 +#, fuzzy msgid "" "Compare the values of *o1* and *o2* using the operation specified by *opid*, " "which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, :const:" "`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, ``<=``, " "``==``, ``!=``, ``>``, or ``>=`` respectively. This is the equivalent of the " "Python expression ``o1 op o2``, where ``op`` is the operator corresponding " -"to *opid*. Returns the value of the comparison on success, or *NULL* on " +"to *opid*. Returns the value of the comparison on success, or ``NULL`` on " "failure." msgstr "" "Compare les valeurs de *o1* et *o2* en utilisant l'opération spécifiée par " @@ -229,10 +234,12 @@ msgstr "" "renvoie toujours ``1`` pour :const:`Py_EQ` et ``0`` pour :const:`Py_NE`." #: ../Doc/c-api/object.rst:167 +#, fuzzy msgid "" "Compute a string representation of object *o*. Returns the string " -"representation on success, *NULL* on failure. This is the equivalent of the " -"Python expression ``repr(o)``. Called by the :func:`repr` built-in function." +"representation on success, ``NULL`` on failure. This is the equivalent of " +"the Python expression ``repr(o)``. Called by the :func:`repr` built-in " +"function." msgstr "" "Calcule une représentation en chaîne de caractères de l'objet *o*. Renvoie " "la représentation en chaîne de caractères en cas de succès, *NULL* en cas " @@ -263,11 +270,12 @@ msgstr "" "native :func:`ascii`." #: ../Doc/c-api/object.rst:190 +#, fuzzy msgid "" "Compute a string representation of object *o*. Returns the string " -"representation on success, *NULL* on failure. This is the equivalent of the " -"Python expression ``str(o)``. Called by the :func:`str` built-in function " -"and, therefore, by the :func:`print` function." +"representation on success, ``NULL`` on failure. This is the equivalent of " +"the Python expression ``str(o)``. Called by the :func:`str` built-in " +"function and, therefore, by the :func:`print` function." msgstr "" "Calcule une représentation en chaîne de caractères de l'objet *o*. Renvoie " "la représentation en chaîne de caractères en cas de succès, *NULL* en cas " @@ -276,11 +284,13 @@ msgstr "" "func:`print`." #: ../Doc/c-api/object.rst:203 +#, fuzzy msgid "" -"Compute a bytes representation of object *o*. *NULL* is returned on failure " -"and a bytes object on success. This is equivalent to the Python expression " -"``bytes(o)``, when *o* is not an integer. Unlike ``bytes(o)``, a TypeError " -"is raised when *o* is an integer instead of a zero-initialized bytes object." +"Compute a bytes representation of object *o*. ``NULL`` is returned on " +"failure and a bytes object on success. This is equivalent to the Python " +"expression ``bytes(o)``, when *o* is not an integer. Unlike ``bytes(o)``, a " +"TypeError is raised when *o* is an integer instead of a zero-initialized " +"bytes object." msgstr "" "Calcule une représentation en octets de l'objet *o*. *NULL* est renvoyé en " "cas d'échec, un objet séquence d'octets est renvoyé en cas de succès. Ceci " @@ -384,9 +394,10 @@ msgstr "" "le tuple *args*, et des arguments nommés donnés par le dictionnaire *kwargs*." #: ../Doc/c-api/object.rst:261 +#, fuzzy msgid "" -"*args* must not be *NULL*, use an empty tuple if no arguments are needed. If " -"no named arguments are needed, *kwargs* can be *NULL*." +"*args* must not be ``NULL``, use an empty tuple if no arguments are needed. " +"If no named arguments are needed, *kwargs* can be ``NULL``." msgstr "" "*args* ne doit pas être égal à *NULL*, utilisez un tuple vide si aucun " "argument n'est nécessaire. Si aucun argument nommé n'est nécessaire, " @@ -396,9 +407,10 @@ msgstr "" #: ../Doc/c-api/object.rst:288 ../Doc/c-api/object.rst:308 #: ../Doc/c-api/object.rst:327 ../Doc/c-api/object.rst:341 #: ../Doc/c-api/object.rst:365 +#, fuzzy msgid "" "Return the result of the call on success, or raise an exception and return " -"*NULL* on failure." +"``NULL`` on failure." msgstr "" "Renvoie le résultat de l'appel en cas de succès, ou lève une exception et " "renvoie *NULL* en cas d'échec." @@ -411,9 +423,10 @@ msgstr "" "Ceci est l'équivalent de l'expression Python : ``callable(*args, **kwargs)``." #: ../Doc/c-api/object.rst:273 +#, fuzzy msgid "" "Call a callable Python object *callable*, with arguments given by the tuple " -"*args*. If no arguments are needed, then *args* can be *NULL*." +"*args*. If no arguments are needed, then *args* can be ``NULL``." msgstr "" "Appelle un objet Python appelable *callable*, avec des arguments donnés par " "le tuple *args*. Si aucun argument n'est nécessaire, alors *args* peut être " @@ -424,11 +437,12 @@ msgid "This is the equivalent of the Python expression: ``callable(*args)``." msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``." #: ../Doc/c-api/object.rst:284 +#, fuzzy msgid "" "Call a callable Python object *callable*, with a variable number of C " "arguments. The C arguments are described using a :c:func:`Py_BuildValue` " -"style format string. The format can be *NULL*, indicating that no arguments " -"are provided." +"style format string. The format can be ``NULL``, indicating that no " +"arguments are provided." msgstr "" "Appelle un objet Python appelable, avec un nombre variable d'arguments C. " "Les arguments C sont décrits par une chaîne de caractères de format de type :" @@ -453,7 +467,7 @@ msgid "" msgstr "" #: ../Doc/c-api/object.rst:306 -msgid "The format can be *NULL*, indicating that no arguments are provided." +msgid "The format can be ``NULL``, indicating that no arguments are provided." msgstr "" #: ../Doc/c-api/object.rst:311 @@ -473,11 +487,16 @@ msgid "The types of *name* and *format* were changed from ``char *``." msgstr "" #: ../Doc/c-api/object.rst:323 +#, fuzzy msgid "" "Call a callable Python object *callable*, with a variable number of :c:type:" "`PyObject\\*` arguments. The arguments are provided as a variable number of " -"parameters followed by *NULL*." +"parameters followed by ``NULL``." msgstr "" +"Appelle un objet Python appelable, avec un nombre variable d'arguments C. " +"Les arguments C sont décrits par une chaîne de caractères de format de type :" +"c:func:`Py_BuildValue`. Le format peut être *NULL*, indiquant qu'aucun " +"argument n'est donné." #: ../Doc/c-api/object.rst:330 msgid "" @@ -490,7 +509,7 @@ msgid "" "Calls a method of the Python object *obj*, where the name of the method is " "given as a Python string object in *name*. It is called with a variable " "number of :c:type:`PyObject\\*` arguments. The arguments are provided as a " -"variable number of parameters followed by *NULL*." +"variable number of parameters followed by ``NULL``." msgstr "" #: ../Doc/c-api/object.rst:347 @@ -512,10 +531,10 @@ msgstr "" #: ../Doc/c-api/object.rst:357 msgid "" -"*kwnames* can be either NULL (no keyword arguments) or a tuple of keyword " -"names. In the latter case, the values of the keyword arguments are stored in " -"*args* after the positional arguments. The number of keyword arguments does " -"not influence *nargsf*." +"*kwnames* can be either ``NULL`` (no keyword arguments) or a tuple of " +"keyword names. In the latter case, the values of the keyword arguments are " +"stored in *args* after the positional arguments. The number of keyword " +"arguments does not influence *nargsf*." msgstr "" #: ../Doc/c-api/object.rst:362 @@ -562,7 +581,7 @@ msgstr "" #: ../Doc/c-api/object.rst:404 msgid "" "Same as :c:func:`_PyObject_Vectorcall` except that the keyword arguments are " -"passed as a dictionary in *kwdict*. This may be *NULL* if there are no " +"passed as a dictionary in *kwdict*. This may be ``NULL`` if there are no " "keyword arguments." msgstr "" @@ -611,9 +630,9 @@ msgstr "" #: ../Doc/c-api/object.rst:461 msgid "" -"When *o* is non-*NULL*, returns a type object corresponding to the object " +"When *o* is non-``NULL``, returns a type object corresponding to the object " "type of object *o*. On failure, raises :exc:`SystemError` and returns " -"*NULL*. This is equivalent to the Python expression ``type(o)``. This " +"``NULL``. This is equivalent to the Python expression ``type(o)``. This " "function increments the reference count of the return value. There's really " "no reason to use this function instead of the common expression ``o-" ">ob_type``, which returns a pointer of type :c:type:`PyTypeObject\\*`, " @@ -623,7 +642,7 @@ msgstr "" #: ../Doc/c-api/object.rst:472 msgid "" "Return true if the object *o* is of type *type* or a subtype of *type*. " -"Both parameters must be non-*NULL*." +"Both parameters must be non-``NULL``." msgstr "" #: ../Doc/c-api/object.rst:481 @@ -643,10 +662,14 @@ msgid "" msgstr "" #: ../Doc/c-api/object.rst:498 +#, fuzzy msgid "" -"Return element of *o* corresponding to the object *key* or *NULL* on " +"Return element of *o* corresponding to the object *key* or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o[key]``." msgstr "" +"Récupère un attribut nommé *attr_name* de l'objet *o*. Renvoie la valeur de " +"l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à " +"l'expression Python ``o.attr_name``." #: ../Doc/c-api/object.rst:504 msgid "" @@ -665,9 +688,9 @@ msgstr "" msgid "" "This is equivalent to the Python expression ``dir(o)``, returning a " "(possibly empty) list of strings appropriate for the object argument, or " -"*NULL* if there was an error. If the argument is *NULL*, this is like the " -"Python ``dir()``, returning the names of the current locals; in this case, " -"if no execution frame is active then *NULL* is returned but :c:func:" +"``NULL`` if there was an error. If the argument is ``NULL``, this is like " +"the Python ``dir()``, returning the names of the current locals; in this " +"case, if no execution frame is active then ``NULL`` is returned but :c:func:" "`PyErr_Occurred` will return false." msgstr "" @@ -675,6 +698,6 @@ msgstr "" msgid "" "This is equivalent to the Python expression ``iter(o)``. It returns a new " "iterator for the object argument, or the object itself if the object is " -"already an iterator. Raises :exc:`TypeError` and returns *NULL* if the " +"already an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the " "object cannot be iterated." msgstr "" diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 5c003681..f0833a43 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -27,21 +27,22 @@ msgstr "" #: ../Doc/c-api/refcounting.rst:16 msgid "" "Increment the reference count for object *o*. The object must not be " -"*NULL*; if you aren't sure that it isn't *NULL*, use :c:func:`Py_XINCREF`." +"``NULL``; if you aren't sure that it isn't ``NULL``, use :c:func:" +"`Py_XINCREF`." msgstr "" #: ../Doc/c-api/refcounting.rst:22 msgid "" -"Increment the reference count for object *o*. The object may be *NULL*, in " -"which case the macro has no effect." +"Increment the reference count for object *o*. The object may be ``NULL``, " +"in which case the macro has no effect." msgstr "" #: ../Doc/c-api/refcounting.rst:28 msgid "" "Decrement the reference count for object *o*. The object must not be " -"*NULL*; if you aren't sure that it isn't *NULL*, use :c:func:`Py_XDECREF`. " -"If the reference count reaches zero, the object's type's deallocation " -"function (which must not be *NULL*) is invoked." +"``NULL``; if you aren't sure that it isn't ``NULL``, use :c:func:" +"`Py_XDECREF`. If the reference count reaches zero, the object's type's " +"deallocation function (which must not be ``NULL``) is invoked." msgstr "" #: ../Doc/c-api/refcounting.rst:35 @@ -59,19 +60,19 @@ msgstr "" #: ../Doc/c-api/refcounting.rst:47 msgid "" -"Decrement the reference count for object *o*. The object may be *NULL*, in " -"which case the macro has no effect; otherwise the effect is the same as for :" -"c:func:`Py_DECREF`, and the same warning applies." +"Decrement the reference count for object *o*. The object may be ``NULL``, " +"in which case the macro has no effect; otherwise the effect is the same as " +"for :c:func:`Py_DECREF`, and the same warning applies." msgstr "" #: ../Doc/c-api/refcounting.rst:54 msgid "" -"Decrement the reference count for object *o*. The object may be *NULL*, in " -"which case the macro has no effect; otherwise the effect is the same as for :" -"c:func:`Py_DECREF`, except that the argument is also set to *NULL*. The " -"warning for :c:func:`Py_DECREF` does not apply with respect to the object " -"passed because the macro carefully uses a temporary variable and sets the " -"argument to *NULL* before decrementing its reference count." +"Decrement the reference count for object *o*. The object may be ``NULL``, " +"in which case the macro has no effect; otherwise the effect is the same as " +"for :c:func:`Py_DECREF`, except that the argument is also set to ``NULL``. " +"The warning for :c:func:`Py_DECREF` does not apply with respect to the " +"object passed because the macro carefully uses a temporary variable and sets " +"the argument to ``NULL`` before decrementing its reference count." msgstr "" #: ../Doc/c-api/refcounting.rst:61 diff --git a/c-api/reflection.po b/c-api/reflection.po index 3fc439a9..6d58e966 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-02-26 12:01+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -28,24 +28,27 @@ msgstr "" "*thread* indiqué par le *thread state*." #: ../Doc/c-api/reflection.rst:16 +#, fuzzy msgid "" "Return a dictionary of the local variables in the current execution frame, " -"or *NULL* if no frame is currently executing." +"or ``NULL`` if no frame is currently executing." msgstr "" "Renvoie un dictionnaire des variables locales de la *frame* en cours " "d'exécution, ou *NULL* si aucune *frame* n'est en cours d'exécution." #: ../Doc/c-api/reflection.rst:22 +#, fuzzy msgid "" "Return a dictionary of the global variables in the current execution frame, " -"or *NULL* if no frame is currently executing." +"or ``NULL`` if no frame is currently executing." msgstr "" "Renvoie un dictionnaire des variables globales de la *frame* en cours " "d'exécution ou *NULL* si aucune *frame* n'est en cours d'exécution." #: ../Doc/c-api/reflection.rst:28 +#, fuzzy msgid "" -"Return the current thread state's frame, which is *NULL* if no frame is " +"Return the current thread state's frame, which is ``NULL`` if no frame is " "currently executing." msgstr "" "Renvoie la *frame* actuelle selon le *thread state*, qui est *NULL* si " diff --git a/c-api/sequence.po b/c-api/sequence.po index 35a13453..32e05407 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -35,40 +35,41 @@ msgstr "" #: ../Doc/c-api/sequence.rst:29 msgid "" -"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure. " -"This is the equivalent of the Python expression ``o1 + o2``." +"Return the concatenation of *o1* and *o2* on success, and ``NULL`` on " +"failure. This is the equivalent of the Python expression ``o1 + o2``." msgstr "" #: ../Doc/c-api/sequence.rst:35 msgid "" -"Return the result of repeating sequence object *o* *count* times, or *NULL* " -"on failure. This is the equivalent of the Python expression ``o * count``." +"Return the result of repeating sequence object *o* *count* times, or " +"``NULL`` on failure. This is the equivalent of the Python expression ``o * " +"count``." msgstr "" #: ../Doc/c-api/sequence.rst:41 msgid "" -"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure. " -"The operation is done *in-place* when *o1* supports it. This is the " -"equivalent of the Python expression ``o1 += o2``." +"Return the concatenation of *o1* and *o2* on success, and ``NULL`` on " +"failure. The operation is done *in-place* when *o1* supports it. This is " +"the equivalent of the Python expression ``o1 += o2``." msgstr "" #: ../Doc/c-api/sequence.rst:48 msgid "" -"Return the result of repeating sequence object *o* *count* times, or *NULL* " -"on failure. The operation is done *in-place* when *o* supports it. This is " -"the equivalent of the Python expression ``o *= count``." +"Return the result of repeating sequence object *o* *count* times, or " +"``NULL`` on failure. The operation is done *in-place* when *o* supports " +"it. This is the equivalent of the Python expression ``o *= count``." msgstr "" #: ../Doc/c-api/sequence.rst:55 msgid "" -"Return the *i*\\ th element of *o*, or *NULL* on failure. This is the " +"Return the *i*\\ th element of *o*, or ``NULL`` on failure. This is the " "equivalent of the Python expression ``o[i]``." msgstr "" #: ../Doc/c-api/sequence.rst:61 msgid "" -"Return the slice of sequence object *o* between *i1* and *i2*, or *NULL* on " -"failure. This is the equivalent of the Python expression ``o[i1:i2]``." +"Return the slice of sequence object *o* between *i1* and *i2*, or ``NULL`` " +"on failure. This is the equivalent of the Python expression ``o[i1:i2]``." msgstr "" #: ../Doc/c-api/sequence.rst:67 @@ -81,8 +82,8 @@ msgstr "" #: ../Doc/c-api/sequence.rst:72 msgid "" -"If *v* is *NULL*, the element is deleted, however this feature is deprecated " -"in favour of using :c:func:`PySequence_DelItem`." +"If *v* is ``NULL``, the element is deleted, however this feature is " +"deprecated in favour of using :c:func:`PySequence_DelItem`." msgstr "" #: ../Doc/c-api/sequence.rst:78 @@ -126,14 +127,14 @@ msgstr "" #: ../Doc/c-api/sequence.rst:116 msgid "" "Return a list object with the same contents as the sequence or iterable *o*, " -"or *NULL* on failure. The returned list is guaranteed to be new. This is " +"or ``NULL`` on failure. The returned list is guaranteed to be new. This is " "equivalent to the Python expression ``list(o)``." msgstr "" #: ../Doc/c-api/sequence.rst:125 msgid "" "Return a tuple object with the same contents as the sequence or iterable " -"*o*, or *NULL* on failure. If *o* is a tuple, a new reference will be " +"*o*, or ``NULL`` on failure. If *o* is a tuple, a new reference will be " "returned, otherwise a tuple will be constructed with the appropriate " "contents. This is equivalent to the Python expression ``tuple(o)``." msgstr "" @@ -143,7 +144,7 @@ msgid "" "Return the sequence or iterable *o* as an object usable by the other " "``PySequence_Fast*`` family of functions. If the object is not a sequence or " "iterable, raises :exc:`TypeError` with *m* as the message text. Returns " -"*NULL* on failure." +"``NULL`` on failure." msgstr "" #: ../Doc/c-api/sequence.rst:138 @@ -162,7 +163,7 @@ msgstr "" #: ../Doc/c-api/sequence.rst:148 msgid "" "Returns the length of *o*, assuming that *o* was returned by :c:func:" -"`PySequence_Fast` and that *o* is not *NULL*. The size can also be gotten " +"`PySequence_Fast` and that *o* is not ``NULL``. The size can also be gotten " "by calling :c:func:`PySequence_Size` on *o*, but :c:func:" "`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a list or " "tuple." @@ -171,13 +172,13 @@ msgstr "" #: ../Doc/c-api/sequence.rst:157 msgid "" "Return the *i*\\ th element of *o*, assuming that *o* was returned by :c:" -"func:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds." +"func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within bounds." msgstr "" #: ../Doc/c-api/sequence.rst:163 msgid "" "Return the underlying array of PyObject pointers. Assumes that *o* was " -"returned by :c:func:`PySequence_Fast` and *o* is not *NULL*." +"returned by :c:func:`PySequence_Fast` and *o* is not ``NULL``." msgstr "" #: ../Doc/c-api/sequence.rst:166 @@ -189,7 +190,7 @@ msgstr "" #: ../Doc/c-api/sequence.rst:173 msgid "" -"Return the *i*\\ th element of *o* or *NULL* on failure. Faster form of :c:" +"Return the *i*\\ th element of *o* or ``NULL`` on failure. Faster form of :c:" "func:`PySequence_GetItem` but without checking that :c:func:" "`PySequence_Check` on *o* is true and without adjustment for negative " "indices." diff --git a/c-api/set.po b/c-api/set.po index c2e658a3..822de657 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -94,18 +94,18 @@ msgstr "" #: ../Doc/c-api/set.rst:82 msgid "" "Return a new :class:`set` containing objects returned by the *iterable*. " -"The *iterable* may be *NULL* to create a new empty set. Return the new set " -"on success or *NULL* on failure. Raise :exc:`TypeError` if *iterable* is " -"not actually iterable. The constructor is also useful for copying a set " +"The *iterable* may be ``NULL`` to create a new empty set. Return the new " +"set on success or ``NULL`` on failure. Raise :exc:`TypeError` if *iterable* " +"is not actually iterable. The constructor is also useful for copying a set " "(``c=set(s)``)." msgstr "" #: ../Doc/c-api/set.rst:91 msgid "" "Return a new :class:`frozenset` containing objects returned by the " -"*iterable*. The *iterable* may be *NULL* to create a new empty frozenset. " -"Return the new set on success or *NULL* on failure. Raise :exc:`TypeError` " -"if *iterable* is not actually iterable." +"*iterable*. The *iterable* may be ``NULL`` to create a new empty frozenset. " +"Return the new set on success or ``NULL`` on failure. Raise :exc:" +"`TypeError` if *iterable* is not actually iterable." msgstr "" #: ../Doc/c-api/set.rst:97 @@ -166,9 +166,9 @@ msgstr "" #: ../Doc/c-api/set.rst:151 msgid "" "Return a new reference to an arbitrary object in the *set*, and removes the " -"object from the *set*. Return *NULL* on failure. Raise :exc:`KeyError` if " -"the set is empty. Raise a :exc:`SystemError` if *set* is not an instance of :" -"class:`set` or its subtype." +"object from the *set*. Return ``NULL`` on failure. Raise :exc:`KeyError` " +"if the set is empty. Raise a :exc:`SystemError` if *set* is not an instance " +"of :class:`set` or its subtype." msgstr "" #: ../Doc/c-api/set.rst:159 diff --git a/c-api/slice.po b/c-api/slice.po index 5481ed6c..8d531159 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -25,16 +25,16 @@ msgid "" msgstr "" #: ../Doc/c-api/slice.rst:17 -msgid "Return true if *ob* is a slice object; *ob* must not be *NULL*." +msgid "Return true if *ob* is a slice object; *ob* must not be ``NULL``." msgstr "" #: ../Doc/c-api/slice.rst:22 msgid "" "Return a new slice object with the given values. The *start*, *stop*, and " "*step* parameters are used as the values of the slice object attributes of " -"the same names. Any of the values may be *NULL*, in which case the ``None`` " -"will be used for the corresponding attribute. Return *NULL* if the new " -"object could not be allocated." +"the same names. Any of the values may be ``NULL``, in which case the " +"``None`` will be used for the corresponding attribute. Return ``NULL`` if " +"the new object could not be allocated." msgstr "" #: ../Doc/c-api/slice.rst:31 diff --git a/c-api/structures.po b/c-api/structures.po index 5fc5248d..33e96d92 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-19 22:32+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -110,9 +110,10 @@ msgstr "" msgid "" "Type of the functions used to implement most Python callables in C. " "Functions of this type take two :c:type:`PyObject\\*` parameters and return " -"one such value. If the return value is *NULL*, an exception shall have been " -"set. If not *NULL*, the return value is interpreted as the return value of " -"the function as exposed in Python. The function must return a new reference." +"one such value. If the return value is ``NULL``, an exception shall have " +"been set. If not ``NULL``, the return value is interpreted as the return " +"value of the function as exposed in Python. The function must return a new " +"reference." msgstr "" #: ../Doc/c-api/structures.rst:117 @@ -240,8 +241,8 @@ msgstr "" msgid "" "Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. " "The function expects three parameters: *self*, *args*, *kwargs* where " -"*kwargs* is a dictionary of all the keyword arguments or possibly *NULL* if " -"there are no keyword arguments. The parameters are typically processed " +"*kwargs* is a dictionary of all the keyword arguments or possibly ``NULL`` " +"if there are no keyword arguments. The parameters are typically processed " "using :c:func:`PyArg_ParseTupleAndKeywords`." msgstr "" @@ -264,9 +265,9 @@ msgid "" "methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword arguments " "are passed the same way as in the vectorcall protocol: there is an " "additional fourth :c:type:`PyObject\\*` parameter which is a tuple " -"representing the names of the keyword arguments or possibly *NULL* if there " -"are no keywords. The values of the keyword arguments are stored in the " -"*args* array, after the positional arguments." +"representing the names of the keyword arguments or possibly ``NULL`` if " +"there are no keywords. The values of the keyword arguments are stored in " +"the *args* array, after the positional arguments." msgstr "" #: ../Doc/c-api/structures.rst:217 @@ -275,7 +276,7 @@ msgid "" "if they are listed with the :const:`METH_NOARGS` flag. They need to be of " "type :c:type:`PyCFunction`. The first parameter is typically named *self* " "and will hold a reference to the module or object instance. In all cases " -"the second parameter will be *NULL*." +"the second parameter will be ``NULL``." msgstr "" #: ../Doc/c-api/structures.rst:226 @@ -304,7 +305,7 @@ msgstr "" #: ../Doc/c-api/structures.rst:252 msgid "" -"The method will be passed *NULL* as the first parameter rather than an " +"The method will be passed ``NULL`` as the first parameter rather than an " "instance of the type. This is used to create *static methods*, similar to " "what is created when using the :func:`staticmethod` built-in function." msgstr "" @@ -514,7 +515,7 @@ msgstr "" #: ../Doc/c-api/structures.rst:325 msgid "" ":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:" -"`T_OBJECT` returns ``None`` if the member is *NULL* and :c:macro:" +"`T_OBJECT` returns ``None`` if the member is ``NULL`` and :c:macro:" "`T_OBJECT_EX` raises an :exc:`AttributeError`. Try to use :c:macro:" "`T_OBJECT_EX` over :c:macro:`T_OBJECT` because :c:macro:`T_OBJECT_EX` " "handles use of the :keyword:`del` statement on that attribute more correctly " @@ -527,7 +528,7 @@ msgid "" "for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:" "macro:`READONLY`. :c:macro:`T_STRING` data is interpreted as UTF-8. Only :c:" "macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` members can be deleted. (They " -"are set to *NULL*)." +"are set to ``NULL``)." msgstr "" #: ../Doc/c-api/structures.rst:341 @@ -599,7 +600,7 @@ msgstr "" #: ../Doc/c-api/structures.rst:367 msgid "" -"It should return a new reference on success or *NULL* with a set exception " +"It should return a new reference on success or ``NULL`` with a set exception " "on failure." msgstr "" @@ -612,6 +613,6 @@ msgstr "" #: ../Doc/c-api/structures.rst:375 msgid "" -"In case the attribute should be deleted the second parameter is *NULL*. " +"In case the attribute should be deleted the second parameter is ``NULL``. " "Should return ``0`` on success or ``-1`` with a set exception on failure." msgstr "" diff --git a/c-api/sys.po b/c-api/sys.po index 1447a744..c42279ea 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 23:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -34,7 +34,7 @@ msgid "" "deemed interactive. This is the case for files for which " "``isatty(fileno(fp))`` is true. If the global flag :c:data:" "`Py_InteractiveFlag` is true, this function also returns true if the " -"*filename* pointer is *NULL* or if the name is equal to one of the strings " +"*filename* pointer is ``NULL`` or if the name is equal to one of the strings " "``''`` or ``'???'``." msgstr "" @@ -46,7 +46,14 @@ msgid "" "defined." msgstr "" -#: ../Doc/c-api/sys.rst:41 +#: ../Doc/c-api/sys.rst:37 +msgid "" +"The C :c:func:`fork` call should only be made from the :ref:`\"main\" thread " +"` (of the :ref:`\"main\" interpreter `). The same is true for ``PyOS_BeforeFork()``." +msgstr "" + +#: ../Doc/c-api/sys.rst:47 msgid "" "Function to update some internal state after a process fork. This should be " "called from the parent process after calling :c:func:`fork` or any similar " @@ -55,7 +62,14 @@ msgid "" "defined." msgstr "" -#: ../Doc/c-api/sys.rst:52 +#: ../Doc/c-api/sys.rst:54 +msgid "" +"The C :c:func:`fork` call should only be made from the :ref:`\"main\" thread " +"` (of the :ref:`\"main\" interpreter `). The same is true for ``PyOS_AfterFork_Parent()``." +msgstr "" + +#: ../Doc/c-api/sys.rst:64 msgid "" "Function to update internal interpreter state after a process fork. This " "must be called from the child process after calling :c:func:`fork`, or any " @@ -64,14 +78,21 @@ msgid "" "systems where :c:func:`fork` is defined." msgstr "" -#: ../Doc/c-api/sys.rst:61 +#: ../Doc/c-api/sys.rst:71 +msgid "" +"The C :c:func:`fork` call should only be made from the :ref:`\"main\" thread " +"` (of the :ref:`\"main\" interpreter `). The same is true for ``PyOS_AfterFork_Child()``." +msgstr "" + +#: ../Doc/c-api/sys.rst:79 msgid "" ":func:`os.register_at_fork` allows registering custom Python functions to be " "called by :c:func:`PyOS_BeforeFork()`, :c:func:`PyOS_AfterFork_Parent` and :" "c:func:`PyOS_AfterFork_Child`." msgstr "" -#: ../Doc/c-api/sys.rst:68 +#: ../Doc/c-api/sys.rst:86 msgid "" "Function to update some internal state after a process fork; this should be " "called in the new process if the Python interpreter will continue to be " @@ -79,11 +100,11 @@ msgid "" "not need to be called." msgstr "" -#: ../Doc/c-api/sys.rst:73 +#: ../Doc/c-api/sys.rst:91 msgid "This function is superseded by :c:func:`PyOS_AfterFork_Child()`." msgstr "" -#: ../Doc/c-api/sys.rst:79 +#: ../Doc/c-api/sys.rst:97 msgid "" "Return true when the interpreter runs out of stack space. This is a " "reliable check, but is only available when :const:`USE_STACKCHECK` is " @@ -92,7 +113,7 @@ msgid "" "change the definition in your own code." msgstr "" -#: ../Doc/c-api/sys.rst:88 +#: ../Doc/c-api/sys.rst:106 msgid "" "Return the current signal handler for signal *i*. This is a thin wrapper " "around either :c:func:`sigaction` or :c:func:`signal`. Do not call those " @@ -100,7 +121,7 @@ msgid "" "type:`void (\\*)(int)`." msgstr "" -#: ../Doc/c-api/sys.rst:96 +#: ../Doc/c-api/sys.rst:114 msgid "" "Set the signal handler for signal *i* to be *h*; return the old signal " "handler. This is a thin wrapper around either :c:func:`sigaction` or :c:func:" @@ -108,7 +129,7 @@ msgid "" "`PyOS_sighandler_t` is a typedef alias for :c:type:`void (\\*)(int)`." msgstr "" -#: ../Doc/c-api/sys.rst:103 +#: ../Doc/c-api/sys.rst:121 msgid "" "Decode a byte string from the locale encoding with the :ref:`surrogateescape " "error handler `: undecodable bytes are decoded as " @@ -117,116 +138,116 @@ msgid "" "handler instead of decoding them." msgstr "" -#: ../Doc/c-api/sys.rst:109 ../Doc/c-api/sys.rst:155 +#: ../Doc/c-api/sys.rst:127 ../Doc/c-api/sys.rst:173 msgid "Encoding, highest priority to lowest priority:" msgstr "" -#: ../Doc/c-api/sys.rst:111 ../Doc/c-api/sys.rst:157 +#: ../Doc/c-api/sys.rst:129 ../Doc/c-api/sys.rst:175 msgid "``UTF-8`` on macOS, Android, and VxWorks;" msgstr "" -#: ../Doc/c-api/sys.rst:112 ../Doc/c-api/sys.rst:158 +#: ../Doc/c-api/sys.rst:130 ../Doc/c-api/sys.rst:176 msgid "" "``UTF-8`` on Windows if :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero;" msgstr "" -#: ../Doc/c-api/sys.rst:113 ../Doc/c-api/sys.rst:159 +#: ../Doc/c-api/sys.rst:131 ../Doc/c-api/sys.rst:177 msgid "``UTF-8`` if the Python UTF-8 mode is enabled;" msgstr "" -#: ../Doc/c-api/sys.rst:114 ../Doc/c-api/sys.rst:160 +#: ../Doc/c-api/sys.rst:132 ../Doc/c-api/sys.rst:178 msgid "" "``ASCII`` if the ``LC_CTYPE`` locale is ``\"C\"``, ``nl_langinfo(CODESET)`` " "returns the ``ASCII`` encoding (or an alias), and :c:func:`mbstowcs` and :c:" "func:`wcstombs` functions uses the ``ISO-8859-1`` encoding." msgstr "" -#: ../Doc/c-api/sys.rst:118 ../Doc/c-api/sys.rst:164 +#: ../Doc/c-api/sys.rst:136 ../Doc/c-api/sys.rst:182 msgid "the current locale encoding." msgstr "" -#: ../Doc/c-api/sys.rst:120 +#: ../Doc/c-api/sys.rst:138 msgid "" "Return a pointer to a newly allocated wide character string, use :c:func:" "`PyMem_RawFree` to free the memory. If size is not ``NULL``, write the " "number of wide characters excluding the null character into ``*size``" msgstr "" -#: ../Doc/c-api/sys.rst:124 +#: ../Doc/c-api/sys.rst:142 msgid "" "Return ``NULL`` on decoding error or memory allocation error. If *size* is " "not ``NULL``, ``*size`` is set to ``(size_t)-1`` on memory error or set to " "``(size_t)-2`` on decoding error." msgstr "" -#: ../Doc/c-api/sys.rst:128 +#: ../Doc/c-api/sys.rst:146 msgid "" "Decoding errors should never happen, unless there is a bug in the C library." msgstr "" -#: ../Doc/c-api/sys.rst:131 +#: ../Doc/c-api/sys.rst:149 msgid "" "Use the :c:func:`Py_EncodeLocale` function to encode the character string " "back to a byte string." msgstr "" -#: ../Doc/c-api/sys.rst:136 +#: ../Doc/c-api/sys.rst:154 msgid "" "The :c:func:`PyUnicode_DecodeFSDefaultAndSize` and :c:func:" "`PyUnicode_DecodeLocaleAndSize` functions." msgstr "" -#: ../Doc/c-api/sys.rst:141 ../Doc/c-api/sys.rst:185 +#: ../Doc/c-api/sys.rst:159 ../Doc/c-api/sys.rst:203 msgid "The function now uses the UTF-8 encoding in the UTF-8 mode." msgstr "" -#: ../Doc/c-api/sys.rst:144 ../Doc/c-api/sys.rst:188 +#: ../Doc/c-api/sys.rst:162 ../Doc/c-api/sys.rst:206 msgid "" "The function now uses the UTF-8 encoding on Windows if :c:data:" "`Py_LegacyWindowsFSEncodingFlag` is zero;" msgstr "" -#: ../Doc/c-api/sys.rst:151 +#: ../Doc/c-api/sys.rst:169 msgid "" "Encode a wide character string to the locale encoding with the :ref:" "`surrogateescape error handler `: surrogate characters in " "the range U+DC80..U+DCFF are converted to bytes 0x80..0xFF." msgstr "" -#: ../Doc/c-api/sys.rst:166 +#: ../Doc/c-api/sys.rst:184 msgid "The function uses the UTF-8 encoding in the Python UTF-8 mode." msgstr "" -#: ../Doc/c-api/sys.rst:168 +#: ../Doc/c-api/sys.rst:186 msgid "" "Return a pointer to a newly allocated byte string, use :c:func:`PyMem_Free` " "to free the memory. Return ``NULL`` on encoding error or memory allocation " "error" msgstr "" -#: ../Doc/c-api/sys.rst:172 +#: ../Doc/c-api/sys.rst:190 msgid "" "If error_pos is not ``NULL``, ``*error_pos`` is set to ``(size_t)-1`` on " "success, or set to the index of the invalid character on encoding error." msgstr "" -#: ../Doc/c-api/sys.rst:175 +#: ../Doc/c-api/sys.rst:193 msgid "" "Use the :c:func:`Py_DecodeLocale` function to decode the bytes string back " "to a wide character string." msgstr "" -#: ../Doc/c-api/sys.rst:180 +#: ../Doc/c-api/sys.rst:198 msgid "" "The :c:func:`PyUnicode_EncodeFSDefault` and :c:func:`PyUnicode_EncodeLocale` " "functions." msgstr "" -#: ../Doc/c-api/sys.rst:196 +#: ../Doc/c-api/sys.rst:214 msgid "System Functions" msgstr "" -#: ../Doc/c-api/sys.rst:198 +#: ../Doc/c-api/sys.rst:216 msgid "" "These are utility functions that make functionality from the :mod:`sys` " "module accessible to C code. They all work with the current interpreter " @@ -234,36 +255,36 @@ msgid "" "state structure." msgstr "" -#: ../Doc/c-api/sys.rst:204 +#: ../Doc/c-api/sys.rst:222 msgid "" -"Return the object *name* from the :mod:`sys` module or *NULL* if it does not " -"exist, without setting an exception." +"Return the object *name* from the :mod:`sys` module or ``NULL`` if it does " +"not exist, without setting an exception." msgstr "" -#: ../Doc/c-api/sys.rst:209 +#: ../Doc/c-api/sys.rst:227 msgid "" -"Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which " +"Set *name* in the :mod:`sys` module to *v* unless *v* is ``NULL``, in which " "case *name* is deleted from the sys module. Returns ``0`` on success, ``-1`` " "on error." msgstr "" -#: ../Doc/c-api/sys.rst:215 +#: ../Doc/c-api/sys.rst:233 msgid "" "Reset :data:`sys.warnoptions` to an empty list. This function may be called " "prior to :c:func:`Py_Initialize`." msgstr "" -#: ../Doc/c-api/sys.rst:220 +#: ../Doc/c-api/sys.rst:238 msgid "" "Append *s* to :data:`sys.warnoptions`. This function must be called prior " "to :c:func:`Py_Initialize` in order to affect the warnings filter list." msgstr "" -#: ../Doc/c-api/sys.rst:225 +#: ../Doc/c-api/sys.rst:243 msgid "Append *unicode* to :data:`sys.warnoptions`." msgstr "" -#: ../Doc/c-api/sys.rst:227 +#: ../Doc/c-api/sys.rst:245 msgid "" "Note: this function is not currently usable from outside the CPython " "implementation, as it must be called prior to the implicit import of :mod:" @@ -272,20 +293,20 @@ msgid "" "Unicode objects." msgstr "" -#: ../Doc/c-api/sys.rst:235 +#: ../Doc/c-api/sys.rst:253 msgid "" "Set :data:`sys.path` to a list object of paths found in *path* which should " "be a list of paths separated with the platform's search path delimiter (``:" "`` on Unix, ``;`` on Windows)." msgstr "" -#: ../Doc/c-api/sys.rst:241 +#: ../Doc/c-api/sys.rst:259 msgid "" "Write the output string described by *format* to :data:`sys.stdout`. No " "exceptions are raised, even if truncation occurs (see below)." msgstr "" -#: ../Doc/c-api/sys.rst:244 +#: ../Doc/c-api/sys.rst:262 msgid "" "*format* should limit the total size of the formatted output string to 1000 " "bytes or less -- after 1000 bytes, the output string is truncated. In " @@ -296,51 +317,51 @@ msgid "" "of digits for very large numbers." msgstr "" -#: ../Doc/c-api/sys.rst:252 +#: ../Doc/c-api/sys.rst:270 msgid "" "If a problem occurs, or :data:`sys.stdout` is unset, the formatted message " "is written to the real (C level) *stdout*." msgstr "" -#: ../Doc/c-api/sys.rst:257 +#: ../Doc/c-api/sys.rst:275 msgid "" "As :c:func:`PySys_WriteStdout`, but write to :data:`sys.stderr` or *stderr* " "instead." msgstr "" -#: ../Doc/c-api/sys.rst:262 +#: ../Doc/c-api/sys.rst:280 msgid "" "Function similar to PySys_WriteStdout() but format the message using :c:func:" "`PyUnicode_FromFormatV` and don't truncate the message to an arbitrary " "length." msgstr "" -#: ../Doc/c-api/sys.rst:270 +#: ../Doc/c-api/sys.rst:288 msgid "" "As :c:func:`PySys_FormatStdout`, but write to :data:`sys.stderr` or *stderr* " "instead." msgstr "" -#: ../Doc/c-api/sys.rst:277 +#: ../Doc/c-api/sys.rst:295 msgid "" "Parse *s* as a set of :option:`-X` options and add them to the current " "options mapping as returned by :c:func:`PySys_GetXOptions`. This function " "may be called prior to :c:func:`Py_Initialize`." msgstr "" -#: ../Doc/c-api/sys.rst:285 +#: ../Doc/c-api/sys.rst:303 msgid "" "Return the current dictionary of :option:`-X` options, similarly to :data:" -"`sys._xoptions`. On error, *NULL* is returned and an exception is set." +"`sys._xoptions`. On error, ``NULL`` is returned and an exception is set." msgstr "" -#: ../Doc/c-api/sys.rst:294 +#: ../Doc/c-api/sys.rst:312 msgid "" "Raises an auditing event with any active hooks. Returns zero for success and " "non-zero with an exception set on failure." msgstr "" -#: ../Doc/c-api/sys.rst:297 +#: ../Doc/c-api/sys.rst:315 msgid "" "If any hooks have been added, *format* and other arguments will be used to " "construct a tuple to pass. Apart from ``N``, the same format characters as " @@ -351,11 +372,11 @@ msgid "" "leaks.)" msgstr "" -#: ../Doc/c-api/sys.rst:305 +#: ../Doc/c-api/sys.rst:323 msgid ":func:`sys.audit` performs the same function from Python code." msgstr "" -#: ../Doc/c-api/sys.rst:312 +#: ../Doc/c-api/sys.rst:330 msgid "" "Adds to the collection of active auditing hooks. Returns zero for success " "and non-zero on failure. If the runtime has been initialized, also sets an " @@ -363,7 +384,7 @@ msgid "" "interpreters created by the runtime." msgstr "" -#: ../Doc/c-api/sys.rst:317 +#: ../Doc/c-api/sys.rst:335 msgid "" "This function is safe to call before :c:func:`Py_Initialize`. When called " "after runtime initialization, existing audit hooks are notified and may " @@ -371,7 +392,7 @@ msgid "" "`Exception` (other errors will not be silenced)." msgstr "" -#: ../Doc/c-api/sys.rst:322 +#: ../Doc/c-api/sys.rst:340 msgid "" "The hook function is of type :c:type:`int (*)(const char *event, PyObject " "*args, void *userData)`, where *args* is guaranteed to be a :c:type:" @@ -379,25 +400,41 @@ msgid "" "Python interpreter that raised the event." msgstr "" -#: ../Doc/c-api/sys.rst:327 +#: ../Doc/c-api/sys.rst:345 msgid "" "The *userData* pointer is passed into the hook function. Since hook " "functions may be called from different runtimes, this pointer should not " "refer directly to Python state." msgstr "" -#: ../Doc/c-api/sys.rst:331 +#: ../Doc/c-api/sys.rst:349 msgid "" "See :pep:`578` for a detailed description of auditing. Functions in the " "runtime and standard library that raise events include the details in each " -"function's documentation." +"function's documentation and listed in the :ref:`audit events table `." msgstr "" -#: ../Doc/c-api/sys.rst:341 +#: ../Doc/c-api/sys.rst:None +msgid "" +"Raises an :ref:`auditing event ` ``sys.addaudithook`` with no " +"arguments." +msgstr "" + +#: ../Doc/c-api/sys.rst:356 +msgid "" +"If the interpreter is initialized, this function raises a auditing event " +"``sys.addaudithook`` with no arguments. If any existing hooks raise an " +"exception derived from :class:`Exception`, the new hook will not be added " +"and the exception is cleared. As a result, callers cannot assume that their " +"hook has been added unless they control all existing hooks." +msgstr "" + +#: ../Doc/c-api/sys.rst:368 msgid "Process Control" msgstr "" -#: ../Doc/c-api/sys.rst:348 +#: ../Doc/c-api/sys.rst:375 msgid "" "Print a fatal error message and kill the process. No cleanup is performed. " "This function should only be invoked when a condition is detected that would " @@ -407,18 +444,18 @@ msgid "" "file:`core` file." msgstr "" -#: ../Doc/c-api/sys.rst:362 +#: ../Doc/c-api/sys.rst:389 msgid "" "Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls " "the standard C library function ``exit(status)``. If :c:func:" "`Py_FinalizeEx` indicates an error, the exit status is set to 120." msgstr "" -#: ../Doc/c-api/sys.rst:366 +#: ../Doc/c-api/sys.rst:393 msgid "Errors from finalization no longer ignored." msgstr "" -#: ../Doc/c-api/sys.rst:376 +#: ../Doc/c-api/sys.rst:403 msgid "" "Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The " "cleanup function will be called with no arguments and should return no " diff --git a/c-api/tuple.po b/c-api/tuple.po index 4a3ac347..e8424a23 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -41,12 +41,12 @@ msgid "" msgstr "" #: ../Doc/c-api/tuple.rst:36 -msgid "Return a new tuple object of size *len*, or *NULL* on failure." +msgid "Return a new tuple object of size *len*, or ``NULL`` on failure." msgstr "" #: ../Doc/c-api/tuple.rst:41 msgid "" -"Return a new tuple object of size *n*, or *NULL* on failure. The tuple " +"Return a new tuple object of size *n*, or ``NULL`` on failure. The tuple " "values are initialized to the subsequent *n* C arguments pointing to Python " "objects. ``PyTuple_Pack(2, a, b)`` is equivalent to " "``Py_BuildValue(\"(OO)\", a, b)``." @@ -58,14 +58,14 @@ msgstr "" #: ../Doc/c-api/tuple.rst:53 msgid "" -"Return the size of the tuple *p*, which must be non-*NULL* and point to a " +"Return the size of the tuple *p*, which must be non-``NULL`` and point to a " "tuple; no error checking is performed." msgstr "" #: ../Doc/c-api/tuple.rst:59 msgid "" "Return the object at position *pos* in the tuple pointed to by *p*. If " -"*pos* is out of bounds, return *NULL* and sets an :exc:`IndexError` " +"*pos* is out of bounds, return ``NULL`` and set an :exc:`IndexError` " "exception." msgstr "" @@ -75,28 +75,38 @@ msgstr "" #: ../Doc/c-api/tuple.rst:70 msgid "" -"Take a slice of the tuple pointed to by *p* from *low* to *high* and return " -"it as a new tuple." +"Return the slice of the tuple pointed to by *p* between *low* and *high*, or " +"``NULL`` on failure. This is the equivalent of the Python expression " +"``p[low:high]``. Indexing from the end of the list is not supported." msgstr "" -#: ../Doc/c-api/tuple.rst:76 +#: ../Doc/c-api/tuple.rst:77 msgid "" "Insert a reference to object *o* at position *pos* of the tuple pointed to " -"by *p*. Return ``0`` on success." +"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` " +"and set an :exc:`IndexError` exception." msgstr "" -#: ../Doc/c-api/tuple.rst:81 ../Doc/c-api/tuple.rst:91 -#: ../Doc/c-api/tuple.rst:209 ../Doc/c-api/tuple.rst:218 -msgid "This function \"steals\" a reference to *o*." +#: ../Doc/c-api/tuple.rst:83 +msgid "" +"This function \"steals\" a reference to *o* and discards a reference to an " +"item already in the tuple at the affected position." msgstr "" -#: ../Doc/c-api/tuple.rst:86 +#: ../Doc/c-api/tuple.rst:89 msgid "" "Like :c:func:`PyTuple_SetItem`, but does no error checking, and should " "*only* be used to fill in brand new tuples." msgstr "" -#: ../Doc/c-api/tuple.rst:96 +#: ../Doc/c-api/tuple.rst:94 +msgid "" +"This macro \"steals\" a reference to *o*, and, unlike :c:func:" +"`PyTuple_SetItem`, does *not* discard a reference to any item that is being " +"replaced; any reference in the tuple at position *pos* will be leaked." +msgstr "" + +#: ../Doc/c-api/tuple.rst:102 msgid "" "Can be used to resize a tuple. *newsize* will be the new length of the " "tuple. Because tuples are *supposed* to be immutable, this should only be " @@ -107,19 +117,19 @@ msgid "" "Client code should never assume that the resulting value of ``*p`` will be " "the same as before calling this function. If the object referenced by ``*p`` " "is replaced, the original ``*p`` is destroyed. On failure, returns ``-1`` " -"and sets ``*p`` to *NULL*, and raises :exc:`MemoryError` or :exc:" +"and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` or :exc:" "`SystemError`." msgstr "" -#: ../Doc/c-api/tuple.rst:110 +#: ../Doc/c-api/tuple.rst:116 msgid "Clear the free list. Return the total number of freed items." msgstr "" -#: ../Doc/c-api/tuple.rst:114 +#: ../Doc/c-api/tuple.rst:120 msgid "Struct Sequence Objects" msgstr "" -#: ../Doc/c-api/tuple.rst:116 +#: ../Doc/c-api/tuple.rst:122 msgid "" "Struct sequence objects are the C equivalent of :func:`~collections." "namedtuple` objects, i.e. a sequence whose items can also be accessed " @@ -127,85 +137,85 @@ msgid "" "specific struct sequence type." msgstr "" -#: ../Doc/c-api/tuple.rst:123 +#: ../Doc/c-api/tuple.rst:129 msgid "" "Create a new struct sequence type from the data in *desc*, described below. " "Instances of the resulting type can be created with :c:func:" "`PyStructSequence_New`." msgstr "" -#: ../Doc/c-api/tuple.rst:129 +#: ../Doc/c-api/tuple.rst:135 msgid "Initializes a struct sequence type *type* from *desc* in place." msgstr "" -#: ../Doc/c-api/tuple.rst:134 +#: ../Doc/c-api/tuple.rst:140 msgid "" "The same as ``PyStructSequence_InitType``, but returns ``0`` on success and " "``-1`` on failure." msgstr "" -#: ../Doc/c-api/tuple.rst:142 +#: ../Doc/c-api/tuple.rst:148 msgid "Contains the meta information of a struct sequence type to create." msgstr "" -#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168 +#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174 msgid "Field" msgstr "" -#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168 +#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174 msgid "C Type" msgstr "Type C" -#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168 +#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174 msgid "Meaning" msgstr "Signification" -#: ../Doc/c-api/tuple.rst:147 ../Doc/c-api/tuple.rst:170 +#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:176 msgid "``name``" msgstr "``name``" -#: ../Doc/c-api/tuple.rst:147 ../Doc/c-api/tuple.rst:149 -#: ../Doc/c-api/tuple.rst:170 ../Doc/c-api/tuple.rst:175 +#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:155 +#: ../Doc/c-api/tuple.rst:176 ../Doc/c-api/tuple.rst:181 msgid "``const char *``" msgstr "" -#: ../Doc/c-api/tuple.rst:147 +#: ../Doc/c-api/tuple.rst:153 msgid "name of the struct sequence type" msgstr "" -#: ../Doc/c-api/tuple.rst:149 ../Doc/c-api/tuple.rst:175 +#: ../Doc/c-api/tuple.rst:155 ../Doc/c-api/tuple.rst:181 msgid "``doc``" msgstr "" -#: ../Doc/c-api/tuple.rst:149 -msgid "pointer to docstring for the type or NULL to omit" +#: ../Doc/c-api/tuple.rst:155 +msgid "pointer to docstring for the type or ``NULL`` to omit" msgstr "" -#: ../Doc/c-api/tuple.rst:152 +#: ../Doc/c-api/tuple.rst:158 msgid "``fields``" msgstr "" -#: ../Doc/c-api/tuple.rst:152 +#: ../Doc/c-api/tuple.rst:158 msgid "``PyStructSequence_Field *``" msgstr "``PyStructSequence_Field *``" -#: ../Doc/c-api/tuple.rst:152 -msgid "pointer to *NULL*-terminated array with field names of the new type" +#: ../Doc/c-api/tuple.rst:158 +msgid "pointer to ``NULL``-terminated array with field names of the new type" msgstr "" -#: ../Doc/c-api/tuple.rst:155 +#: ../Doc/c-api/tuple.rst:161 msgid "``n_in_sequence``" msgstr "``n_in_sequence``" -#: ../Doc/c-api/tuple.rst:155 +#: ../Doc/c-api/tuple.rst:161 msgid "``int``" msgstr "``int``" -#: ../Doc/c-api/tuple.rst:155 +#: ../Doc/c-api/tuple.rst:161 msgid "number of fields visible to the Python side (if used as tuple)" msgstr "" -#: ../Doc/c-api/tuple.rst:162 +#: ../Doc/c-api/tuple.rst:168 msgid "" "Describes a field of a struct sequence. As a struct sequence is modeled as a " "tuple, all fields are typed as :c:type:`PyObject\\*`. The index in the :" @@ -213,43 +223,47 @@ msgid "" "field of the struct sequence is described." msgstr "" -#: ../Doc/c-api/tuple.rst:170 +#: ../Doc/c-api/tuple.rst:176 msgid "" -"name for the field or *NULL* to end the list of named fields, set to " -"PyStructSequence_UnnamedField to leave unnamed" -msgstr "" - -#: ../Doc/c-api/tuple.rst:175 -msgid "field docstring or *NULL* to omit" +"name for the field or ``NULL`` to end the list of named fields, set to :c:" +"data:`PyStructSequence_UnnamedField` to leave unnamed" msgstr "" #: ../Doc/c-api/tuple.rst:181 +msgid "field docstring or ``NULL`` to omit" +msgstr "" + +#: ../Doc/c-api/tuple.rst:187 msgid "Special value for a field name to leave it unnamed." msgstr "" -#: ../Doc/c-api/tuple.rst:186 +#: ../Doc/c-api/tuple.rst:192 msgid "" "Creates an instance of *type*, which must have been created with :c:func:" "`PyStructSequence_NewType`." msgstr "" -#: ../Doc/c-api/tuple.rst:192 +#: ../Doc/c-api/tuple.rst:198 msgid "" "Return the object at position *pos* in the struct sequence pointed to by " "*p*. No bounds checking is performed." msgstr "" -#: ../Doc/c-api/tuple.rst:198 +#: ../Doc/c-api/tuple.rst:204 msgid "Macro equivalent of :c:func:`PyStructSequence_GetItem`." msgstr "" -#: ../Doc/c-api/tuple.rst:203 +#: ../Doc/c-api/tuple.rst:209 msgid "" "Sets the field at index *pos* of the struct sequence *p* to value *o*. " "Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand " "new instances." msgstr "" -#: ../Doc/c-api/tuple.rst:214 +#: ../Doc/c-api/tuple.rst:215 ../Doc/c-api/tuple.rst:224 +msgid "This function \"steals\" a reference to *o*." +msgstr "" + +#: ../Doc/c-api/tuple.rst:220 msgid "Macro equivalent of :c:func:`PyStructSequence_SetItem`." msgstr "" diff --git a/c-api/type.po b/c-api/type.po index 56ef7786..42b51c6d 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-02-15 00:33+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -90,7 +90,7 @@ msgstr "" msgid "" "Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type " "object. Use Python's default memory allocation mechanism to allocate a new " -"instance and initialize all its contents to *NULL*." +"instance and initialize all its contents to ``NULL``." msgstr "" #: ../Doc/c-api/type.rst:88 @@ -111,9 +111,9 @@ msgstr "" #: ../Doc/c-api/type.rst:100 msgid "" "Return the function pointer stored in the given slot. If the result is " -"*NULL*, this indicates that either the slot is *NULL*, or that the function " -"was called with invalid parameters. Callers will typically cast the result " -"pointer into the appropriate function type." +"``NULL``, this indicates that either the slot is ``NULL``, or that the " +"function was called with invalid parameters. Callers will typically cast the " +"result pointer into the appropriate function type." msgstr "" #: ../Doc/c-api/type.rst:106 @@ -149,8 +149,8 @@ msgstr "" #: ../Doc/c-api/type.rst:127 msgid "" -"If *bases* is *NULL*, the *Py_tp_base* slot is used instead. If that also is " -"*NULL*, the new type derives from :class:`object`." +"If *bases* is ``NULL``, the *Py_tp_base* slot is used instead. If that also " +"is ``NULL``, the new type derives from :class:`object`." msgstr "" #: ../Doc/c-api/type.rst:130 @@ -223,7 +223,8 @@ msgstr "" #: ../Doc/c-api/type.rst:184 msgid "" -"The following fields cannot be set using *PyType_Spec* and *PyType_Slot*:" +"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:" +"`PyType_Slot`:" msgstr "" #: ../Doc/c-api/type.rst:186 @@ -280,5 +281,5 @@ msgid "" msgstr "" #: ../Doc/c-api/type.rst:206 -msgid "May not be *NULL*." +msgid "May not be ``NULL``." msgstr "" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index a5d4844d..5bbc3f80 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -587,7 +587,7 @@ msgid "" "A slot name in parentheses indicates it is (effectively) deprecated. Names " "in angle brackets should be treated as read-only. Names in square brackets " "are for internal use only. \"\" (as a prefix) means the field is required " -"(must be non-*NULL*)." +"(must be non-``NULL``)." msgstr "" #: ../Doc/c-api/typeobj.rst:163 @@ -603,7 +603,7 @@ msgid "**\"T\"**: set on :c:type:`PyType_Type`" msgstr "" #: ../Doc/c-api/typeobj.rst:169 -msgid "**\"D\"**: default (if slot is set to *NULL*)" +msgid "**\"D\"**: default (if slot is set to ``NULL``)" msgstr "" #: ../Doc/c-api/typeobj.rst:179 @@ -1154,9 +1154,9 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:493 msgid "" "These fields are only present when the macro ``Py_TRACE_REFS`` is defined. " -"Their initialization to *NULL* is taken care of by the " +"Their initialization to ``NULL`` is taken care of by the " "``PyObject_HEAD_INIT`` macro. For statically allocated objects, these " -"fields always remain *NULL*. For dynamically allocated objects, these two " +"fields always remain ``NULL``. For dynamically allocated objects, these two " "fields are used to link the object into a doubly-linked list of *all* live " "objects on the heap. This could be used for various debugging purposes; " "currently the only use is to print the objects that are still alive at the " @@ -1220,7 +1220,7 @@ msgid "" "normally be ``&PyType_Type``. However, for dynamically loadable extension " "modules that must be usable on Windows (at least), the compiler complains " "that this is not a valid initializer. Therefore, the convention is to pass " -"*NULL* to the ``PyObject_HEAD_INIT`` macro and to initialize this field " +"``NULL`` to the ``PyObject_HEAD_INIT`` macro and to initialize this field " "explicitly at the start of the module's initialization function, before " "doing anything else. This is typically done like this::" msgstr "" @@ -1228,7 +1228,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:533 msgid "" "This should be done before any instances of the type are created. :c:func:" -"`PyType_Ready` checks if :attr:`ob_type` is *NULL*, and if so, initializes " +"`PyType_Ready` checks if :attr:`ob_type` is ``NULL``, and if so, initializes " "it to the :attr:`ob_type` field of the base class. :c:func:`PyType_Ready` " "will not change this field if it is non-zero." msgstr "" @@ -1261,7 +1261,7 @@ msgstr "Objets type" #: ../Doc/c-api/typeobj.rst:559 msgid "" "Each slot has a section describing inheritance. If :c:func:`PyType_Ready` " -"may set a value when the field is set to *NULL* then there will also be a " +"may set a value when the field is set to ``NULL`` then there will also be a " "\"Default\" section. (Note that many fields set on :c:type:" "`PyBaseObject_Type` and :c:type:`PyType_Type` effectively act as defaults.)" msgstr "" @@ -1305,7 +1305,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:589 msgid "" -"This field must not be *NULL*. It is the only required field in :c:func:" +"This field must not be ``NULL``. It is the only required field in :c:func:" "`PyTypeObject` (other than potentially :c:member:`~PyTypeObject." "tp_itemsize`)." msgstr "" @@ -1363,7 +1363,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:634 msgid "" -"For any type with variable-length instances, this field must not be *NULL*." +"For any type with variable-length instances, this field must not be ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:638 @@ -1478,7 +1478,7 @@ msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_call`: a subtype inherits :c:member:`~PyTypeObject.tp_vectorcall_offset` " "from its base type when the subtype’s :c:member:`~PyTypeObject.tp_call` is " -"NULL." +"``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:745 @@ -1509,7 +1509,7 @@ msgid "" "tp_getattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " "and :c:member:`~PyTypeObject.tp_getattro` from its base type when the " "subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject." -"tp_getattro` are both *NULL*." +"tp_getattro` are both ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:768 ../Doc/c-api/typeobj.rst:964 @@ -1535,7 +1535,7 @@ msgid "" "tp_setattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " "and :c:member:`~PyTypeObject.tp_setattro` from its base type when the " "subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject." -"tp_setattro` are both *NULL*." +"tp_setattro` are both ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:785 @@ -1675,13 +1675,13 @@ msgid "" "tp_richcompare`: a subtype inherits both of :c:member:`~PyTypeObject." "tp_richcompare` and :c:member:`~PyTypeObject.tp_hash`, when the subtype's :c:" "member:`~PyTypeObject.tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` " -"are both *NULL*." +"are both ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:902 msgid "" "An optional pointer to a function that implements calling the object. This " -"should be *NULL* if the object is not callable. The signature is the same " +"should be ``NULL`` if the object is not callable. The signature is the same " "as for :c:func:`PyObject_Call`::" msgstr "" @@ -1733,7 +1733,7 @@ msgid "" "tp_getattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " "and :c:member:`~PyTypeObject.tp_getattro` from its base type when the " "subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject." -"tp_getattro` are both *NULL*." +"tp_getattro` are both ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:959 @@ -1746,7 +1746,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:970 msgid "" -"In addition, setting *value* to *NULL* to delete an attribute must be " +"In addition, setting *value* to ``NULL`` to delete an attribute must be " "supported. It is usually convenient to set this field to :c:func:" "`PyObject_GenericSetAttr`, which implements the normal way of setting object " "attributes." @@ -1758,7 +1758,7 @@ msgid "" "tp_setattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " "and :c:member:`~PyTypeObject.tp_setattro` from its base type when the " "subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject." -"tp_setattro` are both *NULL*." +"tp_setattro` are both ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:985 @@ -1787,7 +1787,7 @@ msgid "" "tp_as_sequence`, :c:member:`~PyTypeObject.tp_as_mapping`, and :c:member:" "`~PyTypeObject.tp_as_buffer`) that were historically not always present are " "valid; if such a flag bit is clear, the type fields it guards must not be " -"accessed and must be considered to have a zero or *NULL* value instead." +"accessed and must be considered to have a zero or ``NULL`` value instead." msgstr "" #: ../Doc/c-api/typeobj.rst:1012 @@ -1802,7 +1802,7 @@ msgid "" "and :c:member:`~PyTypeObject.tp_clear` fields, i.e. if the :const:" "`Py_TPFLAGS_HAVE_GC` flag bit is clear in the subtype and the :c:member:" "`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` fields in " -"the subtype exist and have *NULL* values." +"the subtype exist and have ``NULL`` values." msgstr "" #: ../Doc/c-api/typeobj.rst:1027 @@ -1882,7 +1882,7 @@ msgid "" "attr:`tp_traverse` and :attr:`tp_clear` fields, i.e. if the :const:" "`Py_TPFLAGS_HAVE_GC` flag bit is clear in the subtype and the :attr:" "`tp_traverse` and :attr:`tp_clear` fields in the subtype exist and have " -"*NULL* values." +"``NULL`` values." msgstr "" #: ../Doc/c-api/typeobj.rst:1106 @@ -1958,7 +1958,7 @@ msgstr "" msgid "" "This bit is set on *static* subtypes if ``tp_flags`` is not overridden: a " "subtype inherits ``_Py_TPFLAGS_HAVE_VECTORCALL`` from its base type when the " -"subtype’s :c:member:`~PyTypeObject.tp_call` is NULL and the subtype's " +"subtype’s :c:member:`~PyTypeObject.tp_call` is ``NULL`` and the subtype's " "``Py_TPFLAGS_HEAPTYPE`` is not set." msgstr "" @@ -2011,7 +2011,7 @@ msgstr "" msgid "" "Note that :c:func:`Py_VISIT` is called only on those members that can " "participate in reference cycles. Although there is also a ``self->key`` " -"member, it can only be *NULL* or a Python string and therefore cannot be " +"member, it can only be ``NULL`` or a Python string and therefore cannot be " "part of a reference cycle." msgstr "" @@ -2063,7 +2063,7 @@ msgstr "" msgid "" "Implementations of :c:member:`~PyTypeObject.tp_clear` should drop the " "instance's references to those of its members that may be Python objects, " -"and set its pointers to those members to *NULL*, as in the following " +"and set its pointers to those members to ``NULL``, as in the following " "example::" msgstr "" @@ -2071,15 +2071,15 @@ msgstr "" msgid "" "The :c:func:`Py_CLEAR` macro should be used, because clearing references is " "delicate: the reference to the contained object must not be decremented " -"until after the pointer to the contained object is set to *NULL*. This is " +"until after the pointer to the contained object is set to ``NULL``. This is " "because decrementing the reference count may cause the contained object to " "become trash, triggering a chain of reclamation activity that may include " "invoking arbitrary Python code (due to finalizers, or weakref callbacks, " "associated with the contained object). If it's possible for such code to " "reference *self* again, it's important that the pointer to the contained " -"object be *NULL* at that time, so that *self* knows the contained object can " -"no longer be used. The :c:func:`Py_CLEAR` macro performs the operations in " -"a safe order." +"object be ``NULL`` at that time, so that *self* knows the contained object " +"can no longer be used. The :c:func:`Py_CLEAR` macro performs the operations " +"in a safe order." msgstr "" #: ../Doc/c-api/typeobj.rst:1297 @@ -2115,7 +2115,7 @@ msgstr "" msgid "" "The function should return the result of the comparison (usually ``Py_True`` " "or ``Py_False``). If the comparison is undefined, it must return " -"``Py_NotImplemented``, if another error occurred it must return *NULL* and " +"``Py_NotImplemented``, if another error occurred it must return ``NULL`` and " "set an exception condition." msgstr "" @@ -2199,7 +2199,7 @@ msgid "The return value's reference count is properly incremented." msgstr "" #: ../Doc/c-api/typeobj.rst:1361 -msgid "On error, sets an exception and returns *NULL* from the function." +msgid "On error, sets an exception and returns ``NULL`` from the function." msgstr "" #: ../Doc/c-api/typeobj.rst:1369 @@ -2207,7 +2207,7 @@ msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_hash`: a subtype inherits :c:member:`~PyTypeObject.tp_richcompare` and :c:" "member:`~PyTypeObject.tp_hash` when the subtype's :c:member:`~PyTypeObject." -"tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both *NULL*." +"tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:1376 @@ -2225,7 +2225,7 @@ msgid "" "weak reference list head (ignoring the GC header, if present); this offset " "is used by :c:func:`PyObject_ClearWeakRefs` and the :c:func:`PyWeakref_\\*` " "functions. The instance structure needs to include a field of type :c:type:" -"`PyObject\\*` which is initialized to *NULL*." +"`PyObject\\*` which is initialized to ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:1392 @@ -2286,10 +2286,10 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1439 msgid "" -"When the iterator is exhausted, it must return *NULL*; a :exc:" +"When the iterator is exhausted, it must return ``NULL``; a :exc:" "`StopIteration` exception may or may not be set. When another error occurs, " -"it must return *NULL* too. Its presence signals that the instances of this " -"type are iterators." +"it must return ``NULL`` too. Its presence signals that the instances of " +"this type are iterators." msgstr "" #: ../Doc/c-api/typeobj.rst:1444 @@ -2305,7 +2305,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1457 msgid "" -"An optional pointer to a static *NULL*-terminated array of :c:type:" +"An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMethodDef` structures, declaring regular methods of this type." msgstr "" @@ -2323,7 +2323,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1471 msgid "" -"An optional pointer to a static *NULL*-terminated array of :c:type:" +"An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMemberDef` structures, declaring regular data members (fields or slots) " "of instances of this type." msgstr "" @@ -2342,7 +2342,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1486 msgid "" -"An optional pointer to a static *NULL*-terminated array of :c:type:" +"An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyGetSetDef` structures, declaring computed attributes of instances of this " "type." msgstr "" @@ -2405,7 +2405,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1536 msgid "" -"This field should normally be initialized to *NULL* before PyType_Ready is " +"This field should normally be initialized to ``NULL`` before PyType_Ready is " "called; it may also be initialized to a dictionary containing initial " "attributes for the type. Once :c:func:`PyType_Ready` has initialized the " "type, extra attributes for the type may be added to this dictionary only if " @@ -2420,8 +2420,8 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1549 msgid "" -"If this field is *NULL*, :c:func:`PyType_Ready` will assign a new dictionary " -"to it." +"If this field is ``NULL``, :c:func:`PyType_Ready` will assign a new " +"dictionary to it." msgstr "" #: ../Doc/c-api/typeobj.rst:1554 @@ -2447,7 +2447,7 @@ msgid "" msgstr "" #: ../Doc/c-api/typeobj.rst:1582 -msgid "The *value* argument is set to *NULL* to delete the value." +msgid "The *value* argument is set to ``NULL`` to delete the value." msgstr "" #: ../Doc/c-api/typeobj.rst:1593 @@ -2530,8 +2530,8 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1647 msgid "" -"This slot has no default. For static types, if the field is *NULL* then no :" -"attr:`__dict__` gets created for instances." +"This slot has no default. For static types, if the field is ``NULL`` then " +"no :attr:`__dict__` gets created for instances." msgstr "" #: ../Doc/c-api/typeobj.rst:1653 @@ -2555,7 +2555,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1668 msgid "" -"The :c:member:`~PyTypeObject.tp_init` function, if not *NULL*, is called " +"The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called " "when an instance is created normally by calling its type, after the type's :" "c:member:`~PyTypeObject.tp_new` function has returned an instance of the " "type. If the :c:member:`~PyTypeObject.tp_new` function returns an instance " @@ -2624,14 +2624,14 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1734 msgid "" "This field is inherited by subtypes, except it is not inherited by static " -"types whose :c:member:`~PyTypeObject.tp_base` is *NULL* or " +"types whose :c:member:`~PyTypeObject.tp_base` is ``NULL`` or " "``&PyBaseObject_Type``." msgstr "" #: ../Doc/c-api/typeobj.rst:1739 msgid "" "For static types this field has no default. This means if the slot is " -"defined as *NULL*, the type cannot be called to create new instances; " +"defined as ``NULL``, the type cannot be called to create new instances; " "presumably there is some other way to create instances, like a factory " "function." msgstr "" @@ -2689,7 +2689,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1791 msgid "" -"This slot has no default. If this field is *NULL*, :const:" +"This slot has no default. If this field is ``NULL``, :const:" "`Py_TPFLAGS_HAVE_GC` is used as the functional equivalent." msgstr "" @@ -2699,8 +2699,8 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1799 msgid "" -"This is set for types created by a class statement. It should be *NULL* for " -"statically defined types." +"This is set for types created by a class statement. It should be ``NULL`` " +"for statically defined types." msgstr "" #: ../Doc/c-api/typeobj.rst:1804 ../Doc/c-api/typeobj.rst:1825 @@ -2858,9 +2858,9 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:1958 msgid "" -"Also, since *PyTypeObject* is not part of the :ref:`stable ABI `, " -"any extension modules using static types must be compiled for a specific " -"Python minor version." +"Also, since :c:type:`PyTypeObject` is not part of the :ref:`stable ABI " +"`, any extension modules using static types must be compiled for a " +"specific Python minor version." msgstr "" #: ../Doc/c-api/typeobj.rst:1962 @@ -2897,14 +2897,14 @@ msgid "" "implement the necessary conversions (at least one of the operands is an " "instance of the defined type). If the operation is not defined for the " "given operands, binary and ternary functions must return " -"``Py_NotImplemented``, if another error occurred they must return *NULL* and " -"set an exception." +"``Py_NotImplemented``, if another error occurred they must return ``NULL`` " +"and set an exception." msgstr "" #: ../Doc/c-api/typeobj.rst:2042 msgid "" -"The :c:data:`nb_reserved` field should always be *NULL*. It was previously " -"called :c:data:`nb_long`, and was renamed in Python 3.0.1." +"The :c:data:`nb_reserved` field should always be ``NULL``. It was " +"previously called :c:data:`nb_long`, and was renamed in Python 3.0.1." msgstr "" #: ../Doc/c-api/typeobj.rst:2087 @@ -2920,8 +2920,8 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:2099 msgid "" "This function is used by :c:func:`PyMapping_Size` and :c:func:" -"`PyObject_Size`, and has the same signature. This slot may be set to *NULL* " -"if the object has no defined length." +"`PyObject_Size`, and has the same signature. This slot may be set to " +"``NULL`` if the object has no defined length." msgstr "" #: ../Doc/c-api/typeobj.rst:2105 @@ -2929,7 +2929,7 @@ msgid "" "This function is used by :c:func:`PyObject_GetItem` and :c:func:" "`PySequence_GetSlice`, and has the same signature as :c:func:`!" "PyObject_GetItem`. This slot must be filled for the :c:func:" -"`PyMapping_Check` function to return ``1``, it can be *NULL* otherwise." +"`PyMapping_Check` function to return ``1``, it can be ``NULL`` otherwise." msgstr "" #: ../Doc/c-api/typeobj.rst:2113 @@ -2937,8 +2937,8 @@ msgid "" "This function is used by :c:func:`PyObject_SetItem`, :c:func:" "`PyObject_DelItem`, :c:func:`PyObject_SetSlice` and :c:func:" "`PyObject_DelSlice`. It has the same signature as :c:func:`!" -"PyObject_SetItem`, but *v* can also be set to *NULL* to delete an item. If " -"this slot is *NULL*, the object does not support item assignment and " +"PyObject_SetItem`, but *v* can also be set to ``NULL`` to delete an item. " +"If this slot is ``NULL``, the object does not support item assignment and " "deletion." msgstr "" @@ -2980,14 +2980,14 @@ msgid "" "signature. It is also used by :c:func:`PyObject_GetItem`, after trying the " "subscription via the :c:member:`~PyMappingMethods.mp_subscript` slot. This " "slot must be filled for the :c:func:`PySequence_Check` function to return " -"``1``, it can be *NULL* otherwise." +"``1``, it can be ``NULL`` otherwise." msgstr "" #: ../Doc/c-api/typeobj.rst:2161 msgid "" "Negative indexes are handled as follows: if the :attr:`sq_length` slot is " "filled, it is called and the sequence length is used to compute a positive " -"index which is passed to :attr:`sq_item`. If :attr:`sq_length` is *NULL*, " +"index which is passed to :attr:`sq_item`. If :attr:`sq_length` is ``NULL``, " "the index is passed as is to the function." msgstr "" @@ -2997,13 +2997,13 @@ msgid "" "signature. It is also used by :c:func:`PyObject_SetItem` and :c:func:" "`PyObject_DelItem`, after trying the item assignment and deletion via the :c:" "member:`~PyMappingMethods.mp_ass_subscript` slot. This slot may be left to " -"*NULL* if the object does not support item assignment and deletion." +"``NULL`` if the object does not support item assignment and deletion." msgstr "" #: ../Doc/c-api/typeobj.rst:2177 msgid "" "This function may be used by :c:func:`PySequence_Contains` and has the same " -"signature. This slot may be left to *NULL*, in this case :c:func:`!" +"signature. This slot may be left to ``NULL``, in this case :c:func:`!" "PySequence_Contains` simply traverses the sequence until it finds a match." msgstr "" @@ -3011,20 +3011,20 @@ msgstr "" msgid "" "This function is used by :c:func:`PySequence_InPlaceConcat` and has the same " "signature. It should modify its first operand, and return it. This slot " -"may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceConcat` will " -"fall back to :c:func:`PySequence_Concat`. It is also used by the augmented " -"assignment ``+=``, after trying numeric in-place addition via the :c:member:" -"`~PyNumberMethods.nb_inplace_add` slot." +"may be left to ``NULL``, in this case :c:func:`!PySequence_InPlaceConcat` " +"will fall back to :c:func:`PySequence_Concat`. It is also used by the " +"augmented assignment ``+=``, after trying numeric in-place addition via the :" +"c:member:`~PyNumberMethods.nb_inplace_add` slot." msgstr "" #: ../Doc/c-api/typeobj.rst:2193 msgid "" "This function is used by :c:func:`PySequence_InPlaceRepeat` and has the same " "signature. It should modify its first operand, and return it. This slot " -"may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceRepeat` will " -"fall back to :c:func:`PySequence_Repeat`. It is also used by the augmented " -"assignment ``*=``, after trying numeric in-place multiplication via the :c:" -"member:`~PyNumberMethods.nb_inplace_multiply` slot." +"may be left to ``NULL``, in this case :c:func:`!PySequence_InPlaceRepeat` " +"will fall back to :c:func:`PySequence_Repeat`. It is also used by the " +"augmented assignment ``*=``, after trying numeric in-place multiplication " +"via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot." msgstr "" #: ../Doc/c-api/typeobj.rst:2204 @@ -3054,7 +3054,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:2226 msgid "" "Check if the request can be met. If not, raise :c:data:`PyExc_BufferError`, " -"set :c:data:`view->obj` to *NULL* and return ``-1``." +"set :c:data:`view->obj` to ``NULL`` and return ``-1``." msgstr "" #: ../Doc/c-api/typeobj.rst:2229 @@ -3125,7 +3125,7 @@ msgstr "" msgid "" "Handle a request to release the resources of the buffer. If no resources " "need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be " -"*NULL*. Otherwise, a standard implementation of this function will take " +"``NULL``. Otherwise, a standard implementation of this function will take " "these optional steps:" msgstr "" @@ -3176,7 +3176,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:2327 msgid "" -"This slot may be set to *NULL* if an object is not an :term:`awaitable`." +"This slot may be set to ``NULL`` if an object is not an :term:`awaitable`." msgstr "" #: ../Doc/c-api/typeobj.rst:2335 @@ -3186,14 +3186,14 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:2337 msgid "" -"This slot may be set to *NULL* if an object does not implement asynchronous " -"iteration protocol." +"This slot may be set to ``NULL`` if an object does not implement " +"asynchronous iteration protocol." msgstr "" #: ../Doc/c-api/typeobj.rst:2346 msgid "" "Must return an :term:`awaitable` object. See :meth:`__anext__` for details. " -"This slot may be set to *NULL*." +"This slot may be set to ``NULL``." msgstr "" #: ../Doc/c-api/typeobj.rst:2353 @@ -3254,7 +3254,7 @@ msgstr "" #: ../Doc/c-api/typeobj.rst:2402 ../Doc/c-api/typeobj.rst:2413 msgid "" "Set the value of the named attribute for the object. The value argument is " -"set to *NULL* to delete the attribute." +"set to ``NULL`` to delete the attribute." msgstr "" #: ../Doc/c-api/typeobj.rst:2409 diff --git a/c-api/unicode.po b/c-api/unicode.po index 328d307f..4537ea36 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 12:27+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -233,8 +233,8 @@ msgstr "" msgid "" "This macro is now inefficient -- because in many cases the :c:type:" "`Py_UNICODE` representation does not exist and needs to be created -- and " -"can fail (return *NULL* with an exception set). Try to port the code to use " -"the new :c:func:`PyUnicode_nBYTE_DATA` macros or use :c:func:" +"can fail (return ``NULL`` with an exception set). Try to port the code to " +"use the new :c:func:`PyUnicode_nBYTE_DATA` macros or use :c:func:" "`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`." msgstr "" @@ -410,15 +410,15 @@ msgstr "" msgid "" "Create a Unicode object from the char buffer *u*. The bytes will be " "interpreted as being UTF-8 encoded. The buffer is copied into the new " -"object. If the buffer is not *NULL*, the return value might be a shared " +"object. If the buffer is not ``NULL``, the return value might be a shared " "object, i.e. modification of the data is not allowed." msgstr "" #: ../Doc/c-api/unicode.rst:419 msgid "" -"If *u* is *NULL*, this function behaves like :c:func:`PyUnicode_FromUnicode` " -"with the buffer set to *NULL*. This usage is deprecated in favor of :c:func:" -"`PyUnicode_New`." +"If *u* is ``NULL``, this function behaves like :c:func:" +"`PyUnicode_FromUnicode` with the buffer set to ``NULL``. This usage is " +"deprecated in favor of :c:func:`PyUnicode_New`." msgstr "" #: ../Doc/c-api/unicode.rst:426 @@ -663,9 +663,9 @@ msgstr "" #: ../Doc/c-api/unicode.rst:509 msgid "" -"A Unicode object (which may be *NULL*) and a null-terminated C character " +"A Unicode object (which may be ``NULL``) and a null-terminated C character " "array as a second parameter (which will be used, if the first parameter is " -"*NULL*)." +"``NULL``)." msgstr "" #: ../Doc/c-api/unicode.rst:516 @@ -694,9 +694,9 @@ msgstr "" msgid "" "The width formatter unit is number of characters rather than bytes. The " "precision formatter unit is number of bytes for ``\"%s\"`` and ``\"%V\"`` " -"(if the ``PyObject*`` argument is NULL), and a number of characters for ``" -"\"%A\"``, ``\"%U\"``, ``\"%S\"``, ``\"%R\"`` and ``\"%V\"`` (if the " -"``PyObject*`` argument is not NULL)." +"(if the ``PyObject*`` argument is ``NULL``), and a number of characters for " +"``\"%A\"``, ``\"%U\"``, ``\"%S\"``, ``\"%R\"`` and ``\"%V\"`` (if the " +"``PyObject*`` argument is not ``NULL``)." msgstr "" #: ../Doc/c-api/unicode.rst:533 @@ -733,7 +733,7 @@ msgstr "" msgid "" ":class:`bytes`, :class:`bytearray` and other :term:`bytes-like objects " "` are decoded according to the given *encoding* and using " -"the error handling defined by *errors*. Both can be *NULL* to have the " +"the error handling defined by *errors*. Both can be ``NULL`` to have the " "interface use the default values (see :ref:`builtincodecs` for details)." msgstr "" @@ -745,8 +745,8 @@ msgstr "" #: ../Doc/c-api/unicode.rst:567 msgid "" -"The API returns *NULL* if there was an error. The caller is responsible for " -"decref'ing the returned objects." +"The API returns ``NULL`` if there was an error. The caller is responsible " +"for decref'ing the returned objects." msgstr "" #: ../Doc/c-api/unicode.rst:573 @@ -809,7 +809,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:642 msgid "" "Copy the string *u* into a UCS4 buffer, including a null character, if " -"*copy_null* is set. Returns *NULL* and sets an exception on error (in " +"*copy_null* is set. Returns ``NULL`` and sets an exception on error (in " "particular, a :exc:`SystemError` if *buflen* is smaller than the length of " "*u*). *buffer* is returned on success." msgstr "" @@ -817,8 +817,9 @@ msgstr "" #: ../Doc/c-api/unicode.rst:652 msgid "" "Copy the string *u* into a new UCS4 buffer that is allocated using :c:func:" -"`PyMem_Malloc`. If this fails, *NULL* is returned with a :exc:`MemoryError` " -"set. The returned buffer always has an extra null code point appended." +"`PyMem_Malloc`. If this fails, ``NULL`` is returned with a :exc:" +"`MemoryError` set. The returned buffer always has an extra null code point " +"appended." msgstr "" #: ../Doc/c-api/unicode.rst:661 @@ -836,21 +837,21 @@ msgstr "" #: ../Doc/c-api/unicode.rst:672 msgid "" "Create a Unicode object from the Py_UNICODE buffer *u* of the given size. " -"*u* may be *NULL* which causes the contents to be undefined. It is the " +"*u* may be ``NULL`` which causes the contents to be undefined. It is the " "user's responsibility to fill in the needed data. The buffer is copied into " "the new object." msgstr "" #: ../Doc/c-api/unicode.rst:677 msgid "" -"If the buffer is not *NULL*, the return value might be a shared object. " +"If the buffer is not ``NULL``, the return value might be a shared object. " "Therefore, modification of the resulting Unicode object is only allowed when " -"*u* is *NULL*." +"*u* is ``NULL``." msgstr "" #: ../Doc/c-api/unicode.rst:681 msgid "" -"If the buffer is *NULL*, :c:func:`PyUnicode_READY` must be called once the " +"If the buffer is ``NULL``, :c:func:`PyUnicode_READY` must be called once the " "string content has been filled before using any of the access macros such " "as :c:func:`PyUnicode_KIND`." msgstr "" @@ -864,7 +865,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:691 msgid "" "Return a read-only pointer to the Unicode object's internal :c:type:" -"`Py_UNICODE` buffer, or *NULL* on error. This will create the :c:type:" +"`Py_UNICODE` buffer, or ``NULL`` on error. This will create the :c:type:" "`Py_UNICODE*` representation of the object if it is not yet available. The " "buffer is always terminated with an extra null code point. Note that the " "resulting :c:type:`Py_UNICODE` string may also contain embedded null code " @@ -882,7 +883,7 @@ msgstr "" msgid "" "Create a Unicode object by replacing all decimal digits in :c:type:" "`Py_UNICODE` buffer of the given *size* by ASCII digits 0--9 according to " -"their decimal value. Return *NULL* if an exception occurs." +"their decimal value. Return ``NULL`` if an exception occurs." msgstr "" #: ../Doc/c-api/unicode.rst:713 @@ -897,7 +898,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:724 msgid "" "Create a copy of a Unicode string ending with a null code point. Return " -"*NULL* and raise a :exc:`MemoryError` exception on memory allocation " +"``NULL`` and raise a :exc:`MemoryError` exception on memory allocation " "failure, otherwise return a new allocated buffer (use :c:func:`PyMem_Free` " "to free the buffer). Note that the resulting :c:type:`Py_UNICODE*` string " "may contain embedded null code points, which would cause the string to be " @@ -1113,7 +1114,7 @@ msgstr "" msgid "" "Create a Unicode object from the :c:type:`wchar_t` buffer *w* of the given " "*size*. Passing ``-1`` as the *size* indicates that the function must itself " -"compute the length, using wcslen. Return *NULL* on failure." +"compute the length, using wcslen. Return ``NULL`` on failure." msgstr "" #: ../Doc/c-api/unicode.rst:940 @@ -1132,24 +1133,25 @@ msgstr "" #: ../Doc/c-api/unicode.rst:953 msgid "" "Convert the Unicode object to a wide character string. The output string " -"always ends with a null character. If *size* is not *NULL*, write the number " -"of wide characters (excluding the trailing null termination character) into *" -"\\*size*. Note that the resulting :c:type:`wchar_t` string might contain " -"null characters, which would cause the string to be truncated when used with " -"most C functions. If *size* is *NULL* and the :c:type:`wchar_t*` string " -"contains null characters a :exc:`ValueError` is raised." +"always ends with a null character. If *size* is not ``NULL``, write the " +"number of wide characters (excluding the trailing null termination " +"character) into *\\*size*. Note that the resulting :c:type:`wchar_t` string " +"might contain null characters, which would cause the string to be truncated " +"when used with most C functions. If *size* is ``NULL`` and the :c:type:" +"`wchar_t*` string contains null characters a :exc:`ValueError` is raised." msgstr "" #: ../Doc/c-api/unicode.rst:961 msgid "" "Returns a buffer allocated by :c:func:`PyMem_Alloc` (use :c:func:" -"`PyMem_Free` to free it) on success. On error, returns *NULL* and *\\*size* " -"is undefined. Raises a :exc:`MemoryError` if memory allocation is failed." +"`PyMem_Free` to free it) on success. On error, returns ``NULL`` and *" +"\\*size* is undefined. Raises a :exc:`MemoryError` if memory allocation is " +"failed." msgstr "" #: ../Doc/c-api/unicode.rst:968 msgid "" -"Raises a :exc:`ValueError` if *size* is *NULL* and the :c:type:`wchar_t*` " +"Raises a :exc:`ValueError` if *size* is ``NULL`` and the :c:type:`wchar_t*` " "string contains null characters." msgstr "" @@ -1172,7 +1174,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:985 msgid "" -"Setting encoding to *NULL* causes the default encoding to be used which is " +"Setting encoding to ``NULL`` causes the default encoding to be used which is " "ASCII. The file system calls should use :c:func:`PyUnicode_FSConverter` for " "encoding file names. This uses the variable :c:data:" "`Py_FileSystemDefaultEncoding` internally. This variable should be treated " @@ -1183,7 +1185,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:993 msgid "" -"Error handling is set by errors which may also be set to *NULL* meaning to " +"Error handling is set by errors which may also be set to ``NULL`` meaning to " "use the default handling defined for the codec. Default error handling for " "all built-in codecs is \"strict\" (:exc:`ValueError` is raised)." msgstr "" @@ -1207,7 +1209,7 @@ msgid "" "Create a Unicode object by decoding *size* bytes of the encoded string *s*. " "*encoding* and *errors* have the same meaning as the parameters of the same " "name in the :func:`str` built-in function. The codec to be used is looked " -"up using the Python codec registry. Return *NULL* if an exception was " +"up using the Python codec registry. Return ``NULL`` if an exception was " "raised by the codec." msgstr "" @@ -1216,8 +1218,8 @@ msgid "" "Encode a Unicode object and return the result as Python bytes object. " "*encoding* and *errors* have the same meaning as the parameters of the same " "name in the Unicode :meth:`~str.encode` method. The codec to be used is " -"looked up using the Python codec registry. Return *NULL* if an exception was " -"raised by the codec." +"looked up using the Python codec registry. Return ``NULL`` if an exception " +"was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1030 @@ -1226,7 +1228,7 @@ msgid "" "Python bytes object. *encoding* and *errors* have the same meaning as the " "parameters of the same name in the Unicode :meth:`~str.encode` method. The " "codec to be used is looked up using the Python codec registry. Return " -"*NULL* if an exception was raised by the codec." +"``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1038 ../Doc/c-api/unicode.rst:1295 @@ -1246,21 +1248,21 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1049 msgid "" "Create a Unicode object by decoding *size* bytes of the UTF-8 encoded string " -"*s*. Return *NULL* if an exception was raised by the codec." +"*s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1056 msgid "" -"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF8`. If " -"*consumed* is not *NULL*, trailing incomplete UTF-8 byte sequences will not " -"be treated as an error. Those bytes will not be decoded and the number of " -"bytes that have been decoded will be stored in *consumed*." +"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If " +"*consumed* is not ``NULL``, trailing incomplete UTF-8 byte sequences will " +"not be treated as an error. Those bytes will not be decoded and the number " +"of bytes that have been decoded will be stored in *consumed*." msgstr "" #: ../Doc/c-api/unicode.rst:1064 msgid "" "Encode a Unicode object using UTF-8 and return the result as Python bytes " -"object. Error handling is \"strict\". Return *NULL* if an exception was " +"object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" @@ -1268,14 +1270,14 @@ msgstr "" msgid "" "Return a pointer to the UTF-8 encoding of the Unicode object, and store the " "size of the encoded representation (in bytes) in *size*. The *size* " -"argument can be *NULL*; in this case no size will be stored. The returned " +"argument can be ``NULL``; in this case no size will be stored. The returned " "buffer always has an extra null byte appended (not included in *size*), " "regardless of whether there are any other null code points." msgstr "" #: ../Doc/c-api/unicode.rst:1077 msgid "" -"In the case of an error, *NULL* is returned with an exception set and no " +"In the case of an error, ``NULL`` is returned with an exception set and no " "*size* is stored." msgstr "" @@ -1297,8 +1299,8 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1102 msgid "" "Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* using UTF-8 " -"and return a Python bytes object. Return *NULL* if an exception was raised " -"by the codec." +"and return a Python bytes object. Return ``NULL`` if an exception was " +"raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1109 @@ -1319,13 +1321,13 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1121 msgid "" "Decode *size* bytes from a UTF-32 encoded buffer string and return the " -"corresponding Unicode object. *errors* (if non-*NULL*) defines the error " +"corresponding Unicode object. *errors* (if non-``NULL``) defines the error " "handling. It defaults to \"strict\"." msgstr "" #: ../Doc/c-api/unicode.rst:1125 ../Doc/c-api/unicode.rst:1198 msgid "" -"If *byteorder* is non-*NULL*, the decoder starts decoding using the given " +"If *byteorder* is non-``NULL``, the decoder starts decoding using the given " "byte order::" msgstr "" @@ -1344,18 +1346,18 @@ msgid "" msgstr "" #: ../Doc/c-api/unicode.rst:1140 ../Doc/c-api/unicode.rst:1214 -msgid "If *byteorder* is *NULL*, the codec starts in native order mode." +msgid "If *byteorder* is ``NULL``, the codec starts in native order mode." msgstr "" #: ../Doc/c-api/unicode.rst:1142 ../Doc/c-api/unicode.rst:1178 #: ../Doc/c-api/unicode.rst:1216 ../Doc/c-api/unicode.rst:1253 -msgid "Return *NULL* if an exception was raised by the codec." +msgid "Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1148 msgid "" -"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF32`. If " -"*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeUTF32Stateful` will not " +"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF32`. If " +"*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF32Stateful` will not " "treat trailing incomplete UTF-32 byte sequences (such as a number of bytes " "not divisible by four) as an error. Those bytes will not be decoded and the " "number of bytes that have been decoded will be stored in *consumed*." @@ -1365,7 +1367,7 @@ msgstr "" msgid "" "Return a Python byte string using the UTF-32 encoding in native byte order. " "The string always starts with a BOM mark. Error handling is \"strict\". " -"Return *NULL* if an exception was raised by the codec." +"Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1165 @@ -1382,7 +1384,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1175 msgid "" -"If *Py_UNICODE_WIDE* is not defined, surrogate pairs will be output as a " +"If ``Py_UNICODE_WIDE`` is not defined, surrogate pairs will be output as a " "single code point." msgstr "" @@ -1403,7 +1405,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1194 msgid "" "Decode *size* bytes from a UTF-16 encoded buffer string and return the " -"corresponding Unicode object. *errors* (if non-*NULL*) defines the error " +"corresponding Unicode object. *errors* (if non-``NULL``) defines the error " "handling. It defaults to \"strict\"." msgstr "" @@ -1418,8 +1420,8 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1222 msgid "" -"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF16`. If " -"*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeUTF16Stateful` will not " +"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF16`. If " +"*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF16Stateful` will not " "treat trailing incomplete UTF-16 byte sequences (such as an odd number of " "bytes or a split surrogate pair) as an error. Those bytes will not be " "decoded and the number of bytes that have been decoded will be stored in " @@ -1430,7 +1432,7 @@ msgstr "" msgid "" "Return a Python byte string using the UTF-16 encoding in native byte order. " "The string always starts with a BOM mark. Error handling is \"strict\". " -"Return *NULL* if an exception was raised by the codec." +"Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1239 @@ -1441,8 +1443,8 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1249 msgid "" -"If *Py_UNICODE_WIDE* is defined, a single :c:type:`Py_UNICODE` value may get " -"represented as a surrogate pair. If it is not defined, each :c:type:" +"If ``Py_UNICODE_WIDE`` is defined, a single :c:type:`Py_UNICODE` value may " +"get represented as a surrogate pair. If it is not defined, each :c:type:" "`Py_UNICODE` values is interpreted as a UCS-2 character." msgstr "" @@ -1463,13 +1465,13 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1268 msgid "" "Create a Unicode object by decoding *size* bytes of the UTF-7 encoded string " -"*s*. Return *NULL* if an exception was raised by the codec." +"*s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1275 msgid "" -"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeUTF7`. If " -"*consumed* is not *NULL*, trailing incomplete UTF-7 base-64 sections will " +"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF7`. If " +"*consumed* is not ``NULL``, trailing incomplete UTF-7 base-64 sections will " "not be treated as an error. Those bytes will not be decoded and the number " "of bytes that have been decoded will be stored in *consumed*." msgstr "" @@ -1477,7 +1479,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1284 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given size using UTF-7 and " -"return a Python bytes object. Return *NULL* if an exception was raised by " +"return a Python bytes object. Return ``NULL`` if an exception was raised by " "the codec." msgstr "" @@ -1500,21 +1502,21 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1307 msgid "" "Create a Unicode object by decoding *size* bytes of the Unicode-Escape " -"encoded string *s*. Return *NULL* if an exception was raised by the codec." +"encoded string *s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1313 msgid "" "Encode a Unicode object using Unicode-Escape and return the result as a " -"bytes object. Error handling is \"strict\". Return *NULL* if an exception " -"was raised by the codec." +"bytes object. Error handling is \"strict\". Return ``NULL`` if an " +"exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1320 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Unicode-" -"Escape and return a bytes object. Return *NULL* if an exception was raised " -"by the codec." +"Escape and return a bytes object. Return ``NULL`` if an exception was " +"raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1325 @@ -1534,21 +1536,21 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1337 msgid "" "Create a Unicode object by decoding *size* bytes of the Raw-Unicode-Escape " -"encoded string *s*. Return *NULL* if an exception was raised by the codec." +"encoded string *s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1343 msgid "" "Encode a Unicode object using Raw-Unicode-Escape and return the result as a " -"bytes object. Error handling is \"strict\". Return *NULL* if an exception " -"was raised by the codec." +"bytes object. Error handling is \"strict\". Return ``NULL`` if an " +"exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1351 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-" -"Escape and return a bytes object. Return *NULL* if an exception was raised " -"by the codec." +"Escape and return a bytes object. Return ``NULL`` if an exception was " +"raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1357 @@ -1571,20 +1573,20 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1369 msgid "" "Create a Unicode object by decoding *size* bytes of the Latin-1 encoded " -"string *s*. Return *NULL* if an exception was raised by the codec." +"string *s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1375 msgid "" "Encode a Unicode object using Latin-1 and return the result as Python bytes " -"object. Error handling is \"strict\". Return *NULL* if an exception was " +"object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1382 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Latin-1 and " -"return a Python bytes object. Return *NULL* if an exception was raised by " +"return a Python bytes object. Return ``NULL`` if an exception was raised by " "the codec." msgstr "" @@ -1607,20 +1609,20 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1401 msgid "" "Create a Unicode object by decoding *size* bytes of the ASCII encoded string " -"*s*. Return *NULL* if an exception was raised by the codec." +"*s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1407 msgid "" "Encode a Unicode object using ASCII and return the result as Python bytes " -"object. Error handling is \"strict\". Return *NULL* if an exception was " +"object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1414 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using ASCII and " -"return a Python bytes object. Return *NULL* if an exception was raised by " +"return a Python bytes object. Return ``NULL`` if an exception was raised by " "the codec." msgstr "" @@ -1651,13 +1653,13 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1438 msgid "" "Create a Unicode object by decoding *size* bytes of the encoded string *s* " -"using the given *mapping* object. Return *NULL* if an exception was raised " -"by the codec." +"using the given *mapping* object. Return ``NULL`` if an exception was " +"raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1442 msgid "" -"If *mapping* is *NULL*, Latin-1 decoding will be applied. Else *mapping* " +"If *mapping* is ``NULL``, Latin-1 decoding will be applied. Else *mapping* " "must map bytes ordinals (integers in the range from 0 to 255) to Unicode " "strings, integers (which are then interpreted as Unicode ordinals) or " "``None``. Unmapped data bytes -- ones which cause a :exc:`LookupError`, as " @@ -1668,7 +1670,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1453 msgid "" "Encode a Unicode object using the given *mapping* object and return the " -"result as a bytes object. Error handling is \"strict\". Return *NULL* if " +"result as a bytes object. Error handling is \"strict\". Return ``NULL`` if " "an exception was raised by the codec." msgstr "" @@ -1683,8 +1685,8 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1466 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using the given " -"*mapping* object and return the result as a bytes object. Return *NULL* if " -"an exception was raised by the codec." +"*mapping* object and return the result as a bytes object. Return ``NULL`` " +"if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1473 @@ -1700,7 +1702,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1481 msgid "" "Translate a Unicode object using the given *mapping* object and return the " -"resulting Unicode object. Return *NULL* if an exception was raised by the " +"resulting Unicode object. Return ``NULL`` if an exception was raised by the " "codec." msgstr "" @@ -1716,7 +1718,7 @@ msgstr "" msgid "" "Translate a :c:type:`Py_UNICODE` buffer of the given *size* by applying a " "character *mapping* table to it and return the resulting Unicode object. " -"Return *NULL* when an exception was raised by the codec." +"Return ``NULL`` when an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1501 @@ -1741,13 +1743,13 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1514 msgid "" "Create a Unicode object by decoding *size* bytes of the MBCS encoded string " -"*s*. Return *NULL* if an exception was raised by the codec." +"*s*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1521 msgid "" -"If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeMBCS`. If " -"*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeMBCSStateful` will not " +"If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeMBCS`. If " +"*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeMBCSStateful` will not " "decode trailing lead byte and the number of bytes that have been decoded " "will be stored in *consumed*." msgstr "" @@ -1755,21 +1757,21 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1529 msgid "" "Encode a Unicode object using MBCS and return the result as Python bytes " -"object. Error handling is \"strict\". Return *NULL* if an exception was " +"object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" #: ../Doc/c-api/unicode.rst:1536 msgid "" "Encode the Unicode object using the specified code page and return a Python " -"bytes object. Return *NULL* if an exception was raised by the codec. Use :c:" -"data:`CP_ACP` code page to get the MBCS encoder." +"bytes object. Return ``NULL`` if an exception was raised by the codec. Use :" +"c:data:`CP_ACP` code page to get the MBCS encoder." msgstr "" #: ../Doc/c-api/unicode.rst:1545 msgid "" "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using MBCS and " -"return a Python bytes object. Return *NULL* if an exception was raised by " +"return a Python bytes object. Return ``NULL`` if an exception was raised by " "the codec." msgstr "" @@ -1796,7 +1798,7 @@ msgid "" msgstr "" #: ../Doc/c-api/unicode.rst:1568 -msgid "They all return *NULL* or ``-1`` if an exception occurs." +msgid "They all return ``NULL`` or ``-1`` if an exception occurs." msgstr "" #: ../Doc/c-api/unicode.rst:1573 @@ -1805,7 +1807,7 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1578 msgid "" -"Split a string giving a list of Unicode strings. If *sep* is *NULL*, " +"Split a string giving a list of Unicode strings. If *sep* is ``NULL``, " "splitting will be done at all whitespace substrings. Otherwise, splits " "occur at the given separator. At most *maxsplit* splits will be done. If " "negative, no limit is set. Separators are not included in the resulting " @@ -1840,8 +1842,8 @@ msgstr "" #: ../Doc/c-api/unicode.rst:1604 msgid "" -"*errors* has the usual meaning for codecs. It may be *NULL* which indicates " -"to use the default error handling." +"*errors* has the usual meaning for codecs. It may be ``NULL`` which " +"indicates to use the default error handling." msgstr "" #: ../Doc/c-api/unicode.rst:1610 diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index f2b66f9e..7c5ccb73 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -72,7 +72,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:54 msgid "" "This is a simplified interface to :c:func:`PyRun_AnyFileExFlags` below, " -"leaving *closeit* set to ``0`` and *flags* set to *NULL*." +"leaving *closeit* set to ``0`` and *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:60 @@ -84,7 +84,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:66 msgid "" "This is a simplified interface to :c:func:`PyRun_AnyFileExFlags` below, " -"leaving the *flags* argument set to *NULL*." +"leaving the *flags* argument set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:72 @@ -93,14 +93,14 @@ msgid "" "terminal input or Unix pseudo-terminal), return the value of :c:func:" "`PyRun_InteractiveLoop`, otherwise return the result of :c:func:" "`PyRun_SimpleFile`. *filename* is decoded from the filesystem encoding (:" -"func:`sys.getfilesystemencoding`). If *filename* is *NULL*, this function " +"func:`sys.getfilesystemencoding`). If *filename* is ``NULL``, this function " "uses ``\"???\"`` as the filename." msgstr "" #: ../Doc/c-api/veryhigh.rst:82 msgid "" "This is a simplified interface to :c:func:`PyRun_SimpleStringFlags` below, " -"leaving the *PyCompilerFlags\\** argument set to NULL." +"leaving the :c:type:`PyCompilerFlags`\\* argument set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:88 @@ -122,13 +122,13 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:101 msgid "" "This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, " -"leaving *closeit* set to ``0`` and *flags* set to *NULL*." +"leaving *closeit* set to ``0`` and *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:107 msgid "" "This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, " -"leaving *flags* set to *NULL*." +"leaving *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:113 @@ -150,7 +150,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:126 msgid "" "This is a simplified interface to :c:func:`PyRun_InteractiveOneFlags` below, " -"leaving *flags* set to *NULL*." +"leaving *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:132 @@ -173,7 +173,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:146 msgid "" "This is a simplified interface to :c:func:`PyRun_InteractiveLoopFlags` " -"below, leaving *flags* set to *NULL*." +"below, leaving *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:152 @@ -200,7 +200,7 @@ msgid "" "Can be set to point to a function with the prototype ``char *func(FILE " "*stdin, FILE *stdout, char *prompt)``, overriding the default function used " "to read a single line of input at the interpreter's prompt. The function is " -"expected to output the string *prompt* if it's not *NULL*, and then read a " +"expected to output the string *prompt* if it's not ``NULL``, and then read a " "line of input from the provided standard input file, returning the resulting " "string. For example, The :mod:`readline` module sets this hook to provide " "line-editing and tab-completion features." @@ -209,7 +209,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:181 msgid "" "The result must be a string allocated by :c:func:`PyMem_RawMalloc` or :c:" -"func:`PyMem_RawRealloc`, or *NULL* if an error occurred." +"func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred." msgstr "" #: ../Doc/c-api/veryhigh.rst:184 @@ -223,14 +223,14 @@ msgstr "" msgid "" "This is a simplified interface to :c:func:" "`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to " -"*NULL* and *flags* set to ``0``." +"``NULL`` and *flags* set to ``0``." msgstr "" #: ../Doc/c-api/veryhigh.rst:199 msgid "" "This is a simplified interface to :c:func:" "`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to " -"*NULL*." +"``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:206 @@ -257,7 +257,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:227 msgid "" "This is a simplified interface to :c:func:`PyRun_StringFlags` below, leaving " -"*flags* set to *NULL*." +"*flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:233 @@ -271,20 +271,20 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:239 msgid "" -"Returns the result of executing the code as a Python object, or *NULL* if an " -"exception was raised." +"Returns the result of executing the code as a Python object, or ``NULL`` if " +"an exception was raised." msgstr "" #: ../Doc/c-api/veryhigh.rst:245 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " -"*closeit* set to ``0`` and *flags* set to *NULL*." +"*closeit* set to ``0`` and *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:251 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " -"*flags* set to *NULL*." +"*flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:257 @@ -305,7 +305,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:272 msgid "" "This is a simplified interface to :c:func:`Py_CompileStringFlags` below, " -"leaving *flags* set to *NULL*." +"leaving *flags* set to ``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:278 @@ -322,7 +322,7 @@ msgid "" "`Py_eval_input`, :const:`Py_file_input`, or :const:`Py_single_input`. The " "filename specified by *filename* is used to construct the code object and " "may appear in tracebacks or :exc:`SyntaxError` exception messages. This " -"returns *NULL* if the code cannot be parsed or compiled." +"returns ``NULL`` if the code cannot be parsed or compiled." msgstr "" #: ../Doc/c-api/veryhigh.rst:292 @@ -344,7 +344,7 @@ msgstr "" msgid "" "This is a simplified interface to :c:func:`PyEval_EvalCodeEx`, with just the " "code object, and global and local variables. The other arguments are set to " -"*NULL*." +"``NULL``." msgstr "" #: ../Doc/c-api/veryhigh.rst:317 @@ -422,7 +422,7 @@ msgstr "" #: ../Doc/c-api/veryhigh.rst:389 msgid "" -"Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated " +"Whenever ``PyCompilerFlags *flags`` is ``NULL``, :attr:`cf_flags` is treated " "as equal to ``0``, and any modification due to ``from __future__ import`` is " "discarded." msgstr "" diff --git a/c-api/weakref.po b/c-api/weakref.po index d3a18d9c..9d46e9b8 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-11 12:59+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-03-29 14:17+0100\n" "Last-Translator: Andy Kwok \n" "Language-Team: FRENCH \n" @@ -44,15 +44,16 @@ msgid "Return true if *ob* is a proxy object." msgstr "Retourne vrai si *ob* est un objet proxy" #: ../Doc/c-api/weakref.rst:31 +#, fuzzy msgid "" "Return a weak reference object for the object *ob*. This will always return " "a new reference, but is not guaranteed to create a new object; an existing " "reference object may be returned. The second parameter, *callback*, can be " "a callable object that receives notification when *ob* is garbage collected; " "it should accept a single parameter, which will be the weak reference object " -"itself. *callback* may also be ``None`` or *NULL*. If *ob* is not a weakly-" -"referencable object, or if *callback* is not callable, ``None``, or *NULL*, " -"this will return *NULL* and raise :exc:`TypeError`." +"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a " +"weakly-referencable object, or if *callback* is not callable, ``None``, or " +"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`." msgstr "" "Retourne un objet de référence faible pour l'objet *ob*. Elle renvoie " "toujours une nouvelle référence, mais cela ne signifie pas qu'un nouvel " @@ -66,15 +67,16 @@ msgstr "" "*NULL* et lève une :exc:`TypeError`." #: ../Doc/c-api/weakref.rst:43 +#, fuzzy msgid "" "Return a weak reference proxy object for the object *ob*. This will always " "return a new reference, but is not guaranteed to create a new object; an " "existing proxy object may be returned. The second parameter, *callback*, " "can be a callable object that receives notification when *ob* is garbage " "collected; it should accept a single parameter, which will be the weak " -"reference object itself. *callback* may also be ``None`` or *NULL*. If *ob* " -"is not a weakly-referencable object, or if *callback* is not callable, " -"``None``, or *NULL*, this will return *NULL* and raise :exc:`TypeError`." +"reference object itself. *callback* may also be ``None`` or ``NULL``. If " +"*ob* is not a weakly-referencable object, or if *callback* is not callable, " +"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`." msgstr "" "Retourne un objet mandataire à référence faible pour l'objet *ob*. Ceci " "renvoie toujours une nouvelle référence, mais ne garantit pas la création " diff --git a/distributing/index.po b/distributing/index.po index b0f8269f..d28f091c 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-05-23 20:39+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -85,12 +85,13 @@ msgstr "" "Python" #: ../Doc/distributing/index.rst:37 +#, fuzzy msgid "" "the `Python Packaging Authority `__ are the group of " "developers and documentation authors responsible for the maintenance and " "evolution of the standard packaging tools and the associated metadata and " "file format standards. They maintain a variety of tools, documentation and " -"issue trackers on both `GitHub `__ and `BitBucket " +"issue trackers on both `GitHub `__ and `Bitbucket " "`__." msgstr "" "le `Python Packaging Authority `__ est le groupe de " @@ -300,8 +301,9 @@ msgid "check the Python Packaging Index to see if the name is already in use" msgstr "vérifiez dans le *Python Packaging Index* si le nom est déjà utilisé" #: ../Doc/distributing/index.rst:151 +#, fuzzy msgid "" -"check popular hosting sites like GitHub, BitBucket, etc to see if there is " +"check popular hosting sites like GitHub, Bitbucket, etc to see if there is " "already a project with that name" msgstr "" "vérifiez sur quelques sites d'hébergement populaires tels que GitHub, " diff --git a/extending/embedding.po b/extending/embedding.po index 144691ee..bf023574 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-04 16:18+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -304,8 +304,9 @@ msgstr "" "d'arguments. L'appel à la fonction Python est alors effectué avec ::" #: ../Doc/extending/embedding.rst:199 +#, fuzzy msgid "" -"Upon return of the function, ``pValue`` is either *NULL* or it contains a " +"Upon return of the function, ``pValue`` is either ``NULL`` or it contains a " "reference to the return value of the function. Be sure to release the " "reference after examining the value." msgstr "" diff --git a/extending/extending.po b/extending/extending.po index 1ac877d0..16f9e420 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-10-30 00:03+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -210,12 +210,13 @@ msgstr "" "converties. Nous en verront plus, plus tard." #: ../Doc/extending/extending.rst:116 +#, fuzzy msgid "" ":c:func:`PyArg_ParseTuple` returns true (nonzero) if all arguments have the " "right type and its components have been stored in the variables whose " "addresses are passed. It returns false (zero) if an invalid argument list " "was passed. In the latter case it also raises an appropriate exception so " -"the calling function can return *NULL* immediately (as we saw in the " +"the calling function can return ``NULL`` immediately (as we saw in the " "example)." msgstr "" ":c:func:`PyArg_ParseTuple` renvoie vrai (pas zéro) si tous les arguments ont " @@ -230,11 +231,12 @@ msgid "Intermezzo: Errors and Exceptions" msgstr "Intermezzo: Les erreurs et exceptions" #: ../Doc/extending/extending.rst:128 +#, fuzzy msgid "" "An important convention throughout the Python interpreter is the following: " "when a function fails, it should set an exception condition and return an " -"error value (usually a *NULL* pointer). Exceptions are stored in a static " -"global variable inside the interpreter; if this variable is *NULL* no " +"error value (usually a ``NULL`` pointer). Exceptions are stored in a static " +"global variable inside the interpreter; if this variable is ``NULL`` no " "exception has occurred. A second global variable stores the \"associated " "value\" of the exception (the second argument to :keyword:`raise`). A third " "variable contains the stack traceback in case the error originated in Python " @@ -294,12 +296,13 @@ msgstr "" "func:`Py_INCREF` aux objets transmis à ces fonctions." #: ../Doc/extending/extending.rst:154 +#, fuzzy msgid "" "You can test non-destructively whether an exception has been set with :c:" -"func:`PyErr_Occurred`. This returns the current exception object, or *NULL* " -"if no exception has occurred. You normally don't need to call :c:func:" -"`PyErr_Occurred` to see whether an error occurred in a function call, since " -"you should be able to tell from the return value." +"func:`PyErr_Occurred`. This returns the current exception object, or " +"``NULL`` if no exception has occurred. You normally don't need to call :c:" +"func:`PyErr_Occurred` to see whether an error occurred in a function call, " +"since you should be able to tell from the return value." msgstr "" "Vous pouvez tester de manière non destructive si une exception a été levée " "avec :c:func:`PyErr_Occurred`. Cela renvoie l'objet exception actuel, ou " @@ -309,13 +312,14 @@ msgstr "" "de le déterminer à partir de la valeur de retour." #: ../Doc/extending/extending.rst:160 +#, fuzzy msgid "" "When a function *f* that calls another function *g* detects that the latter " -"fails, *f* should itself return an error value (usually *NULL* or ``-1``). " -"It should *not* call one of the :c:func:`PyErr_\\*` functions --- one has " -"already been called by *g*. *f*'s caller is then supposed to also return an " -"error indication to *its* caller, again *without* calling :c:func:`PyErr_" -"\\*`, and so on --- the most detailed cause of the error was already " +"fails, *f* should itself return an error value (usually ``NULL`` or " +"``-1``). It should *not* call one of the :c:func:`PyErr_\\*` functions --- " +"one has already been called by *g*. *f*'s caller is then supposed to also " +"return an error indication to *its* caller, again *without* calling :c:func:" +"`PyErr_\\*`, and so on --- the most detailed cause of the error was already " "reported by the function that first detected it. Once the error reaches the " "Python interpreter's main loop, this aborts the currently executing Python " "code and tries to find an exception handler specified by the Python " @@ -441,11 +445,12 @@ msgstr "" "`PyInit_spam`) avec un objet exception ::" #: ../Doc/extending/extending.rst:235 +#, fuzzy msgid "" "Note that the Python name for the exception object is :exc:`spam.error`. " "The :c:func:`PyErr_NewException` function may create a class with the base " "class being :exc:`Exception` (unless another class is passed in instead of " -"*NULL*), described in :ref:`bltin-exceptions`." +"``NULL``), described in :ref:`bltin-exceptions`." msgstr "" "Notez que le nom de exception, côté Python, est :exc:`spam.error`. La " "fonction :c:func:`PyErr_NewException` peut créer une classe héritant de :exc:" @@ -499,8 +504,9 @@ msgstr "" "capable de comprendre cette affirmation ::" #: ../Doc/extending/extending.rst:281 +#, fuzzy msgid "" -"It returns *NULL* (the error indicator for functions returning object " +"It returns ``NULL`` (the error indicator for functions returning object " "pointers) if an error is detected in the argument list, relying on the " "exception set by :c:func:`PyArg_ParseTuple`. Otherwise the string value of " "the argument has been copied to the local variable :c:data:`command`. This " @@ -556,10 +562,11 @@ msgstr "" "implémentée par la macro :c:macro:`Py_RETURN_NONE`) ::" #: ../Doc/extending/extending.rst:310 +#, fuzzy msgid "" ":c:data:`Py_None` is the C name for the special Python object ``None``. It " -"is a genuine Python object rather than a *NULL* pointer, which means \"error" -"\" in most contexts, as we have seen." +"is a genuine Python object rather than a ``NULL`` pointer, which means " +"\"error\" in most contexts, as we have seen." msgstr "" ":c:data:`Py_None` est le nom C pour l'objet spécial Python ``None``. C'est " "un authentique objet Python plutôt qu'un pointeur *NULL*, qui signifie " @@ -649,9 +656,9 @@ msgid "" "upon the table (an array of :c:type:`PyMethodDef` structures) found in the " "module definition. :c:func:`PyModule_Create` returns a pointer to the module " "object that it creates. It may abort with a fatal error for certain errors, " -"or return *NULL* if the module could not be initialized satisfactorily. The " -"init function must return the module object to its caller, so that it then " -"gets inserted into ``sys.modules``." +"or return ``NULL`` if the module could not be initialized satisfactorily. " +"The init function must return the module object to its caller, so that it " +"then gets inserted into ``sys.modules``." msgstr "" #: ../Doc/extending/extending.rst:383 @@ -770,8 +777,8 @@ msgstr "" #: ../Doc/extending/extending.rst:528 msgid "" "The macros :c:func:`Py_XINCREF` and :c:func:`Py_XDECREF` increment/decrement " -"the reference count of an object and are safe in the presence of *NULL* " -"pointers (but note that *temp* will not be *NULL* in this context). More " +"the reference count of an object and are safe in the presence of ``NULL`` " +"pointers (but note that *temp* will not be ``NULL`` in this context). More " "info on them in section :ref:`refcounts`." msgstr "" @@ -781,8 +788,8 @@ msgid "" "`PyObject_CallObject`. This function has two arguments, both pointers to " "arbitrary Python objects: the Python function, and the argument list. The " "argument list must always be a tuple object, whose length is the number of " -"arguments. To call the Python function with no arguments, pass in NULL, or " -"an empty tuple; to call it with one argument, pass a singleton tuple. :c:" +"arguments. To call the Python function with no arguments, pass in ``NULL``, " +"or an empty tuple; to call it with one argument, pass a singleton tuple. :c:" "func:`Py_BuildValue` returns a tuple when its format string consists of zero " "or more format codes between parentheses. For example::" msgstr "" @@ -808,7 +815,7 @@ msgstr "" #: ../Doc/extending/extending.rst:568 msgid "" "Before you do this, however, it is important to check that the return value " -"isn't *NULL*. If it is, the Python function terminated by raising an " +"isn't ``NULL``. If it is, the Python function terminated by raising an " "exception. If the C code that called :c:func:`PyObject_CallObject` is called " "from Python, it should now return an error indication to its Python caller, " "so the interpreter can print a stack trace, or the calling Python code can " @@ -895,10 +902,11 @@ msgid "" "The *arg* and *format* parameters are identical to those of the :c:func:" "`PyArg_ParseTuple` function. The *kwdict* parameter is the dictionary of " "keywords received as the third parameter from the Python runtime. The " -"*kwlist* parameter is a *NULL*-terminated list of strings which identify the " -"parameters; the names are matched with the type information from *format* " -"from left to right. On success, :c:func:`PyArg_ParseTupleAndKeywords` " -"returns true, otherwise it returns false and raises an appropriate exception." +"*kwlist* parameter is a ``NULL``-terminated list of strings which identify " +"the parameters; the names are matched with the type information from " +"*format* from left to right. On success, :c:func:" +"`PyArg_ParseTupleAndKeywords` returns true, otherwise it returns false and " +"raises an appropriate exception." msgstr "" #: ../Doc/extending/extending.rst:733 @@ -1251,48 +1259,48 @@ msgstr "" #: ../Doc/extending/extending.rst:1086 msgid "" "In general, functions that take object references as arguments do not expect " -"you to pass them *NULL* pointers, and will dump core (or cause later core " +"you to pass them ``NULL`` pointers, and will dump core (or cause later core " "dumps) if you do so. Functions that return object references generally " -"return *NULL* only to indicate that an exception occurred. The reason for " -"not testing for *NULL* arguments is that functions often pass the objects " +"return ``NULL`` only to indicate that an exception occurred. The reason for " +"not testing for ``NULL`` arguments is that functions often pass the objects " "they receive on to other function --- if each function were to test for " -"*NULL*, there would be a lot of redundant tests and the code would run more " -"slowly." +"``NULL``, there would be a lot of redundant tests and the code would run " +"more slowly." msgstr "" #: ../Doc/extending/extending.rst:1094 msgid "" -"It is better to test for *NULL* only at the \"source:\" when a pointer that " -"may be *NULL* is received, for example, from :c:func:`malloc` or from a " -"function that may raise an exception." +"It is better to test for ``NULL`` only at the \"source:\" when a pointer " +"that may be ``NULL`` is received, for example, from :c:func:`malloc` or from " +"a function that may raise an exception." msgstr "" #: ../Doc/extending/extending.rst:1098 msgid "" "The macros :c:func:`Py_INCREF` and :c:func:`Py_DECREF` do not check for " -"*NULL* pointers --- however, their variants :c:func:`Py_XINCREF` and :c:func:" -"`Py_XDECREF` do." +"``NULL`` pointers --- however, their variants :c:func:`Py_XINCREF` and :c:" +"func:`Py_XDECREF` do." msgstr "" #: ../Doc/extending/extending.rst:1102 msgid "" "The macros for checking for a particular object type (``Pytype_Check()``) " -"don't check for *NULL* pointers --- again, there is much code that calls " +"don't check for ``NULL`` pointers --- again, there is much code that calls " "several of these in a row to test an object against various different " "expected types, and this would generate redundant tests. There are no " -"variants with *NULL* checking." +"variants with ``NULL`` checking." msgstr "" #: ../Doc/extending/extending.rst:1108 msgid "" "The C function calling mechanism guarantees that the argument list passed to " -"C functions (``args`` in the examples) is never *NULL* --- in fact it " +"C functions (``args`` in the examples) is never ``NULL`` --- in fact it " "guarantees that it is always a tuple [#]_." msgstr "" #: ../Doc/extending/extending.rst:1112 msgid "" -"It is a severe error to ever let a *NULL* pointer \"escape\" to the Python " +"It is a severe error to ever let a ``NULL`` pointer \"escape\" to the Python " "user." msgstr "" @@ -1380,7 +1388,7 @@ msgstr "" msgid "" "Whichever method you choose, it's important to name your Capsules properly. " "The function :c:func:`PyCapsule_New` takes a name parameter (:c:type:`const " -"char \\*`); you're permitted to pass in a *NULL* name, but we strongly " +"char \\*`); you're permitted to pass in a ``NULL`` name, but we strongly " "encourage you to specify a name. Properly named Capsules provide a degree " "of runtime type-safety; there is no feasible way to tell one unnamed Capsule " "from another." diff --git a/extending/newtypes.po b/extending/newtypes.po index 694c2a96..73bed4e3 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -178,7 +178,7 @@ msgid "" "needs to be a function which can retrieve attributes (if any are defined), " "and another to set attributes (if setting attributes is allowed). Removing " "an attribute is a special case, for which the new value passed to the " -"handler is *NULL*." +"handler is ``NULL``." msgstr "" #: ../Doc/extending/newtypes.rst:196 @@ -235,10 +235,10 @@ msgid "" "the type object to create :term:`descriptor`\\s which are placed in the " "dictionary of the type object. Each descriptor controls access to one " "attribute of the instance object. Each of the tables is optional; if all " -"three are *NULL*, instances of the type will only have attributes that are " +"three are ``NULL``, instances of the type will only have attributes that are " "inherited from their base type, and should leave the :c:member:" "`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fields " -"*NULL* as well, allowing the base type to handle attributes." +"``NULL`` as well, allowing the base type to handle attributes." msgstr "" #: ../Doc/extending/newtypes.rst:241 @@ -247,7 +247,7 @@ msgstr "" #: ../Doc/extending/newtypes.rst:247 msgid "" -"If :c:member:`~PyTypeObject.tp_methods` is not *NULL*, it must refer to an " +"If :c:member:`~PyTypeObject.tp_methods` is not ``NULL``, it must refer to an " "array of :c:type:`PyMethodDef` structures. Each entry in the table is an " "instance of this structure::" msgstr "" @@ -257,7 +257,7 @@ msgid "" "One entry should be defined for each method provided by the type; no entries " "are needed for methods inherited from a base type. One additional entry is " "needed at the end; it is a sentinel that marks the end of the array. The :" -"attr:`ml_name` field of the sentinel must be *NULL*." +"attr:`ml_name` field of the sentinel must be ``NULL``." msgstr "" #: ../Doc/extending/newtypes.rst:263 @@ -338,7 +338,7 @@ msgstr "" #: ../Doc/extending/newtypes.rst:309 msgid "" "As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry " -"with a :attr:`name` value of *NULL* is required." +"with a :attr:`name` value of ``NULL`` is required." msgstr "" #: ../Doc/extending/newtypes.rst:323 @@ -372,9 +372,9 @@ msgid "" "The :c:member:`~PyTypeObject.tp_setattr` handler is called when the :meth:" "`__setattr__` or :meth:`__delattr__` method of a class instance would be " "called. When an attribute should be deleted, the third parameter will be " -"*NULL*. Here is an example that simply raises an exception; if this were " +"``NULL``. Here is an example that simply raises an exception; if this were " "really all you wanted, the :c:member:`~PyTypeObject.tp_setattr` handler " -"should be set to *NULL*. ::" +"should be set to ``NULL``. ::" msgstr "" #: ../Doc/extending/newtypes.rst:367 @@ -397,7 +397,7 @@ msgid "" "respect to the specified operator and return ``Py_True`` or ``Py_False`` if " "the comparison is successful, ``Py_NotImplemented`` to indicate that " "comparison is not implemented and the other object's comparison method " -"should be tried, or *NULL* if an exception was set." +"should be tried, or ``NULL`` if an exception was set." msgstr "" #: ../Doc/extending/newtypes.rst:386 @@ -427,7 +427,7 @@ msgid "" "newer protocols there are additional slots in the main type object, with a " "flag bit being set to indicate that the slots are present and should be " "checked by the interpreter. (The flag bit does not indicate that the slot " -"values are non-*NULL*. The flag may be set to indicate the presence of a " +"values are non-``NULL``. The flag may be set to indicate the presence of a " "slot, but a slot may still be unfilled.) ::" msgstr "" @@ -483,9 +483,9 @@ msgstr "" #: ../Doc/extending/newtypes.rst:480 msgid "" "*kwds* is a dictionary of keyword arguments that were passed. If this is non-" -"*NULL* and you support keyword arguments, use :c:func:" +"``NULL`` and you support keyword arguments, use :c:func:" "`PyArg_ParseTupleAndKeywords` to extract the arguments. If you do not want " -"to support keyword arguments and this is non-*NULL*, raise a :exc:" +"to support keyword arguments and this is non-``NULL``, raise a :exc:" "`TypeError` with a message saying that keyword arguments are not supported." msgstr "" @@ -498,9 +498,10 @@ msgid "" "These functions provide support for the iterator protocol. Both handlers " "take exactly one parameter, the instance for which they are being called, " "and return a new reference. In the case of an error, they should set an " -"exception and return *NULL*. :c:member:`~PyTypeObject.tp_iter` corresponds " -"to the Python :meth:`__iter__` method, while :c:member:`~PyTypeObject." -"tp_iternext` corresponds to the Python :meth:`~iterator.__next__` method." +"exception and return ``NULL``. :c:member:`~PyTypeObject.tp_iter` " +"corresponds to the Python :meth:`__iter__` method, while :c:member:" +"`~PyTypeObject.tp_iternext` corresponds to the Python :meth:`~iterator." +"__next__` method." msgstr "" #: ../Doc/extending/newtypes.rst:519 @@ -533,10 +534,11 @@ msgid "" "iterator. Its :c:member:`~PyTypeObject.tp_iternext` handler should return a " "new reference to the next object in the iteration, if there is one. If the " "iteration has reached the end, :c:member:`~PyTypeObject.tp_iternext` may " -"return *NULL* without setting an exception, or it may set :exc:" -"`StopIteration` *in addition* to returning *NULL*; avoiding the exception " +"return ``NULL`` without setting an exception, or it may set :exc:" +"`StopIteration` *in addition* to returning ``NULL``; avoiding the exception " "can yield slightly better performance. If an actual error occurs, :c:member:" -"`~PyTypeObject.tp_iternext` should always set an exception and return *NULL*." +"`~PyTypeObject.tp_iternext` should always set an exception and return " +"``NULL``." msgstr "" #: ../Doc/extending/newtypes.rst:547 @@ -564,7 +566,7 @@ msgstr "" msgid "" "Include a :c:type:`PyObject\\*` field in the C object structure dedicated to " "the weak reference mechanism. The object's constructor should leave it " -"*NULL* (which is automatic when using the default :c:member:`~PyTypeObject." +"``NULL`` (which is automatic when using the default :c:member:`~PyTypeObject." "tp_alloc`)." msgstr "" @@ -589,7 +591,7 @@ msgstr "" msgid "" "The only further addition is that ``tp_dealloc`` needs to clear any weak " "references (by calling :c:func:`PyObject_ClearWeakRefs`) if the field is non-" -"*NULL*::" +"``NULL``::" msgstr "" #: ../Doc/extending/newtypes.rst:599 diff --git a/extending/newtypes_tutorial.po b/extending/newtypes_tutorial.po index dcbea1cd..4b203a2a 100644 --- a/extending/newtypes_tutorial.po +++ b/extending/newtypes_tutorial.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-06-17 10:15+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -216,7 +216,7 @@ msgstr "" msgid "" "This initializes the :class:`Custom` type, filling in a number of members to " "the appropriate default values, including :attr:`ob_type` that we initially " -"set to *NULL*. ::" +"set to ``NULL``. ::" msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:189 @@ -312,12 +312,12 @@ msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:276 msgid "" "This method first clears the reference counts of the two Python attributes. :" -"c:func:`Py_XDECREF` correctly handles the case where its argument is *NULL* " -"(which might happen here if ``tp_new`` failed midway). It then calls the :c:" -"member:`~PyTypeObject.tp_free` member of the object's type (computed by " -"``Py_TYPE(self)``) to free the object's memory. Note that the object's type " -"might not be :class:`CustomType`, because the object may be an instance of a " -"subclass." +"c:func:`Py_XDECREF` correctly handles the case where its argument is " +"``NULL`` (which might happen here if ``tp_new`` failed midway). It then " +"calls the :c:member:`~PyTypeObject.tp_free` member of the object's type " +"(computed by ``Py_TYPE(self)``) to free the object's memory. Note that the " +"object's type might not be :class:`CustomType`, because the object may be an " +"instance of a subclass." msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:285 @@ -347,7 +347,7 @@ msgid "" "indeed many extension types will simply reuse :c:func:`PyType_GenericNew` as " "done in the first version of the ``Custom`` type above. In this case, we " "use the ``tp_new`` handler to initialize the ``first`` and ``last`` " -"attributes to non-*NULL* default values." +"attributes to non-``NULL`` default values." msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:327 @@ -375,7 +375,7 @@ msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:343 msgid "" "Since memory allocation may fail, we must check the :c:member:`~PyTypeObject." -"tp_alloc` result against *NULL* before proceeding." +"tp_alloc` result against ``NULL`` before proceeding." msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:347 @@ -486,8 +486,8 @@ msgid "" "the types of objects that can be assigned to the Python attributes. We " "expect the first and last names to be strings, but any Python objects can be " "assigned. Further, the attributes can be deleted, setting the C pointers to " -"*NULL*. Even though we can make sure the members are initialized to non-" -"*NULL* values, the members can be set to *NULL* if the attributes are " +"``NULL``. Even though we can make sure the members are initialized to non-" +"``NULL`` values, the members can be set to ``NULL`` if the attributes are " "deleted." msgstr "" @@ -510,8 +510,8 @@ msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:491 msgid "" "Note that we have to check for the possibility that our :attr:`first` and :" -"attr:`last` members are *NULL*. This is because they can be deleted, in " -"which case they are set to *NULL*. It would be better to prevent deletion " +"attr:`last` members are ``NULL``. This is because they can be deleted, in " +"which case they are set to ``NULL``. It would be better to prevent deletion " "of these attributes and to restrict the attribute values to be strings. " "We'll see how to do that in the next section." msgstr "" @@ -584,7 +584,7 @@ msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:586 msgid "" "The setter function is passed the :class:`Custom` object, the new value, and " -"the closure. The new value may be *NULL*, in which case the attribute is " +"the closure. The new value may be ``NULL``, in which case the attribute is " "being deleted. In our setter, we raise an error if the attribute is deleted " "or if its new value is not a string." msgstr "" @@ -601,7 +601,7 @@ msgstr "" msgid "" "The last item in a :c:type:`PyGetSetDef` structure is the \"closure\" " "mentioned above. In this case, we aren't using a closure, so we just pass " -"*NULL*." +"``NULL``." msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:608 @@ -617,7 +617,7 @@ msgstr "" #: ../Doc/extending/newtypes_tutorial.rst:645 msgid "" "With these changes, we can assure that the ``first`` and ``last`` members " -"are never *NULL* so we can remove checks for *NULL* values in almost all " +"are never ``NULL`` so we can remove checks for ``NULL`` values in almost all " "cases. This means that most of the :c:func:`Py_XDECREF` calls can be " "converted to :c:func:`Py_DECREF` calls. The only place we can't change " "these calls is in the ``tp_dealloc`` implementation, where there is the " @@ -706,7 +706,7 @@ msgid "" "Notice the use of the :c:func:`Py_CLEAR` macro. It is the recommended and " "safe way to clear data attributes of arbitrary types while decrementing " "their reference counts. If you were to call :c:func:`Py_XDECREF` instead on " -"the attribute before setting it to *NULL*, there is a possibility that the " +"the attribute before setting it to ``NULL``, there is a possibility that the " "attribute's destructor would call back into code that reads the attribute " "again (*especially* if there is a reference cycle)." msgstr "" diff --git a/faq/extending.po b/faq/extending.po index 0b8a1f42..6f3fe81c 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-23 16:48+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-02-15 00:37+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -170,8 +170,9 @@ msgstr "" "c'est pourquoi il ne faut pas utiliser la fonction C :c:func:`strlen`." #: ../Doc/faq/extending.rst:92 +#, fuzzy msgid "" -"To test the type of an object, first make sure it isn't *NULL*, and then " +"To test the type of an object, first make sure it isn't ``NULL``, and then " "use :c:func:`PyBytes_Check`, :c:func:`PyTuple_Check`, :c:func:" "`PyList_Check`, etc." msgstr "" diff --git a/howto/clinic.po b/howto/clinic.po index 720545c2..7775d5ef 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-03-26 17:29+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1839,7 +1839,7 @@ msgstr "" msgid "" "None of these take parameters. For the first three, return -1 to indicate " "error. For ``DecodeFSDefault``, the return type is ``const char *``; return " -"a NULL pointer to indicate an error." +"a ``NULL`` pointer to indicate an error." msgstr "" #: ../Doc/howto/clinic.rst:1076 diff --git a/howto/functional.po b/howto/functional.po index b22fba88..e28224a2 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-10-30 00:11+0100\n" +"Last-Translator: \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" "X-Generator: Poedit 2.2.3\n" #: ../Doc/howto/functional.rst:3 diff --git a/installing/index.po b/installing/index.po index cf091289..e8e2d23f 100644 --- a/installing/index.po +++ b/installing/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-04 11:44+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -125,12 +125,13 @@ msgstr "" "paquets sous licence ouverte disponibles pour tous les utilisateurs Python." #: ../Doc/installing/index.rst:50 +#, fuzzy msgid "" "the `Python Packaging Authority `__ is the group of " "developers and documentation authors responsible for the maintenance and " "evolution of the standard packaging tools and the associated metadata and " "file format standards. They maintain a variety of tools, documentation, and " -"issue trackers on both `GitHub `__ and `BitBucket " +"issue trackers on both `GitHub `__ and `Bitbucket " "`__." msgstr "" "l'`Autorité des Paquets Python `__ est le groupe de " diff --git a/library/argparse.po b/library/argparse.po index de858586..6b40b571 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-28 23:47+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -703,7 +703,7 @@ msgid "" "list. Example usage::" msgstr "" -#: ../Doc/library/argparse.rst:813 +#: ../Doc/library/argparse.rst:815 msgid "" "You may also specify an arbitrary action by passing an Action subclass or " "other object that implements the same interface. The recommended way to do " @@ -711,19 +711,19 @@ msgid "" "optionally the ``__init__`` method." msgstr "" -#: ../Doc/library/argparse.rst:818 +#: ../Doc/library/argparse.rst:820 msgid "An example of a custom action::" msgstr "Un exemple d'action personnalisée ::" -#: ../Doc/library/argparse.rst:838 +#: ../Doc/library/argparse.rst:840 msgid "For more details, see :class:`Action`." msgstr "Pour plus d'information, voir :class:`Action`." -#: ../Doc/library/argparse.rst:841 +#: ../Doc/library/argparse.rst:843 msgid "nargs" msgstr "nargs" -#: ../Doc/library/argparse.rst:843 +#: ../Doc/library/argparse.rst:845 msgid "" "ArgumentParser objects usually associate a single command-line argument with " "a single action to be taken. The ``nargs`` keyword argument associates a " @@ -731,19 +731,19 @@ msgid "" "supported values are:" msgstr "" -#: ../Doc/library/argparse.rst:848 +#: ../Doc/library/argparse.rst:850 msgid "" "``N`` (an integer). ``N`` arguments from the command line will be gathered " "together into a list. For example::" msgstr "" -#: ../Doc/library/argparse.rst:857 +#: ../Doc/library/argparse.rst:859 msgid "" "Note that ``nargs=1`` produces a list of one item. This is different from " "the default, in which the item is produced by itself." msgstr "" -#: ../Doc/library/argparse.rst:862 +#: ../Doc/library/argparse.rst:864 msgid "" "``'?'``. One argument will be consumed from the command line if possible, " "and produced as a single item. If no command-line argument is present, the " @@ -753,13 +753,13 @@ msgid "" "produced. Some examples to illustrate this::" msgstr "" -#: ../Doc/library/argparse.rst:879 +#: ../Doc/library/argparse.rst:881 msgid "" "One of the more common uses of ``nargs='?'`` is to allow optional input and " "output files::" msgstr "" -#: ../Doc/library/argparse.rst:896 +#: ../Doc/library/argparse.rst:898 msgid "" "``'*'``. All command-line arguments present are gathered into a list. Note " "that it generally doesn't make much sense to have more than one positional " @@ -767,21 +767,21 @@ msgid "" "``nargs='*'`` is possible. For example::" msgstr "" -#: ../Doc/library/argparse.rst:910 +#: ../Doc/library/argparse.rst:912 msgid "" "``'+'``. Just like ``'*'``, all command-line args present are gathered into " "a list. Additionally, an error message will be generated if there wasn't at " "least one command-line argument present. For example::" msgstr "" -#: ../Doc/library/argparse.rst:924 +#: ../Doc/library/argparse.rst:926 msgid "" "``argparse.REMAINDER``. All the remaining command-line arguments are " "gathered into a list. This is commonly useful for command line utilities " "that dispatch to other command line utilities::" msgstr "" -#: ../Doc/library/argparse.rst:935 +#: ../Doc/library/argparse.rst:937 msgid "" "If the ``nargs`` keyword argument is not provided, the number of arguments " "consumed is determined by the action_. Generally this means a single " @@ -789,11 +789,11 @@ msgid "" "be produced." msgstr "" -#: ../Doc/library/argparse.rst:941 +#: ../Doc/library/argparse.rst:943 msgid "const" msgstr "const" -#: ../Doc/library/argparse.rst:943 +#: ../Doc/library/argparse.rst:945 msgid "" "The ``const`` argument of :meth:`~ArgumentParser.add_argument` is used to " "hold constant values that are not read from the command line but are " @@ -801,7 +801,7 @@ msgid "" "common uses of it are:" msgstr "" -#: ../Doc/library/argparse.rst:947 +#: ../Doc/library/argparse.rst:949 msgid "" "When :meth:`~ArgumentParser.add_argument` is called with " "``action='store_const'`` or ``action='append_const'``. These actions add " @@ -809,7 +809,7 @@ msgid "" "`~ArgumentParser.parse_args`. See the action_ description for examples." msgstr "" -#: ../Doc/library/argparse.rst:952 +#: ../Doc/library/argparse.rst:954 msgid "" "When :meth:`~ArgumentParser.add_argument` is called with option strings " "(like ``-f`` or ``--foo``) and ``nargs='?'``. This creates an optional " @@ -819,17 +819,17 @@ msgid "" "instead. See the nargs_ description for examples." msgstr "" -#: ../Doc/library/argparse.rst:959 +#: ../Doc/library/argparse.rst:961 msgid "" "With the ``'store_const'`` and ``'append_const'`` actions, the ``const`` " "keyword argument must be given. For other actions, it defaults to ``None``." msgstr "" -#: ../Doc/library/argparse.rst:964 +#: ../Doc/library/argparse.rst:966 msgid "default" msgstr "default" -#: ../Doc/library/argparse.rst:966 +#: ../Doc/library/argparse.rst:968 msgid "" "All optional arguments and some positional arguments may be omitted at the " "command line. The ``default`` keyword argument of :meth:`~ArgumentParser." @@ -839,7 +839,7 @@ msgid "" "command line::" msgstr "" -#: ../Doc/library/argparse.rst:980 +#: ../Doc/library/argparse.rst:982 msgid "" "If the ``default`` value is a string, the parser parses the value as if it " "were a command-line argument. In particular, the parser applies any type_ " @@ -847,23 +847,23 @@ msgid "" "`Namespace` return value. Otherwise, the parser uses the value as is::" msgstr "" -#: ../Doc/library/argparse.rst:991 +#: ../Doc/library/argparse.rst:993 msgid "" "For positional arguments with nargs_ equal to ``?`` or ``*``, the " "``default`` value is used when no command-line argument was present::" msgstr "" -#: ../Doc/library/argparse.rst:1002 +#: ../Doc/library/argparse.rst:1004 msgid "" "Providing ``default=argparse.SUPPRESS`` causes no attribute to be added if " "the command-line argument was not present::" msgstr "" -#: ../Doc/library/argparse.rst:1014 +#: ../Doc/library/argparse.rst:1016 msgid "type" msgstr "type" -#: ../Doc/library/argparse.rst:1016 +#: ../Doc/library/argparse.rst:1018 msgid "" "By default, :class:`ArgumentParser` objects read command-line arguments in " "as simple strings. However, quite often the command-line string should " @@ -874,13 +874,13 @@ msgid "" "value of the ``type`` argument::" msgstr "" -#: ../Doc/library/argparse.rst:1029 +#: ../Doc/library/argparse.rst:1031 msgid "" "See the section on the default_ keyword argument for information on when the " "``type`` argument is applied to default arguments." msgstr "" -#: ../Doc/library/argparse.rst:1032 +#: ../Doc/library/argparse.rst:1034 msgid "" "To ease the use of various types of files, the argparse module provides the " "factory FileType which takes the ``mode=``, ``bufsize=``, ``encoding=`` and " @@ -888,27 +888,27 @@ msgid "" "``FileType('w')`` can be used to create a writable file::" msgstr "" -#: ../Doc/library/argparse.rst:1042 +#: ../Doc/library/argparse.rst:1044 msgid "" "``type=`` can take any callable that takes a single string argument and " "returns the converted value::" msgstr "" -#: ../Doc/library/argparse.rst:1061 +#: ../Doc/library/argparse.rst:1063 msgid "" "The choices_ keyword argument may be more convenient for type checkers that " "simply check against a range of values::" msgstr "" -#: ../Doc/library/argparse.rst:1072 +#: ../Doc/library/argparse.rst:1074 msgid "See the choices_ section for more details." msgstr "Voir la section choices_ pour plus de détails." -#: ../Doc/library/argparse.rst:1076 +#: ../Doc/library/argparse.rst:1078 msgid "choices" msgstr "choices" -#: ../Doc/library/argparse.rst:1078 +#: ../Doc/library/argparse.rst:1080 msgid "" "Some command-line arguments should be selected from a restricted set of " "values. These can be handled by passing a container object as the *choices* " @@ -917,24 +917,24 @@ msgid "" "be displayed if the argument was not one of the acceptable values::" msgstr "" -#: ../Doc/library/argparse.rst:1093 +#: ../Doc/library/argparse.rst:1095 msgid "" "Note that inclusion in the *choices* container is checked after any type_ " "conversions have been performed, so the type of the objects in the *choices* " "container should match the type_ specified::" msgstr "" -#: ../Doc/library/argparse.rst:1105 +#: ../Doc/library/argparse.rst:1107 msgid "" "Any container can be passed as the *choices* value, so :class:`list` " "objects, :class:`set` objects, and custom containers are all supported." msgstr "" -#: ../Doc/library/argparse.rst:1110 +#: ../Doc/library/argparse.rst:1112 msgid "required" msgstr "required" -#: ../Doc/library/argparse.rst:1112 +#: ../Doc/library/argparse.rst:1114 msgid "" "In general, the :mod:`argparse` module assumes that flags like ``-f`` and " "``--bar`` indicate *optional* arguments, which can always be omitted at the " @@ -942,24 +942,24 @@ msgid "" "the ``required=`` keyword argument to :meth:`~ArgumentParser.add_argument`::" msgstr "" -#: ../Doc/library/argparse.rst:1125 +#: ../Doc/library/argparse.rst:1127 msgid "" "As the example shows, if an option is marked as ``required``, :meth:" "`~ArgumentParser.parse_args` will report an error if that option is not " "present at the command line." msgstr "" -#: ../Doc/library/argparse.rst:1131 +#: ../Doc/library/argparse.rst:1133 msgid "" "Required options are generally considered bad form because users expect " "*options* to be *optional*, and thus they should be avoided when possible." msgstr "" -#: ../Doc/library/argparse.rst:1136 +#: ../Doc/library/argparse.rst:1138 msgid "help" msgstr "help" -#: ../Doc/library/argparse.rst:1138 +#: ../Doc/library/argparse.rst:1140 msgid "" "The ``help`` value is a string containing a brief description of the " "argument. When a user requests help (usually by using ``-h`` or ``--help`` " @@ -967,7 +967,7 @@ msgid "" "each argument::" msgstr "" -#: ../Doc/library/argparse.rst:1158 +#: ../Doc/library/argparse.rst:1160 msgid "" "The ``help`` strings can include various format specifiers to avoid " "repetition of things like the program name or the argument default_. The " @@ -976,23 +976,23 @@ msgid "" "%(type)s``, etc.::" msgstr "" -#: ../Doc/library/argparse.rst:1175 +#: ../Doc/library/argparse.rst:1177 msgid "" "As the help string supports %-formatting, if you want a literal ``%`` to " "appear in the help string, you must escape it as ``%%``." msgstr "" -#: ../Doc/library/argparse.rst:1178 +#: ../Doc/library/argparse.rst:1180 msgid "" ":mod:`argparse` supports silencing the help entry for certain options, by " "setting the ``help`` value to ``argparse.SUPPRESS``::" msgstr "" -#: ../Doc/library/argparse.rst:1191 +#: ../Doc/library/argparse.rst:1193 msgid "metavar" msgstr "metavar" -#: ../Doc/library/argparse.rst:1193 +#: ../Doc/library/argparse.rst:1195 msgid "" "When :class:`ArgumentParser` generates help messages, it needs some way to " "refer to each expected argument. By default, ArgumentParser objects use the " @@ -1004,29 +1004,29 @@ msgid "" "argument will be referred to as ``FOO``. An example::" msgstr "" -#: ../Doc/library/argparse.rst:1217 +#: ../Doc/library/argparse.rst:1219 msgid "An alternative name can be specified with ``metavar``::" msgstr "" -#: ../Doc/library/argparse.rst:1234 +#: ../Doc/library/argparse.rst:1236 msgid "" "Note that ``metavar`` only changes the *displayed* name - the name of the " "attribute on the :meth:`~ArgumentParser.parse_args` object is still " "determined by the dest_ value." msgstr "" -#: ../Doc/library/argparse.rst:1238 +#: ../Doc/library/argparse.rst:1240 msgid "" "Different values of ``nargs`` may cause the metavar to be used multiple " "times. Providing a tuple to ``metavar`` specifies a different display for " "each of the arguments::" msgstr "" -#: ../Doc/library/argparse.rst:1255 +#: ../Doc/library/argparse.rst:1257 msgid "dest" msgstr "dest" -#: ../Doc/library/argparse.rst:1257 +#: ../Doc/library/argparse.rst:1259 msgid "" "Most :class:`ArgumentParser` actions add some value as an attribute of the " "object returned by :meth:`~ArgumentParser.parse_args`. The name of this " @@ -1036,7 +1036,7 @@ msgid "" "add_argument`::" msgstr "" -#: ../Doc/library/argparse.rst:1269 +#: ../Doc/library/argparse.rst:1271 msgid "" "For optional argument actions, the value of ``dest`` is normally inferred " "from the option strings. :class:`ArgumentParser` generates the value of " @@ -1048,22 +1048,22 @@ msgid "" "below illustrate this behavior::" msgstr "" -#: ../Doc/library/argparse.rst:1286 +#: ../Doc/library/argparse.rst:1288 msgid "``dest`` allows a custom attribute name to be provided::" msgstr "" -#: ../Doc/library/argparse.rst:1294 +#: ../Doc/library/argparse.rst:1296 msgid "Action classes" msgstr "Classes Action" -#: ../Doc/library/argparse.rst:1296 +#: ../Doc/library/argparse.rst:1298 msgid "" "Action classes implement the Action API, a callable which returns a callable " "which processes arguments from the command-line. Any object which follows " "this API may be passed as the ``action`` parameter to :meth:`add_argument`." msgstr "" -#: ../Doc/library/argparse.rst:1305 +#: ../Doc/library/argparse.rst:1307 msgid "" "Action objects are used by an ArgumentParser to represent the information " "needed to parse a single argument from one or more strings from the command " @@ -1072,7 +1072,7 @@ msgid "" "the ``action`` itself." msgstr "" -#: ../Doc/library/argparse.rst:1311 +#: ../Doc/library/argparse.rst:1313 msgid "" "Instances of Action (or return value of any callable to the ``action`` " "parameter) should have attributes \"dest\", \"option_strings\", \"default\", " @@ -1080,107 +1080,107 @@ msgid "" "these attributes are defined is to call ``Action.__init__``." msgstr "" -#: ../Doc/library/argparse.rst:1316 +#: ../Doc/library/argparse.rst:1318 msgid "" "Action instances should be callable, so subclasses must override the " "``__call__`` method, which should accept four parameters:" msgstr "" -#: ../Doc/library/argparse.rst:1319 +#: ../Doc/library/argparse.rst:1321 msgid "``parser`` - The ArgumentParser object which contains this action." msgstr "" -#: ../Doc/library/argparse.rst:1321 +#: ../Doc/library/argparse.rst:1323 msgid "" "``namespace`` - The :class:`Namespace` object that will be returned by :meth:" "`~ArgumentParser.parse_args`. Most actions add an attribute to this object " "using :func:`setattr`." msgstr "" -#: ../Doc/library/argparse.rst:1325 +#: ../Doc/library/argparse.rst:1327 msgid "" "``values`` - The associated command-line arguments, with any type " "conversions applied. Type conversions are specified with the type_ keyword " "argument to :meth:`~ArgumentParser.add_argument`." msgstr "" -#: ../Doc/library/argparse.rst:1329 +#: ../Doc/library/argparse.rst:1331 msgid "" "``option_string`` - The option string that was used to invoke this action. " "The ``option_string`` argument is optional, and will be absent if the action " "is associated with a positional argument." msgstr "" -#: ../Doc/library/argparse.rst:1333 +#: ../Doc/library/argparse.rst:1335 msgid "" "The ``__call__`` method may perform arbitrary actions, but will typically " "set attributes on the ``namespace`` based on ``dest`` and ``values``." msgstr "" -#: ../Doc/library/argparse.rst:1338 +#: ../Doc/library/argparse.rst:1340 msgid "The parse_args() method" msgstr "La méthode *parse_args()*" -#: ../Doc/library/argparse.rst:1342 +#: ../Doc/library/argparse.rst:1344 msgid "" "Convert argument strings to objects and assign them as attributes of the " "namespace. Return the populated namespace." msgstr "" -#: ../Doc/library/argparse.rst:1345 +#: ../Doc/library/argparse.rst:1347 msgid "" "Previous calls to :meth:`add_argument` determine exactly what objects are " "created and how they are assigned. See the documentation for :meth:" "`add_argument` for details." msgstr "" -#: ../Doc/library/argparse.rst:1349 +#: ../Doc/library/argparse.rst:1351 msgid "" "args_ - List of strings to parse. The default is taken from :data:`sys." "argv`." msgstr "" -#: ../Doc/library/argparse.rst:1352 +#: ../Doc/library/argparse.rst:1354 msgid "" "namespace_ - An object to take the attributes. The default is a new empty :" "class:`Namespace` object." msgstr "" -#: ../Doc/library/argparse.rst:1357 +#: ../Doc/library/argparse.rst:1359 msgid "Option value syntax" msgstr "" -#: ../Doc/library/argparse.rst:1359 +#: ../Doc/library/argparse.rst:1361 msgid "" "The :meth:`~ArgumentParser.parse_args` method supports several ways of " "specifying the value of an option (if it takes one). In the simplest case, " "the option and its value are passed as two separate arguments::" msgstr "" -#: ../Doc/library/argparse.rst:1371 +#: ../Doc/library/argparse.rst:1373 msgid "" "For long options (options with names longer than a single character), the " "option and value can also be passed as a single command-line argument, using " "``=`` to separate them::" msgstr "" -#: ../Doc/library/argparse.rst:1378 +#: ../Doc/library/argparse.rst:1380 msgid "" "For short options (options only one character long), the option and its " "value can be concatenated::" msgstr "" -#: ../Doc/library/argparse.rst:1384 +#: ../Doc/library/argparse.rst:1386 msgid "" "Several short options can be joined together, using only a single ``-`` " "prefix, as long as only the last option (or none of them) requires a value::" msgstr "" -#: ../Doc/library/argparse.rst:1396 +#: ../Doc/library/argparse.rst:1398 msgid "Invalid arguments" msgstr "Arguments invalides" -#: ../Doc/library/argparse.rst:1398 +#: ../Doc/library/argparse.rst:1400 msgid "" "While parsing the command line, :meth:`~ArgumentParser.parse_args` checks " "for a variety of errors, including ambiguous options, invalid types, invalid " @@ -1188,11 +1188,11 @@ msgid "" "an error, it exits and prints the error along with a usage message::" msgstr "" -#: ../Doc/library/argparse.rst:1424 +#: ../Doc/library/argparse.rst:1426 msgid "Arguments containing ``-``" msgstr "Arguments contenant ``-``" -#: ../Doc/library/argparse.rst:1426 +#: ../Doc/library/argparse.rst:1428 msgid "" "The :meth:`~ArgumentParser.parse_args` method attempts to give errors " "whenever the user has clearly made a mistake, but some situations are " @@ -1204,7 +1204,7 @@ msgid "" "negative numbers::" msgstr "" -#: ../Doc/library/argparse.rst:1464 +#: ../Doc/library/argparse.rst:1466 msgid "" "If you have positional arguments that must begin with ``-`` and don't look " "like negative numbers, you can insert the pseudo-argument ``'--'`` which " @@ -1212,28 +1212,28 @@ msgid "" "positional argument::" msgstr "" -#: ../Doc/library/argparse.rst:1475 +#: ../Doc/library/argparse.rst:1477 msgid "Argument abbreviations (prefix matching)" msgstr "Arguments abrégés (Part comparaison de leur préfixes)" -#: ../Doc/library/argparse.rst:1477 +#: ../Doc/library/argparse.rst:1479 msgid "" "The :meth:`~ArgumentParser.parse_args` method :ref:`by default " "` allows long options to be abbreviated to a prefix, if the " "abbreviation is unambiguous (the prefix matches a unique option)::" msgstr "" -#: ../Doc/library/argparse.rst:1492 +#: ../Doc/library/argparse.rst:1494 msgid "" "An error is produced for arguments that could produce more than one options. " "This feature can be disabled by setting :ref:`allow_abbrev` to ``False``." msgstr "" -#: ../Doc/library/argparse.rst:1498 +#: ../Doc/library/argparse.rst:1500 msgid "Beyond ``sys.argv``" msgstr "Au delà de ``sys.argv``" -#: ../Doc/library/argparse.rst:1500 +#: ../Doc/library/argparse.rst:1502 msgid "" "Sometimes it may be useful to have an ArgumentParser parse arguments other " "than those of :data:`sys.argv`. This can be accomplished by passing a list " @@ -1241,39 +1241,39 @@ msgid "" "testing at the interactive prompt::" msgstr "" -#: ../Doc/library/argparse.rst:1520 +#: ../Doc/library/argparse.rst:1522 msgid "The Namespace object" msgstr "L'objet namespace" -#: ../Doc/library/argparse.rst:1524 +#: ../Doc/library/argparse.rst:1526 msgid "" "Simple class used by default by :meth:`~ArgumentParser.parse_args` to create " "an object holding attributes and return it." msgstr "" -#: ../Doc/library/argparse.rst:1527 +#: ../Doc/library/argparse.rst:1529 msgid "" "This class is deliberately simple, just an :class:`object` subclass with a " "readable string representation. If you prefer to have dict-like view of the " "attributes, you can use the standard Python idiom, :func:`vars`::" msgstr "" -#: ../Doc/library/argparse.rst:1537 +#: ../Doc/library/argparse.rst:1539 msgid "" "It may also be useful to have an :class:`ArgumentParser` assign attributes " "to an already existing object, rather than a new :class:`Namespace` object. " "This can be achieved by specifying the ``namespace=`` keyword argument::" msgstr "" -#: ../Doc/library/argparse.rst:1553 +#: ../Doc/library/argparse.rst:1555 msgid "Other utilities" msgstr "Autres outils" -#: ../Doc/library/argparse.rst:1556 +#: ../Doc/library/argparse.rst:1558 msgid "Sub-commands" msgstr "Sous commandes" -#: ../Doc/library/argparse.rst:1563 +#: ../Doc/library/argparse.rst:1565 msgid "" "Many programs split up their functionality into a number of sub-commands, " "for example, the ``svn`` program can invoke sub-commands like ``svn " @@ -1289,69 +1289,69 @@ msgid "" "can be modified as usual." msgstr "" -#: ../Doc/library/argparse.rst:1575 +#: ../Doc/library/argparse.rst:1577 msgid "Description of parameters:" msgstr "Description des paramètres" -#: ../Doc/library/argparse.rst:1577 +#: ../Doc/library/argparse.rst:1579 msgid "" "title - title for the sub-parser group in help output; by default " "\"subcommands\" if description is provided, otherwise uses title for " "positional arguments" msgstr "" -#: ../Doc/library/argparse.rst:1581 +#: ../Doc/library/argparse.rst:1583 msgid "" "description - description for the sub-parser group in help output, by " "default ``None``" msgstr "" -#: ../Doc/library/argparse.rst:1584 +#: ../Doc/library/argparse.rst:1586 msgid "" "prog - usage information that will be displayed with sub-command help, by " "default the name of the program and any positional arguments before the " "subparser argument" msgstr "" -#: ../Doc/library/argparse.rst:1588 +#: ../Doc/library/argparse.rst:1590 msgid "" "parser_class - class which will be used to create sub-parser instances, by " "default the class of the current parser (e.g. ArgumentParser)" msgstr "" -#: ../Doc/library/argparse.rst:1591 +#: ../Doc/library/argparse.rst:1593 msgid "" "action_ - the basic type of action to be taken when this argument is " "encountered at the command line" msgstr "" -#: ../Doc/library/argparse.rst:1594 +#: ../Doc/library/argparse.rst:1596 msgid "" "dest_ - name of the attribute under which sub-command name will be stored; " "by default ``None`` and no value is stored" msgstr "" -#: ../Doc/library/argparse.rst:1597 +#: ../Doc/library/argparse.rst:1599 msgid "" "required_ - Whether or not a subcommand must be provided, by default " "``False`` (added in 3.7)" msgstr "" -#: ../Doc/library/argparse.rst:1600 +#: ../Doc/library/argparse.rst:1602 msgid "help_ - help for sub-parser group in help output, by default ``None``" msgstr "" -#: ../Doc/library/argparse.rst:1602 +#: ../Doc/library/argparse.rst:1604 msgid "" "metavar_ - string presenting available sub-commands in help; by default it " "is ``None`` and presents sub-commands in form {cmd1, cmd2, ..}" msgstr "" -#: ../Doc/library/argparse.rst:1605 +#: ../Doc/library/argparse.rst:1607 msgid "Some example usage::" msgstr "Quelques exemples d'utilisation ::" -#: ../Doc/library/argparse.rst:1626 +#: ../Doc/library/argparse.rst:1628 msgid "" "Note that the object returned by :meth:`parse_args` will only contain " "attributes for the main parser and the subparser that was selected by the " @@ -1361,7 +1361,7 @@ msgid "" "``baz`` attributes are present." msgstr "" -#: ../Doc/library/argparse.rst:1633 +#: ../Doc/library/argparse.rst:1635 msgid "" "Similarly, when a help message is requested from a subparser, only the help " "for that particular parser will be printed. The help message will not " @@ -1370,21 +1370,21 @@ msgid "" "to :meth:`add_parser` as above.)" msgstr "" -#: ../Doc/library/argparse.rst:1669 +#: ../Doc/library/argparse.rst:1671 msgid "" "The :meth:`add_subparsers` method also supports ``title`` and " "``description`` keyword arguments. When either is present, the subparser's " "commands will appear in their own group in the help output. For example::" msgstr "" -#: ../Doc/library/argparse.rst:1690 +#: ../Doc/library/argparse.rst:1692 msgid "" "Furthermore, ``add_parser`` supports an additional ``aliases`` argument, " "which allows multiple strings to refer to the same subparser. This example, " "like ``svn``, aliases ``co`` as a shorthand for ``checkout``::" msgstr "" -#: ../Doc/library/argparse.rst:1701 +#: ../Doc/library/argparse.rst:1703 msgid "" "One particularly effective way of handling sub-commands is to combine the " "use of the :meth:`add_subparsers` method with calls to :meth:`set_defaults` " @@ -1392,7 +1392,7 @@ msgid "" "example::" msgstr "" -#: ../Doc/library/argparse.rst:1738 +#: ../Doc/library/argparse.rst:1740 msgid "" "This way, you can let :meth:`parse_args` do the job of calling the " "appropriate function after argument parsing is complete. Associating " @@ -1402,16 +1402,16 @@ msgid "" "argument to the :meth:`add_subparsers` call will work::" msgstr "" -#: ../Doc/library/argparse.rst:1754 +#: ../Doc/library/argparse.rst:1756 #, fuzzy msgid "New *required* keyword argument." msgstr "Les arguments nommés ``encodings`` et ``errors``." -#: ../Doc/library/argparse.rst:1759 +#: ../Doc/library/argparse.rst:1761 msgid "FileType objects" msgstr "Objets ``FileType``" -#: ../Doc/library/argparse.rst:1763 +#: ../Doc/library/argparse.rst:1765 msgid "" "The :class:`FileType` factory creates objects that can be passed to the type " "argument of :meth:`ArgumentParser.add_argument`. Arguments that have :class:" @@ -1420,22 +1420,22 @@ msgid "" "the :func:`open` function for more details)::" msgstr "" -#: ../Doc/library/argparse.rst:1775 +#: ../Doc/library/argparse.rst:1777 msgid "" "FileType objects understand the pseudo-argument ``'-'`` and automatically " "convert this into ``sys.stdin`` for readable :class:`FileType` objects and " "``sys.stdout`` for writable :class:`FileType` objects::" msgstr "" -#: ../Doc/library/argparse.rst:1784 +#: ../Doc/library/argparse.rst:1786 msgid "The *encodings* and *errors* keyword arguments." msgstr "Les arguments nommés ``encodings`` et ``errors``." -#: ../Doc/library/argparse.rst:1789 +#: ../Doc/library/argparse.rst:1791 msgid "Argument groups" msgstr "Groupes d'arguments" -#: ../Doc/library/argparse.rst:1793 +#: ../Doc/library/argparse.rst:1795 msgid "" "By default, :class:`ArgumentParser` groups command-line arguments into " "\"positional arguments\" and \"optional arguments\" when displaying help " @@ -1444,7 +1444,7 @@ msgid "" "`add_argument_group` method::" msgstr "" -#: ../Doc/library/argparse.rst:1810 +#: ../Doc/library/argparse.rst:1812 msgid "" "The :meth:`add_argument_group` method returns an argument group object which " "has an :meth:`~ArgumentParser.add_argument` method just like a regular :" @@ -1455,42 +1455,42 @@ msgid "" "this display::" msgstr "" -#: ../Doc/library/argparse.rst:1836 +#: ../Doc/library/argparse.rst:1838 msgid "" "Note that any arguments not in your user-defined groups will end up back in " "the usual \"positional arguments\" and \"optional arguments\" sections." msgstr "" -#: ../Doc/library/argparse.rst:1841 +#: ../Doc/library/argparse.rst:1843 msgid "Mutual exclusion" msgstr "Exclusion mutuelle" -#: ../Doc/library/argparse.rst:1845 +#: ../Doc/library/argparse.rst:1847 msgid "" "Create a mutually exclusive group. :mod:`argparse` will make sure that only " "one of the arguments in the mutually exclusive group was present on the " "command line::" msgstr "" -#: ../Doc/library/argparse.rst:1861 +#: ../Doc/library/argparse.rst:1863 msgid "" "The :meth:`add_mutually_exclusive_group` method also accepts a *required* " "argument, to indicate that at least one of the mutually exclusive arguments " "is required::" msgstr "" -#: ../Doc/library/argparse.rst:1873 +#: ../Doc/library/argparse.rst:1875 msgid "" "Note that currently mutually exclusive argument groups do not support the " "*title* and *description* arguments of :meth:`~ArgumentParser." "add_argument_group`." msgstr "" -#: ../Doc/library/argparse.rst:1879 +#: ../Doc/library/argparse.rst:1881 msgid "Parser defaults" msgstr "Valeurs par défaut de l'analyseur" -#: ../Doc/library/argparse.rst:1883 +#: ../Doc/library/argparse.rst:1885 msgid "" "Most of the time, the attributes of the object returned by :meth:" "`parse_args` will be fully determined by inspecting the command-line " @@ -1499,72 +1499,72 @@ msgid "" "command line to be added::" msgstr "" -#: ../Doc/library/argparse.rst:1895 +#: ../Doc/library/argparse.rst:1897 msgid "" "Note that parser-level defaults always override argument-level defaults::" msgstr "" -#: ../Doc/library/argparse.rst:1903 +#: ../Doc/library/argparse.rst:1905 msgid "" "Parser-level defaults can be particularly useful when working with multiple " "parsers. See the :meth:`~ArgumentParser.add_subparsers` method for an " "example of this type." msgstr "" -#: ../Doc/library/argparse.rst:1909 +#: ../Doc/library/argparse.rst:1911 msgid "" "Get the default value for a namespace attribute, as set by either :meth:" "`~ArgumentParser.add_argument` or by :meth:`~ArgumentParser.set_defaults`::" msgstr "" -#: ../Doc/library/argparse.rst:1920 +#: ../Doc/library/argparse.rst:1922 msgid "Printing help" msgstr "Afficher l'aide" -#: ../Doc/library/argparse.rst:1922 +#: ../Doc/library/argparse.rst:1924 msgid "" "In most typical applications, :meth:`~ArgumentParser.parse_args` will take " "care of formatting and printing any usage or error messages. However, " "several formatting methods are available:" msgstr "" -#: ../Doc/library/argparse.rst:1928 +#: ../Doc/library/argparse.rst:1930 msgid "" "Print a brief description of how the :class:`ArgumentParser` should be " "invoked on the command line. If *file* is ``None``, :data:`sys.stdout` is " "assumed." msgstr "" -#: ../Doc/library/argparse.rst:1934 +#: ../Doc/library/argparse.rst:1936 msgid "" "Print a help message, including the program usage and information about the " "arguments registered with the :class:`ArgumentParser`. If *file* is " "``None``, :data:`sys.stdout` is assumed." msgstr "" -#: ../Doc/library/argparse.rst:1938 +#: ../Doc/library/argparse.rst:1940 msgid "" "There are also variants of these methods that simply return a string instead " "of printing it:" msgstr "" -#: ../Doc/library/argparse.rst:1943 +#: ../Doc/library/argparse.rst:1945 msgid "" "Return a string containing a brief description of how the :class:" "`ArgumentParser` should be invoked on the command line." msgstr "" -#: ../Doc/library/argparse.rst:1948 +#: ../Doc/library/argparse.rst:1950 msgid "" "Return a string containing a help message, including the program usage and " "information about the arguments registered with the :class:`ArgumentParser`." msgstr "" -#: ../Doc/library/argparse.rst:1953 +#: ../Doc/library/argparse.rst:1955 msgid "Partial parsing" msgstr "*Parsing* partiel" -#: ../Doc/library/argparse.rst:1957 +#: ../Doc/library/argparse.rst:1959 msgid "" "Sometimes a script may only parse a few of the command-line arguments, " "passing the remaining arguments on to another script or program. In these " @@ -1575,7 +1575,7 @@ msgid "" "remaining argument strings." msgstr "" -#: ../Doc/library/argparse.rst:1973 +#: ../Doc/library/argparse.rst:1975 msgid "" ":ref:`Prefix matching ` rules apply to :meth:" "`parse_known_args`. The parser may consume an option even if it's just a " @@ -1583,11 +1583,11 @@ msgid "" "arguments list." msgstr "" -#: ../Doc/library/argparse.rst:1980 +#: ../Doc/library/argparse.rst:1982 msgid "Customizing file parsing" msgstr "Personnaliser le *parsing* de fichiers" -#: ../Doc/library/argparse.rst:1984 +#: ../Doc/library/argparse.rst:1986 msgid "" "Arguments that are read from a file (see the *fromfile_prefix_chars* keyword " "argument to the :class:`ArgumentParser` constructor) are read one argument " @@ -1595,41 +1595,41 @@ msgid "" "reading." msgstr "" -#: ../Doc/library/argparse.rst:1989 +#: ../Doc/library/argparse.rst:1991 msgid "" "This method takes a single argument *arg_line* which is a string read from " "the argument file. It returns a list of arguments parsed from this string. " "The method is called once per line read from the argument file, in order." msgstr "" -#: ../Doc/library/argparse.rst:1993 +#: ../Doc/library/argparse.rst:1995 msgid "" "A useful override of this method is one that treats each space-separated " "word as an argument. The following example demonstrates how to do this::" msgstr "" -#: ../Doc/library/argparse.rst:2002 +#: ../Doc/library/argparse.rst:2004 msgid "Exiting methods" msgstr "" -#: ../Doc/library/argparse.rst:2006 +#: ../Doc/library/argparse.rst:2008 msgid "" "This method terminates the program, exiting with the specified *status* and, " "if given, it prints a *message* before that. The user can override this " "method to handle these steps differently::" msgstr "" -#: ../Doc/library/argparse.rst:2018 +#: ../Doc/library/argparse.rst:2020 msgid "" "This method prints a usage message including the *message* to the standard " "error and terminates the program with a status code of 2." msgstr "" -#: ../Doc/library/argparse.rst:2023 +#: ../Doc/library/argparse.rst:2025 msgid "Intermixed parsing" msgstr "Analyse entremêlée" -#: ../Doc/library/argparse.rst:2028 +#: ../Doc/library/argparse.rst:2030 msgid "" "A number of Unix commands allow the user to intermix optional arguments with " "positional arguments. The :meth:`~ArgumentParser.parse_intermixed_args` " @@ -1637,7 +1637,7 @@ msgid "" "parsing style." msgstr "" -#: ../Doc/library/argparse.rst:2033 +#: ../Doc/library/argparse.rst:2035 msgid "" "These parsers do not support all the argparse features, and will raise " "exceptions if unsupported features are used. In particular, subparsers, " @@ -1645,7 +1645,7 @@ msgid "" "optionals and positionals are not supported." msgstr "" -#: ../Doc/library/argparse.rst:2038 +#: ../Doc/library/argparse.rst:2040 msgid "" "The following example shows the difference between :meth:`~ArgumentParser." "parse_known_args` and :meth:`~ArgumentParser.parse_intermixed_args`: the " @@ -1653,7 +1653,7 @@ msgid "" "collects all the positionals into ``rest``. ::" msgstr "" -#: ../Doc/library/argparse.rst:2053 +#: ../Doc/library/argparse.rst:2055 msgid "" ":meth:`~ArgumentParser.parse_known_intermixed_args` returns a two item tuple " "containing the populated namespace and the list of remaining argument " @@ -1661,11 +1661,11 @@ msgid "" "there are any remaining unparsed argument strings." msgstr "" -#: ../Doc/library/argparse.rst:2063 +#: ../Doc/library/argparse.rst:2065 msgid "Upgrading optparse code" msgstr "Mettre à jour du code ``optparse``" -#: ../Doc/library/argparse.rst:2065 +#: ../Doc/library/argparse.rst:2067 msgid "" "Originally, the :mod:`argparse` module had attempted to maintain " "compatibility with :mod:`optparse`. However, :mod:`optparse` was difficult " @@ -1676,47 +1676,47 @@ msgid "" "compatibility." msgstr "" -#: ../Doc/library/argparse.rst:2072 +#: ../Doc/library/argparse.rst:2074 msgid "" "The :mod:`argparse` module improves on the standard library :mod:`optparse` " "module in a number of ways including:" msgstr "" -#: ../Doc/library/argparse.rst:2075 +#: ../Doc/library/argparse.rst:2077 msgid "Handling positional arguments." msgstr "Gérer les arguments positionnels." -#: ../Doc/library/argparse.rst:2076 +#: ../Doc/library/argparse.rst:2078 msgid "Supporting sub-commands." msgstr "Gérer les sous commandes." -#: ../Doc/library/argparse.rst:2077 +#: ../Doc/library/argparse.rst:2079 msgid "Allowing alternative option prefixes like ``+`` and ``/``." msgstr "" -#: ../Doc/library/argparse.rst:2078 +#: ../Doc/library/argparse.rst:2080 msgid "Handling zero-or-more and one-or-more style arguments." msgstr "" -#: ../Doc/library/argparse.rst:2079 +#: ../Doc/library/argparse.rst:2081 msgid "Producing more informative usage messages." msgstr "Fournir des message d'aide plus complets." -#: ../Doc/library/argparse.rst:2080 +#: ../Doc/library/argparse.rst:2082 msgid "Providing a much simpler interface for custom ``type`` and ``action``." msgstr "" -#: ../Doc/library/argparse.rst:2082 +#: ../Doc/library/argparse.rst:2084 msgid "A partial upgrade path from :mod:`optparse` to :mod:`argparse`:" msgstr "" -#: ../Doc/library/argparse.rst:2084 +#: ../Doc/library/argparse.rst:2086 msgid "" "Replace all :meth:`optparse.OptionParser.add_option` calls with :meth:" "`ArgumentParser.add_argument` calls." msgstr "" -#: ../Doc/library/argparse.rst:2087 +#: ../Doc/library/argparse.rst:2089 msgid "" "Replace ``(options, args) = parser.parse_args()`` with ``args = parser." "parse_args()`` and add additional :meth:`ArgumentParser.add_argument` calls " @@ -1724,39 +1724,39 @@ msgid "" "``options``, now in the :mod:`argparse` context is called ``args``." msgstr "" -#: ../Doc/library/argparse.rst:2092 +#: ../Doc/library/argparse.rst:2094 msgid "" "Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using :" "meth:`~ArgumentParser.parse_intermixed_args` instead of :meth:" "`~ArgumentParser.parse_args`." msgstr "" -#: ../Doc/library/argparse.rst:2096 +#: ../Doc/library/argparse.rst:2098 msgid "" "Replace callback actions and the ``callback_*`` keyword arguments with " "``type`` or ``action`` arguments." msgstr "" -#: ../Doc/library/argparse.rst:2099 +#: ../Doc/library/argparse.rst:2101 msgid "" "Replace string names for ``type`` keyword arguments with the corresponding " "type objects (e.g. int, float, complex, etc)." msgstr "" -#: ../Doc/library/argparse.rst:2102 +#: ../Doc/library/argparse.rst:2104 msgid "" "Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse." "OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`." msgstr "" -#: ../Doc/library/argparse.rst:2106 +#: ../Doc/library/argparse.rst:2108 msgid "" "Replace strings with implicit arguments such as ``%default`` or ``%prog`` " "with the standard Python syntax to use dictionaries to format strings, that " "is, ``%(default)s`` and ``%(prog)s``." msgstr "" -#: ../Doc/library/argparse.rst:2110 +#: ../Doc/library/argparse.rst:2112 msgid "" "Replace the OptionParser constructor ``version`` argument with a call to " "``parser.add_argument('--version', action='version', version='\n" "Language-Team: FRENCH \n" @@ -19,18 +19,24 @@ msgstr "" msgid "Event Loop" msgstr "Boucle d'évènements" -#: ../Doc/library/asyncio-eventloop.rst:10 +#: ../Doc/library/asyncio-eventloop.rst:8 +msgid "" +"**Source code:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/" +"base_events.py`" +msgstr "" + +#: ../Doc/library/asyncio-eventloop.rst:14 msgid "Preface" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:11 +#: ../Doc/library/asyncio-eventloop.rst:15 msgid "" "The event loop is the core of every asyncio application. Event loops run " "asynchronous tasks and callbacks, perform network IO operations, and run " "subprocesses." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:15 +#: ../Doc/library/asyncio-eventloop.rst:19 msgid "" "Application developers should typically use the high-level asyncio " "functions, such as :func:`asyncio.run`, and should rarely need to reference " @@ -39,132 +45,132 @@ msgid "" "control over the event loop behavior." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:22 +#: ../Doc/library/asyncio-eventloop.rst:26 msgid "Obtaining the Event Loop" msgstr "Obtenir une boucle d'évènements" -#: ../Doc/library/asyncio-eventloop.rst:23 +#: ../Doc/library/asyncio-eventloop.rst:27 msgid "" "The following low-level functions can be used to get, set, or create an " "event loop:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:28 +#: ../Doc/library/asyncio-eventloop.rst:32 msgid "Return the running event loop in the current OS thread." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:30 +#: ../Doc/library/asyncio-eventloop.rst:34 msgid "" "If there is no running event loop a :exc:`RuntimeError` is raised. This " "function can only be called from a coroutine or a callback." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:37 +#: ../Doc/library/asyncio-eventloop.rst:41 msgid "" "Get the current event loop. If there is no current event loop set in the " "current OS thread and :func:`set_event_loop` has not yet been called, " "asyncio will create a new event loop and set it as the current one." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:42 +#: ../Doc/library/asyncio-eventloop.rst:46 msgid "" "Because this function has rather complex behavior (especially when custom " "event loop policies are in use), using the :func:`get_running_loop` function " "is preferred to :func:`get_event_loop` in coroutines and callbacks." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:47 +#: ../Doc/library/asyncio-eventloop.rst:51 msgid "" "Consider also using the :func:`asyncio.run` function instead of using lower " "level functions to manually create and close an event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:52 +#: ../Doc/library/asyncio-eventloop.rst:56 msgid "Set *loop* as a current event loop for the current OS thread." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:56 +#: ../Doc/library/asyncio-eventloop.rst:60 msgid "Create a new event loop object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:58 +#: ../Doc/library/asyncio-eventloop.rst:62 msgid "" "Note that the behaviour of :func:`get_event_loop`, :func:`set_event_loop`, " "and :func:`new_event_loop` functions can be altered by :ref:`setting a " "custom event loop policy `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:64 +#: ../Doc/library/asyncio-eventloop.rst:68 msgid "Contents" msgstr "Sommaire" -#: ../Doc/library/asyncio-eventloop.rst:65 +#: ../Doc/library/asyncio-eventloop.rst:69 msgid "This documentation page contains the following sections:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:67 +#: ../Doc/library/asyncio-eventloop.rst:71 msgid "" "The `Event Loop Methods`_ section is the reference documentation of the " "event loop APIs;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:70 +#: ../Doc/library/asyncio-eventloop.rst:74 msgid "" "The `Callback Handles`_ section documents the :class:`Handle` and :class:" "`TimerHandle` instances which are returned from scheduling methods such as :" "meth:`loop.call_soon` and :meth:`loop.call_later`;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:74 +#: ../Doc/library/asyncio-eventloop.rst:78 msgid "" "The `Server Objects`_ section documents types returned from event loop " "methods like :meth:`loop.create_server`;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:77 +#: ../Doc/library/asyncio-eventloop.rst:81 msgid "" "The `Event Loop Implementations`_ section documents the :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop` classes;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:80 +#: ../Doc/library/asyncio-eventloop.rst:84 msgid "" "The `Examples`_ section showcases how to work with some event loop APIs." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:87 +#: ../Doc/library/asyncio-eventloop.rst:91 msgid "Event Loop Methods" msgstr "Méthodes de la boucle d'évènements" -#: ../Doc/library/asyncio-eventloop.rst:89 +#: ../Doc/library/asyncio-eventloop.rst:93 msgid "Event loops have **low-level** APIs for the following:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:97 +#: ../Doc/library/asyncio-eventloop.rst:101 msgid "Running and stopping the loop" msgstr "Démarrer et arrêter une boucle d'évènements" -#: ../Doc/library/asyncio-eventloop.rst:101 +#: ../Doc/library/asyncio-eventloop.rst:105 msgid "Run until the *future* (an instance of :class:`Future`) has completed." msgstr "" "Lance la boucle jusqu'à ce que *future* (une instance de :class:`Future`) " "soit terminée." -#: ../Doc/library/asyncio-eventloop.rst:104 +#: ../Doc/library/asyncio-eventloop.rst:108 msgid "" "If the argument is a :ref:`coroutine object ` it is implicitly " "scheduled to run as a :class:`asyncio.Task`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:107 +#: ../Doc/library/asyncio-eventloop.rst:111 msgid "Return the Future's result or raise its exception." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:111 +#: ../Doc/library/asyncio-eventloop.rst:115 msgid "Run the event loop until :meth:`stop` is called." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:113 +#: ../Doc/library/asyncio-eventloop.rst:117 msgid "" "If :meth:`stop` is called before :meth:`run_forever()` is called, the loop " "will poll the I/O selector once with a timeout of zero, run all callbacks " @@ -172,7 +178,7 @@ msgid "" "and then exit." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:118 +#: ../Doc/library/asyncio-eventloop.rst:122 msgid "" "If :meth:`stop` is called while :meth:`run_forever` is running, the loop " "will run the current batch of callbacks and then exit. Note that new " @@ -181,41 +187,41 @@ msgid "" "called." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:126 +#: ../Doc/library/asyncio-eventloop.rst:130 msgid "Stop the event loop." msgstr "Arrête l'exécution de la boucle d'évènements." -#: ../Doc/library/asyncio-eventloop.rst:130 +#: ../Doc/library/asyncio-eventloop.rst:134 msgid "Return ``True`` if the event loop is currently running." msgstr "Renvoie ``True`` si la boucle d'évènements est démarrée." -#: ../Doc/library/asyncio-eventloop.rst:134 +#: ../Doc/library/asyncio-eventloop.rst:138 msgid "Return ``True`` if the event loop was closed." msgstr "Renvoie ``True`` si la boucle d'évènements est arrêtée." -#: ../Doc/library/asyncio-eventloop.rst:138 +#: ../Doc/library/asyncio-eventloop.rst:142 msgid "Close the event loop." msgstr "Arrête la boucle d'évènements." -#: ../Doc/library/asyncio-eventloop.rst:140 +#: ../Doc/library/asyncio-eventloop.rst:144 msgid "" "The loop must not be running when this function is called. Any pending " "callbacks will be discarded." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:143 +#: ../Doc/library/asyncio-eventloop.rst:147 msgid "" "This method clears all queues and shuts down the executor, but does not wait " "for the executor to finish." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:146 +#: ../Doc/library/asyncio-eventloop.rst:150 msgid "" "This method is idempotent and irreversible. No other methods should be " "called after the event loop is closed." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:151 +#: ../Doc/library/asyncio-eventloop.rst:155 msgid "" "Schedule all currently open :term:`asynchronous generator` objects to close " "with an :meth:`~agen.aclose()` call. After calling this method, the event " @@ -223,59 +229,59 @@ msgid "" "should be used to reliably finalize all scheduled asynchronous generators." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:157 +#: ../Doc/library/asyncio-eventloop.rst:161 msgid "" "Note that there is no need to call this function when :func:`asyncio.run` is " "used." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:160 -#: ../Doc/library/asyncio-eventloop.rst:1030 -#: ../Doc/library/asyncio-eventloop.rst:1412 +#: ../Doc/library/asyncio-eventloop.rst:164 +#: ../Doc/library/asyncio-eventloop.rst:1034 +#: ../Doc/library/asyncio-eventloop.rst:1416 msgid "Example::" msgstr "Exemple ::" -#: ../Doc/library/asyncio-eventloop.rst:172 +#: ../Doc/library/asyncio-eventloop.rst:176 msgid "Scheduling callbacks" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:176 +#: ../Doc/library/asyncio-eventloop.rst:180 msgid "" "Schedule a *callback* to be called with *args* arguments at the next " "iteration of the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:179 +#: ../Doc/library/asyncio-eventloop.rst:183 msgid "" "Callbacks are called in the order in which they are registered. Each " "callback will be called exactly once." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:182 -#: ../Doc/library/asyncio-eventloop.rst:245 +#: ../Doc/library/asyncio-eventloop.rst:186 +#: ../Doc/library/asyncio-eventloop.rst:249 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *callback* to run in. The current " "context is used when no *context* is provided." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:186 +#: ../Doc/library/asyncio-eventloop.rst:190 msgid "" "An instance of :class:`asyncio.Handle` is returned, which can be used later " "to cancel the callback." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:189 +#: ../Doc/library/asyncio-eventloop.rst:193 msgid "This method is not thread-safe." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:193 +#: ../Doc/library/asyncio-eventloop.rst:197 msgid "" "A thread-safe variant of :meth:`call_soon`. Must be used to schedule " "callbacks *from another thread*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:196 +#: ../Doc/library/asyncio-eventloop.rst:200 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." @@ -283,143 +289,143 @@ msgstr "" "Voir la section :ref:`exécution concurrente et multi-fils d'exécution " "` de la documentation." -#: ../Doc/library/asyncio-eventloop.rst:199 -#: ../Doc/library/asyncio-eventloop.rst:249 -#: ../Doc/library/asyncio-eventloop.rst:269 +#: ../Doc/library/asyncio-eventloop.rst:203 +#: ../Doc/library/asyncio-eventloop.rst:253 +#: ../Doc/library/asyncio-eventloop.rst:273 msgid "" "The *context* keyword-only parameter was added. See :pep:`567` for more " "details." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:207 +#: ../Doc/library/asyncio-eventloop.rst:211 msgid "" "Most :mod:`asyncio` scheduling functions don't allow passing keyword " "arguments. To do that, use :func:`functools.partial`::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:214 +#: ../Doc/library/asyncio-eventloop.rst:218 msgid "" "Using partial objects is usually more convenient than using lambdas, as " "asyncio can render partial objects better in debug and error messages." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:222 +#: ../Doc/library/asyncio-eventloop.rst:226 msgid "Scheduling delayed callbacks" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:224 +#: ../Doc/library/asyncio-eventloop.rst:228 msgid "" "Event loop provides mechanisms to schedule callback functions to be called " "at some point in the future. Event loop uses monotonic clocks to track time." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:231 +#: ../Doc/library/asyncio-eventloop.rst:235 msgid "" "Schedule *callback* to be called after the given *delay* number of seconds " "(can be either an int or a float)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:234 -#: ../Doc/library/asyncio-eventloop.rst:266 +#: ../Doc/library/asyncio-eventloop.rst:238 +#: ../Doc/library/asyncio-eventloop.rst:270 msgid "" "An instance of :class:`asyncio.TimerHandle` is returned which can be used to " "cancel the callback." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:237 +#: ../Doc/library/asyncio-eventloop.rst:241 msgid "" "*callback* will be called exactly once. If two callbacks are scheduled for " "exactly the same time, the order in which they are called is undefined." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:241 +#: ../Doc/library/asyncio-eventloop.rst:245 msgid "" "The optional positional *args* will be passed to the callback when it is " "called. If you want the callback to be called with keyword arguments use :" "func:`functools.partial`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:253 +#: ../Doc/library/asyncio-eventloop.rst:257 msgid "" "In Python 3.7 and earlier with the default event loop implementation, the " "*delay* could not exceed one day. This has been fixed in Python 3.8." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:260 +#: ../Doc/library/asyncio-eventloop.rst:264 msgid "" "Schedule *callback* to be called at the given absolute timestamp *when* (an " "int or a float), using the same time reference as :meth:`loop.time`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:264 +#: ../Doc/library/asyncio-eventloop.rst:268 msgid "This method's behavior is the same as :meth:`call_later`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:273 +#: ../Doc/library/asyncio-eventloop.rst:277 msgid "" "In Python 3.7 and earlier with the default event loop implementation, the " "difference between *when* and the current time could not exceed one day. " "This has been fixed in Python 3.8." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:280 +#: ../Doc/library/asyncio-eventloop.rst:284 msgid "" "Return the current time, as a :class:`float` value, according to the event " "loop's internal monotonic clock." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:284 +#: ../Doc/library/asyncio-eventloop.rst:288 msgid "" "In Python 3.7 and earlier timeouts (relative *delay* or absolute *when*) " "should not exceed one day. This has been fixed in Python 3.8." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:290 +#: ../Doc/library/asyncio-eventloop.rst:294 msgid "The :func:`asyncio.sleep` function." msgstr "La fonction :func:`asyncio.sleep`." -#: ../Doc/library/asyncio-eventloop.rst:294 +#: ../Doc/library/asyncio-eventloop.rst:298 msgid "Creating Futures and Tasks" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:298 +#: ../Doc/library/asyncio-eventloop.rst:302 msgid "Create an :class:`asyncio.Future` object attached to the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:300 +#: ../Doc/library/asyncio-eventloop.rst:304 msgid "" "This is the preferred way to create Futures in asyncio. This lets third-" "party event loops provide alternative implementations of the Future object " "(with better performance or instrumentation)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:308 +#: ../Doc/library/asyncio-eventloop.rst:312 msgid "" "Schedule the execution of a :ref:`coroutine`. Return a :class:`Task` object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:311 +#: ../Doc/library/asyncio-eventloop.rst:315 msgid "" "Third-party event loops can use their own subclass of :class:`Task` for " "interoperability. In this case, the result type is a subclass of :class:" "`Task`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:315 +#: ../Doc/library/asyncio-eventloop.rst:319 msgid "" "If the *name* argument is provided and not ``None``, it is set as the name " "of the task using :meth:`Task.set_name`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:318 +#: ../Doc/library/asyncio-eventloop.rst:322 msgid "Added the ``name`` parameter." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:323 +#: ../Doc/library/asyncio-eventloop.rst:327 msgid "Set a task factory that will be used by :meth:`loop.create_task`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:326 +#: ../Doc/library/asyncio-eventloop.rst:330 msgid "" "If *factory* is ``None`` the default task factory will be set. Otherwise, " "*factory* must be a *callable* with the signature matching ``(loop, coro)``, " @@ -428,82 +434,82 @@ msgid "" "compatible object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:334 +#: ../Doc/library/asyncio-eventloop.rst:338 msgid "Return a task factory or ``None`` if the default one is in use." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:338 +#: ../Doc/library/asyncio-eventloop.rst:342 msgid "Opening network connections" msgstr "Créer des connexions" -#: ../Doc/library/asyncio-eventloop.rst:346 +#: ../Doc/library/asyncio-eventloop.rst:350 msgid "" "Open a streaming transport connection to a given address specified by *host* " "and *port*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:349 +#: ../Doc/library/asyncio-eventloop.rst:353 msgid "" "The socket family can be either :py:data:`~socket.AF_INET` or :py:data:" "`~socket.AF_INET6` depending on *host* (or the *family* argument, if " "provided)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:353 +#: ../Doc/library/asyncio-eventloop.rst:357 msgid "The socket type will be :py:data:`~socket.SOCK_STREAM`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:355 -#: ../Doc/library/asyncio-eventloop.rst:946 -#: ../Doc/library/asyncio-eventloop.rst:962 +#: ../Doc/library/asyncio-eventloop.rst:359 +#: ../Doc/library/asyncio-eventloop.rst:950 +#: ../Doc/library/asyncio-eventloop.rst:966 msgid "" "*protocol_factory* must be a callable returning an :ref:`asyncio protocol " "` implementation." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:358 +#: ../Doc/library/asyncio-eventloop.rst:362 msgid "" "This method will try to establish the connection in the background. When " "successful, it returns a ``(transport, protocol)`` pair." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:361 +#: ../Doc/library/asyncio-eventloop.rst:365 msgid "The chronological synopsis of the underlying operation is as follows:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:363 +#: ../Doc/library/asyncio-eventloop.rst:367 msgid "" "The connection is established and a :ref:`transport ` is " "created for it." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:366 +#: ../Doc/library/asyncio-eventloop.rst:370 msgid "" "*protocol_factory* is called without arguments and is expected to return a :" "ref:`protocol ` instance." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:369 +#: ../Doc/library/asyncio-eventloop.rst:373 msgid "" "The protocol instance is coupled with the transport by calling its :meth:" "`~BaseProtocol.connection_made` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:372 +#: ../Doc/library/asyncio-eventloop.rst:376 msgid "A ``(transport, protocol)`` tuple is returned on success." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:374 +#: ../Doc/library/asyncio-eventloop.rst:378 msgid "" "The created transport is an implementation-dependent bidirectional stream." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:377 -#: ../Doc/library/asyncio-eventloop.rst:473 +#: ../Doc/library/asyncio-eventloop.rst:381 +#: ../Doc/library/asyncio-eventloop.rst:477 msgid "Other arguments:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:379 +#: ../Doc/library/asyncio-eventloop.rst:383 msgid "" "*ssl*: if given and not false, a SSL/TLS transport is created (by default a " "plain TCP transport is created). If *ssl* is a :class:`ssl.SSLContext` " @@ -512,11 +518,11 @@ msgid "" "is used." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:385 +#: ../Doc/library/asyncio-eventloop.rst:389 msgid ":ref:`SSL/TLS security considerations `" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:387 +#: ../Doc/library/asyncio-eventloop.rst:391 msgid "" "*server_hostname* sets or overrides the hostname that the target server's " "certificate will be matched against. Should only be passed if *ssl* is not " @@ -527,7 +533,7 @@ msgid "" "potential man-in-the-middle attacks)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:395 +#: ../Doc/library/asyncio-eventloop.rst:399 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to getaddrinfo() for *host* resolution. If given, " @@ -535,7 +541,7 @@ msgid "" "constants." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:400 +#: ../Doc/library/asyncio-eventloop.rst:404 msgid "" "*happy_eyeballs_delay*, if given, enables Happy Eyeballs for this " "connection. It should be a floating-point number representing the amount of " @@ -545,7 +551,7 @@ msgid "" "RFC is ``0.25`` (250 milliseconds)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:408 +#: ../Doc/library/asyncio-eventloop.rst:412 msgid "" "*interleave* controls address reordering when a host name resolves to " "multiple IP addresses. If ``0`` or unspecified, no reordering is done, and " @@ -556,7 +562,7 @@ msgid "" "is not specified, and ``1`` if it is." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:417 +#: ../Doc/library/asyncio-eventloop.rst:421 msgid "" "*sock*, if given, should be an existing, already connected :class:`socket." "socket` object to be used by the transport. If *sock* is given, none of " @@ -564,93 +570,93 @@ msgid "" "*interleave* and *local_addr* should be specified." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:423 +#: ../Doc/library/asyncio-eventloop.rst:427 msgid "" "*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind " "the socket to locally. The *local_host* and *local_port* are looked up " "using ``getaddrinfo()``, similarly to *host* and *port*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:427 -#: ../Doc/library/asyncio-eventloop.rst:755 +#: ../Doc/library/asyncio-eventloop.rst:431 +#: ../Doc/library/asyncio-eventloop.rst:759 msgid "" "*ssl_handshake_timeout* is (for a TLS connection) the time in seconds to " "wait for the TLS handshake to complete before aborting the connection. " "``60.0`` seconds if ``None`` (default)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:433 +#: ../Doc/library/asyncio-eventloop.rst:437 msgid "The *happy_eyeballs_delay* and *interleave* parameters." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:437 -#: ../Doc/library/asyncio-eventloop.rst:540 -#: ../Doc/library/asyncio-eventloop.rst:693 +#: ../Doc/library/asyncio-eventloop.rst:441 +#: ../Doc/library/asyncio-eventloop.rst:544 +#: ../Doc/library/asyncio-eventloop.rst:697 msgid "The *ssl_handshake_timeout* parameter." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:441 -#: ../Doc/library/asyncio-eventloop.rst:623 +#: ../Doc/library/asyncio-eventloop.rst:445 +#: ../Doc/library/asyncio-eventloop.rst:627 msgid "" "The socket option :py:data:`~socket.TCP_NODELAY` is set by default for all " "TCP connections." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:446 -#: ../Doc/library/asyncio-eventloop.rst:628 +#: ../Doc/library/asyncio-eventloop.rst:450 +#: ../Doc/library/asyncio-eventloop.rst:632 msgid "Added support for SSL/TLS in :class:`ProactorEventLoop`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:450 +#: ../Doc/library/asyncio-eventloop.rst:454 msgid "" "The :func:`open_connection` function is a high-level alternative API. It " "returns a pair of (:class:`StreamReader`, :class:`StreamWriter`) that can be " "used directly in async/await code." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:460 +#: ../Doc/library/asyncio-eventloop.rst:464 msgid "Create a datagram connection." msgstr "Créer une connexion par datagramme" -#: ../Doc/library/asyncio-eventloop.rst:462 +#: ../Doc/library/asyncio-eventloop.rst:466 msgid "" "The socket family can be either :py:data:`~socket.AF_INET`, :py:data:" "`~socket.AF_INET6`, or :py:data:`~socket.AF_UNIX`, depending on *host* (or " "the *family* argument, if provided)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:466 +#: ../Doc/library/asyncio-eventloop.rst:470 msgid "The socket type will be :py:data:`~socket.SOCK_DGRAM`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:468 -#: ../Doc/library/asyncio-eventloop.rst:565 -#: ../Doc/library/asyncio-eventloop.rst:676 +#: ../Doc/library/asyncio-eventloop.rst:472 +#: ../Doc/library/asyncio-eventloop.rst:569 +#: ../Doc/library/asyncio-eventloop.rst:680 msgid "" "*protocol_factory* must be a callable returning a :ref:`protocol ` implementation." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:471 -#: ../Doc/library/asyncio-eventloop.rst:526 +#: ../Doc/library/asyncio-eventloop.rst:475 +#: ../Doc/library/asyncio-eventloop.rst:530 msgid "A tuple of ``(transport, protocol)`` is returned on success." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:475 +#: ../Doc/library/asyncio-eventloop.rst:479 msgid "" "*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind " "the socket to locally. The *local_host* and *local_port* are looked up " "using :meth:`getaddrinfo`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:479 +#: ../Doc/library/asyncio-eventloop.rst:483 msgid "" "*remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used to " "connect the socket to a remote address. The *remote_host* and *remote_port* " "are looked up using :meth:`getaddrinfo`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:483 +#: ../Doc/library/asyncio-eventloop.rst:487 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to :meth:`getaddrinfo` for *host* resolution. If " @@ -658,15 +664,15 @@ msgid "" "module constants." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:488 -#: ../Doc/library/asyncio-eventloop.rst:597 +#: ../Doc/library/asyncio-eventloop.rst:492 +#: ../Doc/library/asyncio-eventloop.rst:601 msgid "" "*reuse_address* tells the kernel to reuse a local socket in ``TIME_WAIT`` " "state, without waiting for its natural timeout to expire. If not specified " "will automatically be set to ``True`` on Unix." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:493 +#: ../Doc/library/asyncio-eventloop.rst:497 msgid "" "*reuse_port* tells the kernel to allow this endpoint to be bound to the same " "port as other existing endpoints are bound to, so long as they all set this " @@ -675,13 +681,13 @@ msgid "" "this capability is unsupported." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:499 +#: ../Doc/library/asyncio-eventloop.rst:503 msgid "" "*allow_broadcast* tells the kernel to allow this endpoint to send messages " "to the broadcast address." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:502 +#: ../Doc/library/asyncio-eventloop.rst:506 msgid "" "*sock* can optionally be specified in order to use a preexisting, already " "connected, :class:`socket.socket` object to be used by the transport. If " @@ -689,142 +695,142 @@ msgid "" "`None`)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:507 +#: ../Doc/library/asyncio-eventloop.rst:511 msgid "" "See :ref:`UDP echo client protocol ` and :" "ref:`UDP echo server protocol ` examples." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:510 +#: ../Doc/library/asyncio-eventloop.rst:514 msgid "" "The *family*, *proto*, *flags*, *reuse_address*, *reuse_port, " "*allow_broadcast*, and *sock* parameters were added." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:514 +#: ../Doc/library/asyncio-eventloop.rst:518 msgid "Added support for Windows." msgstr "Prise en charge sur Windows." -#: ../Doc/library/asyncio-eventloop.rst:521 +#: ../Doc/library/asyncio-eventloop.rst:525 msgid "Create a Unix connection." msgstr "Créer une connexion Unix" -#: ../Doc/library/asyncio-eventloop.rst:523 +#: ../Doc/library/asyncio-eventloop.rst:527 msgid "" "The socket family will be :py:data:`~socket.AF_UNIX`; socket type will be :" "py:data:`~socket.SOCK_STREAM`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:528 +#: ../Doc/library/asyncio-eventloop.rst:532 msgid "" "*path* is the name of a Unix domain socket and is required, unless a *sock* " "parameter is specified. Abstract Unix sockets, :class:`str`, :class:" "`bytes`, and :class:`~pathlib.Path` paths are supported." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:533 +#: ../Doc/library/asyncio-eventloop.rst:537 msgid "" "See the documentation of the :meth:`loop.create_connection` method for " "information about arguments to this method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:537 -#: ../Doc/library/asyncio-eventloop.rst:657 -#: ../Doc/library/asyncio-eventloop.rst:1013 +#: ../Doc/library/asyncio-eventloop.rst:541 +#: ../Doc/library/asyncio-eventloop.rst:661 +#: ../Doc/library/asyncio-eventloop.rst:1017 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." -#: ../Doc/library/asyncio-eventloop.rst:544 +#: ../Doc/library/asyncio-eventloop.rst:548 msgid "The *path* parameter can now be a :term:`path-like object`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:548 +#: ../Doc/library/asyncio-eventloop.rst:552 msgid "Creating network servers" msgstr "Créer des serveurs" -#: ../Doc/library/asyncio-eventloop.rst:558 +#: ../Doc/library/asyncio-eventloop.rst:562 msgid "" "Create a TCP server (socket type :data:`~socket.SOCK_STREAM`) listening on " "*port* of the *host* address." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:561 +#: ../Doc/library/asyncio-eventloop.rst:565 msgid "Returns a :class:`Server` object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:563 +#: ../Doc/library/asyncio-eventloop.rst:567 msgid "Arguments:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:568 +#: ../Doc/library/asyncio-eventloop.rst:572 msgid "" "The *host* parameter can be set to several types which determine where the " "server would be listening:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:571 +#: ../Doc/library/asyncio-eventloop.rst:575 msgid "" "If *host* is a string, the TCP server is bound to a single network interface " "specified by *host*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:574 +#: ../Doc/library/asyncio-eventloop.rst:578 msgid "" "If *host* is a sequence of strings, the TCP server is bound to all network " "interfaces specified by the sequence." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:577 +#: ../Doc/library/asyncio-eventloop.rst:581 msgid "" "If *host* is an empty string or ``None``, all interfaces are assumed and a " "list of multiple sockets will be returned (most likely one for IPv4 and " "another one for IPv6)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:581 +#: ../Doc/library/asyncio-eventloop.rst:585 msgid "" "*family* can be set to either :data:`socket.AF_INET` or :data:`~socket." "AF_INET6` to force the socket to use IPv4 or IPv6. If not set, the *family* " "will be determined from host name (defaults to :data:`~socket.AF_UNSPEC`)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:586 +#: ../Doc/library/asyncio-eventloop.rst:590 msgid "*flags* is a bitmask for :meth:`getaddrinfo`." msgstr "*flags* est un masque de bits pour :meth:`getaddrinfo`." -#: ../Doc/library/asyncio-eventloop.rst:588 +#: ../Doc/library/asyncio-eventloop.rst:592 msgid "" "*sock* can optionally be specified in order to use a preexisting socket " "object. If specified, *host* and *port* must not be specified." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:591 +#: ../Doc/library/asyncio-eventloop.rst:595 msgid "" "*backlog* is the maximum number of queued connections passed to :meth:" "`~socket.socket.listen` (defaults to 100)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:594 +#: ../Doc/library/asyncio-eventloop.rst:598 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` instance to enable TLS over " "the accepted connections." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:602 +#: ../Doc/library/asyncio-eventloop.rst:606 msgid "" "*reuse_port* tells the kernel to allow this endpoint to be bound to the same " "port as other existing endpoints are bound to, so long as they all set this " "flag when being created. This option is not supported on Windows." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:607 +#: ../Doc/library/asyncio-eventloop.rst:611 msgid "" "*ssl_handshake_timeout* is (for a TLS server) the time in seconds to wait " "for the TLS handshake to complete before aborting the connection. ``60.0`` " "seconds if ``None`` (default)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:611 +#: ../Doc/library/asyncio-eventloop.rst:615 msgid "" "*start_serving* set to ``True`` (the default) causes the created server to " "start accepting connections immediately. When set to ``False``, the user " @@ -832,105 +838,105 @@ msgid "" "to make the server to start accepting connections." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:619 +#: ../Doc/library/asyncio-eventloop.rst:623 msgid "Added *ssl_handshake_timeout* and *start_serving* parameters." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:632 +#: ../Doc/library/asyncio-eventloop.rst:636 msgid "The *host* parameter can be a sequence of strings." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:636 +#: ../Doc/library/asyncio-eventloop.rst:640 msgid "" "The :func:`start_server` function is a higher-level alternative API that " "returns a pair of :class:`StreamReader` and :class:`StreamWriter` that can " "be used in an async/await code." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:645 +#: ../Doc/library/asyncio-eventloop.rst:649 msgid "" "Similar to :meth:`loop.create_server` but works with the :py:data:`~socket." "AF_UNIX` socket family." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:648 +#: ../Doc/library/asyncio-eventloop.rst:652 msgid "" "*path* is the name of a Unix domain socket, and is required, unless a *sock* " "argument is provided. Abstract Unix sockets, :class:`str`, :class:`bytes`, " "and :class:`~pathlib.Path` paths are supported." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:653 +#: ../Doc/library/asyncio-eventloop.rst:657 msgid "" "See the documentation of the :meth:`loop.create_server` method for " "information about arguments to this method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:660 +#: ../Doc/library/asyncio-eventloop.rst:664 msgid "The *ssl_handshake_timeout* and *start_serving* parameters." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:664 +#: ../Doc/library/asyncio-eventloop.rst:668 msgid "The *path* parameter can now be a :class:`~pathlib.Path` object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:669 +#: ../Doc/library/asyncio-eventloop.rst:673 msgid "Wrap an already accepted connection into a transport/protocol pair." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:671 +#: ../Doc/library/asyncio-eventloop.rst:675 msgid "" "This method can be used by servers that accept connections outside of " "asyncio but that use asyncio to handle them." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:674 -#: ../Doc/library/asyncio-eventloop.rst:741 +#: ../Doc/library/asyncio-eventloop.rst:678 +#: ../Doc/library/asyncio-eventloop.rst:745 msgid "Parameters:" msgstr "Paramètres :" -#: ../Doc/library/asyncio-eventloop.rst:679 +#: ../Doc/library/asyncio-eventloop.rst:683 msgid "" "*sock* is a preexisting socket object returned from :meth:`socket.accept " "`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:682 +#: ../Doc/library/asyncio-eventloop.rst:686 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the " "accepted connections." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:685 +#: ../Doc/library/asyncio-eventloop.rst:689 msgid "" "*ssl_handshake_timeout* is (for an SSL connection) the time in seconds to " "wait for the SSL handshake to complete before aborting the connection. " "``60.0`` seconds if ``None`` (default)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:689 +#: ../Doc/library/asyncio-eventloop.rst:693 msgid "Returns a ``(transport, protocol)`` pair." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:699 +#: ../Doc/library/asyncio-eventloop.rst:703 msgid "Transferring files" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:704 +#: ../Doc/library/asyncio-eventloop.rst:708 msgid "" "Send a *file* over a *transport*. Return the total number of bytes sent." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:707 +#: ../Doc/library/asyncio-eventloop.rst:711 msgid "The method uses high-performance :meth:`os.sendfile` if available." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:709 +#: ../Doc/library/asyncio-eventloop.rst:713 msgid "*file* must be a regular file object opened in binary mode." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:711 -#: ../Doc/library/asyncio-eventloop.rst:901 +#: ../Doc/library/asyncio-eventloop.rst:715 +#: ../Doc/library/asyncio-eventloop.rst:905 msgid "" "*offset* tells from where to start reading the file. If specified, *count* " "is the total number of bytes to transmit as opposed to sending the file " @@ -939,98 +945,98 @@ msgid "" "obtain the actual number of bytes sent." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:718 +#: ../Doc/library/asyncio-eventloop.rst:722 msgid "" "*fallback* set to ``True`` makes asyncio to manually read and send the file " "when the platform does not support the sendfile system call (e.g. Windows or " "SSL socket on Unix)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:722 +#: ../Doc/library/asyncio-eventloop.rst:726 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support the " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:729 +#: ../Doc/library/asyncio-eventloop.rst:733 msgid "TLS Upgrade" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:735 +#: ../Doc/library/asyncio-eventloop.rst:739 msgid "Upgrade an existing transport-based connection to TLS." msgstr "Convertit une connexion existante en connexion TLS." -#: ../Doc/library/asyncio-eventloop.rst:737 +#: ../Doc/library/asyncio-eventloop.rst:741 msgid "" "Return a new transport instance, that the *protocol* must start using " "immediately after the *await*. The *transport* instance passed to the " "*start_tls* method should never be used again." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:743 +#: ../Doc/library/asyncio-eventloop.rst:747 msgid "" "*transport* and *protocol* instances that methods like :meth:`~loop." "create_server` and :meth:`~loop.create_connection` return." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:747 +#: ../Doc/library/asyncio-eventloop.rst:751 msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:749 +#: ../Doc/library/asyncio-eventloop.rst:753 msgid "" "*server_side* pass ``True`` when a server-side connection is being upgraded " "(like the one created by :meth:`~loop.create_server`)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:752 +#: ../Doc/library/asyncio-eventloop.rst:756 msgid "" "*server_hostname*: sets or overrides the host name that the target server's " "certificate will be matched against." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:763 +#: ../Doc/library/asyncio-eventloop.rst:767 msgid "Watching file descriptors" msgstr "Surveiller des descripteurs de fichiers" -#: ../Doc/library/asyncio-eventloop.rst:767 +#: ../Doc/library/asyncio-eventloop.rst:771 msgid "" "Start monitoring the *fd* file descriptor for read availability and invoke " "*callback* with the specified arguments once *fd* is available for reading." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:773 +#: ../Doc/library/asyncio-eventloop.rst:777 msgid "Stop monitoring the *fd* file descriptor for read availability." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:777 +#: ../Doc/library/asyncio-eventloop.rst:781 msgid "" "Start monitoring the *fd* file descriptor for write availability and invoke " "*callback* with the specified arguments once *fd* is available for writing." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:781 -#: ../Doc/library/asyncio-eventloop.rst:1000 +#: ../Doc/library/asyncio-eventloop.rst:785 +#: ../Doc/library/asyncio-eventloop.rst:1004 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *callback*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:786 +#: ../Doc/library/asyncio-eventloop.rst:790 msgid "Stop monitoring the *fd* file descriptor for write availability." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:788 +#: ../Doc/library/asyncio-eventloop.rst:792 msgid "" "See also :ref:`Platform Support ` section for some " "limitations of these methods." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:793 +#: ../Doc/library/asyncio-eventloop.rst:797 msgid "Working with socket objects directly" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:795 +#: ../Doc/library/asyncio-eventloop.rst:799 msgid "" "In general, protocol implementations that use transport-based APIs such as :" "meth:`loop.create_connection` and :meth:`loop.create_server` are faster than " @@ -1039,49 +1045,49 @@ msgid "" "socket` objects directly is more convenient." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:804 +#: ../Doc/library/asyncio-eventloop.rst:808 msgid "" "Receive up to *nbytes* from *sock*. Asynchronous version of :meth:`socket." "recv() `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:807 +#: ../Doc/library/asyncio-eventloop.rst:811 msgid "Return the received data as a bytes object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:809 -#: ../Doc/library/asyncio-eventloop.rst:823 -#: ../Doc/library/asyncio-eventloop.rst:838 -#: ../Doc/library/asyncio-eventloop.rst:851 -#: ../Doc/library/asyncio-eventloop.rst:877 -#: ../Doc/library/asyncio-eventloop.rst:915 +#: ../Doc/library/asyncio-eventloop.rst:813 +#: ../Doc/library/asyncio-eventloop.rst:827 +#: ../Doc/library/asyncio-eventloop.rst:842 +#: ../Doc/library/asyncio-eventloop.rst:855 +#: ../Doc/library/asyncio-eventloop.rst:881 +#: ../Doc/library/asyncio-eventloop.rst:919 msgid "*sock* must be a non-blocking socket." msgstr "Le connecteur *sock* ne doit pas être bloquant." -#: ../Doc/library/asyncio-eventloop.rst:811 +#: ../Doc/library/asyncio-eventloop.rst:815 msgid "" "Even though this method was always documented as a coroutine method, " "releases before Python 3.7 returned a :class:`Future`. Since Python 3.7 this " "is an ``async def`` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:818 +#: ../Doc/library/asyncio-eventloop.rst:822 msgid "" "Receive data from *sock* into the *buf* buffer. Modeled after the blocking :" "meth:`socket.recv_into() ` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:821 +#: ../Doc/library/asyncio-eventloop.rst:825 msgid "Return the number of bytes written to the buffer." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:829 +#: ../Doc/library/asyncio-eventloop.rst:833 msgid "" "Send *data* to the *sock* socket. Asynchronous version of :meth:`socket." "sendall() `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:832 +#: ../Doc/library/asyncio-eventloop.rst:836 msgid "" "This method continues to send to the socket until either all data in *data* " "has been sent or an error occurs. ``None`` is returned on success. On " @@ -1090,23 +1096,23 @@ msgid "" "the connection." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:840 +#: ../Doc/library/asyncio-eventloop.rst:844 msgid "" "Even though the method was always documented as a coroutine method, before " "Python 3.7 it returned an :class:`Future`. Since Python 3.7, this is an " "``async def`` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:847 +#: ../Doc/library/asyncio-eventloop.rst:851 msgid "Connect *sock* to a remote socket at *address*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:849 +#: ../Doc/library/asyncio-eventloop.rst:853 msgid "" "Asynchronous version of :meth:`socket.connect() `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:853 +#: ../Doc/library/asyncio-eventloop.rst:857 msgid "" "``address`` no longer needs to be resolved. ``sock_connect`` will try to " "check if the *address* is already resolved by calling :func:`socket." @@ -1114,19 +1120,19 @@ msgid "" "*address*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:862 +#: ../Doc/library/asyncio-eventloop.rst:866 msgid "" ":meth:`loop.create_connection` and :func:`asyncio.open_connection() " "`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:868 +#: ../Doc/library/asyncio-eventloop.rst:872 msgid "" "Accept a connection. Modeled after the blocking :meth:`socket.accept() " "` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:871 +#: ../Doc/library/asyncio-eventloop.rst:875 msgid "" "The socket must be bound to an address and listening for connections. The " "return value is a pair ``(conn, address)`` where *conn* is a *new* socket " @@ -1134,64 +1140,64 @@ msgid "" "the address bound to the socket on the other end of the connection." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:879 +#: ../Doc/library/asyncio-eventloop.rst:883 msgid "" "Even though the method was always documented as a coroutine method, before " "Python 3.7 it returned a :class:`Future`. Since Python 3.7, this is an " "``async def`` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:886 +#: ../Doc/library/asyncio-eventloop.rst:890 msgid ":meth:`loop.create_server` and :func:`start_server`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:891 +#: ../Doc/library/asyncio-eventloop.rst:895 msgid "" "Send a file using high-performance :mod:`os.sendfile` if possible. Return " "the total number of bytes sent." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:894 +#: ../Doc/library/asyncio-eventloop.rst:898 msgid "" "Asynchronous version of :meth:`socket.sendfile() `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:896 +#: ../Doc/library/asyncio-eventloop.rst:900 msgid "" "*sock* must be a non-blocking :const:`socket.SOCK_STREAM` :class:`~socket." "socket`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:899 +#: ../Doc/library/asyncio-eventloop.rst:903 msgid "*file* must be a regular file object open in binary mode." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:908 +#: ../Doc/library/asyncio-eventloop.rst:912 msgid "" "*fallback*, when set to ``True``, makes asyncio manually read and send the " "file when the platform does not support the sendfile syscall (e.g. Windows " "or SSL socket on Unix)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:912 +#: ../Doc/library/asyncio-eventloop.rst:916 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:921 +#: ../Doc/library/asyncio-eventloop.rst:925 msgid "DNS" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:926 +#: ../Doc/library/asyncio-eventloop.rst:930 msgid "Asynchronous version of :meth:`socket.getaddrinfo`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:930 +#: ../Doc/library/asyncio-eventloop.rst:934 msgid "Asynchronous version of :meth:`socket.getnameinfo`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:932 +#: ../Doc/library/asyncio-eventloop.rst:936 msgid "" "Both *getaddrinfo* and *getnameinfo* methods were always documented to " "return a coroutine, but prior to Python 3.7 they were, in fact, returning :" @@ -1199,68 +1205,68 @@ msgid "" "coroutines." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:940 +#: ../Doc/library/asyncio-eventloop.rst:944 msgid "Working with pipes" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:944 +#: ../Doc/library/asyncio-eventloop.rst:948 msgid "Register the read end of *pipe* in the event loop." msgstr "" "Branche l'extrémité en lecture du tube *pipe* à la boucle d'évènements." -#: ../Doc/library/asyncio-eventloop.rst:949 +#: ../Doc/library/asyncio-eventloop.rst:953 msgid "*pipe* is a :term:`file-like object `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:951 +#: ../Doc/library/asyncio-eventloop.rst:955 msgid "" "Return pair ``(transport, protocol)``, where *transport* supports the :class:" "`ReadTransport` interface and *protocol* is an object instantiated by the " "*protocol_factory*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:955 -#: ../Doc/library/asyncio-eventloop.rst:971 +#: ../Doc/library/asyncio-eventloop.rst:959 +#: ../Doc/library/asyncio-eventloop.rst:975 msgid "" "With :class:`SelectorEventLoop` event loop, the *pipe* is set to non-" "blocking mode." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:960 +#: ../Doc/library/asyncio-eventloop.rst:964 msgid "Register the write end of *pipe* in the event loop." msgstr "Branche l'extrémité en écriture de *pipe* à la boucle d'évènements." -#: ../Doc/library/asyncio-eventloop.rst:965 +#: ../Doc/library/asyncio-eventloop.rst:969 msgid "*pipe* is :term:`file-like object `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:967 +#: ../Doc/library/asyncio-eventloop.rst:971 msgid "" "Return pair ``(transport, protocol)``, where *transport* supports :class:" "`WriteTransport` interface and *protocol* is an object instantiated by the " "*protocol_factory*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:976 +#: ../Doc/library/asyncio-eventloop.rst:980 msgid "" ":class:`SelectorEventLoop` does not support the above methods on Windows. " "Use :class:`ProactorEventLoop` instead for Windows." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:981 +#: ../Doc/library/asyncio-eventloop.rst:985 msgid "" "The :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell` methods." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:986 +#: ../Doc/library/asyncio-eventloop.rst:990 msgid "Unix signals" msgstr "Signaux Unix" -#: ../Doc/library/asyncio-eventloop.rst:990 +#: ../Doc/library/asyncio-eventloop.rst:994 msgid "Set *callback* as the handler for the *signum* signal." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:992 +#: ../Doc/library/asyncio-eventloop.rst:996 msgid "" "The callback will be invoked by *loop*, along with other queued callbacks " "and runnable coroutines of that event loop. Unlike signal handlers " @@ -1268,56 +1274,56 @@ msgid "" "function is allowed to interact with the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:997 +#: ../Doc/library/asyncio-eventloop.rst:1001 msgid "" "Raise :exc:`ValueError` if the signal number is invalid or uncatchable. " "Raise :exc:`RuntimeError` if there is a problem setting up the handler." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1003 +#: ../Doc/library/asyncio-eventloop.rst:1007 msgid "" "Like :func:`signal.signal`, this function must be invoked in the main thread." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1008 +#: ../Doc/library/asyncio-eventloop.rst:1012 msgid "Remove the handler for the *sig* signal." msgstr "Supprime le gestionnaire du signal *sig*." -#: ../Doc/library/asyncio-eventloop.rst:1010 +#: ../Doc/library/asyncio-eventloop.rst:1014 msgid "" "Return ``True`` if the signal handler was removed, or ``False`` if no " "handler was set for the given signal." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1017 +#: ../Doc/library/asyncio-eventloop.rst:1021 msgid "The :mod:`signal` module." msgstr "Le module :mod:`signal`." -#: ../Doc/library/asyncio-eventloop.rst:1021 +#: ../Doc/library/asyncio-eventloop.rst:1025 msgid "Executing code in thread or process pools" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1025 +#: ../Doc/library/asyncio-eventloop.rst:1029 msgid "Arrange for *func* to be called in the specified executor." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1027 +#: ../Doc/library/asyncio-eventloop.rst:1031 msgid "" "The *executor* argument should be an :class:`concurrent.futures.Executor` " "instance. The default executor is used if *executor* is ``None``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1071 +#: ../Doc/library/asyncio-eventloop.rst:1075 msgid "This method returns a :class:`asyncio.Future` object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1073 +#: ../Doc/library/asyncio-eventloop.rst:1077 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *func*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1076 +#: ../Doc/library/asyncio-eventloop.rst:1080 msgid "" ":meth:`loop.run_in_executor` no longer configures the ``max_workers`` of the " "thread pool executor it creates, instead leaving it up to the thread pool " @@ -1325,38 +1331,38 @@ msgid "" "default." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1085 +#: ../Doc/library/asyncio-eventloop.rst:1089 msgid "" "Set *executor* as the default executor used by :meth:`run_in_executor`. " "*executor* should be an instance of :class:`~concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1089 +#: ../Doc/library/asyncio-eventloop.rst:1093 msgid "" "Using an executor that is not an instance of :class:`~concurrent.futures." "ThreadPoolExecutor` is deprecated and will trigger an error in Python 3.9." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1094 +#: ../Doc/library/asyncio-eventloop.rst:1098 msgid "" "*executor* must be an instance of :class:`concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1099 +#: ../Doc/library/asyncio-eventloop.rst:1103 msgid "Error Handling API" msgstr "API de gestion d'erreur" -#: ../Doc/library/asyncio-eventloop.rst:1101 +#: ../Doc/library/asyncio-eventloop.rst:1105 msgid "Allows customizing how exceptions are handled in the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1105 +#: ../Doc/library/asyncio-eventloop.rst:1109 msgid "Set *handler* as the new event loop exception handler." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1107 +#: ../Doc/library/asyncio-eventloop.rst:1111 msgid "" "If *handler* is ``None``, the default exception handler will be set. " "Otherwise, *handler* must be a callable with the signature matching ``(loop, " @@ -1365,147 +1371,147 @@ msgid "" "(see :meth:`call_exception_handler` documentation for details about context)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1117 +#: ../Doc/library/asyncio-eventloop.rst:1121 msgid "" "Return the current exception handler, or ``None`` if no custom exception " "handler was set." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1124 +#: ../Doc/library/asyncio-eventloop.rst:1128 msgid "Default exception handler." msgstr "Gestionnaire d'exception par défaut." -#: ../Doc/library/asyncio-eventloop.rst:1126 +#: ../Doc/library/asyncio-eventloop.rst:1130 msgid "" "This is called when an exception occurs and no exception handler is set. " "This can be called by a custom exception handler that wants to defer to the " "default handler behavior." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1130 +#: ../Doc/library/asyncio-eventloop.rst:1134 msgid "" "*context* parameter has the same meaning as in :meth:" "`call_exception_handler`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1135 +#: ../Doc/library/asyncio-eventloop.rst:1139 msgid "Call the current event loop exception handler." msgstr "" "Appelle le gestionnaire d'exception de la boucle d'évènements actuelle." -#: ../Doc/library/asyncio-eventloop.rst:1137 +#: ../Doc/library/asyncio-eventloop.rst:1141 msgid "" "*context* is a ``dict`` object containing the following keys (new keys may " "be introduced in future Python versions):" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1140 +#: ../Doc/library/asyncio-eventloop.rst:1144 msgid "'message': Error message;" msgstr "``message`` : Message d'erreur ;" -#: ../Doc/library/asyncio-eventloop.rst:1141 +#: ../Doc/library/asyncio-eventloop.rst:1145 msgid "'exception' (optional): Exception object;" msgstr "``exception`` (optionnel): Un objet exception ;" -#: ../Doc/library/asyncio-eventloop.rst:1142 +#: ../Doc/library/asyncio-eventloop.rst:1146 msgid "'future' (optional): :class:`asyncio.Future` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1143 +#: ../Doc/library/asyncio-eventloop.rst:1147 msgid "'handle' (optional): :class:`asyncio.Handle` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1144 +#: ../Doc/library/asyncio-eventloop.rst:1148 msgid "'protocol' (optional): :ref:`Protocol ` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1145 +#: ../Doc/library/asyncio-eventloop.rst:1149 msgid "'transport' (optional): :ref:`Transport ` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1146 +#: ../Doc/library/asyncio-eventloop.rst:1150 msgid "'socket' (optional): :class:`socket.socket` instance." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1150 +#: ../Doc/library/asyncio-eventloop.rst:1154 msgid "" "This method should not be overloaded in subclassed event loops. For custom " "exception handling, use the :meth:`set_exception_handler()` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1155 +#: ../Doc/library/asyncio-eventloop.rst:1159 msgid "Enabling debug mode" msgstr "Active le mode débogage" -#: ../Doc/library/asyncio-eventloop.rst:1159 +#: ../Doc/library/asyncio-eventloop.rst:1163 msgid "Get the debug mode (:class:`bool`) of the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1161 +#: ../Doc/library/asyncio-eventloop.rst:1165 msgid "" "The default value is ``True`` if the environment variable :envvar:" "`PYTHONASYNCIODEBUG` is set to a non-empty string, ``False`` otherwise." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1167 +#: ../Doc/library/asyncio-eventloop.rst:1171 msgid "Set the debug mode of the event loop." msgstr "Active le mode débogage pour la boucle d'évènements." -#: ../Doc/library/asyncio-eventloop.rst:1171 +#: ../Doc/library/asyncio-eventloop.rst:1175 msgid "" "The new ``-X dev`` command line option can now also be used to enable the " "debug mode." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1176 +#: ../Doc/library/asyncio-eventloop.rst:1180 msgid "The :ref:`debug mode of asyncio `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1180 +#: ../Doc/library/asyncio-eventloop.rst:1184 msgid "Running Subprocesses" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1182 +#: ../Doc/library/asyncio-eventloop.rst:1186 msgid "" "Methods described in this subsections are low-level. In regular async/await " "code consider using the high-level :func:`asyncio.create_subprocess_shell` " "and :func:`asyncio.create_subprocess_exec` convenience functions instead." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1189 +#: ../Doc/library/asyncio-eventloop.rst:1193 msgid "" "The default asyncio event loop on **Windows** does not support subprocesses. " "See :ref:`Subprocess Support on Windows ` for " "details." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1197 +#: ../Doc/library/asyncio-eventloop.rst:1201 msgid "" "Create a subprocess from one or more string arguments specified by *args*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1200 +#: ../Doc/library/asyncio-eventloop.rst:1204 msgid "*args* must be a list of strings represented by:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1202 +#: ../Doc/library/asyncio-eventloop.rst:1206 msgid ":class:`str`;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1203 +#: ../Doc/library/asyncio-eventloop.rst:1207 msgid "" "or :class:`bytes`, encoded to the :ref:`filesystem encoding `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1206 +#: ../Doc/library/asyncio-eventloop.rst:1210 msgid "" "The first string specifies the program executable, and the remaining strings " "specify the arguments. Together, string arguments form the ``argv`` of the " "program." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1210 +#: ../Doc/library/asyncio-eventloop.rst:1214 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=False`` and the list of strings passed as the first " @@ -1513,136 +1519,136 @@ msgid "" "which is list of strings, *subprocess_exec* takes multiple string arguments." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1216 +#: ../Doc/library/asyncio-eventloop.rst:1220 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`asyncio.SubprocessProtocol` class." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1219 +#: ../Doc/library/asyncio-eventloop.rst:1223 msgid "Other parameters:" msgstr "Autres paramètres :" -#: ../Doc/library/asyncio-eventloop.rst:1221 +#: ../Doc/library/asyncio-eventloop.rst:1225 msgid "*stdin* can be any of these:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1223 +#: ../Doc/library/asyncio-eventloop.rst:1227 msgid "" "a file-like object representing a pipe to be connected to the subprocess's " "standard input stream using :meth:`~loop.connect_write_pipe`" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1226 -#: ../Doc/library/asyncio-eventloop.rst:1238 -#: ../Doc/library/asyncio-eventloop.rst:1250 -msgid "" -"the :const:`subprocess.PIPE` constant (default) which will create a new pipe " -"and connect it," -msgstr "" - -#: ../Doc/library/asyncio-eventloop.rst:1228 -#: ../Doc/library/asyncio-eventloop.rst:1240 -#: ../Doc/library/asyncio-eventloop.rst:1252 -msgid "" -"the value ``None`` which will make the subprocess inherit the file " -"descriptor from this process" -msgstr "" - #: ../Doc/library/asyncio-eventloop.rst:1230 #: ../Doc/library/asyncio-eventloop.rst:1242 #: ../Doc/library/asyncio-eventloop.rst:1254 msgid "" +"the :const:`subprocess.PIPE` constant (default) which will create a new pipe " +"and connect it," +msgstr "" + +#: ../Doc/library/asyncio-eventloop.rst:1232 +#: ../Doc/library/asyncio-eventloop.rst:1244 +#: ../Doc/library/asyncio-eventloop.rst:1256 +msgid "" +"the value ``None`` which will make the subprocess inherit the file " +"descriptor from this process" +msgstr "" + +#: ../Doc/library/asyncio-eventloop.rst:1234 +#: ../Doc/library/asyncio-eventloop.rst:1246 +#: ../Doc/library/asyncio-eventloop.rst:1258 +msgid "" "the :const:`subprocess.DEVNULL` constant which indicates that the special :" "data:`os.devnull` file will be used" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1233 +#: ../Doc/library/asyncio-eventloop.rst:1237 msgid "*stdout* can be any of these:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1235 +#: ../Doc/library/asyncio-eventloop.rst:1239 msgid "" "a file-like object representing a pipe to be connected to the subprocess's " "standard output stream using :meth:`~loop.connect_write_pipe`" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1245 +#: ../Doc/library/asyncio-eventloop.rst:1249 msgid "*stderr* can be any of these:" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1247 +#: ../Doc/library/asyncio-eventloop.rst:1251 msgid "" "a file-like object representing a pipe to be connected to the subprocess's " "standard error stream using :meth:`~loop.connect_write_pipe`" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1256 +#: ../Doc/library/asyncio-eventloop.rst:1260 msgid "" "the :const:`subprocess.STDOUT` constant which will connect the standard " "error stream to the process' standard output stream" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1259 +#: ../Doc/library/asyncio-eventloop.rst:1263 msgid "" "All other keyword arguments are passed to :class:`subprocess.Popen` without " "interpretation, except for *bufsize*, *universal_newlines*, *shell*, *text*, " "*encoding* and *errors*, which should not be specified at all." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1264 +#: ../Doc/library/asyncio-eventloop.rst:1268 msgid "" "The ``asyncio`` subprocess API does not support decoding the streams as " "text. :func:`bytes.decode` can be used to convert the bytes returned from " "the stream to text." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1268 +#: ../Doc/library/asyncio-eventloop.rst:1272 msgid "" "See the constructor of the :class:`subprocess.Popen` class for documentation " "on other arguments." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1271 +#: ../Doc/library/asyncio-eventloop.rst:1275 msgid "" "Returns a pair of ``(transport, protocol)``, where *transport* conforms to " "the :class:`asyncio.SubprocessTransport` base class and *protocol* is an " "object instantiated by the *protocol_factory*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1279 +#: ../Doc/library/asyncio-eventloop.rst:1283 msgid "" "Create a subprocess from *cmd*, which can be a :class:`str` or a :class:" "`bytes` string encoded to the :ref:`filesystem encoding `, using the platform's \"shell\" syntax." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1284 +#: ../Doc/library/asyncio-eventloop.rst:1288 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=True``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1287 +#: ../Doc/library/asyncio-eventloop.rst:1291 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`SubprocessProtocol` class." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1290 +#: ../Doc/library/asyncio-eventloop.rst:1294 msgid "" "See :meth:`~loop.subprocess_exec` for more details about the remaining " "arguments." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1293 +#: ../Doc/library/asyncio-eventloop.rst:1297 msgid "" "Returns a pair of ``(transport, protocol)``, where *transport* conforms to " "the :class:`SubprocessTransport` base class and *protocol* is an object " "instantiated by the *protocol_factory*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1298 +#: ../Doc/library/asyncio-eventloop.rst:1302 msgid "" "It is the application's responsibility to ensure that all whitespace and " "special characters are quoted appropriately to avoid `shell injection " @@ -1652,105 +1658,105 @@ msgid "" "used to construct shell commands." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1307 +#: ../Doc/library/asyncio-eventloop.rst:1311 msgid "Callback Handles" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1311 +#: ../Doc/library/asyncio-eventloop.rst:1315 msgid "" "A callback wrapper object returned by :meth:`loop.call_soon`, :meth:`loop." "call_soon_threadsafe`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1316 +#: ../Doc/library/asyncio-eventloop.rst:1320 msgid "" "Cancel the callback. If the callback has already been canceled or executed, " "this method has no effect." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1321 +#: ../Doc/library/asyncio-eventloop.rst:1325 msgid "Return ``True`` if the callback was cancelled." msgstr "Renvoie ``True`` si la fonction de rappel à été annulé." -#: ../Doc/library/asyncio-eventloop.rst:1327 +#: ../Doc/library/asyncio-eventloop.rst:1331 msgid "" "A callback wrapper object returned by :meth:`loop.call_later`, and :meth:" "`loop.call_at`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1330 +#: ../Doc/library/asyncio-eventloop.rst:1334 msgid "This class is a subclass of :class:`Handle`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1334 +#: ../Doc/library/asyncio-eventloop.rst:1338 msgid "Return a scheduled callback time as :class:`float` seconds." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1336 +#: ../Doc/library/asyncio-eventloop.rst:1340 msgid "" "The time is an absolute timestamp, using the same time reference as :meth:" "`loop.time`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1343 +#: ../Doc/library/asyncio-eventloop.rst:1347 msgid "Server Objects" msgstr "Objets Serveur" -#: ../Doc/library/asyncio-eventloop.rst:1345 +#: ../Doc/library/asyncio-eventloop.rst:1349 msgid "" "Server objects are created by :meth:`loop.create_server`, :meth:`loop." "create_unix_server`, :func:`start_server`, and :func:`start_unix_server` " "functions." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1349 +#: ../Doc/library/asyncio-eventloop.rst:1353 msgid "Do not instantiate the class directly." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1353 +#: ../Doc/library/asyncio-eventloop.rst:1357 msgid "" "*Server* objects are asynchronous context managers. When used in an ``async " "with`` statement, it's guaranteed that the Server object is closed and not " "accepting new connections when the ``async with`` statement is completed::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1366 +#: ../Doc/library/asyncio-eventloop.rst:1370 msgid "Server object is an asynchronous context manager since Python 3.7." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1371 +#: ../Doc/library/asyncio-eventloop.rst:1375 msgid "" "Stop serving: close listening sockets and set the :attr:`sockets` attribute " "to ``None``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1374 +#: ../Doc/library/asyncio-eventloop.rst:1378 msgid "" "The sockets that represent existing incoming client connections are left " "open." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1377 +#: ../Doc/library/asyncio-eventloop.rst:1381 msgid "" "The server is closed asynchronously, use the :meth:`wait_closed` coroutine " "to wait until the server is closed." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1382 +#: ../Doc/library/asyncio-eventloop.rst:1386 msgid "Return the event loop associated with the server object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1388 +#: ../Doc/library/asyncio-eventloop.rst:1392 msgid "Start accepting connections." msgstr "Commence à accepter les connexions." -#: ../Doc/library/asyncio-eventloop.rst:1390 +#: ../Doc/library/asyncio-eventloop.rst:1394 msgid "" "This method is idempotent, so it can be called when the server is already " "being serving." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1393 +#: ../Doc/library/asyncio-eventloop.rst:1397 msgid "" "The *start_serving* keyword-only parameter to :meth:`loop.create_server` " "and :meth:`asyncio.start_server` allows creating a Server object that is not " @@ -1759,97 +1765,97 @@ msgid "" "accepting connections." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1404 +#: ../Doc/library/asyncio-eventloop.rst:1408 msgid "" "Start accepting connections until the coroutine is cancelled. Cancellation " "of ``serve_forever`` task causes the server to be closed." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1408 +#: ../Doc/library/asyncio-eventloop.rst:1412 msgid "" "This method can be called if the server is already accepting connections. " "Only one ``serve_forever`` task can exist per one *Server* object." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1430 +#: ../Doc/library/asyncio-eventloop.rst:1434 msgid "Return ``True`` if the server is accepting new connections." msgstr "Donne ``True`` si le serveur accepte de nouvelles connexions." -#: ../Doc/library/asyncio-eventloop.rst:1436 +#: ../Doc/library/asyncio-eventloop.rst:1440 msgid "Wait until the :meth:`close` method completes." msgstr "Attends que la méthode :meth:`close` se termine." -#: ../Doc/library/asyncio-eventloop.rst:1440 +#: ../Doc/library/asyncio-eventloop.rst:1444 msgid "List of :class:`socket.socket` objects the server is listening on." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1442 +#: ../Doc/library/asyncio-eventloop.rst:1446 msgid "" "Prior to Python 3.7 ``Server.sockets`` used to return an internal list of " "server sockets directly. In 3.7 a copy of that list is returned." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1451 +#: ../Doc/library/asyncio-eventloop.rst:1455 msgid "Event Loop Implementations" msgstr "Implémentations de boucle d'évènements" -#: ../Doc/library/asyncio-eventloop.rst:1453 +#: ../Doc/library/asyncio-eventloop.rst:1457 msgid "" "asyncio ships with two different event loop implementations: :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1456 +#: ../Doc/library/asyncio-eventloop.rst:1460 msgid "" "By default asyncio is configured to use :class:`SelectorEventLoop` on Unix " "and :class:`ProactorEventLoop` on Windows." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1462 +#: ../Doc/library/asyncio-eventloop.rst:1466 msgid "An event loop based on the :mod:`selectors` module." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1464 +#: ../Doc/library/asyncio-eventloop.rst:1468 msgid "" "Uses the most efficient *selector* available for the given platform. It is " "also possible to manually configure the exact selector implementation to be " "used::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1476 +#: ../Doc/library/asyncio-eventloop.rst:1480 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`Disponibilité ` : Unix, Windows." -#: ../Doc/library/asyncio-eventloop.rst:1481 +#: ../Doc/library/asyncio-eventloop.rst:1485 msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1484 +#: ../Doc/library/asyncio-eventloop.rst:1488 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." -#: ../Doc/library/asyncio-eventloop.rst:1487 +#: ../Doc/library/asyncio-eventloop.rst:1491 msgid "" "`MSDN documentation on I/O Completion Ports `_." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1493 +#: ../Doc/library/asyncio-eventloop.rst:1497 msgid "Abstract base class for asyncio-compliant event loops." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1495 +#: ../Doc/library/asyncio-eventloop.rst:1499 msgid "" "The :ref:`Event Loop Methods ` section lists all methods " "that an alternative implementation of ``AbstractEventLoop`` should have " "defined." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1501 +#: ../Doc/library/asyncio-eventloop.rst:1505 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/asyncio-eventloop.rst:1503 +#: ../Doc/library/asyncio-eventloop.rst:1507 msgid "" "Note that all examples in this section **purposefully** show how to use the " "low-level event loop APIs, such as :meth:`loop.run_forever` and :meth:`loop." @@ -1857,70 +1863,70 @@ msgid "" "consider using the high-level functions like :func:`asyncio.run`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1513 +#: ../Doc/library/asyncio-eventloop.rst:1517 msgid "Hello World with call_soon()" msgstr "\"Hello World\" avec ``call_soon()``" -#: ../Doc/library/asyncio-eventloop.rst:1515 +#: ../Doc/library/asyncio-eventloop.rst:1519 msgid "" "An example using the :meth:`loop.call_soon` method to schedule a callback. " "The callback displays ``\"Hello World\"`` and then stops the event loop::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1539 +#: ../Doc/library/asyncio-eventloop.rst:1543 msgid "" "A similar :ref:`Hello World ` example created with a coroutine " "and the :func:`run` function." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1546 +#: ../Doc/library/asyncio-eventloop.rst:1550 msgid "Display the current date with call_later()" msgstr "Afficher la date actuelle avec ``call_later()``" -#: ../Doc/library/asyncio-eventloop.rst:1548 +#: ../Doc/library/asyncio-eventloop.rst:1552 msgid "" "An example of a callback displaying the current date every second. The " "callback uses the :meth:`loop.call_later` method to reschedule itself after " "5 seconds, and then stops the event loop::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1576 +#: ../Doc/library/asyncio-eventloop.rst:1580 msgid "" "A similar :ref:`current date ` example created with a " "coroutine and the :func:`run` function." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1583 +#: ../Doc/library/asyncio-eventloop.rst:1587 msgid "Watch a file descriptor for read events" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1585 +#: ../Doc/library/asyncio-eventloop.rst:1589 msgid "" "Wait until a file descriptor received some data using the :meth:`loop." "add_reader` method and then close the event loop::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1623 +#: ../Doc/library/asyncio-eventloop.rst:1627 msgid "" "A similar :ref:`example ` using " "transports, protocols, and the :meth:`loop.create_connection` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1627 +#: ../Doc/library/asyncio-eventloop.rst:1631 msgid "" "Another similar :ref:`example ` " "using the high-level :func:`asyncio.open_connection` function and streams." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1635 +#: ../Doc/library/asyncio-eventloop.rst:1639 msgid "Set signal handlers for SIGINT and SIGTERM" msgstr "Définit les gestionnaires de signaux pour *SIGINT* et *SIGTERM*" -#: ../Doc/library/asyncio-eventloop.rst:1637 +#: ../Doc/library/asyncio-eventloop.rst:1641 msgid "(This ``signals`` example only works on Unix.)" msgstr "(Cet exemple ne fonctionne que sur Unix.)" -#: ../Doc/library/asyncio-eventloop.rst:1639 +#: ../Doc/library/asyncio-eventloop.rst:1643 msgid "" "Register handlers for signals :py:data:`SIGINT` and :py:data:`SIGTERM` using " "the :meth:`loop.add_signal_handler` method::" diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index 36750930..d8063e6e 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -18,76 +18,80 @@ msgstr "" msgid "Exceptions" msgstr "Exceptions" -#: ../Doc/library/asyncio-exceptions.rst:13 -msgid "The operation has exceeded the given deadline." +#: ../Doc/library/asyncio-exceptions.rst:10 +msgid "**Source code:** :source:`Lib/asyncio/exceptions.py`" msgstr "" #: ../Doc/library/asyncio-exceptions.rst:16 +msgid "The operation has exceeded the given deadline." +msgstr "" + +#: ../Doc/library/asyncio-exceptions.rst:19 msgid "" "This exception is different from the builtin :exc:`TimeoutError` exception." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:22 +#: ../Doc/library/asyncio-exceptions.rst:25 msgid "The operation has been cancelled." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:24 +#: ../Doc/library/asyncio-exceptions.rst:27 msgid "" "This exception can be caught to perform custom operations when asyncio Tasks " "are cancelled. In almost all situations the exception must be re-raised." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:30 +#: ../Doc/library/asyncio-exceptions.rst:33 msgid ":exc:`CancelledError` is now a subclass of :class:`BaseException`." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:35 +#: ../Doc/library/asyncio-exceptions.rst:38 msgid "Invalid internal state of :class:`Task` or :class:`Future`." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:37 +#: ../Doc/library/asyncio-exceptions.rst:40 msgid "" "Can be raised in situations like setting a result value for a *Future* " "object that already has a result value set." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:43 +#: ../Doc/library/asyncio-exceptions.rst:46 msgid "" "The \"sendfile\" syscall is not available for the given socket or file type." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:46 +#: ../Doc/library/asyncio-exceptions.rst:49 msgid "A subclass of :exc:`RuntimeError`." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:51 +#: ../Doc/library/asyncio-exceptions.rst:54 msgid "The requested read operation did not complete fully." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:53 +#: ../Doc/library/asyncio-exceptions.rst:56 msgid "Raised by the :ref:`asyncio stream APIs`." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:55 +#: ../Doc/library/asyncio-exceptions.rst:58 msgid "This exception is a subclass of :exc:`EOFError`." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:59 +#: ../Doc/library/asyncio-exceptions.rst:62 msgid "The total number (:class:`int`) of expected bytes." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:63 +#: ../Doc/library/asyncio-exceptions.rst:66 msgid "A string of :class:`bytes` read before the end of stream was reached." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:68 +#: ../Doc/library/asyncio-exceptions.rst:71 msgid "Reached the buffer size limit while looking for a separator." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:70 +#: ../Doc/library/asyncio-exceptions.rst:73 msgid "Raised by the :ref:`asyncio stream APIs `." msgstr "" -#: ../Doc/library/asyncio-exceptions.rst:74 +#: ../Doc/library/asyncio-exceptions.rst:77 msgid "The total number of to be consumed bytes." msgstr "" diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 1951d378..97727019 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -20,98 +20,104 @@ msgstr "Futurs" #: ../Doc/library/asyncio-future.rst:10 msgid "" +"**Source code:** :source:`Lib/asyncio/futures.py`, :source:`Lib/asyncio/" +"base_futures.py`" +msgstr "" + +#: ../Doc/library/asyncio-future.rst:15 +msgid "" "*Future* objects are used to bridge **low-level callback-based code** with " "high-level async/await code." msgstr "" -#: ../Doc/library/asyncio-future.rst:15 +#: ../Doc/library/asyncio-future.rst:20 msgid "Future Functions" msgstr "" -#: ../Doc/library/asyncio-future.rst:19 +#: ../Doc/library/asyncio-future.rst:24 msgid "Return ``True`` if *obj* is either of:" msgstr "" -#: ../Doc/library/asyncio-future.rst:21 +#: ../Doc/library/asyncio-future.rst:26 msgid "an instance of :class:`asyncio.Future`," msgstr "" -#: ../Doc/library/asyncio-future.rst:22 +#: ../Doc/library/asyncio-future.rst:27 msgid "an instance of :class:`asyncio.Task`," msgstr "" -#: ../Doc/library/asyncio-future.rst:23 +#: ../Doc/library/asyncio-future.rst:28 msgid "a Future-like object with a ``_asyncio_future_blocking`` attribute." msgstr "" -#: ../Doc/library/asyncio-future.rst:31 +#: ../Doc/library/asyncio-future.rst:36 msgid "Return:" msgstr "" -#: ../Doc/library/asyncio-future.rst:33 +#: ../Doc/library/asyncio-future.rst:38 msgid "" "*obj* argument as is, if *obj* is a :class:`Future`, a :class:`Task`, or a " "Future-like object (:func:`isfuture` is used for the test.)" msgstr "" -#: ../Doc/library/asyncio-future.rst:37 +#: ../Doc/library/asyncio-future.rst:42 msgid "" "a :class:`Task` object wrapping *obj*, if *obj* is a coroutine (:func:" "`iscoroutine` is used for the test); in this case the coroutine will be " "scheduled by ``ensure_future()``." msgstr "" -#: ../Doc/library/asyncio-future.rst:42 +#: ../Doc/library/asyncio-future.rst:47 msgid "" "a :class:`Task` object that would await on *obj*, if *obj* is an awaitable (:" "func:`inspect.isawaitable` is used for the test.)" msgstr "" -#: ../Doc/library/asyncio-future.rst:45 +#: ../Doc/library/asyncio-future.rst:50 msgid "If *obj* is neither of the above a :exc:`TypeError` is raised." msgstr "" -#: ../Doc/library/asyncio-future.rst:49 +#: ../Doc/library/asyncio-future.rst:54 msgid "" "See also the :func:`create_task` function which is the preferred way for " "creating new Tasks." msgstr "" -#: ../Doc/library/asyncio-future.rst:52 +#: ../Doc/library/asyncio-future.rst:57 msgid "The function accepts any :term:`awaitable` object." msgstr "La fonction accepte n'importe quel objet :term:`awaitable`." -#: ../Doc/library/asyncio-future.rst:58 +#: ../Doc/library/asyncio-future.rst:63 msgid "" "Wrap a :class:`concurrent.futures.Future` object in a :class:`asyncio." "Future` object." msgstr "" -#: ../Doc/library/asyncio-future.rst:63 +#: ../Doc/library/asyncio-future.rst:68 msgid "Future Object" msgstr "" -#: ../Doc/library/asyncio-future.rst:67 +#: ../Doc/library/asyncio-future.rst:72 msgid "" "A Future represents an eventual result of an asynchronous operation. Not " "thread-safe." msgstr "" -#: ../Doc/library/asyncio-future.rst:70 +#: ../Doc/library/asyncio-future.rst:75 msgid "" "Future is an :term:`awaitable` object. Coroutines can await on Future " "objects until they either have a result or an exception set, or until they " "are cancelled." msgstr "" -#: ../Doc/library/asyncio-future.rst:74 +#: ../Doc/library/asyncio-future.rst:79 msgid "" "Typically Futures are used to enable low-level callback-based code (e.g. in " "protocols implemented using asyncio :ref:`transports `) to interoperate with high-level async/await code." msgstr "" -#: ../Doc/library/asyncio-future.rst:79 +#: ../Doc/library/asyncio-future.rst:84 msgid "" "The rule of thumb is to never expose Future objects in user-facing APIs, and " "the recommended way to create a Future object is to call :meth:`loop." @@ -119,182 +125,182 @@ msgid "" "their own optimized implementations of a Future object." msgstr "" -#: ../Doc/library/asyncio-future.rst:85 +#: ../Doc/library/asyncio-future.rst:90 msgid "Added support for the :mod:`contextvars` module." msgstr "Ajout du support du module :mod:`contextvars`." -#: ../Doc/library/asyncio-future.rst:90 +#: ../Doc/library/asyncio-future.rst:95 msgid "Return the result of the Future." msgstr "" -#: ../Doc/library/asyncio-future.rst:92 +#: ../Doc/library/asyncio-future.rst:97 msgid "" "If the Future is *done* and has a result set by the :meth:`set_result` " "method, the result value is returned." msgstr "" -#: ../Doc/library/asyncio-future.rst:95 +#: ../Doc/library/asyncio-future.rst:100 msgid "" "If the Future is *done* and has an exception set by the :meth:" "`set_exception` method, this method raises the exception." msgstr "" -#: ../Doc/library/asyncio-future.rst:98 ../Doc/library/asyncio-future.rst:183 +#: ../Doc/library/asyncio-future.rst:103 ../Doc/library/asyncio-future.rst:188 msgid "" "If the Future has been *cancelled*, this method raises a :exc:" "`CancelledError` exception." msgstr "" -#: ../Doc/library/asyncio-future.rst:101 +#: ../Doc/library/asyncio-future.rst:106 msgid "" "If the Future's result isn't yet available, this method raises a :exc:" "`InvalidStateError` exception." msgstr "" -#: ../Doc/library/asyncio-future.rst:106 +#: ../Doc/library/asyncio-future.rst:111 msgid "Mark the Future as *done* and set its result." msgstr "" -#: ../Doc/library/asyncio-future.rst:108 ../Doc/library/asyncio-future.rst:115 +#: ../Doc/library/asyncio-future.rst:113 ../Doc/library/asyncio-future.rst:120 msgid "" "Raises a :exc:`InvalidStateError` error if the Future is already *done*." msgstr "" -#: ../Doc/library/asyncio-future.rst:113 +#: ../Doc/library/asyncio-future.rst:118 msgid "Mark the Future as *done* and set an exception." msgstr "" -#: ../Doc/library/asyncio-future.rst:120 +#: ../Doc/library/asyncio-future.rst:125 msgid "Return ``True`` if the Future is *done*." msgstr "" -#: ../Doc/library/asyncio-future.rst:122 +#: ../Doc/library/asyncio-future.rst:127 msgid "" "A Future is *done* if it was *cancelled* or if it has a result or an " "exception set with :meth:`set_result` or :meth:`set_exception` calls." msgstr "" -#: ../Doc/library/asyncio-future.rst:128 +#: ../Doc/library/asyncio-future.rst:133 msgid "Return ``True`` if the Future was *cancelled*." msgstr "" -#: ../Doc/library/asyncio-future.rst:130 +#: ../Doc/library/asyncio-future.rst:135 msgid "" "The method is usually used to check if a Future is not *cancelled* before " "setting a result or an exception for it::" msgstr "" -#: ../Doc/library/asyncio-future.rst:138 +#: ../Doc/library/asyncio-future.rst:143 msgid "Add a callback to be run when the Future is *done*." msgstr "" -#: ../Doc/library/asyncio-future.rst:140 +#: ../Doc/library/asyncio-future.rst:145 msgid "The *callback* is called with the Future object as its only argument." msgstr "" -#: ../Doc/library/asyncio-future.rst:143 +#: ../Doc/library/asyncio-future.rst:148 msgid "" "If the Future is already *done* when this method is called, the callback is " "scheduled with :meth:`loop.call_soon`." msgstr "" -#: ../Doc/library/asyncio-future.rst:146 +#: ../Doc/library/asyncio-future.rst:151 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *callback* to run in. The current " "context is used when no *context* is provided." msgstr "" -#: ../Doc/library/asyncio-future.rst:150 +#: ../Doc/library/asyncio-future.rst:155 msgid "" ":func:`functools.partial` can be used to pass parameters to the callback, e." "g.::" msgstr "" -#: ../Doc/library/asyncio-future.rst:157 +#: ../Doc/library/asyncio-future.rst:162 msgid "" "The *context* keyword-only parameter was added. See :pep:`567` for more " "details." msgstr "" -#: ../Doc/library/asyncio-future.rst:163 +#: ../Doc/library/asyncio-future.rst:168 msgid "Remove *callback* from the callbacks list." msgstr "Retire *callback* de la liste de fonctions de rappel." -#: ../Doc/library/asyncio-future.rst:165 +#: ../Doc/library/asyncio-future.rst:170 msgid "" "Returns the number of callbacks removed, which is typically 1, unless a " "callback was added more than once." msgstr "" -#: ../Doc/library/asyncio-future.rst:170 +#: ../Doc/library/asyncio-future.rst:175 msgid "Cancel the Future and schedule callbacks." msgstr "" -#: ../Doc/library/asyncio-future.rst:172 +#: ../Doc/library/asyncio-future.rst:177 msgid "" "If the Future is already *done* or *cancelled*, return ``False``. Otherwise, " "change the Future's state to *cancelled*, schedule the callbacks, and return " "``True``." msgstr "" -#: ../Doc/library/asyncio-future.rst:178 +#: ../Doc/library/asyncio-future.rst:183 msgid "Return the exception that was set on this Future." msgstr "" -#: ../Doc/library/asyncio-future.rst:180 +#: ../Doc/library/asyncio-future.rst:185 msgid "" "The exception (or ``None`` if no exception was set) is returned only if the " "Future is *done*." msgstr "" -#: ../Doc/library/asyncio-future.rst:186 +#: ../Doc/library/asyncio-future.rst:191 msgid "" "If the Future isn't *done* yet, this method raises an :exc:" "`InvalidStateError` exception." msgstr "" -#: ../Doc/library/asyncio-future.rst:191 +#: ../Doc/library/asyncio-future.rst:196 msgid "Return the event loop the Future object is bound to." msgstr "" -#: ../Doc/library/asyncio-future.rst:198 +#: ../Doc/library/asyncio-future.rst:203 msgid "" "This example creates a Future object, creates and schedules an asynchronous " "Task to set result for the Future, and waits until the Future has a result::" msgstr "" -#: ../Doc/library/asyncio-future.rst:233 +#: ../Doc/library/asyncio-future.rst:238 msgid "" "The Future object was designed to mimic :class:`concurrent.futures.Future`. " "Key differences include:" msgstr "" -#: ../Doc/library/asyncio-future.rst:236 +#: ../Doc/library/asyncio-future.rst:241 msgid "" "unlike asyncio Futures, :class:`concurrent.futures.Future` instances cannot " "be awaited." msgstr "" -#: ../Doc/library/asyncio-future.rst:239 +#: ../Doc/library/asyncio-future.rst:244 msgid "" ":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` do not " "accept the *timeout* argument." msgstr "" -#: ../Doc/library/asyncio-future.rst:242 +#: ../Doc/library/asyncio-future.rst:247 msgid "" ":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` raise an :" "exc:`InvalidStateError` exception when the Future is not *done*." msgstr "" -#: ../Doc/library/asyncio-future.rst:246 +#: ../Doc/library/asyncio-future.rst:251 msgid "" "Callbacks registered with :meth:`asyncio.Future.add_done_callback` are not " "called immediately. They are scheduled with :meth:`loop.call_soon` instead." msgstr "" -#: ../Doc/library/asyncio-future.rst:250 +#: ../Doc/library/asyncio-future.rst:255 msgid "" "asyncio Future is not compatible with the :func:`concurrent.futures.wait` " "and :func:`concurrent.futures.as_completed` functions." diff --git a/library/asyncio-platforms.po b/library/asyncio-platforms.po index 70061bdf..dd0919b0 100644 --- a/library/asyncio-platforms.po +++ b/library/asyncio-platforms.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -39,66 +39,72 @@ msgstr "" msgid "Windows" msgstr "Windows" -#: ../Doc/library/asyncio-platforms.rst:28 +#: ../Doc/library/asyncio-platforms.rst:26 +msgid "" +"**Source code:** :source:`Lib/asyncio/proactor_events.py`, :source:`Lib/" +"asyncio/windows_events.py`, :source:`Lib/asyncio/windows_utils.py`" +msgstr "" + +#: ../Doc/library/asyncio-platforms.rst:34 msgid "On Windows, :class:`ProactorEventLoop` is now the default event loop." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:30 +#: ../Doc/library/asyncio-platforms.rst:36 msgid "All event loops on Windows do not support the following methods:" msgstr "" -#: ../Doc/library/asyncio-platforms.rst:32 +#: ../Doc/library/asyncio-platforms.rst:38 msgid "" ":meth:`loop.create_unix_connection` and :meth:`loop.create_unix_server` are " "not supported. The :data:`socket.AF_UNIX` socket family is specific to Unix." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:36 +#: ../Doc/library/asyncio-platforms.rst:42 msgid "" ":meth:`loop.add_signal_handler` and :meth:`loop.remove_signal_handler` are " "not supported." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:39 +#: ../Doc/library/asyncio-platforms.rst:45 msgid ":class:`SelectorEventLoop` has the following limitations:" msgstr "" -#: ../Doc/library/asyncio-platforms.rst:41 +#: ../Doc/library/asyncio-platforms.rst:47 msgid "" ":class:`~selectors.SelectSelector` is used to wait on socket events: it " "supports sockets and is limited to 512 sockets." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:44 +#: ../Doc/library/asyncio-platforms.rst:50 msgid "" ":meth:`loop.add_reader` and :meth:`loop.add_writer` only accept socket " "handles (e.g. pipe file descriptors are not supported)." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:47 +#: ../Doc/library/asyncio-platforms.rst:53 msgid "" "Pipes are not supported, so the :meth:`loop.connect_read_pipe` and :meth:" "`loop.connect_write_pipe` methods are not implemented." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:50 +#: ../Doc/library/asyncio-platforms.rst:56 msgid "" ":ref:`Subprocesses ` are not supported, i.e. :meth:`loop." "subprocess_exec` and :meth:`loop.subprocess_shell` methods are not " "implemented." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:54 +#: ../Doc/library/asyncio-platforms.rst:60 msgid ":class:`ProactorEventLoop` has the following limitations:" msgstr "" -#: ../Doc/library/asyncio-platforms.rst:56 +#: ../Doc/library/asyncio-platforms.rst:62 msgid "" "The :meth:`loop.add_reader` and :meth:`loop.add_writer` methods are not " "supported." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:59 +#: ../Doc/library/asyncio-platforms.rst:65 msgid "" "The resolution of the monotonic clock on Windows is usually around 15.6 " "msec. The best resolution is 0.5 msec. The resolution depends on the " @@ -106,36 +112,36 @@ msgid "" "High_Precision_Event_Timer>`_) and on the Windows configuration." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:69 +#: ../Doc/library/asyncio-platforms.rst:75 msgid "Subprocess Support on Windows" msgstr "" -#: ../Doc/library/asyncio-platforms.rst:71 +#: ../Doc/library/asyncio-platforms.rst:77 msgid "" "On Windows, the default event loop :class:`ProactorEventLoop` supports " "subprocesses, whereas :class:`SelectorEventLoop` does not." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:74 +#: ../Doc/library/asyncio-platforms.rst:80 msgid "" "The :meth:`policy.set_child_watcher() ` function is also not supported, as :class:" "`ProactorEventLoop` has a different mechanism to watch child processes." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:81 +#: ../Doc/library/asyncio-platforms.rst:87 msgid "macOS" msgstr "" -#: ../Doc/library/asyncio-platforms.rst:83 +#: ../Doc/library/asyncio-platforms.rst:89 msgid "Modern macOS versions are fully supported." msgstr "" -#: ../Doc/library/asyncio-platforms.rst:86 +#: ../Doc/library/asyncio-platforms.rst:92 msgid "macOS <= 10.8" msgstr "" -#: ../Doc/library/asyncio-platforms.rst:87 +#: ../Doc/library/asyncio-platforms.rst:93 msgid "" "On macOS 10.6, 10.7 and 10.8, the default event loop uses :class:`selectors." "KqueueSelector`, which does not support character devices on these " diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index 9c496ba8..f2da99fb 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-18 22:29+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -114,73 +114,77 @@ msgid "Transports" msgstr "Transports" #: ../Doc/library/asyncio-protocol.rst:72 +msgid "**Source code:** :source:`Lib/asyncio/transports.py`" +msgstr "" + +#: ../Doc/library/asyncio-protocol.rst:76 msgid "" "Transports are classes provided by :mod:`asyncio` in order to abstract " "various kinds of communication channels." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:75 +#: ../Doc/library/asyncio-protocol.rst:79 msgid "" "Transport objects are always instantiated by an :ref:`asyncio event loop " "`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:78 +#: ../Doc/library/asyncio-protocol.rst:82 msgid "" "asyncio implements transports for TCP, UDP, SSL, and subprocess pipes. The " "methods available on a transport depend on the transport's kind." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:81 +#: ../Doc/library/asyncio-protocol.rst:85 msgid "" "The transport classes are :ref:`not thread safe `." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:85 +#: ../Doc/library/asyncio-protocol.rst:89 msgid "Transports Hierarchy" msgstr "Hiérarchie des transports" -#: ../Doc/library/asyncio-protocol.rst:89 +#: ../Doc/library/asyncio-protocol.rst:93 msgid "" "Base class for all transports. Contains methods that all asyncio transports " "share." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:94 +#: ../Doc/library/asyncio-protocol.rst:98 msgid "A base transport for write-only connections." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:96 +#: ../Doc/library/asyncio-protocol.rst:100 msgid "" "Instances of the *WriteTransport* class are returned from the :meth:`loop." "connect_write_pipe` event loop method and are also used by subprocess-" "related methods like :meth:`loop.subprocess_exec`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:103 +#: ../Doc/library/asyncio-protocol.rst:107 msgid "A base transport for read-only connections." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:105 +#: ../Doc/library/asyncio-protocol.rst:109 msgid "" "Instances of the *ReadTransport* class are returned from the :meth:`loop." "connect_read_pipe` event loop method and are also used by subprocess-related " "methods like :meth:`loop.subprocess_exec`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:112 +#: ../Doc/library/asyncio-protocol.rst:116 msgid "" "Interface representing a bidirectional transport, such as a TCP connection." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:115 +#: ../Doc/library/asyncio-protocol.rst:119 msgid "" "The user does not instantiate a transport directly; they call a utility " "function, passing it a protocol factory and other information necessary to " "create the transport and protocol." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:119 +#: ../Doc/library/asyncio-protocol.rst:123 msgid "" "Instances of the *Transport* class are returned from or used by event loop " "methods like :meth:`loop.create_connection`, :meth:`loop." @@ -188,37 +192,37 @@ msgid "" "etc." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:127 +#: ../Doc/library/asyncio-protocol.rst:131 msgid "A transport for datagram (UDP) connections." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:129 +#: ../Doc/library/asyncio-protocol.rst:133 msgid "" "Instances of the *DatagramTransport* class are returned from the :meth:`loop." "create_datagram_endpoint` event loop method." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:135 +#: ../Doc/library/asyncio-protocol.rst:139 msgid "" "An abstraction to represent a connection between a parent and its child OS " "process." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:138 +#: ../Doc/library/asyncio-protocol.rst:142 msgid "" "Instances of the *SubprocessTransport* class are returned from event loop " "methods :meth:`loop.subprocess_shell` and :meth:`loop.subprocess_exec`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:144 +#: ../Doc/library/asyncio-protocol.rst:148 msgid "Base Transport" msgstr "Classe de base des Transports" -#: ../Doc/library/asyncio-protocol.rst:148 +#: ../Doc/library/asyncio-protocol.rst:152 msgid "Close the transport." msgstr "Ferme le transport." -#: ../Doc/library/asyncio-protocol.rst:150 +#: ../Doc/library/asyncio-protocol.rst:154 msgid "" "If the transport has a buffer for outgoing data, buffered data will be " "flushed asynchronously. No more data will be received. After all buffered " @@ -227,158 +231,158 @@ msgid "" "its argument." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:159 +#: ../Doc/library/asyncio-protocol.rst:163 msgid "Return ``True`` if the transport is closing or is closed." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:163 +#: ../Doc/library/asyncio-protocol.rst:167 msgid "Return information about the transport or underlying resources it uses." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:166 +#: ../Doc/library/asyncio-protocol.rst:170 msgid "" "*name* is a string representing the piece of transport-specific information " "to get." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:169 +#: ../Doc/library/asyncio-protocol.rst:173 msgid "" "*default* is the value to return if the information is not available, or if " "the transport does not support querying it with the given third-party event " "loop implementation or on the current platform." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:174 +#: ../Doc/library/asyncio-protocol.rst:178 msgid "" "For example, the following code attempts to get the underlying socket object " "of the transport::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:181 +#: ../Doc/library/asyncio-protocol.rst:185 msgid "Categories of information that can be queried on some transports:" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:183 +#: ../Doc/library/asyncio-protocol.rst:187 msgid "socket:" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:185 +#: ../Doc/library/asyncio-protocol.rst:189 msgid "" "``'peername'``: the remote address to which the socket is connected, result " "of :meth:`socket.socket.getpeername` (``None`` on error)" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:189 +#: ../Doc/library/asyncio-protocol.rst:193 msgid "``'socket'``: :class:`socket.socket` instance" msgstr "``'socket'`` : Instance de :class:`socket.socket`" -#: ../Doc/library/asyncio-protocol.rst:191 +#: ../Doc/library/asyncio-protocol.rst:195 msgid "" "``'sockname'``: the socket's own address, result of :meth:`socket.socket." "getsockname`" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:194 +#: ../Doc/library/asyncio-protocol.rst:198 msgid "SSL socket:" msgstr "Connecteur (*socket* en anglais) SSL :" -#: ../Doc/library/asyncio-protocol.rst:196 +#: ../Doc/library/asyncio-protocol.rst:200 msgid "" "``'compression'``: the compression algorithm being used as a string, or " "``None`` if the connection isn't compressed; result of :meth:`ssl.SSLSocket." "compression`" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:200 +#: ../Doc/library/asyncio-protocol.rst:204 msgid "" "``'cipher'``: a three-value tuple containing the name of the cipher being " "used, the version of the SSL protocol that defines its use, and the number " "of secret bits being used; result of :meth:`ssl.SSLSocket.cipher`" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:205 +#: ../Doc/library/asyncio-protocol.rst:209 msgid "" "``'peercert'``: peer certificate; result of :meth:`ssl.SSLSocket.getpeercert`" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:208 +#: ../Doc/library/asyncio-protocol.rst:212 msgid "``'sslcontext'``: :class:`ssl.SSLContext` instance" msgstr "``sslcontext'`` : Instance de :class:`ssl.SSLContext`" -#: ../Doc/library/asyncio-protocol.rst:210 +#: ../Doc/library/asyncio-protocol.rst:214 msgid "" "``'ssl_object'``: :class:`ssl.SSLObject` or :class:`ssl.SSLSocket` instance" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:213 +#: ../Doc/library/asyncio-protocol.rst:217 msgid "pipe:" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:215 +#: ../Doc/library/asyncio-protocol.rst:219 msgid "``'pipe'``: pipe object" msgstr "``'pipe'`` : objet *pipe*" -#: ../Doc/library/asyncio-protocol.rst:217 +#: ../Doc/library/asyncio-protocol.rst:221 msgid "subprocess:" msgstr "sous-processus :" -#: ../Doc/library/asyncio-protocol.rst:219 +#: ../Doc/library/asyncio-protocol.rst:223 msgid "``'subprocess'``: :class:`subprocess.Popen` instance" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:223 +#: ../Doc/library/asyncio-protocol.rst:227 msgid "Set a new protocol." msgstr "Change le protocole." -#: ../Doc/library/asyncio-protocol.rst:225 +#: ../Doc/library/asyncio-protocol.rst:229 msgid "" "Switching protocol should only be done when both protocols are documented to " "support the switch." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:230 +#: ../Doc/library/asyncio-protocol.rst:234 msgid "Return the current protocol." msgstr "Renvoie le protocole courant." -#: ../Doc/library/asyncio-protocol.rst:234 +#: ../Doc/library/asyncio-protocol.rst:238 msgid "Read-only Transports" msgstr "Transports en lecture seule" -#: ../Doc/library/asyncio-protocol.rst:238 +#: ../Doc/library/asyncio-protocol.rst:242 msgid "Return ``True`` if the transport is receiving new data." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:244 +#: ../Doc/library/asyncio-protocol.rst:248 msgid "" "Pause the receiving end of the transport. No data will be passed to the " "protocol's :meth:`protocol.data_received() ` method " "until :meth:`resume_reading` is called." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:248 +#: ../Doc/library/asyncio-protocol.rst:252 msgid "" "The method is idempotent, i.e. it can be called when the transport is " "already paused or closed." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:254 +#: ../Doc/library/asyncio-protocol.rst:258 msgid "" "Resume the receiving end. The protocol's :meth:`protocol.data_received() " "` method will be called once again if some data is " "available for reading." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:258 +#: ../Doc/library/asyncio-protocol.rst:262 msgid "" "The method is idempotent, i.e. it can be called when the transport is " "already reading." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:264 +#: ../Doc/library/asyncio-protocol.rst:268 msgid "Write-only Transports" msgstr "Transports en lecture/écriture" -#: ../Doc/library/asyncio-protocol.rst:268 +#: ../Doc/library/asyncio-protocol.rst:272 msgid "" "Close the transport immediately, without waiting for pending operations to " "complete. Buffered data will be lost. No more data will be received. The " @@ -386,31 +390,31 @@ msgid "" "method will eventually be called with :const:`None` as its argument." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:276 +#: ../Doc/library/asyncio-protocol.rst:280 msgid "" "Return :const:`True` if the transport supports :meth:`~WriteTransport." "write_eof`, :const:`False` if not." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:281 +#: ../Doc/library/asyncio-protocol.rst:285 msgid "Return the current size of the output buffer used by the transport." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:285 +#: ../Doc/library/asyncio-protocol.rst:289 msgid "" "Get the *high* and *low* watermarks for write flow control. Return a tuple " "``(low, high)`` where *low* and *high* are positive number of bytes." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:289 +#: ../Doc/library/asyncio-protocol.rst:293 msgid "Use :meth:`set_write_buffer_limits` to set the limits." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:295 +#: ../Doc/library/asyncio-protocol.rst:299 msgid "Set the *high* and *low* watermarks for write flow control." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:297 +#: ../Doc/library/asyncio-protocol.rst:301 msgid "" "These two values (measured in number of bytes) control when the protocol's :" "meth:`protocol.pause_writing() ` and :meth:" @@ -419,7 +423,7 @@ msgid "" "high watermark. Neither *high* nor *low* can be negative." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:305 +#: ../Doc/library/asyncio-protocol.rst:309 msgid "" ":meth:`~BaseProtocol.pause_writing` is called when the buffer size becomes " "greater than or equal to the *high* value. If writing has been paused, :meth:" @@ -427,7 +431,7 @@ msgid "" "than or equal to the *low* value." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:310 +#: ../Doc/library/asyncio-protocol.rst:314 msgid "" "The defaults are implementation-specific. If only the high watermark is " "given, the low watermark defaults to an implementation-specific value less " @@ -439,52 +443,52 @@ msgid "" "opportunities for doing I/O and computation concurrently." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:321 +#: ../Doc/library/asyncio-protocol.rst:325 msgid "Use :meth:`~WriteTransport.get_write_buffer_limits` to get the limits." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:326 +#: ../Doc/library/asyncio-protocol.rst:330 msgid "Write some *data* bytes to the transport." msgstr "Écrit des octets de *data* sur le transport." -#: ../Doc/library/asyncio-protocol.rst:328 -#: ../Doc/library/asyncio-protocol.rst:357 +#: ../Doc/library/asyncio-protocol.rst:332 +#: ../Doc/library/asyncio-protocol.rst:361 msgid "" "This method does not block; it buffers the data and arranges for it to be " "sent out asynchronously." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:333 +#: ../Doc/library/asyncio-protocol.rst:337 msgid "" "Write a list (or any iterable) of data bytes to the transport. This is " "functionally equivalent to calling :meth:`write` on each element yielded by " "the iterable, but may be implemented more efficiently." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:340 +#: ../Doc/library/asyncio-protocol.rst:344 msgid "" "Close the write end of the transport after flushing all buffered data. Data " "may still be received." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:343 +#: ../Doc/library/asyncio-protocol.rst:347 msgid "" "This method can raise :exc:`NotImplementedError` if the transport (e.g. SSL) " "doesn't support half-closed connections." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:348 +#: ../Doc/library/asyncio-protocol.rst:352 msgid "Datagram Transports" msgstr "Transports de datagrammes" -#: ../Doc/library/asyncio-protocol.rst:352 +#: ../Doc/library/asyncio-protocol.rst:356 msgid "" "Send the *data* bytes to the remote peer given by *addr* (a transport-" "dependent target address). If *addr* is :const:`None`, the data is sent to " "the target address given on transport creation." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:362 +#: ../Doc/library/asyncio-protocol.rst:366 msgid "" "Close the transport immediately, without waiting for pending operations to " "complete. Buffered data will be lost. No more data will be received. The " @@ -492,106 +496,110 @@ msgid "" "method will eventually be called with :const:`None` as its argument." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:372 +#: ../Doc/library/asyncio-protocol.rst:376 msgid "Subprocess Transports" msgstr "Transports vers des sous-processus" -#: ../Doc/library/asyncio-protocol.rst:376 +#: ../Doc/library/asyncio-protocol.rst:380 msgid "Return the subprocess process id as an integer." msgstr "" "Donne l'identifiant du sous processus sous la forme d'un nombre entier." -#: ../Doc/library/asyncio-protocol.rst:380 +#: ../Doc/library/asyncio-protocol.rst:384 msgid "" "Return the transport for the communication pipe corresponding to the integer " "file descriptor *fd*:" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:383 +#: ../Doc/library/asyncio-protocol.rst:387 msgid "" "``0``: readable streaming transport of the standard input (*stdin*), or :" "const:`None` if the subprocess was not created with ``stdin=PIPE``" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:385 +#: ../Doc/library/asyncio-protocol.rst:389 msgid "" "``1``: writable streaming transport of the standard output (*stdout*), or :" "const:`None` if the subprocess was not created with ``stdout=PIPE``" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:387 +#: ../Doc/library/asyncio-protocol.rst:391 msgid "" "``2``: writable streaming transport of the standard error (*stderr*), or :" "const:`None` if the subprocess was not created with ``stderr=PIPE``" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:389 +#: ../Doc/library/asyncio-protocol.rst:393 msgid "other *fd*: :const:`None`" msgstr "autre *fd* : :const:`None`" -#: ../Doc/library/asyncio-protocol.rst:393 +#: ../Doc/library/asyncio-protocol.rst:397 msgid "" "Return the subprocess return code as an integer or :const:`None` if it " "hasn't returned, which is similar to the :attr:`subprocess.Popen.returncode` " "attribute." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:399 +#: ../Doc/library/asyncio-protocol.rst:403 msgid "Kill the subprocess." msgstr "Tue le sous-processus." -#: ../Doc/library/asyncio-protocol.rst:401 +#: ../Doc/library/asyncio-protocol.rst:405 msgid "" "On POSIX systems, the function sends SIGKILL to the subprocess. On Windows, " "this method is an alias for :meth:`terminate`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:404 +#: ../Doc/library/asyncio-protocol.rst:408 msgid "See also :meth:`subprocess.Popen.kill`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:408 +#: ../Doc/library/asyncio-protocol.rst:412 msgid "" "Send the *signal* number to the subprocess, as in :meth:`subprocess.Popen." "send_signal`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:413 +#: ../Doc/library/asyncio-protocol.rst:417 msgid "Stop the subprocess." msgstr "Termine le sous-processus." -#: ../Doc/library/asyncio-protocol.rst:415 +#: ../Doc/library/asyncio-protocol.rst:419 msgid "" "On POSIX systems, this method sends SIGTERM to the subprocess. On Windows, " "the Windows API function TerminateProcess() is called to stop the subprocess." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:419 +#: ../Doc/library/asyncio-protocol.rst:423 msgid "See also :meth:`subprocess.Popen.terminate`." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:423 +#: ../Doc/library/asyncio-protocol.rst:427 msgid "Kill the subprocess by calling the :meth:`kill` method." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:425 +#: ../Doc/library/asyncio-protocol.rst:429 msgid "" "If the subprocess hasn't returned yet, and close transports of *stdin*, " "*stdout*, and *stderr* pipes." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:432 +#: ../Doc/library/asyncio-protocol.rst:436 msgid "Protocols" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:434 +#: ../Doc/library/asyncio-protocol.rst:438 +msgid "**Source code:** :source:`Lib/asyncio/protocols.py`" +msgstr "" + +#: ../Doc/library/asyncio-protocol.rst:442 msgid "" "asyncio provides a set of abstract base classes that should be used to " "implement network protocols. Those classes are meant to be used together " "with :ref:`transports `." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:438 +#: ../Doc/library/asyncio-protocol.rst:446 msgid "" "Subclasses of abstract base protocol classes may implement some or all " "methods. All these methods are callbacks: they are called by transports on " @@ -599,117 +607,117 @@ msgid "" "method should be called by the corresponding transport." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:445 +#: ../Doc/library/asyncio-protocol.rst:453 msgid "Base Protocols" msgstr "Protocoles de base" -#: ../Doc/library/asyncio-protocol.rst:449 +#: ../Doc/library/asyncio-protocol.rst:457 msgid "Base protocol with methods that all protocols share." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:453 +#: ../Doc/library/asyncio-protocol.rst:461 msgid "" "The base class for implementing streaming protocols (TCP, Unix sockets, etc)." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:458 +#: ../Doc/library/asyncio-protocol.rst:466 msgid "" "A base class for implementing streaming protocols with manual control of the " "receive buffer." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:463 +#: ../Doc/library/asyncio-protocol.rst:471 msgid "The base class for implementing datagram (UDP) protocols." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:467 +#: ../Doc/library/asyncio-protocol.rst:475 msgid "" "The base class for implementing protocols communicating with child processes " "(unidirectional pipes)." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:472 +#: ../Doc/library/asyncio-protocol.rst:480 msgid "Base Protocol" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:474 +#: ../Doc/library/asyncio-protocol.rst:482 msgid "All asyncio protocols can implement Base Protocol callbacks." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:477 +#: ../Doc/library/asyncio-protocol.rst:485 msgid "Connection Callbacks" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:478 +#: ../Doc/library/asyncio-protocol.rst:486 msgid "" "Connection callbacks are called on all protocols, exactly once per a " "successful connection. All other protocol callbacks can only be called " "between those two methods." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:484 +#: ../Doc/library/asyncio-protocol.rst:492 msgid "Called when a connection is made." msgstr "Appelé lorsqu'une connexion est établie." -#: ../Doc/library/asyncio-protocol.rst:486 +#: ../Doc/library/asyncio-protocol.rst:494 msgid "" "The *transport* argument is the transport representing the connection. The " "protocol is responsible for storing the reference to its transport." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:492 +#: ../Doc/library/asyncio-protocol.rst:500 msgid "Called when the connection is lost or closed." msgstr "Appelé lorsqu'une connexion est perdue ou fermée." -#: ../Doc/library/asyncio-protocol.rst:494 +#: ../Doc/library/asyncio-protocol.rst:502 msgid "" "The argument is either an exception object or :const:`None`. The latter " "means a regular EOF is received, or the connection was aborted or closed by " "this side of the connection." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:500 +#: ../Doc/library/asyncio-protocol.rst:508 msgid "Flow Control Callbacks" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:501 +#: ../Doc/library/asyncio-protocol.rst:509 msgid "" "Flow control callbacks can be called by transports to pause or resume " "writing performed by the protocol." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:504 +#: ../Doc/library/asyncio-protocol.rst:512 msgid "" "See the documentation of the :meth:`~WriteTransport.set_write_buffer_limits` " "method for more details." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:509 +#: ../Doc/library/asyncio-protocol.rst:517 msgid "Called when the transport's buffer goes over the high watermark." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:513 +#: ../Doc/library/asyncio-protocol.rst:521 msgid "Called when the transport's buffer drains below the low watermark." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:515 +#: ../Doc/library/asyncio-protocol.rst:523 msgid "" "If the buffer size equals the high watermark, :meth:`~BaseProtocol." "pause_writing` is not called: the buffer size must go strictly over." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:519 +#: ../Doc/library/asyncio-protocol.rst:527 msgid "" "Conversely, :meth:`~BaseProtocol.resume_writing` is called when the buffer " "size is equal or lower than the low watermark. These end conditions are " "important to ensure that things go as expected when either mark is zero." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:526 +#: ../Doc/library/asyncio-protocol.rst:534 msgid "Streaming Protocols" msgstr "Protocoles connectés" -#: ../Doc/library/asyncio-protocol.rst:528 +#: ../Doc/library/asyncio-protocol.rst:536 msgid "" "Event methods, such as :meth:`loop.create_server`, :meth:`loop." "create_unix_server`, :meth:`loop.create_connection`, :meth:`loop." @@ -718,13 +726,13 @@ msgid "" "that return streaming protocols." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:536 +#: ../Doc/library/asyncio-protocol.rst:544 msgid "" "Called when some data is received. *data* is a non-empty bytes object " "containing the incoming data." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:539 +#: ../Doc/library/asyncio-protocol.rst:547 msgid "" "Whether the data is buffered, chunked or reassembled depends on the " "transport. In general, you shouldn't rely on specific semantics and instead " @@ -732,27 +740,27 @@ msgid "" "the correct order." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:544 +#: ../Doc/library/asyncio-protocol.rst:552 msgid "" "The method can be called an arbitrary number of times while a connection is " "open." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:547 +#: ../Doc/library/asyncio-protocol.rst:555 msgid "" "However, :meth:`protocol.eof_received() ` is called " "at most once. Once `eof_received()` is called, ``data_received()`` is not " "called anymore." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:553 +#: ../Doc/library/asyncio-protocol.rst:561 msgid "" "Called when the other end signals it won't send any more data (for example " "by calling :meth:`transport.write_eof() `, if the " "other end also uses asyncio)." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:558 +#: ../Doc/library/asyncio-protocol.rst:566 msgid "" "This method may return a false value (including ``None``), in which case the " "transport will close itself. Conversely, if this method returns a true " @@ -761,36 +769,36 @@ msgid "" "connection." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:564 +#: ../Doc/library/asyncio-protocol.rst:572 msgid "" "Some transports, including SSL, don't support half-closed connections, in " "which case returning true from this method will result in the connection " "being closed." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:569 -#: ../Doc/library/asyncio-protocol.rst:630 +#: ../Doc/library/asyncio-protocol.rst:577 +#: ../Doc/library/asyncio-protocol.rst:638 msgid "State machine:" msgstr "Machine à états :" -#: ../Doc/library/asyncio-protocol.rst:580 +#: ../Doc/library/asyncio-protocol.rst:588 msgid "Buffered Streaming Protocols" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:582 +#: ../Doc/library/asyncio-protocol.rst:590 msgid "" "**Important:** this has been added to asyncio in Python 3.7 *on a " "provisional basis*! This is as an experimental API that might be changed or " "removed completely in Python 3.8." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:587 +#: ../Doc/library/asyncio-protocol.rst:595 msgid "" "Buffered Protocols can be used with any event loop method that supports " "`Streaming Protocols`_." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:590 +#: ../Doc/library/asyncio-protocol.rst:598 msgid "" "``BufferedProtocol`` implementations allow explicit manual allocation and " "control of the receive buffer. Event loops can then use the buffer provided " @@ -800,16 +808,16 @@ msgid "" "number of buffer allocations." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:597 +#: ../Doc/library/asyncio-protocol.rst:605 msgid "" "The following callbacks are called on :class:`BufferedProtocol` instances:" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:602 +#: ../Doc/library/asyncio-protocol.rst:610 msgid "Called to allocate a new receive buffer." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:604 +#: ../Doc/library/asyncio-protocol.rst:612 msgid "" "*sizehint* is the recommended minimum size for the returned buffer. It is " "acceptable to return smaller or larger buffers than what *sizehint* " @@ -817,27 +825,27 @@ msgid "" "to return a buffer with a zero size." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:609 +#: ../Doc/library/asyncio-protocol.rst:617 msgid "" "``get_buffer()`` must return an object implementing the :ref:`buffer " "protocol `." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:614 +#: ../Doc/library/asyncio-protocol.rst:622 msgid "Called when the buffer was updated with the received data." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:616 +#: ../Doc/library/asyncio-protocol.rst:624 msgid "*nbytes* is the total number of bytes that were written to the buffer." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:620 +#: ../Doc/library/asyncio-protocol.rst:628 msgid "" "See the documentation of the :meth:`protocol.eof_received() ` method." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:624 +#: ../Doc/library/asyncio-protocol.rst:632 msgid "" ":meth:`~BufferedProtocol.get_buffer` can be called an arbitrary number of " "times during a connection. However, :meth:`protocol.eof_received() " @@ -846,44 +854,44 @@ msgid "" "won't be called after it." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:643 +#: ../Doc/library/asyncio-protocol.rst:651 msgid "Datagram Protocols" msgstr "Protocoles non-connectés" -#: ../Doc/library/asyncio-protocol.rst:645 +#: ../Doc/library/asyncio-protocol.rst:653 msgid "" "Datagram Protocol instances should be constructed by protocol factories " "passed to the :meth:`loop.create_datagram_endpoint` method." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:650 +#: ../Doc/library/asyncio-protocol.rst:658 msgid "" "Called when a datagram is received. *data* is a bytes object containing the " "incoming data. *addr* is the address of the peer sending the data; the " "exact format depends on the transport." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:656 +#: ../Doc/library/asyncio-protocol.rst:664 msgid "" "Called when a previous send or receive operation raises an :class:" "`OSError`. *exc* is the :class:`OSError` instance." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:659 +#: ../Doc/library/asyncio-protocol.rst:667 msgid "" "This method is called in rare conditions, when the transport (e.g. UDP) " "detects that a datagram could not be delivered to its recipient. In many " "conditions though, undeliverable datagrams will be silently dropped." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:666 +#: ../Doc/library/asyncio-protocol.rst:674 msgid "" "On BSD systems (macOS, FreeBSD, etc.) flow control is not supported for " "datagram protocols, because there is no reliable way to detect send failures " "caused by writing too many packets." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:670 +#: ../Doc/library/asyncio-protocol.rst:678 msgid "" "The socket always appears 'ready' and excess packets are dropped. An :class:" "`OSError` with ``errno`` set to :const:`errno.ENOBUFS` may or may not be " @@ -891,142 +899,142 @@ msgid "" "error_received` but otherwise ignored." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:679 +#: ../Doc/library/asyncio-protocol.rst:687 msgid "Subprocess Protocols" msgstr "Protocoles liés aux sous-processus" -#: ../Doc/library/asyncio-protocol.rst:681 +#: ../Doc/library/asyncio-protocol.rst:689 msgid "" "Datagram Protocol instances should be constructed by protocol factories " "passed to the :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell` " "methods." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:687 +#: ../Doc/library/asyncio-protocol.rst:695 msgid "" "Called when the child process writes data into its stdout or stderr pipe." msgstr "" "Appelé lorsqu'un processus enfant écrit sur sa sortie d'erreur ou sa sortie " "standard." -#: ../Doc/library/asyncio-protocol.rst:690 +#: ../Doc/library/asyncio-protocol.rst:698 msgid "*fd* is the integer file descriptor of the pipe." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:692 +#: ../Doc/library/asyncio-protocol.rst:700 msgid "*data* is a non-empty bytes object containing the received data." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:696 +#: ../Doc/library/asyncio-protocol.rst:704 msgid "" "Called when one of the pipes communicating with the child process is closed." msgstr "" "Appelé lorsqu'une des *pipe*\\ s de communication avec un sous-processus est " "fermée." -#: ../Doc/library/asyncio-protocol.rst:699 +#: ../Doc/library/asyncio-protocol.rst:707 msgid "*fd* is the integer file descriptor that was closed." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:703 +#: ../Doc/library/asyncio-protocol.rst:711 msgid "Called when the child process has exited." msgstr "Appelé lorsqu'un processus enfant se termine." -#: ../Doc/library/asyncio-protocol.rst:707 +#: ../Doc/library/asyncio-protocol.rst:715 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/asyncio-protocol.rst:712 +#: ../Doc/library/asyncio-protocol.rst:720 msgid "TCP Echo Server" msgstr "Serveur de *ping* en TCP" -#: ../Doc/library/asyncio-protocol.rst:714 +#: ../Doc/library/asyncio-protocol.rst:722 msgid "" "Create a TCP echo server using the :meth:`loop.create_server` method, send " "back received data, and close the connection::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:755 +#: ../Doc/library/asyncio-protocol.rst:763 msgid "" "The :ref:`TCP echo server using streams ` " "example uses the high-level :func:`asyncio.start_server` function." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:761 +#: ../Doc/library/asyncio-protocol.rst:769 msgid "TCP Echo Client" msgstr "Client de *ping* en TCP" -#: ../Doc/library/asyncio-protocol.rst:763 +#: ../Doc/library/asyncio-protocol.rst:771 msgid "" "A TCP echo client using the :meth:`loop.create_connection` method, sends " "data, and waits until the connection is closed::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:811 +#: ../Doc/library/asyncio-protocol.rst:819 msgid "" "The :ref:`TCP echo client using streams ` " "example uses the high-level :func:`asyncio.open_connection` function." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:818 +#: ../Doc/library/asyncio-protocol.rst:826 msgid "UDP Echo Server" msgstr "Serveur de *ping* en UDP" -#: ../Doc/library/asyncio-protocol.rst:820 +#: ../Doc/library/asyncio-protocol.rst:828 msgid "" "A UDP echo server, using the :meth:`loop.create_datagram_endpoint` method, " "sends back received data::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:862 +#: ../Doc/library/asyncio-protocol.rst:870 msgid "UDP Echo Client" msgstr "Client de *ping* en UDP" -#: ../Doc/library/asyncio-protocol.rst:864 +#: ../Doc/library/asyncio-protocol.rst:872 msgid "" "A UDP echo client, using the :meth:`loop.create_datagram_endpoint` method, " "sends data and closes the transport when it receives the answer::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:919 +#: ../Doc/library/asyncio-protocol.rst:927 msgid "Connecting Existing Sockets" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:921 +#: ../Doc/library/asyncio-protocol.rst:929 msgid "" "Wait until a socket receives data using the :meth:`loop.create_connection` " "method with a protocol::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:975 +#: ../Doc/library/asyncio-protocol.rst:983 msgid "" "The :ref:`watch a file descriptor for read events " "` example uses the low-level :meth:`loop." "add_reader` method to register an FD." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:979 +#: ../Doc/library/asyncio-protocol.rst:987 msgid "" "The :ref:`register an open socket to wait for data using streams " "` example uses high-level streams " "created by the :func:`open_connection` function in a coroutine." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:986 +#: ../Doc/library/asyncio-protocol.rst:994 msgid "loop.subprocess_exec() and SubprocessProtocol" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:988 +#: ../Doc/library/asyncio-protocol.rst:996 msgid "" "An example of a subprocess protocol used to get the output of a subprocess " "and to wait for the subprocess exit." msgstr "" -#: ../Doc/library/asyncio-protocol.rst:991 +#: ../Doc/library/asyncio-protocol.rst:999 msgid "The subprocess is created by th :meth:`loop.subprocess_exec` method::" msgstr "" -#: ../Doc/library/asyncio-protocol.rst:1037 +#: ../Doc/library/asyncio-protocol.rst:1045 msgid "" "See also the :ref:`same example ` " "written using high-level APIs." diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index 6630a690..0a752338 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-13 17:37+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -19,85 +19,89 @@ msgid "Queues" msgstr "" #: ../Doc/library/asyncio-queue.rst:9 +msgid "**Source code:** :source:`Lib/asyncio/queues.py`" +msgstr "" + +#: ../Doc/library/asyncio-queue.rst:13 msgid "" "asyncio queues are designed to be similar to classes of the :mod:`queue` " "module. Although asyncio queues are not thread-safe, they are designed to " "be used specifically in async/await code." msgstr "" -#: ../Doc/library/asyncio-queue.rst:13 +#: ../Doc/library/asyncio-queue.rst:17 msgid "" "Note that methods of asyncio queues don't have a *timeout* parameter; use :" "func:`asyncio.wait_for` function to do queue operations with a timeout." msgstr "" -#: ../Doc/library/asyncio-queue.rst:17 +#: ../Doc/library/asyncio-queue.rst:21 msgid "See also the `Examples`_ section below." msgstr "" -#: ../Doc/library/asyncio-queue.rst:20 +#: ../Doc/library/asyncio-queue.rst:24 msgid "Queue" msgstr "" -#: ../Doc/library/asyncio-queue.rst:24 +#: ../Doc/library/asyncio-queue.rst:28 msgid "A first in, first out (FIFO) queue." msgstr "" -#: ../Doc/library/asyncio-queue.rst:26 +#: ../Doc/library/asyncio-queue.rst:30 msgid "" "If *maxsize* is less than or equal to zero, the queue size is infinite. If " "it is an integer greater than ``0``, then ``await put()`` blocks when the " "queue reaches *maxsize* until an item is removed by :meth:`get`." msgstr "" -#: ../Doc/library/asyncio-queue.rst:31 +#: ../Doc/library/asyncio-queue.rst:35 msgid "" "Unlike the standard library threading :mod:`queue`, the size of the queue is " "always known and can be returned by calling the :meth:`qsize` method." msgstr "" -#: ../Doc/library/asyncio-queue.rst:38 +#: ../Doc/library/asyncio-queue.rst:42 msgid "The *loop* parameter." msgstr "" -#: ../Doc/library/asyncio-queue.rst:39 +#: ../Doc/library/asyncio-queue.rst:43 msgid "This class is :ref:`not thread safe `." msgstr "" -#: ../Doc/library/asyncio-queue.rst:43 +#: ../Doc/library/asyncio-queue.rst:47 msgid "Number of items allowed in the queue." msgstr "Nombre d'éléments autorisés dans la queue." -#: ../Doc/library/asyncio-queue.rst:47 +#: ../Doc/library/asyncio-queue.rst:51 msgid "Return ``True`` if the queue is empty, ``False`` otherwise." msgstr "Renvoie ``True`` si la queue est vide, ``False`` sinon." -#: ../Doc/library/asyncio-queue.rst:51 +#: ../Doc/library/asyncio-queue.rst:55 msgid "Return ``True`` if there are :attr:`maxsize` items in the queue." msgstr "" -#: ../Doc/library/asyncio-queue.rst:53 +#: ../Doc/library/asyncio-queue.rst:57 msgid "" "If the queue was initialized with ``maxsize=0`` (the default), then :meth:" "`full()` never returns ``True``." msgstr "" -#: ../Doc/library/asyncio-queue.rst:58 +#: ../Doc/library/asyncio-queue.rst:62 msgid "" "Remove and return an item from the queue. If queue is empty, wait until an " "item is available." msgstr "" -#: ../Doc/library/asyncio-queue.rst:63 +#: ../Doc/library/asyncio-queue.rst:67 msgid "" "Return an item if one is immediately available, else raise :exc:`QueueEmpty`." msgstr "" -#: ../Doc/library/asyncio-queue.rst:68 +#: ../Doc/library/asyncio-queue.rst:72 msgid "Block until all items in the queue have been received and processed." msgstr "" -#: ../Doc/library/asyncio-queue.rst:70 +#: ../Doc/library/asyncio-queue.rst:74 msgid "" "The count of unfinished tasks goes up whenever an item is added to the " "queue. The count goes down whenever a consumer coroutine calls :meth:" @@ -106,93 +110,93 @@ msgid "" "unblocks." msgstr "" -#: ../Doc/library/asyncio-queue.rst:78 +#: ../Doc/library/asyncio-queue.rst:82 msgid "" "Put an item into the queue. If the queue is full, wait until a free slot is " "available before adding the item." msgstr "" -#: ../Doc/library/asyncio-queue.rst:83 +#: ../Doc/library/asyncio-queue.rst:87 msgid "Put an item into the queue without blocking." msgstr "Ajoute un élément dans la queue sans bloquer." -#: ../Doc/library/asyncio-queue.rst:85 +#: ../Doc/library/asyncio-queue.rst:89 msgid "If no free slot is immediately available, raise :exc:`QueueFull`." msgstr "" -#: ../Doc/library/asyncio-queue.rst:89 +#: ../Doc/library/asyncio-queue.rst:93 msgid "Return the number of items in the queue." msgstr "Renvoie le nombre d'éléments dans la queue." -#: ../Doc/library/asyncio-queue.rst:93 +#: ../Doc/library/asyncio-queue.rst:97 msgid "Indicate that a formerly enqueued task is complete." msgstr "" -#: ../Doc/library/asyncio-queue.rst:95 +#: ../Doc/library/asyncio-queue.rst:99 msgid "" "Used by queue consumers. For each :meth:`~Queue.get` used to fetch a task, a " "subsequent call to :meth:`task_done` tells the queue that the processing on " "the task is complete." msgstr "" -#: ../Doc/library/asyncio-queue.rst:99 +#: ../Doc/library/asyncio-queue.rst:103 msgid "" "If a :meth:`join` is currently blocking, it will resume when all items have " "been processed (meaning that a :meth:`task_done` call was received for every " "item that had been :meth:`~Queue.put` into the queue)." msgstr "" -#: ../Doc/library/asyncio-queue.rst:104 +#: ../Doc/library/asyncio-queue.rst:108 msgid "" "Raises :exc:`ValueError` if called more times than there were items placed " "in the queue." msgstr "" -#: ../Doc/library/asyncio-queue.rst:109 +#: ../Doc/library/asyncio-queue.rst:113 msgid "Priority Queue" msgstr "File de priorité" -#: ../Doc/library/asyncio-queue.rst:113 +#: ../Doc/library/asyncio-queue.rst:117 msgid "" "A variant of :class:`Queue`; retrieves entries in priority order (lowest " "first)." msgstr "" -#: ../Doc/library/asyncio-queue.rst:116 +#: ../Doc/library/asyncio-queue.rst:120 msgid "Entries are typically tuples of the form ``(priority_number, data)``." msgstr "" -#: ../Doc/library/asyncio-queue.rst:121 +#: ../Doc/library/asyncio-queue.rst:125 msgid "LIFO Queue" msgstr "" -#: ../Doc/library/asyncio-queue.rst:125 +#: ../Doc/library/asyncio-queue.rst:129 msgid "" "A variant of :class:`Queue` that retrieves most recently added entries first " "(last in, first out)." msgstr "" -#: ../Doc/library/asyncio-queue.rst:130 +#: ../Doc/library/asyncio-queue.rst:134 msgid "Exceptions" msgstr "Exceptions" -#: ../Doc/library/asyncio-queue.rst:134 +#: ../Doc/library/asyncio-queue.rst:138 msgid "" "This exception is raised when the :meth:`~Queue.get_nowait` method is called " "on an empty queue." msgstr "" -#: ../Doc/library/asyncio-queue.rst:140 +#: ../Doc/library/asyncio-queue.rst:144 msgid "" "Exception raised when the :meth:`~Queue.put_nowait` method is called on a " "queue that has reached its *maxsize*." msgstr "" -#: ../Doc/library/asyncio-queue.rst:145 +#: ../Doc/library/asyncio-queue.rst:149 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/asyncio-queue.rst:149 +#: ../Doc/library/asyncio-queue.rst:153 msgid "" "Queues can be used to distribute workload between several concurrent tasks::" msgstr "" diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 9c3c8daf..3a15c40e 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-06 13:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -19,69 +19,73 @@ msgid "Streams" msgstr "Streams" #: ../Doc/library/asyncio-stream.rst:9 +msgid "**Source code:** :source:`Lib/asyncio/streams.py`" +msgstr "" + +#: ../Doc/library/asyncio-stream.rst:13 msgid "" "Streams are high-level async/await-ready primitives to work with network " "connections. Streams allow sending and receiving data without using " "callbacks or low-level protocols and transports." msgstr "" -#: ../Doc/library/asyncio-stream.rst:15 +#: ../Doc/library/asyncio-stream.rst:19 msgid "Here is an example of a TCP echo client written using asyncio streams::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:38 +#: ../Doc/library/asyncio-stream.rst:42 msgid "See also the `Examples`_ section below." msgstr "" -#: ../Doc/library/asyncio-stream.rst:42 +#: ../Doc/library/asyncio-stream.rst:46 msgid "Stream Functions" msgstr "" -#: ../Doc/library/asyncio-stream.rst:43 +#: ../Doc/library/asyncio-stream.rst:47 msgid "" "The following top-level asyncio functions can be used to create and work " "with streams:" msgstr "" -#: ../Doc/library/asyncio-stream.rst:52 +#: ../Doc/library/asyncio-stream.rst:56 msgid "" "Establish a network connection and return a pair of ``(reader, writer)`` " "objects." msgstr "" -#: ../Doc/library/asyncio-stream.rst:55 +#: ../Doc/library/asyncio-stream.rst:59 msgid "" "The returned *reader* and *writer* objects are instances of :class:" "`StreamReader` and :class:`StreamWriter` classes." msgstr "" -#: ../Doc/library/asyncio-stream.rst:58 +#: ../Doc/library/asyncio-stream.rst:62 msgid "" "The *loop* argument is optional and can always be determined automatically " "when this function is awaited from a coroutine." msgstr "" -#: ../Doc/library/asyncio-stream.rst:61 ../Doc/library/asyncio-stream.rst:94 +#: ../Doc/library/asyncio-stream.rst:65 ../Doc/library/asyncio-stream.rst:98 msgid "" "*limit* determines the buffer size limit used by the returned :class:" "`StreamReader` instance. By default the *limit* is set to 64 KiB." msgstr "" -#: ../Doc/library/asyncio-stream.rst:65 +#: ../Doc/library/asyncio-stream.rst:69 msgid "" "The rest of the arguments are passed directly to :meth:`loop." "create_connection`." msgstr "" -#: ../Doc/library/asyncio-stream.rst:70 ../Doc/library/asyncio-stream.rst:123 +#: ../Doc/library/asyncio-stream.rst:74 ../Doc/library/asyncio-stream.rst:127 msgid "The *ssl_handshake_timeout* parameter." msgstr "" -#: ../Doc/library/asyncio-stream.rst:80 +#: ../Doc/library/asyncio-stream.rst:84 msgid "Start a socket server." msgstr "" -#: ../Doc/library/asyncio-stream.rst:82 +#: ../Doc/library/asyncio-stream.rst:86 msgid "" "The *client_connected_cb* callback is called whenever a new client " "connection is established. It receives a ``(reader, writer)`` pair as two " @@ -89,143 +93,143 @@ msgid "" "classes." msgstr "" -#: ../Doc/library/asyncio-stream.rst:87 +#: ../Doc/library/asyncio-stream.rst:91 msgid "" "*client_connected_cb* can be a plain callable or a :ref:`coroutine function " "`; if it is a coroutine function, it will be automatically " "scheduled as a :class:`Task`." msgstr "" -#: ../Doc/library/asyncio-stream.rst:91 +#: ../Doc/library/asyncio-stream.rst:95 msgid "" "The *loop* argument is optional and can always be determined automatically " "when this method is awaited from a coroutine." msgstr "" -#: ../Doc/library/asyncio-stream.rst:98 +#: ../Doc/library/asyncio-stream.rst:102 msgid "" "The rest of the arguments are passed directly to :meth:`loop.create_server`." msgstr "" -#: ../Doc/library/asyncio-stream.rst:103 ../Doc/library/asyncio-stream.rst:145 +#: ../Doc/library/asyncio-stream.rst:107 ../Doc/library/asyncio-stream.rst:149 msgid "The *ssl_handshake_timeout* and *start_serving* parameters." msgstr "" -#: ../Doc/library/asyncio-stream.rst:107 +#: ../Doc/library/asyncio-stream.rst:111 msgid "Unix Sockets" msgstr "" -#: ../Doc/library/asyncio-stream.rst:112 +#: ../Doc/library/asyncio-stream.rst:116 msgid "" "Establish a Unix socket connection and return a pair of ``(reader, writer)``." msgstr "" -#: ../Doc/library/asyncio-stream.rst:115 +#: ../Doc/library/asyncio-stream.rst:119 msgid "Similar to :func:`open_connection` but operates on Unix sockets." msgstr "" -#: ../Doc/library/asyncio-stream.rst:117 +#: ../Doc/library/asyncio-stream.rst:121 msgid "See also the documentation of :meth:`loop.create_unix_connection`." msgstr "" -#: ../Doc/library/asyncio-stream.rst:120 ../Doc/library/asyncio-stream.rst:142 +#: ../Doc/library/asyncio-stream.rst:124 ../Doc/library/asyncio-stream.rst:146 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." -#: ../Doc/library/asyncio-stream.rst:127 +#: ../Doc/library/asyncio-stream.rst:131 msgid "The *path* parameter can now be a :term:`path-like object`" msgstr "" -#: ../Doc/library/asyncio-stream.rst:135 +#: ../Doc/library/asyncio-stream.rst:139 msgid "Start a Unix socket server." msgstr "" -#: ../Doc/library/asyncio-stream.rst:137 +#: ../Doc/library/asyncio-stream.rst:141 msgid "Similar to :func:`start_server` but works with Unix sockets." msgstr "" -#: ../Doc/library/asyncio-stream.rst:139 +#: ../Doc/library/asyncio-stream.rst:143 msgid "See also the documentation of :meth:`loop.create_unix_server`." msgstr "" -#: ../Doc/library/asyncio-stream.rst:149 +#: ../Doc/library/asyncio-stream.rst:153 msgid "The *path* parameter can now be a :term:`path-like object`." msgstr "" -#: ../Doc/library/asyncio-stream.rst:153 +#: ../Doc/library/asyncio-stream.rst:157 msgid "StreamReader" msgstr "StreamReader" -#: ../Doc/library/asyncio-stream.rst:157 +#: ../Doc/library/asyncio-stream.rst:161 msgid "" "Represents a reader object that provides APIs to read data from the IO " "stream." msgstr "" -#: ../Doc/library/asyncio-stream.rst:160 +#: ../Doc/library/asyncio-stream.rst:164 msgid "" "It is not recommended to instantiate *StreamReader* objects directly; use :" "func:`open_connection` and :func:`start_server` instead." msgstr "" -#: ../Doc/library/asyncio-stream.rst:166 +#: ../Doc/library/asyncio-stream.rst:170 msgid "" "Read up to *n* bytes. If *n* is not provided, or set to ``-1``, read until " "EOF and return all read bytes." msgstr "" -#: ../Doc/library/asyncio-stream.rst:169 +#: ../Doc/library/asyncio-stream.rst:173 msgid "" "If EOF was received and the internal buffer is empty, return an empty " "``bytes`` object." msgstr "" -#: ../Doc/library/asyncio-stream.rst:174 +#: ../Doc/library/asyncio-stream.rst:178 msgid "" "Read one line, where \"line\" is a sequence of bytes ending with ``\\n``." msgstr "" -#: ../Doc/library/asyncio-stream.rst:177 +#: ../Doc/library/asyncio-stream.rst:181 msgid "" "If EOF is received and ``\\n`` was not found, the method returns partially " "read data." msgstr "" -#: ../Doc/library/asyncio-stream.rst:180 +#: ../Doc/library/asyncio-stream.rst:184 msgid "" "If EOF is received and the internal buffer is empty, return an empty " "``bytes`` object." msgstr "" -#: ../Doc/library/asyncio-stream.rst:185 +#: ../Doc/library/asyncio-stream.rst:189 msgid "Read exactly *n* bytes." msgstr "" -#: ../Doc/library/asyncio-stream.rst:187 +#: ../Doc/library/asyncio-stream.rst:191 msgid "" "Raise an :exc:`IncompleteReadError` if EOF is reached before *n* can be " "read. Use the :attr:`IncompleteReadError.partial` attribute to get the " "partially read data." msgstr "" -#: ../Doc/library/asyncio-stream.rst:193 +#: ../Doc/library/asyncio-stream.rst:197 msgid "Read data from the stream until *separator* is found." msgstr "" -#: ../Doc/library/asyncio-stream.rst:195 +#: ../Doc/library/asyncio-stream.rst:199 msgid "" "On success, the data and separator will be removed from the internal buffer " "(consumed). Returned data will include the separator at the end." msgstr "" -#: ../Doc/library/asyncio-stream.rst:199 +#: ../Doc/library/asyncio-stream.rst:203 msgid "" "If the amount of data read exceeds the configured stream limit, a :exc:" "`LimitOverrunError` exception is raised, and the data is left in the " "internal buffer and can be read again." msgstr "" -#: ../Doc/library/asyncio-stream.rst:203 +#: ../Doc/library/asyncio-stream.rst:207 msgid "" "If EOF is reached before the complete separator is found, an :exc:" "`IncompleteReadError` exception is raised, and the internal buffer is " @@ -233,77 +237,77 @@ msgid "" "portion of the separator." msgstr "" -#: ../Doc/library/asyncio-stream.rst:212 +#: ../Doc/library/asyncio-stream.rst:216 msgid "Return ``True`` if the buffer is empty and :meth:`feed_eof` was called." msgstr "" -#: ../Doc/library/asyncio-stream.rst:217 +#: ../Doc/library/asyncio-stream.rst:221 msgid "StreamWriter" msgstr "StreamWriter" -#: ../Doc/library/asyncio-stream.rst:221 +#: ../Doc/library/asyncio-stream.rst:225 msgid "" "Represents a writer object that provides APIs to write data to the IO stream." msgstr "" -#: ../Doc/library/asyncio-stream.rst:224 +#: ../Doc/library/asyncio-stream.rst:228 msgid "" "It is not recommended to instantiate *StreamWriter* objects directly; use :" "func:`open_connection` and :func:`start_server` instead." msgstr "" -#: ../Doc/library/asyncio-stream.rst:230 +#: ../Doc/library/asyncio-stream.rst:234 msgid "" "The method attempts to write the *data* to the underlying socket " "immediately. If that fails, the data is queued in an internal write buffer " "until it can be sent." msgstr "" -#: ../Doc/library/asyncio-stream.rst:234 ../Doc/library/asyncio-stream.rst:246 +#: ../Doc/library/asyncio-stream.rst:238 ../Doc/library/asyncio-stream.rst:250 msgid "The method should be used along with the ``drain()`` method::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:241 +#: ../Doc/library/asyncio-stream.rst:245 msgid "" "The method writes a list (or any iterable) of bytes to the underlying socket " "immediately. If that fails, the data is queued in an internal write buffer " "until it can be sent." msgstr "" -#: ../Doc/library/asyncio-stream.rst:253 +#: ../Doc/library/asyncio-stream.rst:257 msgid "The method closes the stream and the underlying socket." msgstr "" -#: ../Doc/library/asyncio-stream.rst:255 +#: ../Doc/library/asyncio-stream.rst:259 msgid "The method should be used along with the ``wait_closed()`` method::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:262 +#: ../Doc/library/asyncio-stream.rst:266 msgid "" -"Return *True* if the underlying transport supports the :meth:`write_eof` " -"method, *False* otherwise." +"Return ``True`` if the underlying transport supports the :meth:`write_eof` " +"method, ``False`` otherwise." msgstr "" -#: ../Doc/library/asyncio-stream.rst:267 +#: ../Doc/library/asyncio-stream.rst:271 msgid "" "Close the write end of the stream after the buffered write data is flushed." msgstr "" -#: ../Doc/library/asyncio-stream.rst:272 +#: ../Doc/library/asyncio-stream.rst:276 msgid "Return the underlying asyncio transport." msgstr "" -#: ../Doc/library/asyncio-stream.rst:276 +#: ../Doc/library/asyncio-stream.rst:280 msgid "" "Access optional transport information; see :meth:`BaseTransport." "get_extra_info` for details." msgstr "" -#: ../Doc/library/asyncio-stream.rst:281 +#: ../Doc/library/asyncio-stream.rst:285 msgid "Wait until it is appropriate to resume writing to the stream. Example::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:287 +#: ../Doc/library/asyncio-stream.rst:291 msgid "" "This is a flow control method that interacts with the underlying IO write " "buffer. When the size of the buffer reaches the high watermark, *drain()* " @@ -312,90 +316,90 @@ msgid "" "`drain` returns immediately." msgstr "" -#: ../Doc/library/asyncio-stream.rst:296 +#: ../Doc/library/asyncio-stream.rst:300 msgid "" "Return ``True`` if the stream is closed or in the process of being closed." msgstr "" -#: ../Doc/library/asyncio-stream.rst:303 +#: ../Doc/library/asyncio-stream.rst:307 msgid "Wait until the stream is closed." msgstr "" -#: ../Doc/library/asyncio-stream.rst:305 +#: ../Doc/library/asyncio-stream.rst:309 msgid "" "Should be called after :meth:`close` to wait until the underlying connection " "is closed." msgstr "" -#: ../Doc/library/asyncio-stream.rst:312 +#: ../Doc/library/asyncio-stream.rst:316 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/asyncio-stream.rst:317 +#: ../Doc/library/asyncio-stream.rst:321 msgid "TCP echo client using streams" msgstr "" -#: ../Doc/library/asyncio-stream.rst:319 +#: ../Doc/library/asyncio-stream.rst:323 msgid "TCP echo client using the :func:`asyncio.open_connection` function::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:341 +#: ../Doc/library/asyncio-stream.rst:345 msgid "" "The :ref:`TCP echo client protocol " "` example uses the low-level :meth:" "`loop.create_connection` method." msgstr "" -#: ../Doc/library/asyncio-stream.rst:348 +#: ../Doc/library/asyncio-stream.rst:352 msgid "TCP echo server using streams" msgstr "" -#: ../Doc/library/asyncio-stream.rst:350 +#: ../Doc/library/asyncio-stream.rst:354 msgid "TCP echo server using the :func:`asyncio.start_server` function::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:383 +#: ../Doc/library/asyncio-stream.rst:387 msgid "" "The :ref:`TCP echo server protocol " "` example uses the :meth:`loop." "create_server` method." msgstr "" -#: ../Doc/library/asyncio-stream.rst:388 +#: ../Doc/library/asyncio-stream.rst:392 msgid "Get HTTP headers" msgstr "Récupère les en-têtes HTTP" -#: ../Doc/library/asyncio-stream.rst:390 +#: ../Doc/library/asyncio-stream.rst:394 msgid "" "Simple example querying HTTP headers of the URL passed on the command line::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:428 +#: ../Doc/library/asyncio-stream.rst:432 msgid "Usage::" msgstr "Utilisation ::" -#: ../Doc/library/asyncio-stream.rst:432 +#: ../Doc/library/asyncio-stream.rst:436 msgid "or with HTTPS::" msgstr "ou avec HTTPS ::" -#: ../Doc/library/asyncio-stream.rst:440 +#: ../Doc/library/asyncio-stream.rst:444 msgid "Register an open socket to wait for data using streams" msgstr "" -#: ../Doc/library/asyncio-stream.rst:442 +#: ../Doc/library/asyncio-stream.rst:446 msgid "" "Coroutine waiting until a socket receives data using the :func:" "`open_connection` function::" msgstr "" -#: ../Doc/library/asyncio-stream.rst:476 +#: ../Doc/library/asyncio-stream.rst:480 msgid "" "The :ref:`register an open socket to wait for data using a protocol " "` example uses a low-level protocol and " "the :meth:`loop.create_connection` method." msgstr "" -#: ../Doc/library/asyncio-stream.rst:480 +#: ../Doc/library/asyncio-stream.rst:484 msgid "" "The :ref:`watch a file descriptor for read events " "` example uses the low-level :meth:`loop." diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index 2be9e97c..9a6ec288 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-15 00:37+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -20,21 +20,27 @@ msgstr "Sous-processus" #: ../Doc/library/asyncio-subprocess.rst:9 msgid "" +"**Source code:** :source:`Lib/asyncio/subprocess.py`, :source:`Lib/asyncio/" +"base_subprocess.py`" +msgstr "" + +#: ../Doc/library/asyncio-subprocess.rst:14 +msgid "" "This section describes high-level async/await asyncio APIs to create and " "manage subprocesses." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:14 +#: ../Doc/library/asyncio-subprocess.rst:19 msgid "" "Here's an example of how asyncio can run a shell command and obtain its " "result::" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:35 +#: ../Doc/library/asyncio-subprocess.rst:40 msgid "will print::" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:41 +#: ../Doc/library/asyncio-subprocess.rst:46 msgid "" "Because all asyncio subprocess functions are asynchronous and asyncio " "provides many tools to work with such functions, it is easy to execute and " @@ -42,52 +48,52 @@ msgid "" "the above example to run several commands simultaneously::" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:53 +#: ../Doc/library/asyncio-subprocess.rst:58 msgid "See also the `Examples`_ subsection." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:57 +#: ../Doc/library/asyncio-subprocess.rst:62 msgid "Creating Subprocesses" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:63 +#: ../Doc/library/asyncio-subprocess.rst:68 msgid "Create a subprocess." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:65 -#: ../Doc/library/asyncio-subprocess.rst:84 +#: ../Doc/library/asyncio-subprocess.rst:70 +#: ../Doc/library/asyncio-subprocess.rst:89 msgid "" "The *limit* argument sets the buffer limit for :class:`StreamReader` " "wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` (if :attr:" "`subprocess.PIPE` is passed to *stdout* and *stderr* arguments)." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:69 -#: ../Doc/library/asyncio-subprocess.rst:88 +#: ../Doc/library/asyncio-subprocess.rst:74 +#: ../Doc/library/asyncio-subprocess.rst:93 msgid "Return a :class:`~asyncio.subprocess.Process` instance." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:71 +#: ../Doc/library/asyncio-subprocess.rst:76 msgid "" "See the documentation of :meth:`loop.subprocess_exec` for other parameters." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:76 -#: ../Doc/library/asyncio-subprocess.rst:104 +#: ../Doc/library/asyncio-subprocess.rst:81 +#: ../Doc/library/asyncio-subprocess.rst:109 #, fuzzy msgid "The *loop* parameter." msgstr "Autres paramètres :" -#: ../Doc/library/asyncio-subprocess.rst:82 +#: ../Doc/library/asyncio-subprocess.rst:87 msgid "Run the *cmd* shell command." msgstr "Exécute la commande *cmd* dans un *shell*." -#: ../Doc/library/asyncio-subprocess.rst:90 +#: ../Doc/library/asyncio-subprocess.rst:95 msgid "" "See the documentation of :meth:`loop.subprocess_shell` for other parameters." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:95 +#: ../Doc/library/asyncio-subprocess.rst:100 msgid "" "It is the application's responsibility to ensure that all whitespace and " "special characters are quoted appropriately to avoid `shell injection " @@ -97,7 +103,7 @@ msgid "" "be used to construct shell commands." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:108 +#: ../Doc/library/asyncio-subprocess.rst:113 msgid "" "The default asyncio event loop implementation on **Windows** does not " "support subprocesses. Subprocesses are available for Windows if a :class:" @@ -105,7 +111,7 @@ msgid "" "` for details." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:116 +#: ../Doc/library/asyncio-subprocess.rst:121 msgid "" "asyncio also has the following *low-level* APIs to work with subprocesses: :" "meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :meth:`loop." @@ -114,22 +120,22 @@ msgid "" "Protocols `." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:124 +#: ../Doc/library/asyncio-subprocess.rst:129 msgid "Constants" msgstr "Constantes" -#: ../Doc/library/asyncio-subprocess.rst:128 +#: ../Doc/library/asyncio-subprocess.rst:133 msgid "Can be passed to the *stdin*, *stdout* or *stderr* parameters." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:130 +#: ../Doc/library/asyncio-subprocess.rst:135 msgid "" "If *PIPE* is passed to *stdin* argument, the :attr:`Process.stdin ` attribute will point to a :class:`StreamWriter` " "instance." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:134 +#: ../Doc/library/asyncio-subprocess.rst:139 msgid "" "If *PIPE* is passed to *stdout* or *stderr* arguments, the :attr:`Process." "stdout ` and :attr:`Process.stderr " @@ -137,24 +143,24 @@ msgid "" "`StreamReader` instances." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:141 +#: ../Doc/library/asyncio-subprocess.rst:146 msgid "" "Special value that can be used as the *stderr* argument and indicates that " "standard error should be redirected into standard output." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:146 +#: ../Doc/library/asyncio-subprocess.rst:151 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to process creation functions. It indicates that the special file :data:`os." "devnull` will be used for the corresponding subprocess stream." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:152 +#: ../Doc/library/asyncio-subprocess.rst:157 msgid "Interacting with Subprocesses" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:154 +#: ../Doc/library/asyncio-subprocess.rst:159 msgid "" "Both :func:`create_subprocess_exec` and :func:`create_subprocess_shell` " "functions return instances of the *Process* class. *Process* is a high-" @@ -162,61 +168,61 @@ msgid "" "their completion." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:161 +#: ../Doc/library/asyncio-subprocess.rst:166 msgid "" "An object that wraps OS processes created by the :func:" "`create_subprocess_exec` and :func:`create_subprocess_shell` functions." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:165 +#: ../Doc/library/asyncio-subprocess.rst:170 msgid "" "This class is designed to have a similar API to the :class:`subprocess." "Popen` class, but there are some notable differences:" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:169 +#: ../Doc/library/asyncio-subprocess.rst:174 msgid "" "unlike Popen, Process instances do not have an equivalent to the :meth:" "`~subprocess.Popen.poll` method;" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:172 +#: ../Doc/library/asyncio-subprocess.rst:177 msgid "" "the :meth:`~asyncio.subprocess.Process.communicate` and :meth:`~asyncio." "subprocess.Process.wait` methods don't have a *timeout* parameter: use the :" "func:`wait_for` function;" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:176 +#: ../Doc/library/asyncio-subprocess.rst:181 msgid "" "the :meth:`Process.wait() ` method is " "asynchronous, whereas :meth:`subprocess.Popen.wait` method is implemented as " "a blocking busy loop;" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:180 +#: ../Doc/library/asyncio-subprocess.rst:185 msgid "the *universal_newlines* parameter is not supported." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:182 +#: ../Doc/library/asyncio-subprocess.rst:187 msgid "This class is :ref:`not thread safe `." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:184 +#: ../Doc/library/asyncio-subprocess.rst:189 msgid "" "See also the :ref:`Subprocess and Threads ` " "section." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:189 +#: ../Doc/library/asyncio-subprocess.rst:194 msgid "Wait for the child process to terminate." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:191 +#: ../Doc/library/asyncio-subprocess.rst:196 msgid "Set and return the :attr:`returncode` attribute." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:195 +#: ../Doc/library/asyncio-subprocess.rst:200 msgid "" "This method can deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and " "the child process generates so much output that it blocks waiting for the OS " @@ -224,33 +230,33 @@ msgid "" "using pipes to avoid this condition." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:203 +#: ../Doc/library/asyncio-subprocess.rst:208 msgid "Interact with process:" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:205 +#: ../Doc/library/asyncio-subprocess.rst:210 msgid "send data to *stdin* (if *input* is not ``None``);" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:206 +#: ../Doc/library/asyncio-subprocess.rst:211 msgid "read data from *stdout* and *stderr*, until EOF is reached;" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:207 +#: ../Doc/library/asyncio-subprocess.rst:212 msgid "wait for process to terminate." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:209 +#: ../Doc/library/asyncio-subprocess.rst:214 msgid "" "The optional *input* argument is the data (:class:`bytes` object) that will " "be sent to the child process." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:212 +#: ../Doc/library/asyncio-subprocess.rst:217 msgid "Return a tuple ``(stdout_data, stderr_data)``." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:214 +#: ../Doc/library/asyncio-subprocess.rst:219 msgid "" "If either :exc:`BrokenPipeError` or :exc:`ConnectionResetError` exception is " "raised when writing *input* into *stdin*, the exception is ignored. This " @@ -258,7 +264,7 @@ msgid "" "*stdin*." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:219 +#: ../Doc/library/asyncio-subprocess.rst:224 msgid "" "If it is desired to send data to the process' *stdin*, the process needs to " "be created with ``stdin=PIPE``. Similarly, to get anything other than " @@ -266,7 +272,7 @@ msgid "" "``stdout=PIPE`` and/or ``stderr=PIPE`` arguments." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:225 +#: ../Doc/library/asyncio-subprocess.rst:230 msgid "" "Note, that the data read is buffered in memory, so do not use this method if " "the data size is large or unlimited." @@ -274,22 +280,22 @@ msgstr "" "Notez que les données lues sont mises en cache en mémoire, donc n'utilisez " "pas cette méthode si la taille des données est importante voire illimitée." -#: ../Doc/library/asyncio-subprocess.rst:230 +#: ../Doc/library/asyncio-subprocess.rst:235 msgid "Sends the signal *signal* to the child process." msgstr "Envoie le signal *signal* au sous-processus." -#: ../Doc/library/asyncio-subprocess.rst:234 +#: ../Doc/library/asyncio-subprocess.rst:239 msgid "" "On Windows, :py:data:`SIGTERM` is an alias for :meth:`terminate`. " "``CTRL_C_EVENT`` and ``CTRL_BREAK_EVENT`` can be sent to processes started " "with a *creationflags* parameter which includes ``CREATE_NEW_PROCESS_GROUP``." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:241 +#: ../Doc/library/asyncio-subprocess.rst:246 msgid "Stop the child process." msgstr "Arrête le sous-processus." -#: ../Doc/library/asyncio-subprocess.rst:243 +#: ../Doc/library/asyncio-subprocess.rst:248 msgid "" "On POSIX systems this method sends :py:data:`signal.SIGTERM` to the child " "process." @@ -297,44 +303,44 @@ msgstr "" "Sur les systèmes POSIX, cette méthode envoie un :py:data:`signal.SIGTERM` au " "sous-processus." -#: ../Doc/library/asyncio-subprocess.rst:246 +#: ../Doc/library/asyncio-subprocess.rst:251 msgid "" "On Windows the Win32 API function :c:func:`TerminateProcess` is called to " "stop the child process." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:251 +#: ../Doc/library/asyncio-subprocess.rst:256 msgid "Kill the child." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:253 +#: ../Doc/library/asyncio-subprocess.rst:258 msgid "" "On POSIX systems this method sends :py:data:`SIGKILL` to the child process." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:256 +#: ../Doc/library/asyncio-subprocess.rst:261 msgid "On Windows this method is an alias for :meth:`terminate`." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:260 +#: ../Doc/library/asyncio-subprocess.rst:265 msgid "" "Standard input stream (:class:`StreamWriter`) or ``None`` if the process was " "created with ``stdin=None``." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:265 +#: ../Doc/library/asyncio-subprocess.rst:270 msgid "" "Standard output stream (:class:`StreamReader`) or ``None`` if the process " "was created with ``stdout=None``." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:270 +#: ../Doc/library/asyncio-subprocess.rst:275 msgid "" "Standard error stream (:class:`StreamReader`) or ``None`` if the process was " "created with ``stderr=None``." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:275 +#: ../Doc/library/asyncio-subprocess.rst:280 msgid "" "Use the :meth:`communicate` method rather than :attr:`process.stdin.write() " "`, :attr:`await process.stdout.read() ` or :attr:`await " @@ -342,25 +348,25 @@ msgid "" "reading or writing and blocking the child process." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:284 +#: ../Doc/library/asyncio-subprocess.rst:289 msgid "Process identification number (PID)." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:286 +#: ../Doc/library/asyncio-subprocess.rst:291 msgid "" "Note that for processes created by the :func:`create_subprocess_shell` " "function, this attribute is the PID of the spawned shell." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:291 +#: ../Doc/library/asyncio-subprocess.rst:296 msgid "Return code of the process when it exits." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:293 +#: ../Doc/library/asyncio-subprocess.rst:298 msgid "A ``None`` value indicates that the process has not terminated yet." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:295 +#: ../Doc/library/asyncio-subprocess.rst:300 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." @@ -368,69 +374,69 @@ msgstr "" "Une valeur négative ``-N`` indique que le sous-processus a été terminé par " "un signal ``N`` (seulement sur les systèmes *POSIX*)." -#: ../Doc/library/asyncio-subprocess.rst:302 +#: ../Doc/library/asyncio-subprocess.rst:307 msgid "Subprocess and Threads" msgstr "Sous-processus et fils d'exécution" -#: ../Doc/library/asyncio-subprocess.rst:304 +#: ../Doc/library/asyncio-subprocess.rst:309 msgid "" "Standard asyncio event loop supports running subprocesses from different " "threads by default." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:307 +#: ../Doc/library/asyncio-subprocess.rst:312 msgid "" "On Windows subprocesses are provided by :class:`ProactorEventLoop` only " "(default), :class:`SelectorEventLoop` has no subprocess support." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:310 +#: ../Doc/library/asyncio-subprocess.rst:315 msgid "" "On UNIX *child watchers* are used for subprocess finish waiting, see :ref:" "`asyncio-watchers` for more info." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:316 +#: ../Doc/library/asyncio-subprocess.rst:321 msgid "" "UNIX switched to use :class:`ThreadedChildWatcher` for spawning subprocesses " "from different threads without any limitation." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:319 +#: ../Doc/library/asyncio-subprocess.rst:324 msgid "" "Spawning a subprocess with *inactive* current child watcher raises :exc:" "`RuntimeError`." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:322 +#: ../Doc/library/asyncio-subprocess.rst:327 msgid "" "Note that alternative event loop implementations might have own limitations; " "please refer to their documentation." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:327 +#: ../Doc/library/asyncio-subprocess.rst:332 msgid "" "The :ref:`Concurrency and multithreading in asyncio ` section." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:332 +#: ../Doc/library/asyncio-subprocess.rst:337 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/asyncio-subprocess.rst:334 +#: ../Doc/library/asyncio-subprocess.rst:339 msgid "" "An example using the :class:`~asyncio.subprocess.Process` class to control a " "subprocess and the :class:`StreamReader` class to read from its standard " "output." msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:340 +#: ../Doc/library/asyncio-subprocess.rst:345 msgid "" "The subprocess is created by the :func:`create_subprocess_exec` function::" msgstr "" -#: ../Doc/library/asyncio-subprocess.rst:367 +#: ../Doc/library/asyncio-subprocess.rst:372 msgid "" "See also the :ref:`same example ` written " "using low-level APIs." diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index bd28d8d1..b2b300ec 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-10-15 00:46+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -19,130 +19,134 @@ msgid "Synchronization Primitives" msgstr "" #: ../Doc/library/asyncio-sync.rst:9 +msgid "**Source code:** :source:`Lib/asyncio/locks.py`" +msgstr "" + +#: ../Doc/library/asyncio-sync.rst:13 msgid "" "asyncio synchronization primitives are designed to be similar to those of " "the :mod:`threading` module with two important caveats:" msgstr "" -#: ../Doc/library/asyncio-sync.rst:12 +#: ../Doc/library/asyncio-sync.rst:16 msgid "" "asyncio primitives are not thread-safe, therefore they should not be used " "for OS thread synchronization (use :mod:`threading` for that);" msgstr "" -#: ../Doc/library/asyncio-sync.rst:16 +#: ../Doc/library/asyncio-sync.rst:20 msgid "" "methods of these synchronization primitives do not accept the *timeout* " "argument; use the :func:`asyncio.wait_for` function to perform operations " "with timeouts." msgstr "" -#: ../Doc/library/asyncio-sync.rst:20 +#: ../Doc/library/asyncio-sync.rst:24 msgid "asyncio has the following basic synchronization primitives:" msgstr "" -#: ../Doc/library/asyncio-sync.rst:22 +#: ../Doc/library/asyncio-sync.rst:26 msgid ":class:`Lock`" msgstr ":class:`Lock`" -#: ../Doc/library/asyncio-sync.rst:23 +#: ../Doc/library/asyncio-sync.rst:27 msgid ":class:`Event`" msgstr ":class:`Event`" -#: ../Doc/library/asyncio-sync.rst:24 +#: ../Doc/library/asyncio-sync.rst:28 msgid ":class:`Condition`" msgstr ":class:`Condition`" -#: ../Doc/library/asyncio-sync.rst:25 +#: ../Doc/library/asyncio-sync.rst:29 msgid ":class:`Semaphore`" msgstr ":class:`Semaphore`" -#: ../Doc/library/asyncio-sync.rst:26 +#: ../Doc/library/asyncio-sync.rst:30 msgid ":class:`BoundedSemaphore`" msgstr ":class:`BoundedSemaphore`" -#: ../Doc/library/asyncio-sync.rst:33 +#: ../Doc/library/asyncio-sync.rst:37 msgid "Lock" msgstr "" -#: ../Doc/library/asyncio-sync.rst:37 +#: ../Doc/library/asyncio-sync.rst:41 msgid "Implements a mutex lock for asyncio tasks. Not thread-safe." msgstr "" -#: ../Doc/library/asyncio-sync.rst:39 +#: ../Doc/library/asyncio-sync.rst:43 msgid "" "An asyncio lock can be used to guarantee exclusive access to a shared " "resource." msgstr "" -#: ../Doc/library/asyncio-sync.rst:42 +#: ../Doc/library/asyncio-sync.rst:46 msgid "The preferred way to use a Lock is an :keyword:`async with` statement::" msgstr "" -#: ../Doc/library/asyncio-sync.rst:51 ../Doc/library/asyncio-sync.rst:196 -#: ../Doc/library/asyncio-sync.rst:296 +#: ../Doc/library/asyncio-sync.rst:55 ../Doc/library/asyncio-sync.rst:200 +#: ../Doc/library/asyncio-sync.rst:300 msgid "which is equivalent to::" msgstr "" -#: ../Doc/library/asyncio-sync.rst:64 ../Doc/library/asyncio-sync.rst:110 -#: ../Doc/library/asyncio-sync.rst:186 ../Doc/library/asyncio-sync.rst:286 -#: ../Doc/library/asyncio-sync.rst:341 +#: ../Doc/library/asyncio-sync.rst:68 ../Doc/library/asyncio-sync.rst:114 +#: ../Doc/library/asyncio-sync.rst:190 ../Doc/library/asyncio-sync.rst:290 +#: ../Doc/library/asyncio-sync.rst:345 msgid "The *loop* parameter." msgstr "" -#: ../Doc/library/asyncio-sync.rst:67 +#: ../Doc/library/asyncio-sync.rst:71 msgid "Acquire the lock." msgstr "" -#: ../Doc/library/asyncio-sync.rst:69 +#: ../Doc/library/asyncio-sync.rst:73 msgid "" "This method waits until the lock is *unlocked*, sets it to *locked* and " "returns ``True``." msgstr "" -#: ../Doc/library/asyncio-sync.rst:72 +#: ../Doc/library/asyncio-sync.rst:76 msgid "" "When more than one coroutine is blocked in :meth:`acquire` waiting for the " "lock to be unlocked, only one coroutine eventually proceeds." msgstr "" -#: ../Doc/library/asyncio-sync.rst:76 +#: ../Doc/library/asyncio-sync.rst:80 msgid "" "Acquiring a lock is *fair*: the coroutine that proceeds will be the first " "coroutine that started waiting on the lock." msgstr "" -#: ../Doc/library/asyncio-sync.rst:81 +#: ../Doc/library/asyncio-sync.rst:85 msgid "Release the lock." msgstr "Libère un verrou." -#: ../Doc/library/asyncio-sync.rst:83 +#: ../Doc/library/asyncio-sync.rst:87 msgid "When the lock is *locked*, reset it to *unlocked* and return." msgstr "" -#: ../Doc/library/asyncio-sync.rst:85 +#: ../Doc/library/asyncio-sync.rst:89 msgid "If the lock is *unlocked*, a :exc:`RuntimeError` is raised." msgstr "" -#: ../Doc/library/asyncio-sync.rst:89 +#: ../Doc/library/asyncio-sync.rst:93 msgid "Return ``True`` if the lock is *locked*." msgstr "Donne ``True`` si le verrou est verrouillé." -#: ../Doc/library/asyncio-sync.rst:93 +#: ../Doc/library/asyncio-sync.rst:97 msgid "Event" msgstr "" -#: ../Doc/library/asyncio-sync.rst:97 +#: ../Doc/library/asyncio-sync.rst:101 msgid "An event object. Not thread-safe." msgstr "" -#: ../Doc/library/asyncio-sync.rst:99 +#: ../Doc/library/asyncio-sync.rst:103 msgid "" "An asyncio event can be used to notify multiple asyncio tasks that some " "event has happened." msgstr "" -#: ../Doc/library/asyncio-sync.rst:102 +#: ../Doc/library/asyncio-sync.rst:106 msgid "" "An Event object manages an internal flag that can be set to *true* with the :" "meth:`set` method and reset to *false* with the :meth:`clear` method. The :" @@ -150,57 +154,57 @@ msgid "" "to *false* initially." msgstr "" -#: ../Doc/library/asyncio-sync.rst:113 +#: ../Doc/library/asyncio-sync.rst:117 msgid "Example::" msgstr "Exemple ::" -#: ../Doc/library/asyncio-sync.rst:138 +#: ../Doc/library/asyncio-sync.rst:142 msgid "Wait until the event is set." msgstr "Attend que l'évènement ait une valeur." -#: ../Doc/library/asyncio-sync.rst:140 +#: ../Doc/library/asyncio-sync.rst:144 msgid "" "If the event is set, return ``True`` immediately. Otherwise block until " "another task calls :meth:`set`." msgstr "" -#: ../Doc/library/asyncio-sync.rst:145 +#: ../Doc/library/asyncio-sync.rst:149 msgid "Set the event." msgstr "" -#: ../Doc/library/asyncio-sync.rst:147 +#: ../Doc/library/asyncio-sync.rst:151 msgid "All tasks waiting for event to be set will be immediately awakened." msgstr "" -#: ../Doc/library/asyncio-sync.rst:152 +#: ../Doc/library/asyncio-sync.rst:156 msgid "Clear (unset) the event." msgstr "" -#: ../Doc/library/asyncio-sync.rst:154 +#: ../Doc/library/asyncio-sync.rst:158 msgid "" "Tasks awaiting on :meth:`wait` will now block until the :meth:`set` method " "is called again." msgstr "" -#: ../Doc/library/asyncio-sync.rst:159 +#: ../Doc/library/asyncio-sync.rst:163 msgid "Return ``True`` if the event is set." msgstr "Renvoie ``True`` si l'évènement a une valeur." -#: ../Doc/library/asyncio-sync.rst:163 +#: ../Doc/library/asyncio-sync.rst:167 msgid "Condition" msgstr "" -#: ../Doc/library/asyncio-sync.rst:167 +#: ../Doc/library/asyncio-sync.rst:171 msgid "A Condition object. Not thread-safe." msgstr "" -#: ../Doc/library/asyncio-sync.rst:169 +#: ../Doc/library/asyncio-sync.rst:173 msgid "" "An asyncio condition primitive can be used by a task to wait for some event " "to happen and then get exclusive access to a shared resource." msgstr "" -#: ../Doc/library/asyncio-sync.rst:173 +#: ../Doc/library/asyncio-sync.rst:177 msgid "" "In essence, a Condition object combines the functionality of an :class:" "`Event` and a :class:`Lock`. It is possible to have multiple Condition " @@ -209,96 +213,96 @@ msgid "" "that shared resource." msgstr "" -#: ../Doc/library/asyncio-sync.rst:179 +#: ../Doc/library/asyncio-sync.rst:183 msgid "" "The optional *lock* argument must be a :class:`Lock` object or ``None``. In " "the latter case a new Lock object is created automatically." msgstr "" -#: ../Doc/library/asyncio-sync.rst:187 +#: ../Doc/library/asyncio-sync.rst:191 msgid "" "The preferred way to use a Condition is an :keyword:`async with` statement::" msgstr "" -#: ../Doc/library/asyncio-sync.rst:209 +#: ../Doc/library/asyncio-sync.rst:213 msgid "Acquire the underlying lock." msgstr "" -#: ../Doc/library/asyncio-sync.rst:211 +#: ../Doc/library/asyncio-sync.rst:215 msgid "" "This method waits until the underlying lock is *unlocked*, sets it to " "*locked* and returns ``True``." msgstr "" -#: ../Doc/library/asyncio-sync.rst:216 +#: ../Doc/library/asyncio-sync.rst:220 msgid "" "Wake up at most *n* tasks (1 by default) waiting on this condition. The " "method is no-op if no tasks are waiting." msgstr "" -#: ../Doc/library/asyncio-sync.rst:219 ../Doc/library/asyncio-sync.rst:234 +#: ../Doc/library/asyncio-sync.rst:223 ../Doc/library/asyncio-sync.rst:238 msgid "" "The lock must be acquired before this method is called and released shortly " "after. If called with an *unlocked* lock a :exc:`RuntimeError` error is " "raised." msgstr "" -#: ../Doc/library/asyncio-sync.rst:225 +#: ../Doc/library/asyncio-sync.rst:229 msgid "Return ``True`` if the underlying lock is acquired." msgstr "" -#: ../Doc/library/asyncio-sync.rst:229 +#: ../Doc/library/asyncio-sync.rst:233 msgid "Wake up all tasks waiting on this condition." msgstr "" -#: ../Doc/library/asyncio-sync.rst:231 +#: ../Doc/library/asyncio-sync.rst:235 msgid "This method acts like :meth:`notify`, but wakes up all waiting tasks." msgstr "" -#: ../Doc/library/asyncio-sync.rst:240 +#: ../Doc/library/asyncio-sync.rst:244 msgid "Release the underlying lock." msgstr "Libère le verrou sous-jacent." -#: ../Doc/library/asyncio-sync.rst:242 +#: ../Doc/library/asyncio-sync.rst:246 msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised." msgstr "" -#: ../Doc/library/asyncio-sync.rst:247 +#: ../Doc/library/asyncio-sync.rst:251 msgid "Wait until notified." msgstr "Attends d'être notifié." -#: ../Doc/library/asyncio-sync.rst:249 +#: ../Doc/library/asyncio-sync.rst:253 msgid "" "If the calling task has not acquired the lock when this method is called, a :" "exc:`RuntimeError` is raised." msgstr "" -#: ../Doc/library/asyncio-sync.rst:252 +#: ../Doc/library/asyncio-sync.rst:256 msgid "" "This method releases the underlying lock, and then blocks until it is " "awakened by a :meth:`notify` or :meth:`notify_all` call. Once awakened, the " "Condition re-acquires its lock and this method returns ``True``." msgstr "" -#: ../Doc/library/asyncio-sync.rst:259 +#: ../Doc/library/asyncio-sync.rst:263 msgid "Wait until a predicate becomes *true*." msgstr "Attends jusqu'à ce qu'un prédicat devienne vrai." -#: ../Doc/library/asyncio-sync.rst:261 +#: ../Doc/library/asyncio-sync.rst:265 msgid "" "The predicate must be a callable which result will be interpreted as a " "boolean value. The final value is the return value." msgstr "" -#: ../Doc/library/asyncio-sync.rst:267 +#: ../Doc/library/asyncio-sync.rst:271 msgid "Semaphore" msgstr "Sémaphore" -#: ../Doc/library/asyncio-sync.rst:271 +#: ../Doc/library/asyncio-sync.rst:275 msgid "A Semaphore object. Not thread-safe." msgstr "" -#: ../Doc/library/asyncio-sync.rst:273 +#: ../Doc/library/asyncio-sync.rst:277 msgid "" "A semaphore manages an internal counter which is decremented by each :meth:" "`acquire` call and incremented by each :meth:`release` call. The counter can " @@ -306,61 +310,61 @@ msgid "" "waiting until some task calls :meth:`release`." msgstr "" -#: ../Doc/library/asyncio-sync.rst:279 +#: ../Doc/library/asyncio-sync.rst:283 msgid "" "The optional *value* argument gives the initial value for the internal " "counter (``1`` by default). If the given value is less than ``0`` a :exc:" "`ValueError` is raised." msgstr "" -#: ../Doc/library/asyncio-sync.rst:287 +#: ../Doc/library/asyncio-sync.rst:291 msgid "" "The preferred way to use a Semaphore is an :keyword:`async with` statement::" msgstr "" -#: ../Doc/library/asyncio-sync.rst:309 +#: ../Doc/library/asyncio-sync.rst:313 msgid "Acquire a semaphore." msgstr "" -#: ../Doc/library/asyncio-sync.rst:311 +#: ../Doc/library/asyncio-sync.rst:315 msgid "" "If the internal counter is greater than zero, decrement it by one and return " "``True`` immediately. If it is zero, wait until a :meth:`release` is called " "and return ``True``." msgstr "" -#: ../Doc/library/asyncio-sync.rst:317 +#: ../Doc/library/asyncio-sync.rst:321 msgid "Returns ``True`` if semaphore can not be acquired immediately." msgstr "" -#: ../Doc/library/asyncio-sync.rst:321 +#: ../Doc/library/asyncio-sync.rst:325 msgid "" "Release a semaphore, incrementing the internal counter by one. Can wake up a " "task waiting to acquire the semaphore." msgstr "" -#: ../Doc/library/asyncio-sync.rst:324 +#: ../Doc/library/asyncio-sync.rst:328 msgid "" "Unlike :class:`BoundedSemaphore`, :class:`Semaphore` allows making more " "``release()`` calls than ``acquire()`` calls." msgstr "" -#: ../Doc/library/asyncio-sync.rst:329 +#: ../Doc/library/asyncio-sync.rst:333 msgid "BoundedSemaphore" msgstr "BoundedSemaphore" -#: ../Doc/library/asyncio-sync.rst:333 +#: ../Doc/library/asyncio-sync.rst:337 msgid "A bounded semaphore object. Not thread-safe." msgstr "" -#: ../Doc/library/asyncio-sync.rst:335 +#: ../Doc/library/asyncio-sync.rst:339 msgid "" "Bounded Semaphore is a version of :class:`Semaphore` that raises a :exc:" "`ValueError` in :meth:`~Semaphore.release` if it increases the internal " "counter above the initial *value*." msgstr "" -#: ../Doc/library/asyncio-sync.rst:348 +#: ../Doc/library/asyncio-sync.rst:352 msgid "" "Acquiring a lock using ``await lock`` or ``yield from lock`` and/or :keyword:" "`with` statement (``with await lock``, ``with (yield from lock)``) is " diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 5d5dd361..3ae52169 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-05-23 20:05+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -32,10 +32,12 @@ msgid "Coroutines" msgstr "Coroutines" #: ../Doc/library/asyncio-task.rst:21 +#, fuzzy msgid "" -"Coroutines declared with async/await syntax is the preferred way of writing " -"asyncio applications. For example, the following snippet of code (requires " -"Python 3.7+) prints \"hello\", waits 1 second, and then prints \"world\"::" +":term:`Coroutines ` declared with the async/await syntax is the " +"preferred way of writing asyncio applications. For example, the following " +"snippet of code (requires Python 3.7+) prints \"hello\", waits 1 second, and " +"then prints \"world\"::" msgstr "" "Il est recommandé d'utiliser la syntaxe *async* / *await* pour développer " "des programmes *asyncio*. Par exemple, le morceau de code suivant " @@ -265,16 +267,22 @@ msgstr "" "fin. Elle doit être utilisée comme point d'entrée principal des programmes " "*asyncio* et ne doit être idéalement appelée qu'une seule fois." -#: ../Doc/library/asyncio-task.rst:230 ../Doc/library/asyncio-task.rst:350 -#: ../Doc/library/asyncio-task.rst:459 ../Doc/library/asyncio-task.rst:589 +#: ../Doc/library/asyncio-task.rst:230 ../Doc/library/asyncio-task.rst:354 +#: ../Doc/library/asyncio-task.rst:463 ../Doc/library/asyncio-task.rst:593 msgid "Example::" msgstr "Exemple ::" #: ../Doc/library/asyncio-task.rst:242 +msgid "" +"The source code for ``asyncio.run()`` can be found in :source:`Lib/asyncio/" +"runners.py`." +msgstr "" + +#: ../Doc/library/asyncio-task.rst:246 msgid "Creating Tasks" msgstr "Création de tâches" -#: ../Doc/library/asyncio-task.rst:246 +#: ../Doc/library/asyncio-task.rst:250 msgid "" "Wrap the *coro* :ref:`coroutine ` into a :class:`Task` and " "schedule its execution. Return the Task object." @@ -282,13 +290,13 @@ msgstr "" "Encapsule la :ref:`coroutine ` *coro* dans une tâche et la " "planifie pour exécution. Renvoie l'objet :class:`Task`." -#: ../Doc/library/asyncio-task.rst:249 +#: ../Doc/library/asyncio-task.rst:253 msgid "" "If *name* is not ``None``, it is set as the name of the task using :meth:" "`Task.set_name`." msgstr "" -#: ../Doc/library/asyncio-task.rst:252 +#: ../Doc/library/asyncio-task.rst:256 msgid "" "The task is executed in the loop returned by :func:`get_running_loop`, :exc:" "`RuntimeError` is raised if there is no running loop in current thread." @@ -297,7 +305,7 @@ msgstr "" "`get_running_loop` ; :exc:`RuntimeError` est levée s'il n'y a pas de boucle " "en cours d'exécution dans le fil actuel." -#: ../Doc/library/asyncio-task.rst:256 +#: ../Doc/library/asyncio-task.rst:260 msgid "" "This function has been **added in Python 3.7**. Prior to Python 3.7, the " "low-level :func:`asyncio.ensure_future` function can be used instead::" @@ -306,19 +314,19 @@ msgstr "" "antérieures à la 3.7, la fonction de bas-niveau :func:`asyncio." "ensure_future` peut-être utilisée ::" -#: ../Doc/library/asyncio-task.rst:273 ../Doc/library/asyncio-task.rst:712 +#: ../Doc/library/asyncio-task.rst:277 ../Doc/library/asyncio-task.rst:716 msgid "Added the ``name`` parameter." msgstr "" -#: ../Doc/library/asyncio-task.rst:278 +#: ../Doc/library/asyncio-task.rst:282 msgid "Sleeping" msgstr "Attente" -#: ../Doc/library/asyncio-task.rst:282 +#: ../Doc/library/asyncio-task.rst:286 msgid "Block for *delay* seconds." msgstr "Attend pendant *delay* secondes." -#: ../Doc/library/asyncio-task.rst:284 +#: ../Doc/library/asyncio-task.rst:288 msgid "" "If *result* is provided, it is returned to the caller when the coroutine " "completes." @@ -326,32 +334,32 @@ msgstr "" "Si *result* est spécifié, il est renvoyé à l'appelant quand la coroutine se " "termine." -#: ../Doc/library/asyncio-task.rst:287 +#: ../Doc/library/asyncio-task.rst:291 msgid "" "``sleep()`` always suspends the current task, allowing other tasks to run." msgstr "" "``sleep()`` suspend systématiquement la tâche courante, ce qui permet aux " "autres tâches de s'exécuter." -#: ../Doc/library/asyncio-task.rst:292 ../Doc/library/asyncio-task.rst:347 -#: ../Doc/library/asyncio-task.rst:426 ../Doc/library/asyncio-task.rst:456 -#: ../Doc/library/asyncio-task.rst:541 ../Doc/library/asyncio-task.rst:588 -#: ../Doc/library/asyncio-task.rst:717 +#: ../Doc/library/asyncio-task.rst:296 ../Doc/library/asyncio-task.rst:351 +#: ../Doc/library/asyncio-task.rst:430 ../Doc/library/asyncio-task.rst:460 +#: ../Doc/library/asyncio-task.rst:545 ../Doc/library/asyncio-task.rst:592 +#: ../Doc/library/asyncio-task.rst:721 msgid "The *loop* parameter." msgstr "" -#: ../Doc/library/asyncio-task.rst:295 +#: ../Doc/library/asyncio-task.rst:299 msgid "" "Example of coroutine displaying the current date every second for 5 seconds::" msgstr "" "Exemple d'une coroutine affichant la date toutes les secondes pendant 5 " "secondes ::" -#: ../Doc/library/asyncio-task.rst:314 +#: ../Doc/library/asyncio-task.rst:318 msgid "Running Tasks Concurrently" msgstr "Exécution de tâches de manière concurrente" -#: ../Doc/library/asyncio-task.rst:318 +#: ../Doc/library/asyncio-task.rst:322 msgid "" "Run :ref:`awaitable objects ` in the *aws* sequence " "*concurrently*." @@ -359,7 +367,7 @@ msgstr "" "Exécute les objets :ref:`awaitable ` de la séquence " "*aws*, *de manière concurrente*." -#: ../Doc/library/asyncio-task.rst:321 +#: ../Doc/library/asyncio-task.rst:325 msgid "" "If any awaitable in *aws* is a coroutine, it is automatically scheduled as a " "Task." @@ -367,7 +375,7 @@ msgstr "" "Si un *awaitable* de *aws* est une coroutine, celui-ci est automatiquement " "planifié comme une tâche." -#: ../Doc/library/asyncio-task.rst:324 +#: ../Doc/library/asyncio-task.rst:328 msgid "" "If all awaitables are completed successfully, the result is an aggregate " "list of returned values. The order of result values corresponds to the " @@ -377,7 +385,7 @@ msgstr "" "des valeurs renvoyées. L'ordre de cette liste correspond à l'ordre des " "*awaitables* dans *aws*." -#: ../Doc/library/asyncio-task.rst:328 +#: ../Doc/library/asyncio-task.rst:332 msgid "" "If *return_exceptions* is ``False`` (default), the first raised exception is " "immediately propagated to the task that awaits on ``gather()``. Other " @@ -389,7 +397,7 @@ msgstr "" "``gather()``. Les autres *awaitables* dans la séquence *aws* **ne sont pas " "annulés** et poursuivent leur exécution." -#: ../Doc/library/asyncio-task.rst:333 +#: ../Doc/library/asyncio-task.rst:337 msgid "" "If *return_exceptions* is ``True``, exceptions are treated the same as " "successful results, and aggregated in the result list." @@ -398,7 +406,7 @@ msgstr "" "même manière que les exécutions normales, et incluses dans la liste des " "résultats." -#: ../Doc/library/asyncio-task.rst:336 +#: ../Doc/library/asyncio-task.rst:340 msgid "" "If ``gather()`` is *cancelled*, all submitted awaitables (that have not " "completed yet) are also *cancelled*." @@ -406,7 +414,7 @@ msgstr "" "Si ``gather()`` est *annulé*, tous les *awaitables* en cours (ceux qui n'ont " "pas encore fini de s'exécuter) sont également *annulés*." -#: ../Doc/library/asyncio-task.rst:339 +#: ../Doc/library/asyncio-task.rst:343 msgid "" "If any Task or Future from the *aws* sequence is *cancelled*, it is treated " "as if it raised :exc:`CancelledError` -- the ``gather()`` call is **not** " @@ -419,7 +427,7 @@ msgstr "" "l'annulation d'une tâche ou d'un futur entraîne l'annulation des autres " "tâches ou futurs." -#: ../Doc/library/asyncio-task.rst:384 +#: ../Doc/library/asyncio-task.rst:388 msgid "" "If the *gather* itself is cancelled, the cancellation is propagated " "regardless of *return_exceptions*." @@ -427,11 +435,11 @@ msgstr "" "Si *gather* est lui-même annulé, l'annulation est propagée indépendamment de " "*return_exceptions*." -#: ../Doc/library/asyncio-task.rst:390 +#: ../Doc/library/asyncio-task.rst:394 msgid "Shielding From Cancellation" msgstr "Protection contre l'annulation" -#: ../Doc/library/asyncio-task.rst:394 +#: ../Doc/library/asyncio-task.rst:398 msgid "" "Protect an :ref:`awaitable object ` from being :meth:" "`cancelled `." @@ -439,21 +447,21 @@ msgstr "" "Empêche qu'un objet :ref:`awaitable ` puisse être :meth:" "`annulé `." -#: ../Doc/library/asyncio-task.rst:397 ../Doc/library/asyncio-task.rst:437 +#: ../Doc/library/asyncio-task.rst:401 ../Doc/library/asyncio-task.rst:441 msgid "If *aw* is a coroutine it is automatically scheduled as a Task." msgstr "" "Si *aw* est une coroutine, elle est planifiée automatiquement comme une " "tâche." -#: ../Doc/library/asyncio-task.rst:399 +#: ../Doc/library/asyncio-task.rst:403 msgid "The statement::" msgstr "L'instruction ::" -#: ../Doc/library/asyncio-task.rst:403 +#: ../Doc/library/asyncio-task.rst:407 msgid "is equivalent to::" msgstr "est équivalente à ::" -#: ../Doc/library/asyncio-task.rst:407 +#: ../Doc/library/asyncio-task.rst:411 msgid "" "*except* that if the coroutine containing it is cancelled, the Task running " "in ``something()`` is not cancelled. From the point of view of " @@ -467,7 +475,7 @@ msgstr "" "est bien annulé, donc l'expression *await* lève bien une :exc:" "`CancelledError`." -#: ../Doc/library/asyncio-task.rst:413 +#: ../Doc/library/asyncio-task.rst:417 msgid "" "If ``something()`` is cancelled by other means (i.e. from within itself) " "that would also cancel ``shield()``." @@ -475,7 +483,7 @@ msgstr "" "Si ``something()`` est annulée d'une autre façon (*i.e.* depuis elle-même) " "ceci annule également ``shield()``." -#: ../Doc/library/asyncio-task.rst:416 +#: ../Doc/library/asyncio-task.rst:420 msgid "" "If it is desired to completely ignore cancellation (not recommended) the " "``shield()`` function should be combined with a try/except clause, as " @@ -485,11 +493,11 @@ msgstr "" "``shield()`` peut être combinée à une clause *try* / *except*, comme dans le " "code ci-dessous ::" -#: ../Doc/library/asyncio-task.rst:430 +#: ../Doc/library/asyncio-task.rst:434 msgid "Timeouts" msgstr "Délais d'attente" -#: ../Doc/library/asyncio-task.rst:434 +#: ../Doc/library/asyncio-task.rst:438 msgid "" "Wait for the *aw* :ref:`awaitable ` to complete with a " "timeout." @@ -497,7 +505,7 @@ msgstr "" "Attend la fin de l':ref:`awaitable ` *aw* avec délai " "d'attente." -#: ../Doc/library/asyncio-task.rst:439 +#: ../Doc/library/asyncio-task.rst:443 msgid "" "*timeout* can either be ``None`` or a float or int number of seconds to wait " "for. If *timeout* is ``None``, block until the future completes." @@ -506,7 +514,7 @@ msgstr "" "décimal) d'attente. Si *timeout* vaut ``None``, la fonction s'interrompt " "jusqu'à ce que le futur s'achève." -#: ../Doc/library/asyncio-task.rst:443 +#: ../Doc/library/asyncio-task.rst:447 msgid "" "If a timeout occurs, it cancels the task and raises :exc:`asyncio." "TimeoutError`." @@ -514,7 +522,7 @@ msgstr "" "Si le délai d'attente maximal est dépassé, la tâche est annulée et " "l'exception :exc:`asyncio.TimeoutError` est levée." -#: ../Doc/library/asyncio-task.rst:446 +#: ../Doc/library/asyncio-task.rst:450 msgid "" "To avoid the task :meth:`cancellation `, wrap it in :func:" "`shield`." @@ -522,7 +530,7 @@ msgstr "" "Pour empêcher :meth:`l'annulation ` de la tâche, il est " "nécessaire de l'encapsuler dans une fonction :func:`shield`." -#: ../Doc/library/asyncio-task.rst:449 +#: ../Doc/library/asyncio-task.rst:453 msgid "" "The function will wait until the future is actually cancelled, so the total " "wait time may exceed the *timeout*." @@ -530,11 +538,11 @@ msgstr "" "Cette fonction attend que le futur soit réellement annulé, donc le temps " "d'attente total peut être supérieur à *timeout*." -#: ../Doc/library/asyncio-task.rst:452 +#: ../Doc/library/asyncio-task.rst:456 msgid "If the wait is cancelled, the future *aw* is also cancelled." msgstr "Si l'attente est annulée, le futur *aw* est également annulé." -#: ../Doc/library/asyncio-task.rst:479 +#: ../Doc/library/asyncio-task.rst:483 msgid "" "When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be " "cancelled. Previously, it raised :exc:`asyncio.TimeoutError` immediately." @@ -543,11 +551,11 @@ msgstr "" "``wait_for`` attend que *aw* soit annulée. Auparavant, l'exception :exc:" "`asyncio.TimeoutError` était immédiatement levée." -#: ../Doc/library/asyncio-task.rst:486 +#: ../Doc/library/asyncio-task.rst:490 msgid "Waiting Primitives" msgstr "Primitives d'attente" -#: ../Doc/library/asyncio-task.rst:491 +#: ../Doc/library/asyncio-task.rst:495 msgid "" "Run :ref:`awaitable objects ` in the *aws* set " "concurrently and block until the condition specified by *return_when*." @@ -556,15 +564,15 @@ msgstr "" "*aws* de manière concurrente, et s'interrompt jusqu'à ce que la condition " "décrite dans *return_when* soit vraie." -#: ../Doc/library/asyncio-task.rst:495 +#: ../Doc/library/asyncio-task.rst:499 msgid "Returns two sets of Tasks/Futures: ``(done, pending)``." msgstr "Renvoie deux ensembles de *Tasks* / *Futures* : ``(done, pending)``." -#: ../Doc/library/asyncio-task.rst:497 +#: ../Doc/library/asyncio-task.rst:501 msgid "Usage::" msgstr "Utilisation ::" -#: ../Doc/library/asyncio-task.rst:501 +#: ../Doc/library/asyncio-task.rst:505 msgid "" "*timeout* (a float or int), if specified, can be used to control the maximum " "number of seconds to wait before returning." @@ -572,7 +580,7 @@ msgstr "" "*timeout* (entier ou décimal), si précisé, peut-être utilisé pour contrôler " "le nombre maximal de secondes d'attente avant de se terminer." -#: ../Doc/library/asyncio-task.rst:504 +#: ../Doc/library/asyncio-task.rst:508 msgid "" "Note that this function does not raise :exc:`asyncio.TimeoutError`. Futures " "or Tasks that aren't done when the timeout occurs are simply returned in the " @@ -582,7 +590,7 @@ msgstr "" "tâches qui ne sont pas finis quand le délai d'attente maximal est dépassé " "sont tout simplement renvoyés dans le second ensemble." -#: ../Doc/library/asyncio-task.rst:508 +#: ../Doc/library/asyncio-task.rst:512 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" @@ -590,28 +598,28 @@ msgstr "" "*return_when* indique quand la fonction doit se terminer. Il peut prendre " "les valeurs suivantes :" -#: ../Doc/library/asyncio-task.rst:514 +#: ../Doc/library/asyncio-task.rst:518 msgid "Constant" msgstr "Constante" -#: ../Doc/library/asyncio-task.rst:514 +#: ../Doc/library/asyncio-task.rst:518 msgid "Description" msgstr "Description" -#: ../Doc/library/asyncio-task.rst:516 +#: ../Doc/library/asyncio-task.rst:520 msgid ":const:`FIRST_COMPLETED`" msgstr ":const:`FIRST_COMPLETED`" -#: ../Doc/library/asyncio-task.rst:516 +#: ../Doc/library/asyncio-task.rst:520 msgid "The function will return when any future finishes or is cancelled." msgstr "" "La fonction se termine lorsque n'importe quel futur se termine ou est annulé." -#: ../Doc/library/asyncio-task.rst:519 +#: ../Doc/library/asyncio-task.rst:523 msgid ":const:`FIRST_EXCEPTION`" msgstr ":const:`FIRST_EXCEPTION`" -#: ../Doc/library/asyncio-task.rst:519 +#: ../Doc/library/asyncio-task.rst:523 msgid "" "The function will return when any future finishes by raising an exception. " "If no future raises an exception then it is equivalent to :const:" @@ -621,16 +629,16 @@ msgstr "" "exception. Si aucun *futur* ne lève d'exception, équivaut à :const:" "`ALL_COMPLETED`." -#: ../Doc/library/asyncio-task.rst:525 +#: ../Doc/library/asyncio-task.rst:529 msgid ":const:`ALL_COMPLETED`" msgstr ":const:`ALL_COMPLETED`" -#: ../Doc/library/asyncio-task.rst:525 +#: ../Doc/library/asyncio-task.rst:529 msgid "The function will return when all futures finish or are cancelled." msgstr "" "La fonction se termine lorsque les *futurs* sont tous finis ou annulés." -#: ../Doc/library/asyncio-task.rst:529 +#: ../Doc/library/asyncio-task.rst:533 msgid "" "Unlike :func:`~asyncio.wait_for`, ``wait()`` does not cancel the futures " "when a timeout occurs." @@ -638,7 +646,7 @@ msgstr "" "À la différence de :func:`~asyncio.wait_for`, ``wait()`` n'annule pas les " "futurs quand le délai d'attente est dépassé." -#: ../Doc/library/asyncio-task.rst:534 +#: ../Doc/library/asyncio-task.rst:538 msgid "" "If any awaitable in *aws* is a coroutine, it is automatically scheduled as a " "Task. Passing coroutines objects to ``wait()`` directly is deprecated as it " @@ -649,7 +657,7 @@ msgstr "" "``wait()`` est obsolète, car ceci conduisait :ref:`à un comportement portant " "à confusion `." -#: ../Doc/library/asyncio-task.rst:546 +#: ../Doc/library/asyncio-task.rst:550 msgid "" "``wait()`` schedules coroutines as Tasks automatically and later returns " "those implicitly created Task objects in ``(done, pending)`` sets. " @@ -659,15 +667,15 @@ msgstr "" "renvoie les objets *Task* ainsi créés dans les ensembles ``(done, " "pending)``. Le code suivant ne fonctionne donc pas comme voulu ::" -#: ../Doc/library/asyncio-task.rst:559 +#: ../Doc/library/asyncio-task.rst:563 msgid "Here is how the above snippet can be fixed::" msgstr "Voici comment corriger le morceau de code ci-dessus ::" -#: ../Doc/library/asyncio-task.rst:572 +#: ../Doc/library/asyncio-task.rst:576 msgid "Passing coroutine objects to ``wait()`` directly is deprecated." msgstr "Passer directement des objets coroutines à ``wait()`` est obsolète." -#: ../Doc/library/asyncio-task.rst:578 +#: ../Doc/library/asyncio-task.rst:582 msgid "" "Run :ref:`awaitable objects ` in the *aws* set " "concurrently. Return an iterator of :class:`Future` objects. Each Future " @@ -679,7 +687,7 @@ msgstr "" "`Future`. Chaque objet *futur* renvoyé représente le résultat le plus récent " "de l'ensemble des *awaitables* restants." -#: ../Doc/library/asyncio-task.rst:583 +#: ../Doc/library/asyncio-task.rst:587 msgid "" "Raises :exc:`asyncio.TimeoutError` if the timeout occurs before all Futures " "are done." @@ -687,18 +695,18 @@ msgstr "" "Lève une exception :exc:`asyncio.TimeoutError` si le délai d'attente est " "dépassé avant que tous les futurs ne soient achevés." -#: ../Doc/library/asyncio-task.rst:597 +#: ../Doc/library/asyncio-task.rst:601 msgid "Scheduling From Other Threads" msgstr "Planification depuis d'autres fils d'exécution" -#: ../Doc/library/asyncio-task.rst:601 +#: ../Doc/library/asyncio-task.rst:605 msgid "Submit a coroutine to the given event loop. Thread-safe." msgstr "" "Enregistre une coroutine dans la boucle d'exécution actuelle. Cette " "opération est compatible avec les programmes à multiples fils d'exécution " "(*thread-safe*)." -#: ../Doc/library/asyncio-task.rst:603 +#: ../Doc/library/asyncio-task.rst:607 msgid "" "Return a :class:`concurrent.futures.Future` to wait for the result from " "another OS thread." @@ -706,7 +714,7 @@ msgstr "" "Renvoie un :class:`concurrent.futures.Future` pour attendre le résultat d'un " "autre fil d'exécution du système d'exploitation." -#: ../Doc/library/asyncio-task.rst:606 +#: ../Doc/library/asyncio-task.rst:610 msgid "" "This function is meant to be called from a different OS thread than the one " "where the event loop is running. Example::" @@ -714,7 +722,7 @@ msgstr "" "Cette fonction est faite pour être appelée par un fil d'exécution distinct " "de celui dans laquelle la boucle d'événement s'exécute. Exemple ::" -#: ../Doc/library/asyncio-task.rst:618 +#: ../Doc/library/asyncio-task.rst:622 msgid "" "If an exception is raised in the coroutine, the returned Future will be " "notified. It can also be used to cancel the task in the event loop::" @@ -723,7 +731,7 @@ msgstr "" "averti. Elle peut également être utilisée pour annuler la tâche de la boucle " "d'événement ::" -#: ../Doc/library/asyncio-task.rst:632 +#: ../Doc/library/asyncio-task.rst:636 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." @@ -731,7 +739,7 @@ msgstr "" "Voir la section :ref:`exécution concurrente et multi-fils d'exécution " "` de la documentation." -#: ../Doc/library/asyncio-task.rst:635 +#: ../Doc/library/asyncio-task.rst:639 msgid "" "Unlike other asyncio functions this function requires the *loop* argument to " "be passed explicitly." @@ -739,11 +747,11 @@ msgstr "" "À la différence des autres fonction d'*asyncio*, cette fonction requiert que " "*loop* soit passé de manière explicite." -#: ../Doc/library/asyncio-task.rst:642 +#: ../Doc/library/asyncio-task.rst:646 msgid "Introspection" msgstr "Introspection" -#: ../Doc/library/asyncio-task.rst:647 +#: ../Doc/library/asyncio-task.rst:651 msgid "" "Return the currently running :class:`Task` instance, or ``None`` if no task " "is running." @@ -751,7 +759,7 @@ msgstr "" "Renvoie l'instance de la :class:`Task` en cours d'exécution, ou ``None`` " "s'il n'y a pas de tâche en cours." -#: ../Doc/library/asyncio-task.rst:650 +#: ../Doc/library/asyncio-task.rst:654 msgid "" "If *loop* is ``None`` :func:`get_running_loop` is used to get the current " "loop." @@ -759,13 +767,13 @@ msgstr "" "Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer " "la boucle en cours d'exécution." -#: ../Doc/library/asyncio-task.rst:658 +#: ../Doc/library/asyncio-task.rst:662 msgid "Return a set of not yet finished :class:`Task` objects run by the loop." msgstr "" "Renvoie l'ensemble des :class:`Task` non terminés en cours d'exécution dans " "la boucle." -#: ../Doc/library/asyncio-task.rst:661 +#: ../Doc/library/asyncio-task.rst:665 msgid "" "If *loop* is ``None``, :func:`get_running_loop` is used for getting current " "loop." @@ -773,11 +781,11 @@ msgstr "" "Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer " "la boucle en cours d'exécution." -#: ../Doc/library/asyncio-task.rst:668 +#: ../Doc/library/asyncio-task.rst:672 msgid "Task Object" msgstr "Objets *Task*" -#: ../Doc/library/asyncio-task.rst:672 +#: ../Doc/library/asyncio-task.rst:676 msgid "" "A :class:`Future-like ` object that runs a Python :ref:`coroutine " "`. Not thread-safe." @@ -786,7 +794,7 @@ msgstr "" "`coroutine ` Python. Cet objet n'est pas utilisable dans des " "programmes à fils d'exécution multiples." -#: ../Doc/library/asyncio-task.rst:675 +#: ../Doc/library/asyncio-task.rst:679 msgid "" "Tasks are used to run coroutines in event loops. If a coroutine awaits on a " "Future, the Task suspends the execution of the coroutine and waits for the " @@ -798,7 +806,7 @@ msgstr "" "attend la fin de ce *futur*. Quand celui-ci est terminé, l'exécution de la " "coroutine encapsulée reprend." -#: ../Doc/library/asyncio-task.rst:681 +#: ../Doc/library/asyncio-task.rst:685 msgid "" "Event loops use cooperative scheduling: an event loop runs one Task at a " "time. While a Task awaits for the completion of a Future, the event loop " @@ -809,7 +817,7 @@ msgstr "" "futur, la boucle d'événement exécute d'autres tâches, des fonctions de " "rappel, ou effectue des opérations d'entrées-sorties." -#: ../Doc/library/asyncio-task.rst:686 +#: ../Doc/library/asyncio-task.rst:690 msgid "" "Use the high-level :func:`asyncio.create_task` function to create Tasks, or " "the low-level :meth:`loop.create_task` or :func:`ensure_future` functions. " @@ -820,7 +828,7 @@ msgstr "" "créer des tâches. Il est déconseillé d'instancier manuellement des objets " "*Task*." -#: ../Doc/library/asyncio-task.rst:691 +#: ../Doc/library/asyncio-task.rst:695 msgid "" "To cancel a running Task use the :meth:`cancel` method. Calling it will " "cause the Task to throw a :exc:`CancelledError` exception into the wrapped " @@ -832,7 +840,7 @@ msgstr "" "`CancelledError` dans la coroutine encapsulée. Si la coroutine attendait un " "*futur* au moment de l'annulation, celui-ci est annulé." -#: ../Doc/library/asyncio-task.rst:696 +#: ../Doc/library/asyncio-task.rst:700 msgid "" ":meth:`cancelled` can be used to check if the Task was cancelled. The method " "returns ``True`` if the wrapped coroutine did not suppress the :exc:" @@ -842,7 +850,7 @@ msgstr "" "Elle renvoie ``True`` si la coroutine encapsulée n'a pas ignoré l'exception :" "exc:`CancelledError` et a bien été annulée." -#: ../Doc/library/asyncio-task.rst:701 +#: ../Doc/library/asyncio-task.rst:705 msgid "" ":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except :" "meth:`Future.set_result` and :meth:`Future.set_exception`." @@ -850,7 +858,7 @@ msgstr "" ":class:`asyncio.Task` hérite de :class:`Future`, de toute son API, à " "l'exception de :meth:`Future.set_result` et de :meth:`Future.set_exception`." -#: ../Doc/library/asyncio-task.rst:705 +#: ../Doc/library/asyncio-task.rst:709 msgid "" "Tasks support the :mod:`contextvars` module. When a Task is created it " "copies the current context and later runs its coroutine in the copied " @@ -860,15 +868,15 @@ msgstr "" "tâche effectue une copie du contexte actuel et exécutera ses coroutines dans " "cette copie." -#: ../Doc/library/asyncio-task.rst:709 +#: ../Doc/library/asyncio-task.rst:713 msgid "Added support for the :mod:`contextvars` module." msgstr "Ajout du support du module :mod:`contextvars`." -#: ../Doc/library/asyncio-task.rst:720 +#: ../Doc/library/asyncio-task.rst:724 msgid "Request the Task to be cancelled." msgstr "Demande l'annulation d'une tâche." -#: ../Doc/library/asyncio-task.rst:722 +#: ../Doc/library/asyncio-task.rst:726 msgid "" "This arranges for a :exc:`CancelledError` exception to be thrown into the " "wrapped coroutine on the next cycle of the event loop." @@ -877,7 +885,7 @@ msgstr "" "encapsulée. L'exception sera levée au prochain cycle de la boucle " "d'exécution." -#: ../Doc/library/asyncio-task.rst:725 +#: ../Doc/library/asyncio-task.rst:729 msgid "" "The coroutine then has a chance to clean up or even deny the request by " "suppressing the exception with a :keyword:`try` ... ... ``except " @@ -893,7 +901,7 @@ msgstr "" "annulée, bien qu'ignorer totalement une annulation ne soit ni une pratique " "courante, ni encouragé." -#: ../Doc/library/asyncio-task.rst:735 +#: ../Doc/library/asyncio-task.rst:739 msgid "" "The following example illustrates how coroutines can intercept the " "cancellation request::" @@ -901,11 +909,11 @@ msgstr "" "L'exemple ci-dessous illustre comment une coroutine peut intercepter une " "requête d'annulation ::" -#: ../Doc/library/asyncio-task.rst:774 +#: ../Doc/library/asyncio-task.rst:778 msgid "Return ``True`` if the Task is *cancelled*." msgstr "Renvoie ``True`` si la tâche est *annulée*." -#: ../Doc/library/asyncio-task.rst:776 +#: ../Doc/library/asyncio-task.rst:780 msgid "" "The Task is *cancelled* when the cancellation was requested with :meth:" "`cancel` and the wrapped coroutine propagated the :exc:`CancelledError` " @@ -915,11 +923,11 @@ msgstr "" "et la coroutine encapsulée a propagé l'exception :exc:`CancelledError` qui a " "été levée en son sein." -#: ../Doc/library/asyncio-task.rst:782 +#: ../Doc/library/asyncio-task.rst:786 msgid "Return ``True`` if the Task is *done*." msgstr "Renvoie ``True`` si la tâche est *achevée*." -#: ../Doc/library/asyncio-task.rst:784 +#: ../Doc/library/asyncio-task.rst:788 msgid "" "A Task is *done* when the wrapped coroutine either returned a value, raised " "an exception, or the Task was cancelled." @@ -927,11 +935,11 @@ msgstr "" "Une tâche est dite *achevée* quand la coroutine encapsulée a soit renvoyé " "une valeur, soit levé une exception, ou que la tâche a été annulée." -#: ../Doc/library/asyncio-task.rst:789 +#: ../Doc/library/asyncio-task.rst:793 msgid "Return the result of the Task." msgstr "Renvoie le résultat de la tâche." -#: ../Doc/library/asyncio-task.rst:791 +#: ../Doc/library/asyncio-task.rst:795 msgid "" "If the Task is *done*, the result of the wrapped coroutine is returned (or " "if the coroutine raised an exception, that exception is re-raised.)" @@ -940,7 +948,7 @@ msgstr "" "renvoyé (sinon, dans le cas où la coroutine a levé une exception, cette " "exception est de nouveau levée)." -#: ../Doc/library/asyncio-task.rst:795 ../Doc/library/asyncio-task.rst:809 +#: ../Doc/library/asyncio-task.rst:799 ../Doc/library/asyncio-task.rst:813 msgid "" "If the Task has been *cancelled*, this method raises a :exc:`CancelledError` " "exception." @@ -948,7 +956,7 @@ msgstr "" "Si la tâche a été *annulée*, cette méthode lève une exception :exc:" "`CancelledError`." -#: ../Doc/library/asyncio-task.rst:798 +#: ../Doc/library/asyncio-task.rst:802 msgid "" "If the Task's result isn't yet available, this method raises a :exc:" "`InvalidStateError` exception." @@ -956,11 +964,11 @@ msgstr "" "Si le résultat de la tâche n'est pas encore disponible, cette méthode lève " "une exception :exc:`InvalidStateError`." -#: ../Doc/library/asyncio-task.rst:803 +#: ../Doc/library/asyncio-task.rst:807 msgid "Return the exception of the Task." msgstr "Renvoie l'exception de la tâche." -#: ../Doc/library/asyncio-task.rst:805 +#: ../Doc/library/asyncio-task.rst:809 msgid "" "If the wrapped coroutine raised an exception that exception is returned. If " "the wrapped coroutine returned normally this method returns ``None``." @@ -968,7 +976,7 @@ msgstr "" "Si la coroutine encapsulée lève une exception, cette exception est renvoyée. " "Si la coroutine s'est exécutée normalement, cette méthode renvoie ``None``." -#: ../Doc/library/asyncio-task.rst:812 +#: ../Doc/library/asyncio-task.rst:816 msgid "" "If the Task isn't *done* yet, this method raises an :exc:`InvalidStateError` " "exception." @@ -976,30 +984,30 @@ msgstr "" "Si la tâche n'est pas encore *achevée*, cette méthode lève une exception :" "exc:`InvalidStateError`." -#: ../Doc/library/asyncio-task.rst:817 +#: ../Doc/library/asyncio-task.rst:821 msgid "Add a callback to be run when the Task is *done*." msgstr "" "Ajoute une fonction de rappel qui sera exécutée quand la tâche sera " "*achevée*." -#: ../Doc/library/asyncio-task.rst:819 ../Doc/library/asyncio-task.rst:828 +#: ../Doc/library/asyncio-task.rst:823 ../Doc/library/asyncio-task.rst:832 msgid "This method should only be used in low-level callback-based code." msgstr "" "Cette méthode ne doit être utilisée que dans du code basé sur les fonctions " "de rappel de bas-niveau." -#: ../Doc/library/asyncio-task.rst:821 +#: ../Doc/library/asyncio-task.rst:825 msgid "" "See the documentation of :meth:`Future.add_done_callback` for more details." msgstr "" "Se référer à la documentation de :meth:`Future.add_done_callback` pour plus " "de détails." -#: ../Doc/library/asyncio-task.rst:826 +#: ../Doc/library/asyncio-task.rst:830 msgid "Remove *callback* from the callbacks list." msgstr "Retire *callback* de la liste de fonctions de rappel." -#: ../Doc/library/asyncio-task.rst:830 +#: ../Doc/library/asyncio-task.rst:834 msgid "" "See the documentation of :meth:`Future.remove_done_callback` for more " "details." @@ -1007,11 +1015,11 @@ msgstr "" "Se référer à la documentation de :meth:`Future.remove_done_callback` pour " "plus de détails." -#: ../Doc/library/asyncio-task.rst:835 +#: ../Doc/library/asyncio-task.rst:839 msgid "Return the list of stack frames for this Task." msgstr "Renvoie une liste représentant la pile d'appels de la tâche." -#: ../Doc/library/asyncio-task.rst:837 +#: ../Doc/library/asyncio-task.rst:841 msgid "" "If the wrapped coroutine is not done, this returns the stack where it is " "suspended. If the coroutine has completed successfully or was cancelled, " @@ -1024,15 +1032,15 @@ msgstr "" "renvoie une liste vide. Si la coroutine a été terminée par une exception, " "ceci renvoie la pile d'erreurs." -#: ../Doc/library/asyncio-task.rst:843 +#: ../Doc/library/asyncio-task.rst:847 msgid "The frames are always ordered from oldest to newest." msgstr "La pile est toujours affichée de l'appelant à l'appelé." -#: ../Doc/library/asyncio-task.rst:845 +#: ../Doc/library/asyncio-task.rst:849 msgid "Only one stack frame is returned for a suspended coroutine." msgstr "Une seule ligne est renvoyée si la coroutine est suspendue." -#: ../Doc/library/asyncio-task.rst:847 +#: ../Doc/library/asyncio-task.rst:851 msgid "" "The optional *limit* argument sets the maximum number of frames to return; " "by default all available frames are returned. The ordering of the returned " @@ -1046,11 +1054,11 @@ msgstr "" "renvoyés, si la pile est une pile d'erreurs, ce sont les appels les plus " "anciens qui le sont (dans un souci de cohérence avec le module *traceback*)." -#: ../Doc/library/asyncio-task.rst:856 +#: ../Doc/library/asyncio-task.rst:860 msgid "Print the stack or traceback for this Task." msgstr "Affiche la pile d'appels ou d'erreurs de la tâche." -#: ../Doc/library/asyncio-task.rst:858 +#: ../Doc/library/asyncio-task.rst:862 msgid "" "This produces output similar to that of the traceback module for the frames " "retrieved by :meth:`get_stack`." @@ -1058,11 +1066,11 @@ msgstr "" "Le format de sortie des appels produits par :meth:`get_stack` est similaire " "à celui du module *traceback*. " -#: ../Doc/library/asyncio-task.rst:861 +#: ../Doc/library/asyncio-task.rst:865 msgid "The *limit* argument is passed to :meth:`get_stack` directly." msgstr "Le paramètre *limit* est directement passé à :meth:`get_stack`." -#: ../Doc/library/asyncio-task.rst:863 +#: ../Doc/library/asyncio-task.rst:867 msgid "" "The *file* argument is an I/O stream to which the output is written; by " "default output is written to :data:`sys.stderr`." @@ -1070,43 +1078,43 @@ msgstr "" "Le paramètre *file* est un flux d'entrées-sorties sur lequel le résultat est " "écrit ; par défaut, :data:`sys.stderr`." -#: ../Doc/library/asyncio-task.rst:868 +#: ../Doc/library/asyncio-task.rst:872 #, fuzzy msgid "Return the coroutine object wrapped by the :class:`Task`." msgstr "Renvoie l'exception de la tâche." -#: ../Doc/library/asyncio-task.rst:874 +#: ../Doc/library/asyncio-task.rst:878 #, fuzzy msgid "Return the name of the Task." msgstr "Renvoie le résultat de la tâche." -#: ../Doc/library/asyncio-task.rst:876 +#: ../Doc/library/asyncio-task.rst:880 msgid "" "If no name has been explicitly assigned to the Task, the default asyncio " "Task implementation generates a default name during instantiation." msgstr "" -#: ../Doc/library/asyncio-task.rst:884 +#: ../Doc/library/asyncio-task.rst:888 #, fuzzy msgid "Set the name of the Task." msgstr "Renvoie le résultat de la tâche." -#: ../Doc/library/asyncio-task.rst:886 +#: ../Doc/library/asyncio-task.rst:890 msgid "" "The *value* argument can be any object, which is then converted to a string." msgstr "" -#: ../Doc/library/asyncio-task.rst:889 +#: ../Doc/library/asyncio-task.rst:893 msgid "" "In the default Task implementation, the name will be visible in the :func:" "`repr` output of a task object." msgstr "" -#: ../Doc/library/asyncio-task.rst:896 +#: ../Doc/library/asyncio-task.rst:900 msgid "Return a set of all tasks for an event loop." msgstr "Renvoie l'ensemble des tâches d'une boucle d'évènements." -#: ../Doc/library/asyncio-task.rst:898 +#: ../Doc/library/asyncio-task.rst:902 msgid "" "By default all tasks for the current event loop are returned. If *loop* is " "``None``, the :func:`get_event_loop` function is used to get the current " @@ -1116,7 +1124,7 @@ msgstr "" "renvoyées. Si *loop* vaut ``None``, la fonction :func:`get_event_loop` est " "appelée pour récupérer la boucle d'exécution actuelle." -#: ../Doc/library/asyncio-task.rst:904 +#: ../Doc/library/asyncio-task.rst:908 #, fuzzy msgid "" "Do not call this as a task method. Use the :func:`asyncio.all_tasks` " @@ -1125,11 +1133,11 @@ msgstr "" "Cette méthode est **obsolète** et sera supprimée en Python 3.9. Utilisez la " "fonction :func:`asyncio.all_tasks` à la place." -#: ../Doc/library/asyncio-task.rst:909 +#: ../Doc/library/asyncio-task.rst:913 msgid "Return the currently running task or ``None``." msgstr "Renvoie la tâche en cours d'exécution ou ``None``." -#: ../Doc/library/asyncio-task.rst:911 +#: ../Doc/library/asyncio-task.rst:915 msgid "" "If *loop* is ``None``, the :func:`get_event_loop` function is used to get " "the current loop." @@ -1137,7 +1145,7 @@ msgstr "" "Si *loop* vaut ``None``, la fonction :func:`get_event_loop` est utilisée " "pour récupérer la boucle d'exécution actuelle." -#: ../Doc/library/asyncio-task.rst:916 +#: ../Doc/library/asyncio-task.rst:920 #, fuzzy msgid "" "Do not call this as a task method. Use the :func:`asyncio.current_task` " @@ -1146,11 +1154,11 @@ msgstr "" "Cette méthode est **obsolète** et sera supprimée en Python 3.9. Utilisez la " "fonction :func:`asyncio.current_task` à la place." -#: ../Doc/library/asyncio-task.rst:923 +#: ../Doc/library/asyncio-task.rst:927 msgid "Generator-based Coroutines" msgstr "Coroutines basées sur des générateurs" -#: ../Doc/library/asyncio-task.rst:927 +#: ../Doc/library/asyncio-task.rst:931 msgid "" "Support for generator-based coroutines is **deprecated** and is scheduled " "for removal in Python 3.10." @@ -1158,7 +1166,7 @@ msgstr "" "Les coroutines basées sur des générateurs sont **obsolètes** et il est prévu " "de les supprimer en Python 3.10." -#: ../Doc/library/asyncio-task.rst:930 +#: ../Doc/library/asyncio-task.rst:934 msgid "" "Generator-based coroutines predate async/await syntax. They are Python " "generators that use ``yield from`` expressions to await on Futures and other " @@ -1168,7 +1176,7 @@ msgstr "" "*async* / *await*. Il existe des générateurs Python qui utilisent les " "expressions ``yield from`` pour attendre des *futurs* et autres coroutines." -#: ../Doc/library/asyncio-task.rst:934 +#: ../Doc/library/asyncio-task.rst:938 msgid "" "Generator-based coroutines should be decorated with :func:`@asyncio." "coroutine `, although this is not enforced." @@ -1177,11 +1185,11 @@ msgstr "" "`@asyncio.coroutine `, même si ce n'est pas vérifié par " "l'interpréteur." -#: ../Doc/library/asyncio-task.rst:941 +#: ../Doc/library/asyncio-task.rst:945 msgid "Decorator to mark generator-based coroutines." msgstr "Décorateur pour coroutines basées sur des générateurs." -#: ../Doc/library/asyncio-task.rst:943 +#: ../Doc/library/asyncio-task.rst:947 msgid "" "This decorator enables legacy generator-based coroutines to be compatible " "with async/await code::" @@ -1189,21 +1197,21 @@ msgstr "" "Ce décorateur rend compatibles les coroutines basées sur des générateurs " "avec le code *async* / *await* ::" -#: ../Doc/library/asyncio-task.rst:953 +#: ../Doc/library/asyncio-task.rst:957 msgid "This decorator should not be used for :keyword:`async def` coroutines." msgstr "" "Ce décorateur ne doit pas être utilisé avec des coroutines :keyword:`async " "def`." -#: ../Doc/library/asyncio-task.rst:958 +#: ../Doc/library/asyncio-task.rst:962 msgid "Use :keyword:`async def` instead." msgstr "" -#: ../Doc/library/asyncio-task.rst:962 +#: ../Doc/library/asyncio-task.rst:966 msgid "Return ``True`` if *obj* is a :ref:`coroutine object `." msgstr "Renvoie ``True`` si *obj* est un :ref:`objet coroutine `." -#: ../Doc/library/asyncio-task.rst:964 +#: ../Doc/library/asyncio-task.rst:968 msgid "" "This method is different from :func:`inspect.iscoroutine` because it returns " "``True`` for generator-based coroutines." @@ -1211,12 +1219,12 @@ msgstr "" "Cette méthode est différente de :func:`inspect.iscoroutine` car elle renvoie " "``True`` pour des coroutines basées sur des générateurs." -#: ../Doc/library/asyncio-task.rst:969 +#: ../Doc/library/asyncio-task.rst:973 msgid "Return ``True`` if *func* is a :ref:`coroutine function `." msgstr "" "Renvoie ``True`` si *func* est une :ref:`fonction coroutine `." -#: ../Doc/library/asyncio-task.rst:972 +#: ../Doc/library/asyncio-task.rst:976 msgid "" "This method is different from :func:`inspect.iscoroutinefunction` because it " "returns ``True`` for generator-based coroutine functions decorated with :" diff --git a/library/asyncio.po b/library/asyncio.po index aa5c10ad..a9c3db6f 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-04-03 13:15+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-12-16 16:19+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -135,8 +135,10 @@ msgstr "" msgid "Reference" msgstr "Sommaire" -#~ msgid "**Source code:** :source:`Lib/asyncio/`" -#~ msgstr "**Code source :** :source:`Lib/asyncio/`" +#: ../Doc/library/asyncio.rst:96 +#, fuzzy +msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`." +msgstr "**Code source :** :source:`Lib/asyncio/`" #~ msgid "" #~ "This module provides infrastructure for writing single-threaded " diff --git a/library/ctypes.po b/library/ctypes.po index bf0c59a6..6b8885c7 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-29 19:07+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -153,8 +153,8 @@ msgstr "" #: ../Doc/library/ctypes.rst:155 msgid "" -"This example calls both functions with a NULL pointer (``None`` should be " -"used as the NULL pointer)::" +"This example calls both functions with a ``NULL`` pointer (``None`` should " +"be used as the ``NULL`` pointer)::" msgstr "" #: ../Doc/library/ctypes.rst:166 @@ -1029,7 +1029,7 @@ msgstr "" #: ../Doc/library/ctypes.rst:1085 msgid "" "This pointer is initialized to point to an array of :c:type:`struct _frozen` " -"records, terminated by one whose members are all *NULL* or zero. When a " +"records, terminated by one whose members are all ``NULL`` or zero. When a " "frozen module is imported, it is searched in this table. Third-party code " "could play tricks with this to provide a dynamically created collection of " "frozen modules." @@ -1053,7 +1053,7 @@ msgid "" "we can iterate over it, but we just have to make sure that our loop " "terminates, because pointers have no size. Sooner or later it would probably " "crash with an access violation or whatever, so it's better to break out of " -"the loop when we hit the NULL entry::" +"the loop when we hit the ``NULL`` entry::" msgstr "" #: ../Doc/library/ctypes.rst:1127 diff --git a/library/dataclasses.po b/library/dataclasses.po index ec14fd7d..8a49bd1d 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-12-24 14:53+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -287,8 +287,9 @@ msgstr "" "comportement est un hachage basé sur les id)." #: ../Doc/library/dataclasses.rst:156 +#, fuzzy msgid "" -"``frozen``: If true (the default is False), assigning to fields will " +"``frozen``: If true (the default is ``False``), assigning to fields will " "generate an exception. This emulates read-only frozen instances. If :meth:" "`__setattr__` or :meth:`__delattr__` is defined in the class, then :exc:" "`TypeError` is raised. See the discussion below." @@ -551,8 +552,8 @@ msgstr "" #: ../Doc/library/dataclasses.rst:389 msgid "" -"Returns True if its parameter is a dataclass or an instance of one, " -"otherwise returns False." +"Return ``True`` if its parameter is a dataclass or an instance of one, " +"otherwise return ``False``." msgstr "" #: ../Doc/library/dataclasses.rst:392 diff --git a/library/debug.po b/library/debug.po index 4efc78c7..a75cbba5 100644 --- a/library/debug.po +++ b/library/debug.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-10-31 11:32+0100\n" +"Last-Translator: Cléo Buck \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Cléo Buck \n" "X-Generator: Poedit 2.0.6\n" #: ../Doc/library/debug.rst:3 diff --git a/library/difflib.po b/library/difflib.po index 7a67b8d2..141627c2 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -388,15 +388,15 @@ msgstr "" #: ../Doc/library/difflib.rst:341 msgid "" -"Return true for ignorable lines. The line *line* is ignorable if *line* is " -"blank or contains a single ``'#'``, otherwise it is not ignorable. Used as " -"a default for parameter *linejunk* in :func:`ndiff` in older versions." +"Return ``True`` for ignorable lines. The line *line* is ignorable if *line* " +"is blank or contains a single ``'#'``, otherwise it is not ignorable. Used " +"as a default for parameter *linejunk* in :func:`ndiff` in older versions." msgstr "" #: ../Doc/library/difflib.rst:348 msgid "" -"Return true for ignorable characters. The character *ch* is ignorable if " -"*ch* is a space or tab, otherwise it is not ignorable. Used as a default " +"Return ``True`` for ignorable characters. The character *ch* is ignorable " +"if *ch* is a space or tab, otherwise it is not ignorable. Used as a default " "for parameter *charjunk* in :func:`ndiff`." msgstr "" @@ -426,7 +426,7 @@ msgid "" "Optional argument *isjunk* must be ``None`` (the default) or a one-argument " "function that takes a sequence element and returns true if and only if the " "element is \"junk\" and should be ignored. Passing ``None`` for *isjunk* is " -"equivalent to passing ``lambda x: 0``; in other words, no elements are " +"equivalent to passing ``lambda x: False``; in other words, no elements are " "ignored. For example, pass::" msgstr "" diff --git a/library/doctest.po b/library/doctest.po index 6b227c7a..ec3e3d80 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -1710,8 +1710,8 @@ msgid "" "A class used to check the whether the actual output from a doctest example " "matches the expected output. :class:`OutputChecker` defines two methods: :" "meth:`check_output`, which compares a given pair of outputs, and returns " -"true if they match; and :meth:`output_difference`, which returns a string " -"describing the differences between two outputs." +"``True`` if they match; and :meth:`output_difference`, which returns a " +"string describing the differences between two outputs." msgstr "" #: ../Doc/library/doctest.rst:1537 diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index 26d5420a..facf0114 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-03 22:10+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -361,9 +361,9 @@ msgstr "" #: ../Doc/library/email.compat32-message.rst:311 msgid "" -"Return true if the message object has a field named *name*. Matching is done " -"case-insensitively and *name* should not include the trailing colon. Used " -"for the ``in`` operator, e.g.::" +"Return ``True`` if the message object has a field named *name*. Matching is " +"done case-insensitively and *name* should not include the trailing colon. " +"Used for the ``in`` operator, e.g.::" msgstr "" #: ../Doc/library/email.compat32-message.rst:321 diff --git a/library/email.errors.po b/library/email.errors.po index 53674367..f701d24e 100644 --- a/library/email.errors.po +++ b/library/email.errors.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-17 10:39+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -143,7 +143,8 @@ msgid "" ":class:`MultipartInvariantViolationDefect` -- A message claimed to be a :" "mimetype:`multipart`, but no subparts were found. Note that when a message " "has this defect, its :meth:`~email.message.Message.is_multipart` method may " -"return false even though its content type claims to be :mimetype:`multipart`." +"return ``False`` even though its content type claims to be :mimetype:" +"`multipart`." msgstr "" #: ../Doc/library/email.errors.rst:104 diff --git a/library/email.message.po b/library/email.message.po index 020aabe8..1ab06b27 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -222,9 +222,9 @@ msgstr "" #: ../Doc/library/email.message.rst:181 msgid "" -"Return true if the message object has a field named *name*. Matching is done " -"without regard to case and *name* does not include the trailing colon. Used " -"for the ``in`` operator. For example::" +"Return ``True`` if the message object has a field named *name*. Matching is " +"done without regard to case and *name* does not include the trailing colon. " +"Used for the ``in`` operator. For example::" msgstr "" #: ../Doc/library/email.message.rst:191 diff --git a/library/email.utils.po b/library/email.utils.po index a133c994..ce259209 100644 --- a/library/email.utils.po +++ b/library/email.utils.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-17 21:38+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -132,8 +132,8 @@ msgid "" "directly to :func:`time.mktime`, and the tenth is the offset of the date's " "timezone from UTC (which is the official term for Greenwich Mean Time) " "[#]_. If the input string has no timezone, the last element of the tuple " -"returned is ``None``. Note that indexes 6, 7, and 8 of the result tuple are " -"not usable." +"returned is ``0``, which represents UTC. Note that indexes 6, 7, and 8 of " +"the result tuple are not usable." msgstr "" #: ../Doc/library/email.utils.rst:126 diff --git a/library/fileinput.po b/library/fileinput.po index c93cced2..e4f037aa 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -145,14 +145,14 @@ msgstr "" #: ../Doc/library/fileinput.rst:112 msgid "" -"Returns true if the line just read is the first line of its file, otherwise " -"returns false." +"Return ``True`` if the line just read is the first line of its file, " +"otherwise return ``False``." msgstr "" #: ../Doc/library/fileinput.rst:118 msgid "" -"Returns true if the last line was read from ``sys.stdin``, otherwise returns " -"false." +"Return ``True`` if the last line was read from ``sys.stdin``, otherwise " +"return ``False``." msgstr "" #: ../Doc/library/fileinput.rst:124 diff --git a/library/functions.po b/library/functions.po index 23f751de..d6c6fb9a 100644 --- a/library/functions.po +++ b/library/functions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-01 23:07+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -513,12 +513,13 @@ msgstr "" "Voir aussi :ref:`binaryseq`, :ref:`typebytes`, et :ref:`bytes-methods`." #: ../Doc/library/functions.rst:183 +#, fuzzy msgid "" "Return :const:`True` if the *object* argument appears callable, :const:" -"`False` if not. If this returns true, it is still possible that a call " -"fails, but if it is false, calling *object* will never succeed. Note that " -"classes are callable (calling a class returns a new instance); instances are " -"callable if their class has a :meth:`__call__` method." +"`False` if not. If this returns ``True``, it is still possible that a call " +"fails, but if it is ``False``, calling *object* will never succeed. Note " +"that classes are callable (calling a class returns a new instance); " +"instances are callable if their class has a :meth:`__call__` method." msgstr "" "Donne :const:`True` si l'argument *object* semble être appelable, sinon :" "const:`False`. Lorsqu'elle donne vrai, il reste une éventualité pour qu'un " @@ -1593,14 +1594,15 @@ msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined." msgstr "" #: ../Doc/library/functions.rst:841 +#, fuzzy msgid "" -"Return true if the *object* argument is an instance of the *classinfo* " +"Return ``True`` if the *object* argument is an instance of the *classinfo* " "argument, or of a (direct, indirect or :term:`virtual `) subclass thereof. If *object* is not an object of the given type, " -"the function always returns false. If *classinfo* is a tuple of type objects " -"(or recursively, other such tuples), return true if *object* is an instance " -"of any of the types. If *classinfo* is not a type or tuple of types and such " -"tuples, a :exc:`TypeError` exception is raised." +"the function always returns ``False``. If *classinfo* is a tuple of type " +"objects (or recursively, other such tuples), return ``True`` if *object* is " +"an instance of any of the types. If *classinfo* is not a type or tuple of " +"types and such tuples, a :exc:`TypeError` exception is raised." msgstr "" "Donne ``True`` si *object* est une instance de *classinfo*, ou d'une de ses " "classes filles, directe, indirecte, ou :term:`virtuelle `) of *classinfo*. A class is considered a subclass of " "itself. *classinfo* may be a tuple of class objects, in which case every " "entry in *classinfo* will be checked. In any other case, a :exc:`TypeError` " diff --git a/library/gc.po b/library/gc.po index 192f65d5..7ff40457 100644 --- a/library/gc.po +++ b/library/gc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -45,7 +45,7 @@ msgid "Disable automatic garbage collection." msgstr "" #: ../Doc/library/gc.rst:38 -msgid "Returns true if automatic collection is enabled." +msgid "Return ``True`` if automatic collection is enabled." msgstr "" #: ../Doc/library/gc.rst:43 @@ -222,7 +222,7 @@ msgid "" "A list of objects which the collector found to be unreachable but could not " "be freed (uncollectable objects). Starting with Python 3.4, this list " "should be empty most of the time, except when using instances of C extension " -"types with a non-NULL ``tp_del`` slot." +"types with a non-``NULL`` ``tp_del`` slot." msgstr "" #: ../Doc/library/gc.rst:217 diff --git a/library/hmac.po b/library/hmac.po index 01e1f850..3b24ead2 100644 --- a/library/hmac.po +++ b/library/hmac.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -31,21 +31,25 @@ msgid "" "Return a new hmac object. *key* is a bytes or bytearray object giving the " "secret key. If *msg* is present, the method call ``update(msg)`` is made. " "*digestmod* is the digest name, digest constructor or module for the HMAC " -"object to use. It supports any name suitable to :func:`hashlib.new`." +"object to use. It may be any name suitable to :func:`hashlib.new`. Despite " +"its argument position, it is required." msgstr "" -#: ../Doc/library/hmac.rst:24 +#: ../Doc/library/hmac.rst:25 msgid "" "Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be " "of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the " "name of a hash algorithm." msgstr "" -#: ../Doc/library/hmac.rst:30 -msgid "MD5 as implicit default digest for *digestmod* is deprecated." +#: ../Doc/library/hmac.rst:33 +msgid "" +"MD5 as implicit default digest for *digestmod* is deprecated. The digestmod " +"parameter is now required. Pass it as a keyword argument to avoid " +"awkwardness when you do not have an initial msg." msgstr "" -#: ../Doc/library/hmac.rst:35 +#: ../Doc/library/hmac.rst:38 msgid "" "Return digest of *msg* for given secret *key* and *digest*. The function is " "equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C " @@ -54,29 +58,29 @@ msgid "" "`~hmac.new`." msgstr "" -#: ../Doc/library/hmac.rst:41 +#: ../Doc/library/hmac.rst:44 msgid "" "CPython implementation detail, the optimized C implementation is only used " "when *digest* is a string and name of a digest algorithm, which is supported " "by OpenSSL." msgstr "" -#: ../Doc/library/hmac.rst:48 +#: ../Doc/library/hmac.rst:51 msgid "An HMAC object has the following methods:" msgstr "" -#: ../Doc/library/hmac.rst:52 +#: ../Doc/library/hmac.rst:55 msgid "" "Update the hmac object with *msg*. Repeated calls are equivalent to a " "single call with the concatenation of all the arguments: ``m.update(a); m." "update(b)`` is equivalent to ``m.update(a + b)``." msgstr "" -#: ../Doc/library/hmac.rst:56 +#: ../Doc/library/hmac.rst:59 msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`." msgstr "" -#: ../Doc/library/hmac.rst:62 +#: ../Doc/library/hmac.rst:65 msgid "" "Return the digest of the bytes passed to the :meth:`update` method so far. " "This bytes object will be the same length as the *digest_size* of the digest " @@ -84,7 +88,7 @@ msgid "" "bytes." msgstr "" -#: ../Doc/library/hmac.rst:69 +#: ../Doc/library/hmac.rst:72 msgid "" "When comparing the output of :meth:`digest` to an externally-supplied digest " "during a verification routine, it is recommended to use the :func:" @@ -92,14 +96,14 @@ msgid "" "vulnerability to timing attacks." msgstr "" -#: ../Doc/library/hmac.rst:77 +#: ../Doc/library/hmac.rst:80 msgid "" "Like :meth:`digest` except the digest is returned as a string twice the " "length containing only hexadecimal digits. This may be used to exchange the " "value safely in email or other non-binary environments." msgstr "" -#: ../Doc/library/hmac.rst:83 +#: ../Doc/library/hmac.rst:86 msgid "" "When comparing the output of :meth:`hexdigest` to an externally-supplied " "digest during a verification routine, it is recommended to use the :func:" @@ -107,34 +111,34 @@ msgid "" "vulnerability to timing attacks." msgstr "" -#: ../Doc/library/hmac.rst:91 +#: ../Doc/library/hmac.rst:94 msgid "" "Return a copy (\"clone\") of the hmac object. This can be used to " "efficiently compute the digests of strings that share a common initial " "substring." msgstr "" -#: ../Doc/library/hmac.rst:95 +#: ../Doc/library/hmac.rst:98 msgid "A hash object has the following attributes:" msgstr "L'objet haché possède les attributs suivants ::" -#: ../Doc/library/hmac.rst:99 +#: ../Doc/library/hmac.rst:102 msgid "The size of the resulting HMAC digest in bytes." msgstr "" -#: ../Doc/library/hmac.rst:103 +#: ../Doc/library/hmac.rst:106 msgid "The internal block size of the hash algorithm in bytes." msgstr "La taille interne d'un bloc de l'algorithme de hachage en octets." -#: ../Doc/library/hmac.rst:109 +#: ../Doc/library/hmac.rst:112 msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``." msgstr "" -#: ../Doc/library/hmac.rst:114 +#: ../Doc/library/hmac.rst:117 msgid "This module also provides the following helper function:" msgstr "" -#: ../Doc/library/hmac.rst:118 +#: ../Doc/library/hmac.rst:121 msgid "" "Return ``a == b``. This function uses an approach designed to prevent " "timing analysis by avoiding content-based short circuiting behaviour, making " @@ -143,17 +147,17 @@ msgid "" "hexdigest`), or a :term:`bytes-like object`." msgstr "" -#: ../Doc/library/hmac.rst:126 +#: ../Doc/library/hmac.rst:129 msgid "" "If *a* and *b* are of different lengths, or if an error occurs, a timing " "attack could theoretically reveal information about the types and lengths of " "*a* and *b*—but not their values." msgstr "" -#: ../Doc/library/hmac.rst:136 +#: ../Doc/library/hmac.rst:138 msgid "Module :mod:`hashlib`" msgstr "" -#: ../Doc/library/hmac.rst:137 +#: ../Doc/library/hmac.rst:139 msgid "The Python module providing secure hash functions." msgstr "" diff --git a/library/http.client.po b/library/http.client.po index 569d9188..ea6616bb 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -31,8 +31,8 @@ msgstr "" #: ../Doc/library/http.client.rst:23 msgid "" -"The `Requests package `_ is recommended " -"for a higher-level HTTP client interface." +"The `Requests package `_ is " +"recommended for a higher-level HTTP client interface." msgstr "" #: ../Doc/library/http.client.rst:28 diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index 9716d462..9f1d2da0 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -503,7 +503,8 @@ msgid "" msgstr "" #: ../Doc/library/http.cookiejar.rst:381 -msgid "Return false if cookies should not be returned, given cookie domain." +msgid "" +"Return ``False`` if cookies should not be returned, given cookie domain." msgstr "" #: ../Doc/library/http.cookiejar.rst:383 @@ -537,7 +538,7 @@ msgid "The *request* argument is as documented for :meth:`return_ok`." msgstr "" #: ../Doc/library/http.cookiejar.rst:405 -msgid "Return false if cookies should not be returned, given cookie path." +msgid "Return ``False`` if cookies should not be returned, given cookie path." msgstr "" #: ../Doc/library/http.cookiejar.rst:407 @@ -875,7 +876,7 @@ msgid "" msgstr "" #: ../Doc/library/http.cookiejar.rst:714 -msgid "Return true if cookie has the named cookie-attribute." +msgid "Return ``True`` if cookie has the named cookie-attribute." msgstr "" #: ../Doc/library/http.cookiejar.rst:719 diff --git a/library/importlib.po b/library/importlib.po index fb96b923..8d8b726c 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-04 11:26+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1407,7 +1407,7 @@ msgid "The path to the source file." msgstr "" #: ../Doc/library/importlib.rst:1171 -msgid "Return true if :attr:`path` appears to be for a package." +msgid "Return ``True`` if :attr:`path` appears to be for a package." msgstr "" #: ../Doc/library/importlib.rst:1175 diff --git a/library/inspect.po b/library/inspect.po index 72759f89..c790b914 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 23:53+0100\n" "PO-Revision-Date: 2019-09-06 13:49+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -560,59 +560,60 @@ msgid "The function is based directly on :mod:`importlib`." msgstr "" #: ../Doc/library/inspect.rst:280 -msgid "Return true if the object is a module." +msgid "Return ``True`` if the object is a module." msgstr "" #: ../Doc/library/inspect.rst:285 msgid "" -"Return true if the object is a class, whether built-in or created in Python " -"code." +"Return ``True`` if the object is a class, whether built-in or created in " +"Python code." msgstr "" #: ../Doc/library/inspect.rst:291 -msgid "Return true if the object is a bound method written in Python." +msgid "Return ``True`` if the object is a bound method written in Python." msgstr "" #: ../Doc/library/inspect.rst:296 msgid "" -"Return true if the object is a Python function, which includes functions " +"Return ``True`` if the object is a Python function, which includes functions " "created by a :term:`lambda` expression." msgstr "" #: ../Doc/library/inspect.rst:302 -msgid "Return true if the object is a Python generator function." +msgid "Return ``True`` if the object is a Python generator function." msgstr "" #: ../Doc/library/inspect.rst:304 msgid "" -"Functions wrapped in :func:`functools.partial` now return true if the " +"Functions wrapped in :func:`functools.partial` now return ``True`` if the " "wrapped function is a Python generator function." msgstr "" #: ../Doc/library/inspect.rst:311 -msgid "Return true if the object is a generator." +msgid "Return ``True`` if the object is a generator." msgstr "" #: ../Doc/library/inspect.rst:316 msgid "" -"Return true if the object is a :term:`coroutine function` (a function " +"Return ``True`` if the object is a :term:`coroutine function` (a function " "defined with an :keyword:`async def` syntax)." msgstr "" #: ../Doc/library/inspect.rst:321 msgid "" -"Functions wrapped in :func:`functools.partial` now return true if the " +"Functions wrapped in :func:`functools.partial` now return ``True`` if the " "wrapped function is a :term:`coroutine function`." msgstr "" #: ../Doc/library/inspect.rst:328 msgid "" -"Return true if the object is a :term:`coroutine` created by an :keyword:" +"Return ``True`` if the object is a :term:`coroutine` created by an :keyword:" "`async def` function." msgstr "" #: ../Doc/library/inspect.rst:336 -msgid "Return true if the object can be used in :keyword:`await` expression." +msgid "" +"Return ``True`` if the object can be used in :keyword:`await` expression." msgstr "" #: ../Doc/library/inspect.rst:338 @@ -623,51 +624,53 @@ msgstr "" #: ../Doc/library/inspect.rst:355 msgid "" -"Return true if the object is an :term:`asynchronous generator` function, for " -"example::" +"Return ``True`` if the object is an :term:`asynchronous generator` function, " +"for example::" msgstr "" #: ../Doc/library/inspect.rst:366 msgid "" -"Functions wrapped in :func:`functools.partial` now return true if the " +"Functions wrapped in :func:`functools.partial` now return ``True`` if the " "wrapped function is a :term:`asynchronous generator` function." msgstr "" #: ../Doc/library/inspect.rst:373 msgid "" -"Return true if the object is an :term:`asynchronous generator iterator` " +"Return ``True`` if the object is an :term:`asynchronous generator iterator` " "created by an :term:`asynchronous generator` function." msgstr "" #: ../Doc/library/inspect.rst:380 -msgid "Return true if the object is a traceback." +msgid "Return ``True`` if the object is a traceback." msgstr "" #: ../Doc/library/inspect.rst:385 -msgid "Return true if the object is a frame." +msgid "Return ``True`` if the object is a frame." msgstr "" #: ../Doc/library/inspect.rst:390 -msgid "Return true if the object is a code." +msgid "Return ``True`` if the object is a code." msgstr "" #: ../Doc/library/inspect.rst:395 msgid "" -"Return true if the object is a built-in function or a bound built-in method." +"Return ``True`` if the object is a built-in function or a bound built-in " +"method." msgstr "" #: ../Doc/library/inspect.rst:400 msgid "" -"Return true if the object is a user-defined or built-in function or method." +"Return ``True`` if the object is a user-defined or built-in function or " +"method." msgstr "" #: ../Doc/library/inspect.rst:405 -msgid "Return true if the object is an abstract base class." +msgid "Return ``True`` if the object is an abstract base class." msgstr "" #: ../Doc/library/inspect.rst:410 msgid "" -"Return true if the object is a method descriptor, but not if :func:" +"Return ``True`` if the object is a method descriptor, but not if :func:" "`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin` are " "true." msgstr "" @@ -683,28 +686,28 @@ msgstr "" #: ../Doc/library/inspect.rst:420 msgid "" "Methods implemented via descriptors that also pass one of the other tests " -"return false from the :func:`ismethoddescriptor` test, simply because the " -"other tests promise more -- you can, e.g., count on having the :attr:" +"return ``False`` from the :func:`ismethoddescriptor` test, simply because " +"the other tests promise more -- you can, e.g., count on having the :attr:" "`__func__` attribute (etc) when an object passes :func:`ismethod`." msgstr "" #: ../Doc/library/inspect.rst:428 -msgid "Return true if the object is a data descriptor." +msgid "Return ``True`` if the object is a data descriptor." msgstr "" #: ../Doc/library/inspect.rst:430 msgid "" -"Data descriptors have both a :attr:`~object.__get__` and a :attr:`~object." -"__set__` method. Examples are properties (defined in Python), getsets, and " -"members. The latter two are defined in C and there are more specific tests " -"available for those types, which is robust across Python implementations. " -"Typically, data descriptors will also have :attr:`~definition.__name__` and :" -"attr:`__doc__` attributes (properties, getsets, and members have both of " -"these attributes), but this is not guaranteed." +"Data descriptors have a :attr:`~object.__set__` or a :attr:`~object." +"__delete__` method. Examples are properties (defined in Python), getsets, " +"and members. The latter two are defined in C and there are more specific " +"tests available for those types, which is robust across Python " +"implementations. Typically, data descriptors will also have :attr:" +"`~definition.__name__` and :attr:`__doc__` attributes (properties, getsets, " +"and members have both of these attributes), but this is not guaranteed." msgstr "" #: ../Doc/library/inspect.rst:441 -msgid "Return true if the object is a getset descriptor." +msgid "Return ``True`` if the object is a getset descriptor." msgstr "" #: ../Doc/library/inspect.rst:445 @@ -715,7 +718,7 @@ msgid "" msgstr "" #: ../Doc/library/inspect.rst:452 -msgid "Return true if the object is a member descriptor." +msgid "Return ``True`` if the object is a member descriptor." msgstr "" #: ../Doc/library/inspect.rst:456 diff --git a/library/ipaddress.po b/library/ipaddress.po index ca86ecc4..ff734a00 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -571,11 +571,11 @@ msgid "" msgstr "" #: ../Doc/library/ipaddress.rst:560 -msgid "Returns *True* if this network is a subnet of *other*." +msgid "Return ``True`` if this network is a subnet of *other*." msgstr "" #: ../Doc/library/ipaddress.rst:571 -msgid "Returns *True* if this network is a supernet of *other*." +msgid "Return ``True`` if this network is a supernet of *other*." msgstr "" #: ../Doc/library/ipaddress.rst:582 diff --git a/library/keyword.po b/library/keyword.po index 2cc1c17f..ca14a52e 100644 --- a/library/keyword.po +++ b/library/keyword.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2017-10-19 08:07+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -31,7 +31,8 @@ msgstr "" "représente un mot-clé." #: ../Doc/library/keyword.rst:16 -msgid "Return true if *s* is a Python keyword." +#, fuzzy +msgid "Return ``True`` if *s* is a Python keyword." msgstr "Renvoie vrai si *s* est un mot-clé Python." #: ../Doc/library/keyword.rst:21 diff --git a/library/logging.handlers.po b/library/logging.handlers.po index cb63e829..c45e3382 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -1212,8 +1212,8 @@ msgstr "" #: ../Doc/library/logging.handlers.rst:849 msgid "" -"Appends the record to the buffer. If :meth:`shouldFlush` returns true, " -"calls :meth:`flush` to process the buffer." +"Append the record to the buffer. If :meth:`shouldFlush` returns true, call :" +"meth:`flush` to process the buffer." msgstr "" #: ../Doc/library/logging.handlers.rst:855 @@ -1224,8 +1224,8 @@ msgstr "" #: ../Doc/library/logging.handlers.rst:861 msgid "" -"Returns true if the buffer is up to capacity. This method can be overridden " -"to implement custom flushing strategies." +"Return ``True`` if the buffer is up to capacity. This method can be " +"overridden to implement custom flushing strategies." msgstr "" #: ../Doc/library/logging.handlers.rst:867 diff --git a/library/logging.po b/library/logging.po index 97fb20c5..0d14f13d 100644 --- a/library/logging.po +++ b/library/logging.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-05 11:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -399,11 +399,11 @@ msgstr "" #: ../Doc/library/logging.rst:297 msgid "" -"Applies this logger's filters to the record and returns a true value if the " -"record is to be processed. The filters are consulted in turn, until one of " -"them returns a false value. If none of them return a false value, the record " -"will be processed (passed to handlers). If one returns a false value, no " -"further processing of the record occurs." +"Apply this logger's filters to the record and return ``True`` if the record " +"is to be processed. The filters are consulted in turn, until one of them " +"returns a false value. If none of them return a false value, the record will " +"be processed (passed to handlers). If one returns a false value, no further " +"processing of the record occurs." msgstr "" #: ../Doc/library/logging.rst:306 @@ -594,10 +594,10 @@ msgstr "" #: ../Doc/library/logging.rst:450 msgid "" -"Applies this handler's filters to the record and returns a true value if the " -"record is to be processed. The filters are consulted in turn, until one of " -"them returns a false value. If none of them return a false value, the record " -"will be emitted. If one returns a false value, the handler will not emit the " +"Apply this handler's filters to the record and return ``True`` if the record " +"is to be processed. The filters are consulted in turn, until one of them " +"returns a false value. If none of them return a false value, the record will " +"be emitted. If one returns a false value, the handler will not emit the " "record." msgstr "" diff --git a/library/lzma.po b/library/lzma.po index 67eee8f8..4493e61c 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-08-14 00:17+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -456,7 +456,8 @@ msgid "Miscellaneous" msgstr "Divers" #: ../Doc/library/lzma.rst:316 -msgid "Returns true if the given integrity check is supported on this system." +msgid "" +"Return ``True`` if the given integrity check is supported on this system." msgstr "" #: ../Doc/library/lzma.rst:318 diff --git a/library/msvcrt.po b/library/msvcrt.po index 123ee028..64eab3c2 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -104,7 +104,7 @@ msgid "Console I/O" msgstr "" #: ../Doc/library/msvcrt.rst:95 -msgid "Return true if a keypress is waiting to be read." +msgid "Return ``True`` if a keypress is waiting to be read." msgstr "" #: ../Doc/library/msvcrt.rst:100 diff --git a/library/optparse.po b/library/optparse.po index 88763fad..61d1fecc 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-03 10:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1101,16 +1101,18 @@ msgid "``\"store_true\"``" msgstr "``\"store_true\"``" #: ../Doc/library/optparse.rst:931 -msgid "store a true value" -msgstr "" +#, fuzzy +msgid "store ``True``" +msgstr "``\"store_true\"``" #: ../Doc/library/optparse.rst:934 msgid "``\"store_false\"``" msgstr "``\"store_false\"``" #: ../Doc/library/optparse.rst:934 -msgid "store a false value" -msgstr "" +#, fuzzy +msgid "store ``False``" +msgstr "``\"store_false\"``" #: ../Doc/library/optparse.rst:940 msgid "``\"append_const\"``" @@ -1356,8 +1358,8 @@ msgstr "" #: ../Doc/library/optparse.rst:1138 msgid "" -"A special case of ``\"store_const\"`` that stores a true value to :attr:" -"`~Option.dest`." +"A special case of ``\"store_const\"`` that stores ``True`` to :attr:`~Option." +"dest`." msgstr "" #: ../Doc/library/optparse.rst:1141 @@ -1365,7 +1367,7 @@ msgid "``\"store_false\"`` [relevant: :attr:`~Option.dest`]" msgstr "" #: ../Doc/library/optparse.rst:1143 -msgid "Like ``\"store_true\"``, but stores a false value." +msgid "Like ``\"store_true\"``, but stores ``False``." msgstr "" #: ../Doc/library/optparse.rst:1150 @@ -1687,8 +1689,8 @@ msgstr "" #: ../Doc/library/optparse.rst:1399 msgid "" -"Return true if the OptionParser has an option with option string *opt_str* " -"(e.g., ``-q`` or ``--verbose``)." +"Return ``True`` if the OptionParser has an option with option string " +"*opt_str* (e.g., ``-q`` or ``--verbose``)." msgstr "" #: ../Doc/library/optparse.rst:1404 diff --git a/library/os.po b/library/os.po index 13125875..8fd63a08 100644 --- a/library/os.po +++ b/library/os.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 23:53+0100\n" "PO-Revision-Date: 2019-06-18 22:02+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -229,20 +229,20 @@ msgstr "" #: ../Doc/library/os.rst:3430 ../Doc/library/os.rst:3439 #: ../Doc/library/os.rst:3447 ../Doc/library/os.rst:3455 #: ../Doc/library/os.rst:3462 ../Doc/library/os.rst:3469 -#: ../Doc/library/os.rst:3484 ../Doc/library/os.rst:3529 -#: ../Doc/library/os.rst:3536 ../Doc/library/os.rst:3544 -#: ../Doc/library/os.rst:3653 ../Doc/library/os.rst:3699 -#: ../Doc/library/os.rst:3903 ../Doc/library/os.rst:3919 -#: ../Doc/library/os.rst:3930 ../Doc/library/os.rst:3941 -#: ../Doc/library/os.rst:3954 ../Doc/library/os.rst:4000 -#: ../Doc/library/os.rst:4011 ../Doc/library/os.rst:4019 -#: ../Doc/library/os.rst:4035 ../Doc/library/os.rst:4047 -#: ../Doc/library/os.rst:4055 ../Doc/library/os.rst:4063 -#: ../Doc/library/os.rst:4071 ../Doc/library/os.rst:4079 -#: ../Doc/library/os.rst:4087 ../Doc/library/os.rst:4094 -#: ../Doc/library/os.rst:4101 ../Doc/library/os.rst:4247 -#: ../Doc/library/os.rst:4256 ../Doc/library/os.rst:4277 -#: ../Doc/library/os.rst:4287 ../Doc/library/os.rst:4296 +#: ../Doc/library/os.rst:3488 ../Doc/library/os.rst:3537 +#: ../Doc/library/os.rst:3544 ../Doc/library/os.rst:3552 +#: ../Doc/library/os.rst:3661 ../Doc/library/os.rst:3707 +#: ../Doc/library/os.rst:3911 ../Doc/library/os.rst:3927 +#: ../Doc/library/os.rst:3938 ../Doc/library/os.rst:3949 +#: ../Doc/library/os.rst:3962 ../Doc/library/os.rst:4008 +#: ../Doc/library/os.rst:4019 ../Doc/library/os.rst:4027 +#: ../Doc/library/os.rst:4043 ../Doc/library/os.rst:4055 +#: ../Doc/library/os.rst:4063 ../Doc/library/os.rst:4071 +#: ../Doc/library/os.rst:4079 ../Doc/library/os.rst:4087 +#: ../Doc/library/os.rst:4095 ../Doc/library/os.rst:4102 +#: ../Doc/library/os.rst:4109 ../Doc/library/os.rst:4255 +#: ../Doc/library/os.rst:4264 ../Doc/library/os.rst:4285 +#: ../Doc/library/os.rst:4295 ../Doc/library/os.rst:4304 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -343,8 +343,10 @@ msgstr "" "`environb`, et vice-versa)." #: ../Doc/library/os.rst:150 +#, fuzzy msgid "" -":data:`environb` is only available if :data:`supports_bytes_environ` is True." +":data:`environb` is only available if :data:`supports_bytes_environ` is " +"``True``." msgstr "" ":data:`environb` n'est disponible que si :data:`supports_byte_environ` vaut " "``True``." @@ -462,8 +464,10 @@ msgstr "" "sont des *bytes*." #: ../Doc/library/os.rst:238 +#, fuzzy msgid "" -":func:`getenvb` is only available if :data:`supports_bytes_environ` is True." +":func:`getenvb` is only available if :data:`supports_bytes_environ` is " +"``True``." msgstr "" ":func:`getenvb` n'est disponible que si :data:`supports_byte_environ` vaut " "``True``." @@ -568,9 +572,9 @@ msgstr "" #: ../Doc/library/os.rst:1047 ../Doc/library/os.rst:1416 #: ../Doc/library/os.rst:1787 ../Doc/library/os.rst:2053 #: ../Doc/library/os.rst:2824 ../Doc/library/os.rst:2858 -#: ../Doc/library/os.rst:3317 ../Doc/library/os.rst:3782 -#: ../Doc/library/os.rst:3793 ../Doc/library/os.rst:3863 -#: ../Doc/library/os.rst:3889 +#: ../Doc/library/os.rst:3317 ../Doc/library/os.rst:3790 +#: ../Doc/library/os.rst:3801 ../Doc/library/os.rst:3871 +#: ../Doc/library/os.rst:3897 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`Disponibilité ` : Unix, Windows." @@ -894,7 +898,7 @@ msgstr "" msgid ":ref:`Availability `: recent flavors of Unix." msgstr ":ref:`Disponibilité ` : dérivés récents de Unix." -#: ../Doc/library/os.rst:628 ../Doc/library/os.rst:3890 +#: ../Doc/library/os.rst:628 ../Doc/library/os.rst:3898 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1364,7 +1368,7 @@ msgid "The *dir_fd* argument." msgstr "L'argument *dir_fd*." #: ../Doc/library/os.rst:956 ../Doc/library/os.rst:1248 -#: ../Doc/library/os.rst:1371 ../Doc/library/os.rst:3985 +#: ../Doc/library/os.rst:1371 ../Doc/library/os.rst:3993 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" @@ -1387,7 +1391,7 @@ msgstr "" #: ../Doc/library/os.rst:2864 ../Doc/library/os.rst:2878 #: ../Doc/library/os.rst:2916 ../Doc/library/os.rst:3009 #: ../Doc/library/os.rst:3068 ../Doc/library/os.rst:3151 -#: ../Doc/library/os.rst:3322 ../Doc/library/os.rst:3770 +#: ../Doc/library/os.rst:3322 ../Doc/library/os.rst:3778 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -1453,7 +1457,7 @@ msgstr "" "module :mod:`pty`." #: ../Doc/library/os.rst:1035 ../Doc/library/os.rst:1061 -#: ../Doc/library/os.rst:3495 +#: ../Doc/library/os.rst:3503 msgid ":ref:`Availability `: some flavors of Unix." msgstr ":ref:`Disponibilité ` : certains dérivés Unix." @@ -2002,8 +2006,8 @@ msgstr "" "Récupère le marqueur \"héritable\" (booléen) de l'identificateur spécifié." #: ../Doc/library/os.rst:1465 ../Doc/library/os.rst:1471 -#: ../Doc/library/os.rst:3251 ../Doc/library/os.rst:3805 -#: ../Doc/library/os.rst:3834 +#: ../Doc/library/os.rst:3251 ../Doc/library/os.rst:3813 +#: ../Doc/library/os.rst:3842 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -4946,20 +4950,27 @@ msgstr "" "`OSError` est levée." #: ../Doc/library/os.rst:3477 +#, fuzzy msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " -"issues when using fork() from a thread." +"issues when using ``fork()`` from a thread." msgstr "" "Notez que certaines plate-formes (dont FreeBSD <= 6.3 et Cygwin) ont des " "problèmes connus lors d'utilisation de *fork()* depuis un fil d'exécution." -#: ../Doc/library/os.rst:3482 +#: ../Doc/library/os.rst:3480 +msgid "" +"Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" +"`RuntimeError` is raised)." +msgstr "" + +#: ../Doc/library/os.rst:3486 msgid "See :mod:`ssl` for applications that use the SSL module with fork()." msgstr "" "Voit :mod:`ssl` pour les application qui utilisent le module SSL avec " "*fork()*." -#: ../Doc/library/os.rst:3489 +#: ../Doc/library/os.rst:3493 msgid "" "Fork a child process, using a new pseudo-terminal as the child's controlling " "terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, " @@ -4974,7 +4985,13 @@ msgstr "" "approche plus portable, utilisez le module :mod:`pty`. Si une erreur " "apparaît, une :exc:`OSError` est levée." -#: ../Doc/library/os.rst:3504 +#: ../Doc/library/os.rst:3499 +msgid "" +"Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" +"`RuntimeError` is raised)." +msgstr "" + +#: ../Doc/library/os.rst:3512 msgid "" "Send signal *sig* to the process *pid*. Constants for the specific signals " "available on the host platform are defined in the :mod:`signal` module." @@ -4982,7 +4999,7 @@ msgstr "" "Envoie le signal *sig* au processus *pid*. Les constantes pour les signaux " "spécifiques à la plate-forme hôte sont définies dans le module :mod:`signal`." -#: ../Doc/library/os.rst:3507 +#: ../Doc/library/os.rst:3515 msgid "" "Windows: The :data:`signal.CTRL_C_EVENT` and :data:`signal.CTRL_BREAK_EVENT` " "signals are special signals which can only be sent to console processes " @@ -4999,25 +5016,25 @@ msgstr "" "sera mis à *sig*. La version Windows de :func:`kill` prend en plus les " "identificateurs de processus à tuer." -#: ../Doc/library/os.rst:3515 +#: ../Doc/library/os.rst:3523 msgid "See also :func:`signal.pthread_kill`." msgstr "Voir également :func:`signal.pthread_kill`." -#: ../Doc/library/os.rst:3517 +#: ../Doc/library/os.rst:3525 msgid "Windows support." msgstr "Prise en charge de Windows." -#: ../Doc/library/os.rst:3527 +#: ../Doc/library/os.rst:3535 msgid "Send the signal *sig* to the process group *pgid*." msgstr "Envoie le signal *sig* au groupe de processus *pgid*." -#: ../Doc/library/os.rst:3534 +#: ../Doc/library/os.rst:3542 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" "Ajoute *increment* à la priorité du processus. Renvoie la nouvelle priorité." -#: ../Doc/library/os.rst:3541 +#: ../Doc/library/os.rst:3549 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." @@ -5025,7 +5042,7 @@ msgstr "" "Verrouille les segments du programme en mémoire. La valeur de *op* (définie " "dans ````) détermine quels segments sont verrouillés." -#: ../Doc/library/os.rst:3549 +#: ../Doc/library/os.rst:3557 msgid "" "Open a pipe to or from command *cmd*. The return value is an open file " "object connected to the pipe, which can be read or written depending on " @@ -5041,7 +5058,7 @@ msgstr "" "`open`. L'objet fichier renvoyé écrit (ou lit) des chaînes de caractères et " "non de bytes." -#: ../Doc/library/os.rst:3556 +#: ../Doc/library/os.rst:3564 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -5062,7 +5079,7 @@ msgstr "" "été tué). Sur les systèmes Windows, la valeur de retour contient le code de " "retour du processus fils dans un entier signé ." -#: ../Doc/library/os.rst:3566 +#: ../Doc/library/os.rst:3574 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " @@ -5072,29 +5089,29 @@ msgstr "" "documentation de cette classe pour des méthodes plus puissantes pour gérer " "et communiquer avec des sous-processus." -#: ../Doc/library/os.rst:3575 +#: ../Doc/library/os.rst:3583 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." msgstr "" -#: ../Doc/library/os.rst:3577 +#: ../Doc/library/os.rst:3585 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: ../Doc/library/os.rst:3579 +#: ../Doc/library/os.rst:3587 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: ../Doc/library/os.rst:3582 +#: ../Doc/library/os.rst:3590 msgid "" "The *path* parameter is the path to the executable file.The *path* should " "contain a directory.Use :func:`posix_spawnp` to pass an executable file " "without directory." msgstr "" -#: ../Doc/library/os.rst:3586 +#: ../Doc/library/os.rst:3594 msgid "" "The *file_actions* argument may be a sequence of tuples describing actions " "to take on specific file descriptors in the child process between the C " @@ -5103,31 +5120,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: ../Doc/library/os.rst:3594 +#: ../Doc/library/os.rst:3602 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: ../Doc/library/os.rst:3596 +#: ../Doc/library/os.rst:3604 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: ../Doc/library/os.rst:3600 +#: ../Doc/library/os.rst:3608 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: ../Doc/library/os.rst:3602 +#: ../Doc/library/os.rst:3610 msgid "Performs ``os.close(fd)``." msgstr "" -#: ../Doc/library/os.rst:3606 +#: ../Doc/library/os.rst:3614 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: ../Doc/library/os.rst:3608 +#: ../Doc/library/os.rst:3616 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: ../Doc/library/os.rst:3610 +#: ../Doc/library/os.rst:3618 msgid "" "These tuples correspond to the C library :c:func:" "`posix_spawn_file_actions_addopen`, :c:func:" @@ -5136,7 +5153,7 @@ msgid "" "`posix_spawn` call itself." msgstr "" -#: ../Doc/library/os.rst:3616 +#: ../Doc/library/os.rst:3624 msgid "" "The *setpgroup* argument will set the process group of the child to the " "value specified. If the value specified is 0, the child's process group ID " @@ -5145,7 +5162,7 @@ msgid "" "corresponds to the C library :c:data:`POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: ../Doc/library/os.rst:3622 +#: ../Doc/library/os.rst:3630 msgid "" "If the *resetids* argument is ``True`` it will reset the effective UID and " "GID of the child to the real UID and GID of the parent process. If the " @@ -5156,7 +5173,7 @@ msgid "" "library :c:data:`POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: ../Doc/library/os.rst:3630 +#: ../Doc/library/os.rst:3638 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "`posix_spawn`. *setsid* requires :c:data:`POSIX_SPAWN_SETSID` or :c:data:" @@ -5164,7 +5181,7 @@ msgid "" "raised." msgstr "" -#: ../Doc/library/os.rst:3635 +#: ../Doc/library/os.rst:3643 msgid "" "The *setsigmask* argument will set the signal mask to the signal set " "specified. If the parameter is not used, then the child inherits the " @@ -5172,14 +5189,14 @@ msgid "" "`POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: ../Doc/library/os.rst:3640 +#: ../Doc/library/os.rst:3648 msgid "" "The *sigdef* argument will reset the disposition of all signals in the set " "specified. This argument corresponds to the C library :c:data:" "`POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: ../Doc/library/os.rst:3644 +#: ../Doc/library/os.rst:3652 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -5189,24 +5206,24 @@ msgid "" "`POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: ../Doc/library/os.rst:3659 +#: ../Doc/library/os.rst:3667 msgid "Wraps the :c:func:`posix_spawnp` C library API for use from Python." msgstr "" -#: ../Doc/library/os.rst:3661 +#: ../Doc/library/os.rst:3669 msgid "" "Similar to :func:`posix_spawn` except that the system searches for the " "*executable* file in the list of directories specified by the :envvar:`PATH` " "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: ../Doc/library/os.rst:3667 +#: ../Doc/library/os.rst:3675 #, fuzzy msgid "" ":ref:`Availability `: See :func:`posix_spawn` documentation." msgstr ":ref:`Disponibilité ` : dérivés récents de Unix." -#: ../Doc/library/os.rst:3673 +#: ../Doc/library/os.rst:3681 msgid "" "Register callables to be executed when a new child process is forked using :" "func:`os.fork` or similar process cloning APIs. The parameters are optional " @@ -5217,12 +5234,12 @@ msgstr "" "clonage de processus. Les paramètres sont optionnels et par mots-clé " "uniquement. Chacun spécifie un point d'appel différent." -#: ../Doc/library/os.rst:3678 +#: ../Doc/library/os.rst:3686 msgid "*before* is a function called before forking a child process." msgstr "" "*before* est une fonction appelée avant de *forker* un processus enfant." -#: ../Doc/library/os.rst:3679 +#: ../Doc/library/os.rst:3687 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." @@ -5230,11 +5247,11 @@ msgstr "" "*after_in_parent* est une fonction appelée depuis le processus parent après " "avoir *forké* un processus enfant." -#: ../Doc/library/os.rst:3681 +#: ../Doc/library/os.rst:3689 msgid "*after_in_child* is a function called from the child process." msgstr "*after_in_child* est une fonction appelée depuis le processus enfant." -#: ../Doc/library/os.rst:3683 +#: ../Doc/library/os.rst:3691 msgid "" "These calls are only made if control is expected to return to the Python " "interpreter. A typical :mod:`subprocess` launch will not trigger them as " @@ -5244,7 +5261,7 @@ msgstr "" "l'interpréteur Python. Un lancement de :mod:`subprocess` typique ne les " "déclenchera pas, car l'enfant ne ré-entre pas dans l'interpréteur." -#: ../Doc/library/os.rst:3687 +#: ../Doc/library/os.rst:3695 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " @@ -5255,7 +5272,7 @@ msgstr "" "l'exécution après le *fork* (soit dans le parent ou dans l'enfant) sont " "appelées dans l'ordre de leur enregistrement." -#: ../Doc/library/os.rst:3692 +#: ../Doc/library/os.rst:3700 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly calls :c:func:`PyOS_BeforeFork`, :c:func:" @@ -5266,15 +5283,15 @@ msgstr "" "explicitement :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` et :" "c:func:`PyOS_AfterFork_Child`." -#: ../Doc/library/os.rst:3696 +#: ../Doc/library/os.rst:3704 msgid "There is no way to unregister a function." msgstr "Il n'y a aucun moyen d'annuler l'enregistrement d'une fonction." -#: ../Doc/library/os.rst:3712 +#: ../Doc/library/os.rst:3720 msgid "Execute the program *path* in a new process." msgstr "Exécute le programme *path* dans un nouveau processus." -#: ../Doc/library/os.rst:3714 +#: ../Doc/library/os.rst:3722 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -5286,7 +5303,7 @@ msgstr "" "est préférable d'utiliser ce module que ces fonctions. Voyez surtout la " "section :ref:`subprocess-replacements`.)" -#: ../Doc/library/os.rst:3719 +#: ../Doc/library/os.rst:3727 msgid "" "If *mode* is :const:`P_NOWAIT`, this function returns the process id of the " "new process; if *mode* is :const:`P_WAIT`, returns the process's exit code " @@ -5301,13 +5318,13 @@ msgstr "" "en fait l'identificateur du processus (*process handle*) et peut donc être " "utilisé avec la fonction :func:`waitpid`." -#: ../Doc/library/os.rst:3725 +#: ../Doc/library/os.rst:3733 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." msgstr "" -#: ../Doc/library/os.rst:3728 +#: ../Doc/library/os.rst:3736 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -5329,7 +5346,7 @@ msgstr "" "fils devraient commencer avec le nom de la commande à lancer, mais ce n'est " "pas obligatoire." -#: ../Doc/library/os.rst:3737 +#: ../Doc/library/os.rst:3745 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -5352,7 +5369,7 @@ msgstr "" "envvar:`PATH` pour localiser l'exécutable. *path* doit contenir un chemin " "absolue ou relatif approprié." -#: ../Doc/library/os.rst:3747 +#: ../Doc/library/os.rst:3755 msgid "" "For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -5374,7 +5391,7 @@ msgstr "" "caractères. Des valeurs invalides pour les clefs ou les valeurs met la " "fonction en échec et renvoie ``127``." -#: ../Doc/library/os.rst:3756 +#: ../Doc/library/os.rst:3764 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" @@ -5382,7 +5399,7 @@ msgstr "" "Par exemple, les appels suivants à :func:`spawnlp` et :func:`spawnvpe` sont " "équivalents ::" -#: ../Doc/library/os.rst:3769 +#: ../Doc/library/os.rst:3777 msgid "" ":ref:`Availability `: Unix, Windows. :func:`spawnlp`, :func:" "`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are not available on " @@ -5395,7 +5412,7 @@ msgstr "" "appels concurrents (*thread-safe*) sur Windows, il est conseillé d'utiliser " "le module :mod:`subprocess` à la place." -#: ../Doc/library/os.rst:3777 +#: ../Doc/library/os.rst:3785 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:`spawn" @@ -5407,7 +5424,7 @@ msgstr "" "`spawn\\*` sortiront dès que le nouveau processus est créé, avec le PID du " "processus comme valeur de retour." -#: ../Doc/library/os.rst:3787 +#: ../Doc/library/os.rst:3795 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -5422,7 +5439,7 @@ msgstr "" "l'exécution est effectuée avec succès, ou ``-signal`` si un signal tue le " "processus." -#: ../Doc/library/os.rst:3799 +#: ../Doc/library/os.rst:3807 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -5438,11 +5455,11 @@ msgstr "" "`P_OVERLAY` est utilisé, le processus actuel sera remplacé. La fonction :" "func:`spawn\\* ` ne sort jamais." -#: ../Doc/library/os.rst:3810 +#: ../Doc/library/os.rst:3818 msgid "Start a file with its associated application." msgstr "Lance un fichier avec son application associée." -#: ../Doc/library/os.rst:3812 +#: ../Doc/library/os.rst:3820 msgid "" "When *operation* is not specified or ``'open'``, this acts like double-" "clicking the file in Windows Explorer, or giving the file name as an " @@ -5456,7 +5473,7 @@ msgstr "" "commande interactif : le fichier est ouvert avec l'application associée à " "l'extension (s'il y en a une)." -#: ../Doc/library/os.rst:3817 +#: ../Doc/library/os.rst:3825 msgid "" "When another *operation* is given, it must be a \"command verb\" that " "specifies what should be done with the file. Common verbs documented by " @@ -5469,7 +5486,7 @@ msgstr "" "utilisés sur des fichiers) ainsi que ``'explore'`` et ``'find'`` (qui " "doivent être utilisés sur des répertoires)." -#: ../Doc/library/os.rst:3822 +#: ../Doc/library/os.rst:3830 msgid "" ":func:`startfile` returns as soon as the associated application is launched. " "There is no option to wait for the application to close, and no way to " @@ -5488,7 +5505,7 @@ msgstr "" "Utilisez la fonction :func:`os.path.normpath` pour vous assurer que le " "chemin est encodé correctement pour Win32." -#: ../Doc/library/os.rst:3830 +#: ../Doc/library/os.rst:3838 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` " "function is not resolved until this function is first called. If the " @@ -5499,7 +5516,7 @@ msgstr "" "fonction na pas été appelée. Si la fonction ne peut être interprétée, une :" "exc:`NotImplementedError` est levée." -#: ../Doc/library/os.rst:3839 +#: ../Doc/library/os.rst:3847 msgid "" "Execute the command (a string) in a subshell. This is implemented by " "calling the Standard C function :c:func:`system`, and has the same " @@ -5514,7 +5531,7 @@ msgstr "" "*command* génère une sortie, elle sera envoyée à l'interpréteur standard de " "flux." -#: ../Doc/library/os.rst:3845 +#: ../Doc/library/os.rst:3853 msgid "" "On Unix, the return value is the exit status of the process encoded in the " "format specified for :func:`wait`. Note that POSIX does not specify the " @@ -5526,7 +5543,7 @@ msgstr "" "le sens de la valeur de retour de la fonction C :c:func:`system`, donc la " "valeur de retour de la fonction Python est dépendante du système." -#: ../Doc/library/os.rst:3850 +#: ../Doc/library/os.rst:3858 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment variable :" @@ -5541,7 +5558,7 @@ msgstr "" "commande lancée. Sur les systèmes qui utilisent un invite de commande non-" "natif, consultez la documentation propre à l'invite." -#: ../Doc/library/os.rst:3856 +#: ../Doc/library/os.rst:3864 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -5554,13 +5571,13 @@ msgstr "" "ref:`subprocess-replacements` de la documentation du module :mod:" "`subprocess` pour des informations plus précises et utiles." -#: ../Doc/library/os.rst:3862 +#: ../Doc/library/os.rst:3870 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: ../Doc/library/os.rst:3868 +#: ../Doc/library/os.rst:3876 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" @@ -5568,27 +5585,27 @@ msgstr "" "Renvoie les temps globaux actuels d'exécution du processus. La valeur de " "retour est un objet avec cinq attributs :" -#: ../Doc/library/os.rst:3871 +#: ../Doc/library/os.rst:3879 msgid ":attr:`user` - user time" msgstr ":attr:`user` — le temps utilisateur" -#: ../Doc/library/os.rst:3872 +#: ../Doc/library/os.rst:3880 msgid ":attr:`system` - system time" msgstr ":attr:`system` — le temps système" -#: ../Doc/library/os.rst:3873 +#: ../Doc/library/os.rst:3881 msgid ":attr:`children_user` - user time of all child processes" msgstr ":attr:`children_user` — temps utilisateur de tous les processus fils" -#: ../Doc/library/os.rst:3874 +#: ../Doc/library/os.rst:3882 msgid ":attr:`children_system` - system time of all child processes" msgstr ":attr:`children_system` — le temps système de tous les processus fils" -#: ../Doc/library/os.rst:3875 +#: ../Doc/library/os.rst:3883 msgid ":attr:`elapsed` - elapsed real time since a fixed point in the past" msgstr ":attr:`elapsed` — temps écoulé réel depuis un point fixé dans le passé" -#: ../Doc/library/os.rst:3877 +#: ../Doc/library/os.rst:3885 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`user`, :attr:`system`, :attr:`children_user`, :attr:" @@ -5598,7 +5615,7 @@ msgstr "" "comme un *tuple* contenant :attr:`user`, :attr:`system`, :attr:" "`children_user`, :attr:`children_system`, et :attr:`elapsed` dans cet ordre." -#: ../Doc/library/os.rst:3881 +#: ../Doc/library/os.rst:3889 #, fuzzy msgid "" "See the Unix manual page :manpage:`times(2)` and :manpage:`times(3)` manual " @@ -5611,7 +5628,7 @@ msgstr "" "Windows correspondante. Sur Windows, seuls :attr:`user` et :attr:`system` " "sont connus. Les autres attributs sont nuls." -#: ../Doc/library/os.rst:3897 +#: ../Doc/library/os.rst:3905 msgid "" "Wait for completion of a child process, and return a tuple containing its " "pid and exit status indication: a 16-bit number, whose low byte is the " @@ -5626,7 +5643,7 @@ msgstr "" "Le bit de poids fort du *byte* de poids faible est mis à 1 si un (fichier " "système) *core file* a été produit." -#: ../Doc/library/os.rst:3907 +#: ../Doc/library/os.rst:3915 msgid "" "Wait for the completion of one or more child processes. *idtype* can be :" "data:`P_PID`, :data:`P_PGID` or :data:`P_ALL`. *id* specifies the pid to " @@ -5649,7 +5666,7 @@ msgstr "" "`si_code` ou ``None`` si :data:`WNOHANG` est spécifié et qu'il n'y a pas " "d'enfant dans un état que l'on peut attendre." -#: ../Doc/library/os.rst:3926 +#: ../Doc/library/os.rst:3934 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted." @@ -5657,7 +5674,7 @@ msgstr "" "Les valeurs possibles pour *idtypes* pour la fonction :func:`waitid`. Elles " "affectent l'interprétation de *id*." -#: ../Doc/library/os.rst:3937 +#: ../Doc/library/os.rst:3945 msgid "" "Flags that can be used in *options* in :func:`waitid` that specify what " "child signal to wait for." @@ -5665,7 +5682,7 @@ msgstr "" "Marqueurs qui peuvent être utilisés pour la fonction :func:`waitid` qui " "spécifient quel signal attendre du fils." -#: ../Doc/library/os.rst:3950 +#: ../Doc/library/os.rst:3958 msgid "" "These are the possible values for :attr:`si_code` in the result returned by :" "func:`waitid`." @@ -5673,11 +5690,11 @@ msgstr "" "Les valeurs possibles pour :attr:`si_code` dans le résultat renvoyé par :" "func:`waitid`." -#: ../Doc/library/os.rst:3960 +#: ../Doc/library/os.rst:3968 msgid "The details of this function differ on Unix and Windows." msgstr "Les détails de cette fonction diffèrent sur Unix et Windows." -#: ../Doc/library/os.rst:3962 +#: ../Doc/library/os.rst:3970 msgid "" "On Unix: Wait for completion of a child process given by process id *pid*, " "and return a tuple containing its process id and exit status indication " @@ -5691,7 +5708,7 @@ msgstr "" "affecté par la valeur de l'argument entier *options*, qui devrait valoir " "``0`` pour les opérations normales." -#: ../Doc/library/os.rst:3967 +#: ../Doc/library/os.rst:3975 msgid "" "If *pid* is greater than ``0``, :func:`waitpid` requests status information " "for that specific process. If *pid* is ``0``, the request is for the status " @@ -5708,7 +5725,7 @@ msgstr "" "``-1``, une requête est faite pour le statut de chaque processus du groupe " "de processus donné par ``-pid`` (la valeur absolue de *pid*)." -#: ../Doc/library/os.rst:3974 +#: ../Doc/library/os.rst:3982 msgid "" "An :exc:`OSError` is raised with the value of errno when the syscall returns " "-1." @@ -5716,7 +5733,7 @@ msgstr "" "Une :exc:`OSError` est levée avec la valeur de *errno* quand l'appel système " "renvoie ``-1``." -#: ../Doc/library/os.rst:3977 +#: ../Doc/library/os.rst:3985 msgid "" "On Windows: Wait for completion of a process given by process handle *pid*, " "and return a tuple containing *pid*, and its exit status shifted left by 8 " @@ -5738,7 +5755,7 @@ msgstr "" "appelées avec :const:`P_NOWAIT` renvoient des identificateurs de processus " "appropriés." -#: ../Doc/library/os.rst:3993 +#: ../Doc/library/os.rst:4001 msgid "" "Similar to :func:`waitpid`, except no process id argument is given and a 3-" "element tuple containing the child's process id, exit status indication, and " @@ -5754,7 +5771,7 @@ msgstr "" "ressources. L'argument *options* est le même que celui fourni à :func:" "`waitpid` et :func:`wait4`." -#: ../Doc/library/os.rst:4005 +#: ../Doc/library/os.rst:4013 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -5769,7 +5786,7 @@ msgstr "" "d'utilisation des ressources. Les arguments de :func:`wait4` sont les mêmes " "que ceux fournis à :func:`waitpid`." -#: ../Doc/library/os.rst:4016 +#: ../Doc/library/os.rst:4024 msgid "" "The option for :func:`waitpid` to return immediately if no child process " "status is available immediately. The function returns ``(0, 0)`` in this " @@ -5779,7 +5796,7 @@ msgstr "" "processus fils n'est disponible dans l'immédiat. La fonction renvoie ``(0, " "0)`` dans ce cas." -#: ../Doc/library/os.rst:4024 +#: ../Doc/library/os.rst:4032 msgid "" "This option causes child processes to be reported if they have been " "continued from a job control stop since their status was last reported." @@ -5788,11 +5805,11 @@ msgstr "" "continués après un arrêt du *job control* depuis leurs derniers reports de " "statuts." -#: ../Doc/library/os.rst:4027 +#: ../Doc/library/os.rst:4035 msgid ":ref:`Availability `: some Unix systems." msgstr ":ref:`Disponibilité ` : certains systèmes Unix." -#: ../Doc/library/os.rst:4032 +#: ../Doc/library/os.rst:4040 msgid "" "This option causes child processes to be reported if they have been stopped " "but their current state has not been reported since they were stopped." @@ -5800,7 +5817,7 @@ msgstr "" "Cette option cause les processus fils à être reportés s'ils ont été stoppés " "mais que leur état actuel n'a pas été reporté depuis qu'ils ont été stoppés." -#: ../Doc/library/os.rst:4038 +#: ../Doc/library/os.rst:4046 msgid "" "The following functions take a process status code as returned by :func:" "`system`, :func:`wait`, or :func:`waitpid` as a parameter. They may be used " @@ -5810,7 +5827,7 @@ msgstr "" "`system`, :func:`wait`, ou :func:`waitpid` en paramètre. Ils peuvent être " "utilisés pour déterminer la disposition d'un processus." -#: ../Doc/library/os.rst:4044 +#: ../Doc/library/os.rst:4052 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." @@ -5818,7 +5835,7 @@ msgstr "" "Renvoie ``True`` si un vidage système (*core dump*) a été généré pour le " "processus, sinon, renvoie ``False``." -#: ../Doc/library/os.rst:4052 +#: ../Doc/library/os.rst:4060 msgid "" "Return ``True`` if the process has been continued from a job control stop, " "otherwise return ``False``." @@ -5826,13 +5843,13 @@ msgstr "" "Renvoie ``True`` si le processus a été continué après un arrêt du *job " "control*, renvoie ``False`` autrement." -#: ../Doc/library/os.rst:4060 +#: ../Doc/library/os.rst:4068 msgid "" "Return ``True`` if the process has been stopped, otherwise return ``False``." msgstr "" "Renvoie ``True`` si le processus a été arrête, sinon renvoie ``False``." -#: ../Doc/library/os.rst:4068 +#: ../Doc/library/os.rst:4076 msgid "" "Return ``True`` if the process exited due to a signal, otherwise return " "``False``." @@ -5840,7 +5857,7 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé à cause d'un signal, sinon, " "renvoie ``False``." -#: ../Doc/library/os.rst:4076 +#: ../Doc/library/os.rst:4084 msgid "" "Return ``True`` if the process exited using the :manpage:`exit(2)` system " "call, otherwise return ``False``." @@ -5848,7 +5865,7 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé en faisant un appel système :" "manpage:`exit(2)`, sinon, renvoie ``False``." -#: ../Doc/library/os.rst:4084 +#: ../Doc/library/os.rst:4092 msgid "" "If ``WIFEXITED(status)`` is true, return the integer parameter to the :" "manpage:`exit(2)` system call. Otherwise, the return value is meaningless." @@ -5857,19 +5874,19 @@ msgstr "" "l'appel système :manpage:`exit(2)`. Sinon, la valeur de retour n'a pas de " "signification." -#: ../Doc/library/os.rst:4092 +#: ../Doc/library/os.rst:4100 msgid "Return the signal which caused the process to stop." msgstr "Renvoie le signal qui a causé l'arrêt du processus." -#: ../Doc/library/os.rst:4099 +#: ../Doc/library/os.rst:4107 msgid "Return the signal which caused the process to exit." msgstr "Renvoie le signal qui a amené le processus à quitter." -#: ../Doc/library/os.rst:4105 +#: ../Doc/library/os.rst:4113 msgid "Interface to the scheduler" msgstr "Interface pour l'ordonnanceur" -#: ../Doc/library/os.rst:4107 +#: ../Doc/library/os.rst:4115 msgid "" "These functions control how a process is allocated CPU time by the operating " "system. They are only available on some Unix platforms. For more detailed " @@ -5880,7 +5897,7 @@ msgstr "" "plate-formes Unix. Pour des informations plus détaillées, consultez les " "pages de manuels Unix." -#: ../Doc/library/os.rst:4113 +#: ../Doc/library/os.rst:4121 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." @@ -5888,11 +5905,11 @@ msgstr "" "Les polices d'ordonnancement suivantes sont exposées si elles sont gérées " "par le système d'exploitation." -#: ../Doc/library/os.rst:4118 +#: ../Doc/library/os.rst:4126 msgid "The default scheduling policy." msgstr "La police d'ordonnancement par défaut." -#: ../Doc/library/os.rst:4122 +#: ../Doc/library/os.rst:4130 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." @@ -5901,25 +5918,25 @@ msgstr "" "processeur. Cette police essaye de préserver l'interactivité pour le reste " "de l'ordinateur." -#: ../Doc/library/os.rst:4127 +#: ../Doc/library/os.rst:4135 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" "Police d'ordonnancement pour les tâches de fond avec une priorité " "extrêmement faible." -#: ../Doc/library/os.rst:4131 +#: ../Doc/library/os.rst:4139 msgid "Scheduling policy for sporadic server programs." msgstr "Police d'ordonnancement pour des programmes serveurs sporadiques." -#: ../Doc/library/os.rst:4135 +#: ../Doc/library/os.rst:4143 msgid "A First In First Out scheduling policy." msgstr "Une police d'ordonnancement *FIFO* (dernier arrivé, premier servi)." -#: ../Doc/library/os.rst:4139 +#: ../Doc/library/os.rst:4147 msgid "A round-robin scheduling policy." msgstr "Une police d'ordonnancement *round-robin* (tourniquet)." -#: ../Doc/library/os.rst:4143 +#: ../Doc/library/os.rst:4151 msgid "" "This flag can be OR'ed with any other scheduling policy. When a process with " "this flag set forks, its child's scheduling policy and priority are reset to " @@ -5930,7 +5947,7 @@ msgstr "" "d'ordonnancement et la priorité du processus fils sont remises aux valeurs " "par défaut." -#: ../Doc/library/os.rst:4150 +#: ../Doc/library/os.rst:4158 msgid "" "This class represents tunable scheduling parameters used in :func:" "`sched_setparam`, :func:`sched_setscheduler`, and :func:`sched_getparam`. It " @@ -5940,15 +5957,15 @@ msgstr "" "pour :func:`sched_setparam`, :func:`sched_setscheduler`, et :func:" "`sched_getparam`. Un objet de ce type est immuable." -#: ../Doc/library/os.rst:4154 +#: ../Doc/library/os.rst:4162 msgid "At the moment, there is only one possible parameter:" msgstr "Pour le moment, il n'y a qu'un seul paramètre possible :" -#: ../Doc/library/os.rst:4158 +#: ../Doc/library/os.rst:4166 msgid "The scheduling priority for a scheduling policy." msgstr "La priorité d'ordonnancement pour une police d'ordonnancement." -#: ../Doc/library/os.rst:4163 +#: ../Doc/library/os.rst:4171 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -5956,7 +5973,7 @@ msgstr "" "Récupère la valeur minimum pour une priorité pour la police *policy*. " "*policy* est une des constantes de police définies ci-dessus." -#: ../Doc/library/os.rst:4169 +#: ../Doc/library/os.rst:4177 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -5964,7 +5981,7 @@ msgstr "" "Récupère la valeur maximum pour une priorité pour la police *policy*. " "*policy* est une des constantes de police définies ci-dessus." -#: ../Doc/library/os.rst:4175 +#: ../Doc/library/os.rst:4183 msgid "" "Set the scheduling policy for the process with PID *pid*. A *pid* of 0 means " "the calling process. *policy* is one of the scheduling policy constants " @@ -5975,7 +5992,7 @@ msgstr "" "police définies ci-dessus. *param* est une instance de la classe :class:" "`sched_param`." -#: ../Doc/library/os.rst:4182 +#: ../Doc/library/os.rst:4190 msgid "" "Return the scheduling policy for the process with PID *pid*. A *pid* of 0 " "means the calling process. The result is one of the scheduling policy " @@ -5985,7 +6002,7 @@ msgstr "" "de 0 signifie le processus appelant. Le résultat est une des constantes de " "police définies ci-dessus." -#: ../Doc/library/os.rst:4189 +#: ../Doc/library/os.rst:4197 msgid "" "Set a scheduling parameters for the process with PID *pid*. A *pid* of 0 " "means the calling process. *param* is a :class:`sched_param` instance." @@ -5994,7 +6011,7 @@ msgstr "" "*pid* de ``0`` signifie le processus appelant. *param* est une instance de :" "class:`sched_param`." -#: ../Doc/library/os.rst:4195 +#: ../Doc/library/os.rst:4203 msgid "" "Return the scheduling parameters as a :class:`sched_param` instance for the " "process with PID *pid*. A *pid* of 0 means the calling process." @@ -6003,7 +6020,7 @@ msgstr "" "pour le processus de PID *pid*. Un *pid* de ``0`` signifie le processus " "appelant." -#: ../Doc/library/os.rst:4201 +#: ../Doc/library/os.rst:4209 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." @@ -6011,11 +6028,11 @@ msgstr "" "Renvoie le quantum de temps du *round-robin* (en secondes) pour le processus " "de PID *pid*. Un *pid* de ``0`` signifie le processus appelant." -#: ../Doc/library/os.rst:4207 +#: ../Doc/library/os.rst:4215 msgid "Voluntarily relinquish the CPU." msgstr "Abandonne volontairement le processeur." -#: ../Doc/library/os.rst:4212 +#: ../Doc/library/os.rst:4220 msgid "" "Restrict the process with PID *pid* (or the current process if zero) to a " "set of CPUs. *mask* is an iterable of integers representing the set of CPUs " @@ -6025,7 +6042,7 @@ msgstr "" "``0``) à un ensemble de CPUs. *mask* est un itérable d'entiers représentant " "l'ensemble de CPUs auquel le processus doit être restreint." -#: ../Doc/library/os.rst:4219 +#: ../Doc/library/os.rst:4227 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." @@ -6033,11 +6050,11 @@ msgstr "" "Renvoie l'ensemble de CPUs auquel le processus de PID *pid* (ou le processus " "actuel si *pid* vaut ``0``) est restreint." -#: ../Doc/library/os.rst:4226 +#: ../Doc/library/os.rst:4234 msgid "Miscellaneous System Information" msgstr "Diverses informations sur le système" -#: ../Doc/library/os.rst:4231 +#: ../Doc/library/os.rst:4239 msgid "" "Return string-valued system configuration values. *name* specifies the " "configuration value to retrieve; it may be a string which is the name of a " @@ -6057,7 +6074,7 @@ msgstr "" "incluses dans ce *mapping*, passer un entier pour *name* est également " "accepté." -#: ../Doc/library/os.rst:4239 +#: ../Doc/library/os.rst:4247 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." @@ -6065,7 +6082,7 @@ msgstr "" "Si la valeur de configuration spécifiée par *name* n'est pas définie, " "``None`` est renvoyé." -#: ../Doc/library/os.rst:4242 +#: ../Doc/library/os.rst:4250 msgid "" "If *name* is a string and is not known, :exc:`ValueError` is raised. If a " "specific value for *name* is not supported by the host system, even if it is " @@ -6077,7 +6094,7 @@ msgstr "" "par le système hôte, même si elle est incluse dans ``confstr_names``, une :" "exc:`OSError` est levée avec :const:`errno.EINVAL` pour numéro d'erreur." -#: ../Doc/library/os.rst:4252 +#: ../Doc/library/os.rst:4260 msgid "" "Dictionary mapping names accepted by :func:`confstr` to the integer values " "defined for those names by the host operating system. This can be used to " @@ -6087,13 +6104,13 @@ msgstr "" "entières définies pour ces noms par le système d'exploitation hôte. Cela " "peut être utilisé pour déterminer l'ensemble des noms connus du système." -#: ../Doc/library/os.rst:4261 +#: ../Doc/library/os.rst:4269 msgid "" "Return the number of CPUs in the system. Returns ``None`` if undetermined." msgstr "" "Renvoie le nombre de CPUs dans le système. Renvoie ``None`` si indéterminé." -#: ../Doc/library/os.rst:4263 +#: ../Doc/library/os.rst:4271 msgid "" "This number is not equivalent to the number of CPUs the current process can " "use. The number of usable CPUs can be obtained with ``len(os." @@ -6103,7 +6120,7 @@ msgstr "" "peut utiliser. Le nombre de CPUs utilisables peut être obtenu avec ``len(os." "sched_getaffinity(0))``" -#: ../Doc/library/os.rst:4273 +#: ../Doc/library/os.rst:4281 msgid "" "Return the number of processes in the system run queue averaged over the " "last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was " @@ -6113,7 +6130,7 @@ msgstr "" "moyenne dans les dernières 1, 5, et 15 minutes, ou lève une :exc:`OSError` " "si la charge moyenne est impossible à récupérer." -#: ../Doc/library/os.rst:4282 +#: ../Doc/library/os.rst:4290 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -6127,7 +6144,7 @@ msgstr "" "s'appliquent également ici, le dictionnaire qui fournit les informations sur " "les noms connus est donné par ``sysconf_names``." -#: ../Doc/library/os.rst:4292 +#: ../Doc/library/os.rst:4300 msgid "" "Dictionary mapping names accepted by :func:`sysconf` to the integer values " "defined for those names by the host operating system. This can be used to " @@ -6137,7 +6154,7 @@ msgstr "" "entières définies pour ces noms par le système d'exploitation hôte. Cela " "peut être utilisé pour déterminer l'ensemble des noms connus du système." -#: ../Doc/library/os.rst:4298 +#: ../Doc/library/os.rst:4306 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." @@ -6145,7 +6162,7 @@ msgstr "" "Les valeurs suivantes sont utilisées pour gérer les opérations de " "manipulations de chemins. Elles sont définies pour toutes les plate-formes." -#: ../Doc/library/os.rst:4301 +#: ../Doc/library/os.rst:4309 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." @@ -6153,7 +6170,7 @@ msgstr "" "Des opérations de plus haut niveau sur les chemins sont définies dans le " "module :mod:`os.path`." -#: ../Doc/library/os.rst:4307 +#: ../Doc/library/os.rst:4315 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available via :mod:" @@ -6163,7 +6180,7 @@ msgstr "" "référencer le répertoire actuel. Ça vaut ``'.'`` pour Windows et POSIX. " "Également disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4315 +#: ../Doc/library/os.rst:4323 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available via :mod:" @@ -6173,7 +6190,7 @@ msgstr "" "référencer le répertoire parent. Ça vaut ``'..'`` pour Windows et POSIX. " "Également disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4324 +#: ../Doc/library/os.rst:4332 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -6188,7 +6205,7 @@ msgstr "" "et :func:`os.path.join`), mais ça peut s'avérer utile occasionnellement. " "Également disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4334 +#: ../Doc/library/os.rst:4342 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -6200,7 +6217,7 @@ msgstr "" "vaut ``'/'`` sur Windows où ``sep`` est un antislash ``'\\'``. Également " "disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4343 +#: ../Doc/library/os.rst:4351 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." @@ -6209,7 +6226,7 @@ msgstr "" "exemple, le ``'.'`` de :file:`os.py`. Également disponible par :mod:`os." "path`." -#: ../Doc/library/os.rst:4351 +#: ../Doc/library/os.rst:4359 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " @@ -6220,7 +6237,7 @@ msgstr "" "d'environnement :envvar:`PATH`). Cela vaut ``':'`` pour POSIX, ou ``';'`` " "pour Windows. Également disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4358 +#: ../Doc/library/os.rst:4366 msgid "" "The default search path used by :func:`exec\\*p\\* ` and :func:`spawn" "\\*p\\* ` if the environment doesn't have a ``'PATH'`` key. Also " @@ -6230,7 +6247,7 @@ msgstr "" "func:`spawn\\* ` si l'environnement n'a pas une clef ``'PATH'``. " "Également disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4365 +#: ../Doc/library/os.rst:4373 msgid "" "The string used to separate (or, rather, terminate) lines on the current " "platform. This may be a single character, such as ``'\\n'`` for POSIX, or " @@ -6245,7 +6262,7 @@ msgstr "" "écrivez dans un fichier ouvert en mode *texte* (par défaut). Utilisez un " "unique ``'\\n'`` à la place, sur toutes les plate-formes." -#: ../Doc/library/os.rst:4374 +#: ../Doc/library/os.rst:4382 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." @@ -6253,7 +6270,7 @@ msgstr "" "Le chemin de fichier du périphérique *null*. Par exemple : ``'/dev/null'`` " "pour POSIX, ``'nul'`` pour Windows. Également disponible par :mod:`os.path`." -#: ../Doc/library/os.rst:4385 +#: ../Doc/library/os.rst:4393 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` and :func:`~sys." "getdlopenflags` functions. See the Unix manual page :manpage:`dlopen(3)` " @@ -6263,11 +6280,11 @@ msgstr "" "`~sys.getdlopenflags`. Voir les pages de manuel Unix :manpage:`dlopen(3)` " "pour les différences de significations entre les marqueurs." -#: ../Doc/library/os.rst:4393 +#: ../Doc/library/os.rst:4401 msgid "Random numbers" msgstr "Nombres aléatoires" -#: ../Doc/library/os.rst:4398 +#: ../Doc/library/os.rst:4406 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." @@ -6275,7 +6292,7 @@ msgstr "" "Obtient *size* octets aléatoires. La fonction renvoie éventuellement moins " "d'octets que demandé." -#: ../Doc/library/os.rst:4401 +#: ../Doc/library/os.rst:4409 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." @@ -6283,7 +6300,7 @@ msgstr "" "Ces octets peuvent être utilisés pour initialiser un générateur de nombres " "aléatoires dans l'espace utilisateur ou pour des raisons cryptographiques." -#: ../Doc/library/os.rst:4404 +#: ../Doc/library/os.rst:4412 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -6295,7 +6312,7 @@ msgstr "" "grosses quantités de données aura un impact négatif sur les autres " "utilisateurs des périphériques ``/dev/random`` et ``/dev/urandom``." -#: ../Doc/library/os.rst:4409 +#: ../Doc/library/os.rst:4417 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:data:`os.GRND_RANDOM` and :py:data:" @@ -6305,7 +6322,7 @@ msgstr "" "valeurs suivantes combinées avec un OU bit-à-bit : :py:data:`os.GRND_RANDOM` " "et :py:data:`GRND_NONBLOCK`." -#: ../Doc/library/os.rst:4413 +#: ../Doc/library/os.rst:4421 msgid "" "See also the `Linux getrandom() manual page `_." @@ -6313,17 +6330,17 @@ msgstr "" "Voir aussi la `page de manuel Linux pour getrandom() `_." -#: ../Doc/library/os.rst:4417 +#: ../Doc/library/os.rst:4425 msgid ":ref:`Availability `: Linux 3.17 and newer." msgstr ":ref:`Disponibilité ` : Linux 3.17 et ultérieures." -#: ../Doc/library/os.rst:4422 +#: ../Doc/library/os.rst:4430 msgid "Return a string of *size* random bytes suitable for cryptographic use." msgstr "" "Renvoie une chaîne de *size* octets aléatoires utilisable dans un cadre " "cryptographique." -#: ../Doc/library/os.rst:4424 +#: ../Doc/library/os.rst:4432 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " @@ -6334,7 +6351,7 @@ msgstr "" "pour les applications cryptographiques, bien que la qualité dépende de " "l'implémentation du système." -#: ../Doc/library/os.rst:4428 +#: ../Doc/library/os.rst:4436 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -6351,7 +6368,7 @@ msgstr "" "aléatoires en mode non-bloquant (avec l'option :data:`GRND_NONBLOCK`) ou " "attendre jusqu'à ce que la réserve d'entropie d'*urandom* soit initialisée." -#: ../Doc/library/os.rst:4435 +#: ../Doc/library/os.rst:4443 msgid "" "On a Unix-like system, random bytes are read from the ``/dev/urandom`` " "device. If the ``/dev/urandom`` device is not available or not readable, " @@ -6362,11 +6379,11 @@ msgstr "" "disponible ou n'est pas lisible, l'exception :exc:`NotImplementedError` est " "levée." -#: ../Doc/library/os.rst:4439 +#: ../Doc/library/os.rst:4447 msgid "On Windows, it will use ``CryptGenRandom()``." msgstr "Sous Windows, ``CryptGenRandom()`` est utilisée." -#: ../Doc/library/os.rst:4442 +#: ../Doc/library/os.rst:4450 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " @@ -6376,7 +6393,7 @@ msgstr "" "interface facile à utiliser du générateur de nombres aléatoires fourni par " "votre plate-forme, veuillez regarder :class:`random.SystemRandom`." -#: ../Doc/library/os.rst:4446 +#: ../Doc/library/os.rst:4454 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." @@ -6384,7 +6401,7 @@ msgstr "" "Sous Linux, ``getrandom()`` est maintenant utilisé en mode bloquant pour " "renforcer la sécurité." -#: ../Doc/library/os.rst:4450 +#: ../Doc/library/os.rst:4458 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." @@ -6393,7 +6410,7 @@ msgstr "" "d'*urandom* n'est pas encore initialisée), réalise à la place une lecture de " "``/dev/urandom``." -#: ../Doc/library/os.rst:4454 +#: ../Doc/library/os.rst:4462 msgid "" "On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when " "available. On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now " @@ -6404,7 +6421,7 @@ msgstr "" "la fonction C ``getentropy()`` est utilisée. Ces fonctions évitent " "l'utilisation interne d'un descripteur de fichier." -#: ../Doc/library/os.rst:4462 +#: ../Doc/library/os.rst:4470 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " @@ -6415,7 +6432,7 @@ msgstr "" "urandom``, elle bloque si la réserve d'entropie n'a pas encore été " "initialisée." -#: ../Doc/library/os.rst:4466 +#: ../Doc/library/os.rst:4474 msgid "" "If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not " "block in these cases, but instead immediately raises :exc:`BlockingIOError`." @@ -6423,7 +6440,7 @@ msgstr "" "Si l'option :py:data:`GRND_NONBLOCK` est activée, :func:`getrandom` ne " "bloque pas dans ces cas, mais lève immédiatement une :exc:`BlockingIOError`." -#: ../Doc/library/os.rst:4473 +#: ../Doc/library/os.rst:4481 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." diff --git a/library/parser.po b/library/parser.po index d15f32af..f8ffd297 100644 --- a/library/parser.po +++ b/library/parser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-20 14:07+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -323,8 +323,8 @@ msgstr "" #: ../Doc/library/parser.rst:237 msgid "" -"When *st* represents an ``'eval'`` form, this function returns true, " -"otherwise it returns false. This is useful, since code objects normally " +"When *st* represents an ``'eval'`` form, this function returns ``True``, " +"otherwise it returns ``False``. This is useful, since code objects normally " "cannot be queried for this information using existing built-in functions. " "Note that the code objects created by :func:`compilest` cannot be queried " "like this either, and are identical to those created by the built-in :func:" diff --git a/library/pickle.po b/library/pickle.po index 4f3fbdda..0887e98a 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-02-26 12:09+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -229,7 +229,7 @@ msgstr "" #: ../Doc/library/pickle.rst:139 msgid "" -"There are currently 5 different protocols which can be used for pickling. " +"There are currently 6 different protocols which can be used for pickling. " "The higher the protocol used, the more recent the version of Python needed " "to read the pickle produced." msgstr "" @@ -268,7 +268,14 @@ msgid "" "to :pep:`3154` for information about improvements brought by protocol 4." msgstr "" -#: ../Doc/library/pickle.rst:164 +#: ../Doc/library/pickle.rst:163 +msgid "" +"Protocol version 5 was added in Python 3.8. It adds support for out-of-band " +"data and speedup for in-band data. Refer to :pep:`574` for information " +"about improvements brought by protocol 5." +msgstr "" + +#: ../Doc/library/pickle.rst:168 msgid "" "Serialization is a more primitive notion than persistence; although :mod:" "`pickle` reads and writes file objects, it does not handle the issue of " @@ -282,11 +289,11 @@ msgid "" "and unpickle objects on DBM-style database files." msgstr "" -#: ../Doc/library/pickle.rst:177 +#: ../Doc/library/pickle.rst:181 msgid "Module Interface" msgstr "" -#: ../Doc/library/pickle.rst:179 +#: ../Doc/library/pickle.rst:183 msgid "" "To serialize an object hierarchy, you simply call the :func:`dumps` " "function. Similarly, to de-serialize a data stream, you call the :func:" @@ -295,18 +302,18 @@ msgid "" "object, respectively." msgstr "" -#: ../Doc/library/pickle.rst:184 +#: ../Doc/library/pickle.rst:188 msgid "The :mod:`pickle` module provides the following constants:" msgstr "" -#: ../Doc/library/pickle.rst:189 +#: ../Doc/library/pickle.rst:193 msgid "" "An integer, the highest :ref:`protocol version ` " "available. This value can be passed as a *protocol* value to functions :" "func:`dump` and :func:`dumps` as well as the :class:`Pickler` constructor." msgstr "" -#: ../Doc/library/pickle.rst:196 +#: ../Doc/library/pickle.rst:200 msgid "" "An integer, the default :ref:`protocol version ` used for " "pickling. May be less than :data:`HIGHEST_PROTOCOL`. Currently the default " @@ -314,126 +321,126 @@ msgid "" "versions." msgstr "" -#: ../Doc/library/pickle.rst:203 +#: ../Doc/library/pickle.rst:207 msgid "The default protocol is 3." msgstr "" -#: ../Doc/library/pickle.rst:207 +#: ../Doc/library/pickle.rst:211 msgid "The default protocol is 4." msgstr "" -#: ../Doc/library/pickle.rst:209 +#: ../Doc/library/pickle.rst:213 msgid "" "The :mod:`pickle` module provides the following functions to make the " "pickling process more convenient:" msgstr "" -#: ../Doc/library/pickle.rst:214 +#: ../Doc/library/pickle.rst:218 msgid "" "Write the pickled representation of the object *obj* to the open :term:`file " "object` *file*. This is equivalent to ``Pickler(file, protocol).dump(obj)``." msgstr "" -#: ../Doc/library/pickle.rst:218 +#: ../Doc/library/pickle.rst:222 msgid "" "Arguments *file*, *protocol*, *fix_imports* and *buffer_callback* have the " "same meaning as in the :class:`Pickler` constructor." msgstr "" -#: ../Doc/library/pickle.rst:221 ../Doc/library/pickle.rst:232 -#: ../Doc/library/pickle.rst:324 +#: ../Doc/library/pickle.rst:225 ../Doc/library/pickle.rst:236 +#: ../Doc/library/pickle.rst:328 msgid "The *buffer_callback* argument was added." msgstr "" -#: ../Doc/library/pickle.rst:226 +#: ../Doc/library/pickle.rst:230 msgid "" "Return the pickled representation of the object *obj* as a :class:`bytes` " "object, instead of writing it to a file." msgstr "" -#: ../Doc/library/pickle.rst:229 +#: ../Doc/library/pickle.rst:233 msgid "" "Arguments *protocol*, *fix_imports* and *buffer_callback* have the same " "meaning as in the :class:`Pickler` constructor." msgstr "" -#: ../Doc/library/pickle.rst:237 +#: ../Doc/library/pickle.rst:241 msgid "" "Read the pickled representation of an object from the open :term:`file " "object` *file* and return the reconstituted object hierarchy specified " "therein. This is equivalent to ``Unpickler(file).load()``." msgstr "" -#: ../Doc/library/pickle.rst:241 ../Doc/library/pickle.rst:256 +#: ../Doc/library/pickle.rst:245 ../Doc/library/pickle.rst:260 msgid "" "The protocol version of the pickle is detected automatically, so no protocol " "argument is needed. Bytes past the pickled representation of the object are " "ignored." msgstr "" -#: ../Doc/library/pickle.rst:245 ../Doc/library/pickle.rst:260 +#: ../Doc/library/pickle.rst:249 ../Doc/library/pickle.rst:264 msgid "" "Arguments *file*, *fix_imports*, *encoding*, *errors*, *strict* and " "*buffers* have the same meaning as in the :class:`Unpickler` constructor." msgstr "" -#: ../Doc/library/pickle.rst:248 ../Doc/library/pickle.rst:263 -#: ../Doc/library/pickle.rst:425 +#: ../Doc/library/pickle.rst:252 ../Doc/library/pickle.rst:267 +#: ../Doc/library/pickle.rst:429 msgid "The *buffers* argument was added." msgstr "" -#: ../Doc/library/pickle.rst:253 +#: ../Doc/library/pickle.rst:257 msgid "" "Return the reconstituted object hierarchy of the pickled representation " "*bytes_object* of an object." msgstr "" -#: ../Doc/library/pickle.rst:267 +#: ../Doc/library/pickle.rst:271 msgid "The :mod:`pickle` module defines three exceptions:" msgstr "" -#: ../Doc/library/pickle.rst:271 +#: ../Doc/library/pickle.rst:275 msgid "" "Common base class for the other pickling exceptions. It inherits :exc:" "`Exception`." msgstr "" -#: ../Doc/library/pickle.rst:276 +#: ../Doc/library/pickle.rst:280 msgid "" "Error raised when an unpicklable object is encountered by :class:`Pickler`. " "It inherits :exc:`PickleError`." msgstr "" -#: ../Doc/library/pickle.rst:279 +#: ../Doc/library/pickle.rst:283 msgid "" "Refer to :ref:`pickle-picklable` to learn what kinds of objects can be " "pickled." msgstr "" -#: ../Doc/library/pickle.rst:284 +#: ../Doc/library/pickle.rst:288 msgid "" "Error raised when there is a problem unpickling an object, such as a data " "corruption or a security violation. It inherits :exc:`PickleError`." msgstr "" -#: ../Doc/library/pickle.rst:287 +#: ../Doc/library/pickle.rst:291 msgid "" "Note that other exceptions may also be raised during unpickling, including " "(but not necessarily limited to) AttributeError, EOFError, ImportError, and " "IndexError." msgstr "" -#: ../Doc/library/pickle.rst:292 +#: ../Doc/library/pickle.rst:296 msgid "" "The :mod:`pickle` module exports three classes, :class:`Pickler`, :class:" "`Unpickler` and :class:`PickleBuffer`:" msgstr "" -#: ../Doc/library/pickle.rst:297 +#: ../Doc/library/pickle.rst:301 msgid "This takes a binary file for writing a pickle data stream." msgstr "" -#: ../Doc/library/pickle.rst:299 +#: ../Doc/library/pickle.rst:303 msgid "" "The optional *protocol* argument, an integer, tells the pickler to use the " "given protocol; supported protocols are 0 to :data:`HIGHEST_PROTOCOL`. If " @@ -441,7 +448,7 @@ msgid "" "number is specified, :data:`HIGHEST_PROTOCOL` is selected." msgstr "" -#: ../Doc/library/pickle.rst:304 +#: ../Doc/library/pickle.rst:308 msgid "" "The *file* argument must have a write() method that accepts a single bytes " "argument. It can thus be an on-disk file opened for binary writing, an :" @@ -449,20 +456,20 @@ msgid "" "interface." msgstr "" -#: ../Doc/library/pickle.rst:309 +#: ../Doc/library/pickle.rst:313 msgid "" "If *fix_imports* is true and *protocol* is less than 3, pickle will try to " "map the new Python 3 names to the old module names used in Python 2, so that " "the pickle data stream is readable with Python 2." msgstr "" -#: ../Doc/library/pickle.rst:313 +#: ../Doc/library/pickle.rst:317 msgid "" "If *buffer_callback* is None (the default), buffer views are serialized into " "*file* as part of the pickle stream." msgstr "" -#: ../Doc/library/pickle.rst:316 +#: ../Doc/library/pickle.rst:320 msgid "" "If *buffer_callback* is not None, then it can be called any number of times " "with a buffer view. If the callback returns a false value (such as None), " @@ -470,23 +477,23 @@ msgid "" "serialized in-band, i.e. inside the pickle stream." msgstr "" -#: ../Doc/library/pickle.rst:321 +#: ../Doc/library/pickle.rst:325 msgid "" "It is an error if *buffer_callback* is not None and *protocol* is None or " "smaller than 5." msgstr "" -#: ../Doc/library/pickle.rst:329 +#: ../Doc/library/pickle.rst:333 msgid "" "Write the pickled representation of *obj* to the open file object given in " "the constructor." msgstr "" -#: ../Doc/library/pickle.rst:334 +#: ../Doc/library/pickle.rst:338 msgid "Do nothing by default. This exists so a subclass can override it." msgstr "" -#: ../Doc/library/pickle.rst:336 +#: ../Doc/library/pickle.rst:340 msgid "" "If :meth:`persistent_id` returns ``None``, *obj* is pickled as usual. Any " "other value causes :class:`Pickler` to emit the returned value as a " @@ -495,11 +502,11 @@ msgid "" "by :meth:`persistent_id` cannot itself have a persistent ID." msgstr "" -#: ../Doc/library/pickle.rst:342 ../Doc/library/pickle.rst:443 +#: ../Doc/library/pickle.rst:346 ../Doc/library/pickle.rst:447 msgid "See :ref:`pickle-persistent` for details and examples of uses." msgstr "" -#: ../Doc/library/pickle.rst:346 +#: ../Doc/library/pickle.rst:350 msgid "" "A pickler object's dispatch table is a registry of *reduction functions* of " "the kind which can be declared using :func:`copyreg.pickle`. It is a " @@ -508,7 +515,7 @@ msgid "" "should conform to the same interface as a :meth:`__reduce__` method." msgstr "" -#: ../Doc/library/pickle.rst:354 +#: ../Doc/library/pickle.rst:358 msgid "" "By default, a pickler object will not have a :attr:`dispatch_table` " "attribute, and it will instead use the global dispatch table managed by the :" @@ -519,11 +526,11 @@ msgid "" "table for instances of that class." msgstr "" -#: ../Doc/library/pickle.rst:363 +#: ../Doc/library/pickle.rst:367 msgid "See :ref:`pickle-dispatch` for usage examples." msgstr "" -#: ../Doc/library/pickle.rst:369 +#: ../Doc/library/pickle.rst:373 msgid "" "Special reducer that can be defined in :class:`Pickler` subclasses. This " "method has priority over any reducer in the :attr:`dispatch_table`. It " @@ -532,11 +539,11 @@ msgid "" "registered reducers to pickle ``obj``." msgstr "" -#: ../Doc/library/pickle.rst:375 +#: ../Doc/library/pickle.rst:379 msgid "For a detailed example, see :ref:`reducer_override`." msgstr "" -#: ../Doc/library/pickle.rst:381 +#: ../Doc/library/pickle.rst:385 msgid "" "Deprecated. Enable fast mode if set to a true value. The fast mode disables " "the usage of memo, therefore speeding the pickling process by not generating " @@ -544,21 +551,21 @@ msgid "" "objects, doing otherwise will cause :class:`Pickler` to recurse infinitely." msgstr "" -#: ../Doc/library/pickle.rst:387 +#: ../Doc/library/pickle.rst:391 msgid "Use :func:`pickletools.optimize` if you need more compact pickles." msgstr "" -#: ../Doc/library/pickle.rst:392 +#: ../Doc/library/pickle.rst:396 msgid "This takes a binary file for reading a pickle data stream." msgstr "" -#: ../Doc/library/pickle.rst:394 +#: ../Doc/library/pickle.rst:398 msgid "" "The protocol version of the pickle is detected automatically, so no protocol " "argument is needed." msgstr "" -#: ../Doc/library/pickle.rst:397 +#: ../Doc/library/pickle.rst:401 msgid "" "The argument *file* must have three methods, a read() method that takes an " "integer argument, a readinto() method that takes a buffer argument and a " @@ -568,7 +575,7 @@ msgid "" "that meets this interface." msgstr "" -#: ../Doc/library/pickle.rst:404 +#: ../Doc/library/pickle.rst:408 msgid "" "The optional arguments *fix_imports*, *encoding* and *errors* are used to " "control compatibility support for pickle stream generated by Python 2. If " @@ -582,7 +589,7 @@ msgid "" "Python 2." msgstr "" -#: ../Doc/library/pickle.rst:415 +#: ../Doc/library/pickle.rst:419 msgid "" "If *buffers* is None (the default), then all data necessary for " "deserialization must be contained in the pickle stream. This means that the " @@ -590,7 +597,7 @@ msgid "" "(or when :func:`dump` or :func:`dumps` was called)." msgstr "" -#: ../Doc/library/pickle.rst:420 +#: ../Doc/library/pickle.rst:424 msgid "" "If *buffers* is not None, it should be an iterable of buffer-enabled objects " "that is consumed each time the pickle stream references an :ref:`out-of-band " @@ -598,25 +605,25 @@ msgid "" "*buffer_callback* of a Pickler object." msgstr "" -#: ../Doc/library/pickle.rst:430 +#: ../Doc/library/pickle.rst:434 msgid "" "Read the pickled representation of an object from the open file object given " "in the constructor, and return the reconstituted object hierarchy specified " "therein. Bytes past the pickled representation of the object are ignored." msgstr "" -#: ../Doc/library/pickle.rst:437 +#: ../Doc/library/pickle.rst:441 msgid "Raise an :exc:`UnpicklingError` by default." msgstr "" -#: ../Doc/library/pickle.rst:439 +#: ../Doc/library/pickle.rst:443 msgid "" "If defined, :meth:`persistent_load` should return the object specified by " "the persistent ID *pid*. If an invalid persistent ID is encountered, an :" "exc:`UnpicklingError` should be raised." msgstr "" -#: ../Doc/library/pickle.rst:447 +#: ../Doc/library/pickle.rst:451 msgid "" "Import *module* if necessary and return the object called *name* from it, " "where the *module* and *name* arguments are :class:`str` objects. Note, " @@ -624,41 +631,41 @@ msgid "" "functions." msgstr "" -#: ../Doc/library/pickle.rst:452 +#: ../Doc/library/pickle.rst:456 msgid "" "Subclasses may override this to gain control over what type of objects and " "how they can be loaded, potentially reducing security risks. Refer to :ref:" "`pickle-restrict` for details." msgstr "" -#: ../Doc/library/pickle.rst:456 +#: ../Doc/library/pickle.rst:460 msgid "" "Raises an :ref:`auditing event ` ``pickle.find_class`` with " "arguments ``module``, ``name``." msgstr "" -#: ../Doc/library/pickle.rst:460 +#: ../Doc/library/pickle.rst:464 msgid "" "A wrapper for a buffer representing picklable data. *buffer* must be a :ref:" "`buffer-providing ` object, such as a :term:`bytes-like " "object` or a N-dimensional array." msgstr "" -#: ../Doc/library/pickle.rst:464 +#: ../Doc/library/pickle.rst:468 msgid "" ":class:`PickleBuffer` is itself a buffer provider, therefore it is possible " "to pass it to other APIs expecting a buffer-providing object, such as :class:" "`memoryview`." msgstr "" -#: ../Doc/library/pickle.rst:468 +#: ../Doc/library/pickle.rst:472 msgid "" ":class:`PickleBuffer` objects can only be serialized using pickle protocol 5 " "or higher. They are eligible for :ref:`out-of-band serialization `." msgstr "" -#: ../Doc/library/pickle.rst:476 +#: ../Doc/library/pickle.rst:480 msgid "" "Return a :class:`memoryview` of the memory area underlying this buffer. The " "returned object is a one-dimensional, C-contiguous memoryview with format " @@ -666,56 +673,56 @@ msgid "" "neither C- nor Fortran-contiguous." msgstr "" -#: ../Doc/library/pickle.rst:483 +#: ../Doc/library/pickle.rst:487 msgid "Release the underlying buffer exposed by the PickleBuffer object." msgstr "" -#: ../Doc/library/pickle.rst:489 +#: ../Doc/library/pickle.rst:493 msgid "What can be pickled and unpickled?" msgstr "" -#: ../Doc/library/pickle.rst:491 +#: ../Doc/library/pickle.rst:495 msgid "The following types can be pickled:" msgstr "" -#: ../Doc/library/pickle.rst:493 +#: ../Doc/library/pickle.rst:497 msgid "``None``, ``True``, and ``False``" msgstr "``None``, ``True``, and ``False``" -#: ../Doc/library/pickle.rst:495 +#: ../Doc/library/pickle.rst:499 msgid "integers, floating point numbers, complex numbers" msgstr "" -#: ../Doc/library/pickle.rst:497 +#: ../Doc/library/pickle.rst:501 msgid "strings, bytes, bytearrays" msgstr "" -#: ../Doc/library/pickle.rst:499 +#: ../Doc/library/pickle.rst:503 msgid "tuples, lists, sets, and dictionaries containing only picklable objects" msgstr "" -#: ../Doc/library/pickle.rst:501 +#: ../Doc/library/pickle.rst:505 msgid "" "functions defined at the top level of a module (using :keyword:`def`, not :" "keyword:`lambda`)" msgstr "" -#: ../Doc/library/pickle.rst:504 +#: ../Doc/library/pickle.rst:508 msgid "built-in functions defined at the top level of a module" msgstr "" -#: ../Doc/library/pickle.rst:506 +#: ../Doc/library/pickle.rst:510 msgid "classes that are defined at the top level of a module" msgstr "" -#: ../Doc/library/pickle.rst:508 +#: ../Doc/library/pickle.rst:512 msgid "" "instances of such classes whose :attr:`~object.__dict__` or the result of " "calling :meth:`__getstate__` is picklable (see section :ref:`pickle-inst` " "for details)." msgstr "" -#: ../Doc/library/pickle.rst:512 +#: ../Doc/library/pickle.rst:516 msgid "" "Attempts to pickle unpicklable objects will raise the :exc:`PicklingError` " "exception; when this happens, an unspecified number of bytes may have " @@ -725,7 +732,7 @@ msgid "" "limit with :func:`sys.setrecursionlimit`." msgstr "" -#: ../Doc/library/pickle.rst:519 +#: ../Doc/library/pickle.rst:523 msgid "" "Note that functions (built-in and user-defined) are pickled by \"fully " "qualified\" name reference, not by value. [#]_ This means that only the " @@ -736,7 +743,7 @@ msgid "" "exception will be raised. [#]_" msgstr "" -#: ../Doc/library/pickle.rst:526 +#: ../Doc/library/pickle.rst:530 msgid "" "Similarly, classes are pickled by named reference, so the same restrictions " "in the unpickling environment apply. Note that none of the class's code or " @@ -744,13 +751,13 @@ msgid "" "not restored in the unpickling environment::" msgstr "" -#: ../Doc/library/pickle.rst:536 +#: ../Doc/library/pickle.rst:540 msgid "" "These restrictions are why picklable functions and classes must be defined " "in the top level of a module." msgstr "" -#: ../Doc/library/pickle.rst:539 +#: ../Doc/library/pickle.rst:543 msgid "" "Similarly, when class instances are pickled, their class's code and data are " "not pickled along with them. Only the instance data are pickled. This is " @@ -762,17 +769,17 @@ msgid "" "method." msgstr "" -#: ../Doc/library/pickle.rst:551 +#: ../Doc/library/pickle.rst:555 msgid "Pickling Class Instances" msgstr "" -#: ../Doc/library/pickle.rst:555 +#: ../Doc/library/pickle.rst:559 msgid "" "In this section, we describe the general mechanisms available to you to " "define, customize, and control how class instances are pickled and unpickled." msgstr "" -#: ../Doc/library/pickle.rst:558 +#: ../Doc/library/pickle.rst:562 msgid "" "In most cases, no additional code is needed to make instances picklable. By " "default, pickle will retrieve the class and the attributes of an instance " @@ -782,13 +789,13 @@ msgid "" "following code shows an implementation of this behaviour::" msgstr "" -#: ../Doc/library/pickle.rst:573 +#: ../Doc/library/pickle.rst:577 msgid "" "Classes can alter the default behaviour by providing one or several special " "methods:" msgstr "" -#: ../Doc/library/pickle.rst:578 +#: ../Doc/library/pickle.rst:582 msgid "" "In protocols 2 and newer, classes that implements the :meth:" "`__getnewargs_ex__` method can dictate the values passed to the :meth:" @@ -798,37 +805,37 @@ msgid "" "passed to the :meth:`__new__` method upon unpickling." msgstr "" -#: ../Doc/library/pickle.rst:586 +#: ../Doc/library/pickle.rst:590 msgid "" "You should implement this method if the :meth:`__new__` method of your class " "requires keyword-only arguments. Otherwise, it is recommended for " "compatibility to implement :meth:`__getnewargs__`." msgstr "" -#: ../Doc/library/pickle.rst:590 +#: ../Doc/library/pickle.rst:594 msgid ":meth:`__getnewargs_ex__` is now used in protocols 2 and 3." msgstr "" -#: ../Doc/library/pickle.rst:596 +#: ../Doc/library/pickle.rst:600 msgid "" "This method serves a similar purpose as :meth:`__getnewargs_ex__`, but " "supports only positional arguments. It must return a tuple of arguments " "``args`` which will be passed to the :meth:`__new__` method upon unpickling." msgstr "" -#: ../Doc/library/pickle.rst:600 +#: ../Doc/library/pickle.rst:604 msgid "" ":meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is " "defined." msgstr "" -#: ../Doc/library/pickle.rst:603 +#: ../Doc/library/pickle.rst:607 msgid "" "Before Python 3.6, :meth:`__getnewargs__` was called instead of :meth:" "`__getnewargs_ex__` in protocols 2 and 3." msgstr "" -#: ../Doc/library/pickle.rst:610 +#: ../Doc/library/pickle.rst:614 msgid "" "Classes can further influence how their instances are pickled; if the class " "defines the method :meth:`__getstate__`, it is called and the returned " @@ -837,7 +844,7 @@ msgid "" "the instance's :attr:`~object.__dict__` is pickled as usual." msgstr "" -#: ../Doc/library/pickle.rst:619 +#: ../Doc/library/pickle.rst:623 msgid "" "Upon unpickling, if the class defines :meth:`__setstate__`, it is called " "with the unpickled state. In that case, there is no requirement for the " @@ -845,19 +852,19 @@ msgid "" "dictionary and its items are assigned to the new instance's dictionary." msgstr "" -#: ../Doc/library/pickle.rst:626 +#: ../Doc/library/pickle.rst:630 msgid "" "If :meth:`__getstate__` returns a false value, the :meth:`__setstate__` " "method will not be called upon unpickling." msgstr "" -#: ../Doc/library/pickle.rst:630 +#: ../Doc/library/pickle.rst:634 msgid "" "Refer to the section :ref:`pickle-state` for more information about how to " "use the methods :meth:`__getstate__` and :meth:`__setstate__`." msgstr "" -#: ../Doc/library/pickle.rst:635 +#: ../Doc/library/pickle.rst:639 msgid "" "At unpickling time, some methods like :meth:`__getattr__`, :meth:" "`__getattribute__`, or :meth:`__setattr__` may be called upon the instance. " @@ -867,7 +874,7 @@ msgid "" "`__init__` will be called." msgstr "" -#: ../Doc/library/pickle.rst:644 +#: ../Doc/library/pickle.rst:648 msgid "" "As we shall see, pickle does not use directly the methods described above. " "In fact, these methods are part of the copy protocol which implements the :" @@ -876,7 +883,7 @@ msgid "" "objects. [#]_" msgstr "" -#: ../Doc/library/pickle.rst:650 +#: ../Doc/library/pickle.rst:654 msgid "" "Although powerful, implementing :meth:`__reduce__` directly in your classes " "is error prone. For this reason, class designers should use the high-level " @@ -886,14 +893,14 @@ msgid "" "pickling or both." msgstr "" -#: ../Doc/library/pickle.rst:659 +#: ../Doc/library/pickle.rst:663 msgid "" "The interface is currently defined as follows. The :meth:`__reduce__` " "method takes no argument and shall return either a string or preferably a " "tuple (the returned object is often referred to as the \"reduce value\")." msgstr "" -#: ../Doc/library/pickle.rst:663 +#: ../Doc/library/pickle.rst:667 msgid "" "If a string is returned, the string should be interpreted as the name of a " "global variable. It should be the object's local name relative to its " @@ -901,26 +908,26 @@ msgid "" "object's module. This behaviour is typically useful for singletons." msgstr "" -#: ../Doc/library/pickle.rst:668 +#: ../Doc/library/pickle.rst:672 msgid "" "When a tuple is returned, it must be between two and six items long. " "Optional items can either be omitted, or ``None`` can be provided as their " "value. The semantics of each item are in order:" msgstr "" -#: ../Doc/library/pickle.rst:674 +#: ../Doc/library/pickle.rst:678 msgid "" "A callable object that will be called to create the initial version of the " "object." msgstr "" -#: ../Doc/library/pickle.rst:677 +#: ../Doc/library/pickle.rst:681 msgid "" "A tuple of arguments for the callable object. An empty tuple must be given " "if the callable does not accept any argument." msgstr "" -#: ../Doc/library/pickle.rst:680 +#: ../Doc/library/pickle.rst:684 msgid "" "Optionally, the object's state, which will be passed to the object's :meth:" "`__setstate__` method as previously described. If the object has no such " @@ -928,7 +935,7 @@ msgid "" "object's :attr:`~object.__dict__` attribute." msgstr "" -#: ../Doc/library/pickle.rst:685 +#: ../Doc/library/pickle.rst:689 msgid "" "Optionally, an iterator (and not a sequence) yielding successive items. " "These items will be appended to the object either using ``obj.append(item)`` " @@ -940,7 +947,7 @@ msgid "" "must be supported.)" msgstr "" -#: ../Doc/library/pickle.rst:694 +#: ../Doc/library/pickle.rst:698 msgid "" "Optionally, an iterator (not a sequence) yielding successive key-value " "pairs. These items will be stored to the object using ``obj[key] = " @@ -948,7 +955,7 @@ msgid "" "by other classes as long as they implement :meth:`__setitem__`." msgstr "" -#: ../Doc/library/pickle.rst:699 +#: ../Doc/library/pickle.rst:703 msgid "" "Optionally, a callable with a ``(obj, state)`` signature. This callable " "allows the user to programmatically control the state-updating behavior of a " @@ -957,11 +964,11 @@ msgid "" "meth:`__setstate__`." msgstr "" -#: ../Doc/library/pickle.rst:705 +#: ../Doc/library/pickle.rst:709 msgid "The optional sixth tuple item, ``(obj, state)``, was added." msgstr "" -#: ../Doc/library/pickle.rst:711 +#: ../Doc/library/pickle.rst:715 msgid "" "Alternatively, a :meth:`__reduce_ex__` method may be defined. The only " "difference is this method should take a single integer argument, the " @@ -971,11 +978,11 @@ msgid "" "provide backwards-compatible reduce values for older Python releases." msgstr "" -#: ../Doc/library/pickle.rst:723 +#: ../Doc/library/pickle.rst:727 msgid "Persistence of External Objects" msgstr "" -#: ../Doc/library/pickle.rst:729 +#: ../Doc/library/pickle.rst:733 msgid "" "For the benefit of object persistence, the :mod:`pickle` module supports the " "notion of a reference to an object outside the pickled data stream. Such " @@ -984,7 +991,7 @@ msgid "" "(for any newer protocol)." msgstr "" -#: ../Doc/library/pickle.rst:735 +#: ../Doc/library/pickle.rst:739 msgid "" "The resolution of such persistent IDs is not defined by the :mod:`pickle` " "module; it will delegate this resolution to the user-defined methods on the " @@ -992,7 +999,7 @@ msgid "" "persistent_load` respectively." msgstr "" -#: ../Doc/library/pickle.rst:740 +#: ../Doc/library/pickle.rst:744 msgid "" "To pickle objects that have an external persistent ID, the pickler must have " "a custom :meth:`~Pickler.persistent_id` method that takes an object as an " @@ -1003,59 +1010,59 @@ msgid "" "persistent ID." msgstr "" -#: ../Doc/library/pickle.rst:747 +#: ../Doc/library/pickle.rst:751 msgid "" "To unpickle external objects, the unpickler must have a custom :meth:" "`~Unpickler.persistent_load` method that takes a persistent ID object and " "returns the referenced object." msgstr "" -#: ../Doc/library/pickle.rst:751 +#: ../Doc/library/pickle.rst:755 msgid "" "Here is a comprehensive example presenting how persistent ID can be used to " "pickle external objects by reference." msgstr "" -#: ../Doc/library/pickle.rst:759 +#: ../Doc/library/pickle.rst:763 msgid "Dispatch Tables" msgstr "" -#: ../Doc/library/pickle.rst:761 +#: ../Doc/library/pickle.rst:765 msgid "" "If one wants to customize pickling of some classes without disturbing any " "other code which depends on pickling, then one can create a pickler with a " "private dispatch table." msgstr "" -#: ../Doc/library/pickle.rst:765 +#: ../Doc/library/pickle.rst:769 msgid "" "The global dispatch table managed by the :mod:`copyreg` module is available " "as :data:`copyreg.dispatch_table`. Therefore, one may choose to use a " "modified copy of :data:`copyreg.dispatch_table` as a private dispatch table." msgstr "" -#: ../Doc/library/pickle.rst:770 +#: ../Doc/library/pickle.rst:774 msgid "For example ::" msgstr "Par exemple ::" -#: ../Doc/library/pickle.rst:777 +#: ../Doc/library/pickle.rst:781 msgid "" "creates an instance of :class:`pickle.Pickler` with a private dispatch table " "which handles the ``SomeClass`` class specially. Alternatively, the code ::" msgstr "" -#: ../Doc/library/pickle.rst:787 +#: ../Doc/library/pickle.rst:791 msgid "" "does the same, but all instances of ``MyPickler`` will by default share the " "same dispatch table. The equivalent code using the :mod:`copyreg` module " "is ::" msgstr "" -#: ../Doc/library/pickle.rst:798 +#: ../Doc/library/pickle.rst:802 msgid "Handling Stateful Objects" msgstr "" -#: ../Doc/library/pickle.rst:804 +#: ../Doc/library/pickle.rst:808 msgid "" "Here's an example that shows how to modify pickling behavior for a class. " "The :class:`TextReader` class opens a text file, and returns the line number " @@ -1067,15 +1074,15 @@ msgid "" "behavior. ::" msgstr "" -#: ../Doc/library/pickle.rst:850 +#: ../Doc/library/pickle.rst:854 msgid "A sample usage might be something like this::" msgstr "" -#: ../Doc/library/pickle.rst:864 +#: ../Doc/library/pickle.rst:868 msgid "Custom Reduction for Types, Functions, and Other Objects" msgstr "" -#: ../Doc/library/pickle.rst:868 +#: ../Doc/library/pickle.rst:872 msgid "" "Sometimes, :attr:`~Pickler.dispatch_table` may not be flexible enough. In " "particular we may want to customize pickling based on another criterion than " @@ -1083,7 +1090,7 @@ msgid "" "classes." msgstr "" -#: ../Doc/library/pickle.rst:873 +#: ../Doc/library/pickle.rst:877 msgid "" "For those cases, it is possible to subclass from the :class:`Pickler` class " "and implement a :meth:`~Pickler.reducer_override` method. This method can " @@ -1092,14 +1099,14 @@ msgid "" "behavior." msgstr "" -#: ../Doc/library/pickle.rst:878 +#: ../Doc/library/pickle.rst:882 msgid "" "If both the :attr:`~Pickler.dispatch_table` and :meth:`~Pickler." "reducer_override` are defined, then :meth:`~Pickler.reducer_override` method " "takes priority." msgstr "" -#: ../Doc/library/pickle.rst:883 +#: ../Doc/library/pickle.rst:887 msgid "" "For performance reasons, :meth:`~Pickler.reducer_override` may not be called " "for the following objects: ``None``, ``True``, ``False``, and exact " @@ -1108,17 +1115,17 @@ msgid "" "`tuple`." msgstr "" -#: ../Doc/library/pickle.rst:889 +#: ../Doc/library/pickle.rst:893 msgid "" "Here is a simple example where we allow pickling and reconstructing a given " "class::" msgstr "" -#: ../Doc/library/pickle.rst:924 +#: ../Doc/library/pickle.rst:928 msgid "Out-of-band Buffers" msgstr "" -#: ../Doc/library/pickle.rst:928 +#: ../Doc/library/pickle.rst:932 msgid "" "In some contexts, the :mod:`pickle` module is used to transfer massive " "amounts of data. Therefore, it can be important to minimize the number of " @@ -1128,7 +1135,7 @@ msgid "" "involves copying data to and from the pickle stream." msgstr "" -#: ../Doc/library/pickle.rst:935 +#: ../Doc/library/pickle.rst:939 msgid "" "This constraint can be eschewed if both the *provider* (the implementation " "of the object types to be transferred) and the *consumer* (the " @@ -1136,11 +1143,11 @@ msgid "" "transfer facilities provided by pickle protocol 5 and higher." msgstr "" -#: ../Doc/library/pickle.rst:941 +#: ../Doc/library/pickle.rst:945 msgid "Provider API" msgstr "" -#: ../Doc/library/pickle.rst:943 +#: ../Doc/library/pickle.rst:947 msgid "" "The large data objects to be pickled must implement a :meth:`__reduce_ex__` " "method specialized for protocol 5 and higher, which returns a :class:" @@ -1148,7 +1155,7 @@ msgid "" "large data." msgstr "" -#: ../Doc/library/pickle.rst:948 +#: ../Doc/library/pickle.rst:952 msgid "" "A :class:`PickleBuffer` object *signals* that the underlying buffer is " "eligible for out-of-band data transfer. Those objects remain compatible " @@ -1157,17 +1164,17 @@ msgid "" "themselves." msgstr "" -#: ../Doc/library/pickle.rst:955 +#: ../Doc/library/pickle.rst:959 msgid "Consumer API" msgstr "" -#: ../Doc/library/pickle.rst:957 +#: ../Doc/library/pickle.rst:961 msgid "" "A communications system can enable custom handling of the :class:" "`PickleBuffer` objects generated when serializing an object graph." msgstr "" -#: ../Doc/library/pickle.rst:960 +#: ../Doc/library/pickle.rst:964 msgid "" "On the sending side, it needs to pass a *buffer_callback* argument to :class:" "`Pickler` (or to the :func:`dump` or :func:`dumps` function), which will be " @@ -1176,7 +1183,7 @@ msgid "" "copied into the pickle stream, only a cheap marker will be inserted." msgstr "" -#: ../Doc/library/pickle.rst:967 +#: ../Doc/library/pickle.rst:971 msgid "" "On the receiving side, it needs to pass a *buffers* argument to :class:" "`Unpickler` (or to the :func:`load` or :func:`loads` function), which is an " @@ -1187,7 +1194,7 @@ msgid "" "`PickleBuffer` objects." msgstr "" -#: ../Doc/library/pickle.rst:975 +#: ../Doc/library/pickle.rst:979 msgid "" "Between the sending side and the receiving side, the communications system " "is free to implement its own transfer mechanism for out-of-band buffers. " @@ -1195,37 +1202,37 @@ msgid "" "dependent compression." msgstr "" -#: ../Doc/library/pickle.rst:981 +#: ../Doc/library/pickle.rst:985 #, fuzzy msgid "Example" msgstr "Exemples" -#: ../Doc/library/pickle.rst:983 +#: ../Doc/library/pickle.rst:987 msgid "" "Here is a trivial example where we implement a :class:`bytearray` subclass " "able to participate in out-of-band buffer pickling::" msgstr "" -#: ../Doc/library/pickle.rst:1007 +#: ../Doc/library/pickle.rst:1011 msgid "" "The reconstructor (the ``_reconstruct`` class method) returns the buffer's " "providing object if it has the right type. This is an easy way to simulate " "zero-copy behaviour on this toy example." msgstr "" -#: ../Doc/library/pickle.rst:1011 +#: ../Doc/library/pickle.rst:1015 msgid "" "On the consumer side, we can pickle those objects the usual way, which when " "unserialized will give us a copy of the original object::" msgstr "" -#: ../Doc/library/pickle.rst:1020 +#: ../Doc/library/pickle.rst:1024 msgid "" "But if we pass a *buffer_callback* and then give back the accumulated " "buffers when unserializing, we are able to get back the original object::" msgstr "" -#: ../Doc/library/pickle.rst:1030 +#: ../Doc/library/pickle.rst:1034 msgid "" "This example is limited by the fact that :class:`bytearray` allocates its " "own memory: you cannot create a :class:`bytearray` instance that is backed " @@ -1235,15 +1242,15 @@ msgid "" "processes or systems." msgstr "" -#: ../Doc/library/pickle.rst:1037 +#: ../Doc/library/pickle.rst:1041 msgid ":pep:`574` -- Pickle protocol 5 with out-of-band data" msgstr "" -#: ../Doc/library/pickle.rst:1043 +#: ../Doc/library/pickle.rst:1047 msgid "Restricting Globals" msgstr "" -#: ../Doc/library/pickle.rst:1048 +#: ../Doc/library/pickle.rst:1052 msgid "" "By default, unpickling will import any class or function that it finds in " "the pickle data. For many applications, this behaviour is unacceptable as " @@ -1251,7 +1258,7 @@ msgid "" "what this hand-crafted pickle data stream does when loaded::" msgstr "" -#: ../Doc/library/pickle.rst:1058 +#: ../Doc/library/pickle.rst:1062 msgid "" "In this example, the unpickler imports the :func:`os.system` function and " "then apply the string argument \"echo hello world\". Although this example " @@ -1259,7 +1266,7 @@ msgid "" "system." msgstr "" -#: ../Doc/library/pickle.rst:1062 +#: ../Doc/library/pickle.rst:1066 msgid "" "For this reason, you may want to control what gets unpickled by customizing :" "meth:`Unpickler.find_class`. Unlike its name suggests, :meth:`Unpickler." @@ -1268,17 +1275,17 @@ msgid "" "restrict them to a safe subset." msgstr "" -#: ../Doc/library/pickle.rst:1068 +#: ../Doc/library/pickle.rst:1072 msgid "" "Here is an example of an unpickler allowing only few safe classes from the :" "mod:`builtins` module to be loaded::" msgstr "" -#: ../Doc/library/pickle.rst:1097 +#: ../Doc/library/pickle.rst:1101 msgid "A sample usage of our unpickler working has intended::" msgstr "" -#: ../Doc/library/pickle.rst:1116 +#: ../Doc/library/pickle.rst:1120 msgid "" "As our examples shows, you have to be careful with what you allow to be " "unpickled. Therefore if security is a concern, you may want to consider " @@ -1286,97 +1293,97 @@ msgid "" "party solutions." msgstr "" -#: ../Doc/library/pickle.rst:1123 +#: ../Doc/library/pickle.rst:1127 msgid "Performance" msgstr "Performances" -#: ../Doc/library/pickle.rst:1125 +#: ../Doc/library/pickle.rst:1129 msgid "" "Recent versions of the pickle protocol (from protocol 2 and upwards) feature " "efficient binary encodings for several common features and built-in types. " "Also, the :mod:`pickle` module has a transparent optimizer written in C." msgstr "" -#: ../Doc/library/pickle.rst:1133 +#: ../Doc/library/pickle.rst:1137 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/pickle.rst:1135 +#: ../Doc/library/pickle.rst:1139 msgid "" "For the simplest code, use the :func:`dump` and :func:`load` functions. ::" msgstr "" -#: ../Doc/library/pickle.rst:1151 +#: ../Doc/library/pickle.rst:1155 msgid "The following example reads the resulting pickled data. ::" msgstr "" -#: ../Doc/library/pickle.rst:1168 +#: ../Doc/library/pickle.rst:1172 msgid "Module :mod:`copyreg`" msgstr "" -#: ../Doc/library/pickle.rst:1168 +#: ../Doc/library/pickle.rst:1172 msgid "Pickle interface constructor registration for extension types." msgstr "" -#: ../Doc/library/pickle.rst:1171 +#: ../Doc/library/pickle.rst:1175 msgid "Module :mod:`pickletools`" msgstr "" -#: ../Doc/library/pickle.rst:1171 +#: ../Doc/library/pickle.rst:1175 msgid "Tools for working with and analyzing pickled data." msgstr "" -#: ../Doc/library/pickle.rst:1174 +#: ../Doc/library/pickle.rst:1178 msgid "Module :mod:`shelve`" msgstr "" -#: ../Doc/library/pickle.rst:1174 +#: ../Doc/library/pickle.rst:1178 msgid "Indexed databases of objects; uses :mod:`pickle`." msgstr "" -#: ../Doc/library/pickle.rst:1177 +#: ../Doc/library/pickle.rst:1181 msgid "Module :mod:`copy`" msgstr "" -#: ../Doc/library/pickle.rst:1177 +#: ../Doc/library/pickle.rst:1181 msgid "Shallow and deep object copying." msgstr "" -#: ../Doc/library/pickle.rst:1179 +#: ../Doc/library/pickle.rst:1183 msgid "Module :mod:`marshal`" msgstr "" -#: ../Doc/library/pickle.rst:1180 +#: ../Doc/library/pickle.rst:1184 msgid "High-performance serialization of built-in types." msgstr "" -#: ../Doc/library/pickle.rst:1184 +#: ../Doc/library/pickle.rst:1188 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/pickle.rst:1185 +#: ../Doc/library/pickle.rst:1189 msgid "Don't confuse this with the :mod:`marshal` module" msgstr "" -#: ../Doc/library/pickle.rst:1187 +#: ../Doc/library/pickle.rst:1191 msgid "" "This is why :keyword:`lambda` functions cannot be pickled: all :keyword:`!" "lambda` functions share the same name: ````." msgstr "" -#: ../Doc/library/pickle.rst:1190 +#: ../Doc/library/pickle.rst:1194 msgid "" "The exception raised will likely be an :exc:`ImportError` or an :exc:" "`AttributeError` but it could be something else." msgstr "" -#: ../Doc/library/pickle.rst:1193 +#: ../Doc/library/pickle.rst:1197 msgid "" "The :mod:`copy` module uses this protocol for shallow and deep copying " "operations." msgstr "" -#: ../Doc/library/pickle.rst:1196 +#: ../Doc/library/pickle.rst:1200 msgid "" "The limitation on alphanumeric characters is due to the fact the persistent " "IDs, in protocol 0, are delimited by the newline character. Therefore if " diff --git a/library/platform.po b/library/platform.po index d1a102f7..5bea289f 100644 --- a/library/platform.po +++ b/library/platform.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -274,8 +274,8 @@ msgstr "" #: ../Doc/library/platform.rst:229 msgid "" -"Returns True if the windows edition returned by win32_edition is recognized " -"as an IoT edition." +"Return ``True`` if the Windows edition returned by :func:`win32_edition` is " +"recognized as an IoT edition." msgstr "" #: ../Doc/library/platform.rst:236 diff --git a/library/plistlib.po b/library/plistlib.po index fc99398c..eac51559 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -271,8 +271,8 @@ msgstr "" #: ../Doc/library/plistlib.rst:191 msgid "" -"It has one attribute, :attr:`data` which can be used to retrieve the int " -"value of the UID. :attr:`data` must be in the range `0 <= data <= 2**64`." +"It has one attribute, :attr:`data`, which can be used to retrieve the int " +"value of the UID. :attr:`data` must be in the range `0 <= data < 2**64`." msgstr "" #: ../Doc/library/plistlib.rst:197 diff --git a/library/sched.po b/library/sched.po index e6249b6a..b17f3470 100644 --- a/library/sched.po +++ b/library/sched.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-03 22:10+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -104,7 +104,7 @@ msgid "" msgstr "" #: ../Doc/library/sched.rst:107 -msgid "Return true if the event queue is empty." +msgid "Return ``True`` if the event queue is empty." msgstr "" #: ../Doc/library/sched.rst:112 diff --git a/library/socket.po b/library/socket.po index 9b453b13..0a483ec0 100644 --- a/library/socket.po +++ b/library/socket.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-18 21:59+0200\n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -1808,9 +1808,9 @@ msgid "" "``None`` or a :term:`bytes-like object` representing a buffer. In the later " "case it is up to the caller to ensure that the bytestring contains the " "proper bits (see the optional built-in module :mod:`struct` for a way to " -"encode C structures as bytestrings). When value is set to ``None``, optlen " -"argument is required. It's equivalent to call setsockopt C function with " -"optval=NULL and optlen=optlen." +"encode C structures as bytestrings). When *value* is set to ``None``, " +"*optlen* argument is required. It's equivalent to call :c:func:`setsockopt` " +"C function with ``optval=NULL`` and ``optlen=optlen``." msgstr "" #: ../Doc/library/socket.rst:1646 diff --git a/library/ssl.po b/library/ssl.po index 392e4dc1..0974770f 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-11-29 18:27+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1824,7 +1824,7 @@ msgstr "" #: ../Doc/library/ssl.rst:1660 msgid "" "This method will raise :exc:`NotImplementedError` if :data:`HAS_ALPN` is " -"False." +"``False``." msgstr "" #: ../Doc/library/ssl.rst:1663 @@ -1849,7 +1849,7 @@ msgstr "" #: ../Doc/library/ssl.rst:1679 msgid "" "This method will raise :exc:`NotImplementedError` if :data:`HAS_NPN` is " -"False." +"``False``." msgstr "" #: ../Doc/library/ssl.rst:1686 diff --git a/library/statistics.po b/library/statistics.po index 78d792bc..e0d397fc 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -201,7 +201,7 @@ msgstr "" #: ../Doc/library/statistics.rst:80 msgid "" "Return the sample arithmetic mean of *data* which can be a sequence or " -"iterator." +"iterable." msgstr "" #: ../Doc/library/statistics.rst:82 @@ -244,7 +244,7 @@ msgstr "" #: ../Doc/library/statistics.rst:124 msgid "" "This runs faster than the :func:`mean` function and it always returns a :" -"class:`float`. The *data* may be a sequence or iterator. If the input " +"class:`float`. The *data* may be a sequence or iterable. If the input " "dataset is empty, raises a :exc:`StatisticsError`." msgstr "" @@ -263,7 +263,7 @@ msgstr "" msgid "" "Raises a :exc:`StatisticsError` if the input dataset is empty, if it " "contains a zero, or if it contains a negative value. The *data* may be a " -"sequence or iterator." +"sequence or iterable." msgstr "" #: ../Doc/library/statistics.rst:148 @@ -274,7 +274,7 @@ msgstr "" #: ../Doc/library/statistics.rst:161 msgid "" -"Return the harmonic mean of *data*, a sequence or iterator of real-valued " +"Return the harmonic mean of *data*, a sequence or iterable of real-valued " "numbers." msgstr "" @@ -283,114 +283,121 @@ msgid "" "The harmonic mean, sometimes called the subcontrary mean, is the reciprocal " "of the arithmetic :func:`mean` of the reciprocals of the data. For example, " "the harmonic mean of three values *a*, *b* and *c* will be equivalent to ``3/" -"(1/a + 1/b + 1/c)``." +"(1/a + 1/b + 1/c)``. If one of the values is zero, the result will be zero." msgstr "" -#: ../Doc/library/statistics.rst:169 +#: ../Doc/library/statistics.rst:170 msgid "" "The harmonic mean is a type of average, a measure of the central location of " "the data. It is often appropriate when averaging rates or ratios, for " "example speeds." msgstr "" -#: ../Doc/library/statistics.rst:173 +#: ../Doc/library/statistics.rst:174 msgid "" "Suppose a car travels 10 km at 40 km/hr, then another 10 km at 60 km/hr. " "What is the average speed?" msgstr "" -#: ../Doc/library/statistics.rst:181 +#: ../Doc/library/statistics.rst:182 msgid "" "Suppose an investor purchases an equal value of shares in each of three " "companies, with P/E (price/earning) ratios of 2.5, 3 and 10. What is the " "average P/E ratio for the investor's portfolio?" msgstr "" -#: ../Doc/library/statistics.rst:190 +#: ../Doc/library/statistics.rst:191 msgid "" ":exc:`StatisticsError` is raised if *data* is empty, or any element is less " "than zero." msgstr "" -#: ../Doc/library/statistics.rst:198 +#: ../Doc/library/statistics.rst:194 +msgid "" +"The current algorithm has an early-out when it encounters a zero in the " +"input. This means that the subsequent inputs are not tested for validity. " +"(This behavior may change in the future.)" +msgstr "" + +#: ../Doc/library/statistics.rst:203 msgid "" "Return the median (middle value) of numeric data, using the common \"mean of " "middle two\" method. If *data* is empty, :exc:`StatisticsError` is raised. " -"*data* can be a sequence or iterator." +"*data* can be a sequence or iterable." msgstr "" -#: ../Doc/library/statistics.rst:202 +#: ../Doc/library/statistics.rst:207 msgid "" "The median is a robust measure of central location and is less affected by " "the presence of outliers. When the number of data points is odd, the middle " "data point is returned:" msgstr "" -#: ../Doc/library/statistics.rst:211 +#: ../Doc/library/statistics.rst:216 msgid "" "When the number of data points is even, the median is interpolated by taking " "the average of the two middle values:" msgstr "" -#: ../Doc/library/statistics.rst:219 +#: ../Doc/library/statistics.rst:224 msgid "" "This is suited for when your data is discrete, and you don't mind that the " "median may not be an actual data point." msgstr "" -#: ../Doc/library/statistics.rst:222 +#: ../Doc/library/statistics.rst:227 msgid "" "If the data is ordinal (supports order operations) but not numeric (doesn't " "support addition), consider using :func:`median_low` or :func:`median_high` " "instead." msgstr "" -#: ../Doc/library/statistics.rst:228 +#: ../Doc/library/statistics.rst:233 msgid "" "Return the low median of numeric data. If *data* is empty, :exc:" -"`StatisticsError` is raised. *data* can be a sequence or iterator." +"`StatisticsError` is raised. *data* can be a sequence or iterable." msgstr "" -#: ../Doc/library/statistics.rst:231 +#: ../Doc/library/statistics.rst:236 msgid "" "The low median is always a member of the data set. When the number of data " "points is odd, the middle value is returned. When it is even, the smaller " "of the two middle values is returned." msgstr "" -#: ../Doc/library/statistics.rst:242 +#: ../Doc/library/statistics.rst:247 msgid "" "Use the low median when your data are discrete and you prefer the median to " "be an actual data point rather than interpolated." msgstr "" -#: ../Doc/library/statistics.rst:248 +#: ../Doc/library/statistics.rst:253 msgid "" "Return the high median of data. If *data* is empty, :exc:`StatisticsError` " -"is raised. *data* can be a sequence or iterator." +"is raised. *data* can be a sequence or iterable." msgstr "" -#: ../Doc/library/statistics.rst:251 +#: ../Doc/library/statistics.rst:256 msgid "" "The high median is always a member of the data set. When the number of data " "points is odd, the middle value is returned. When it is even, the larger of " "the two middle values is returned." msgstr "" -#: ../Doc/library/statistics.rst:262 +#: ../Doc/library/statistics.rst:267 msgid "" "Use the high median when your data are discrete and you prefer the median to " "be an actual data point rather than interpolated." msgstr "" -#: ../Doc/library/statistics.rst:268 +#: ../Doc/library/statistics.rst:273 msgid "" "Return the median of grouped continuous data, calculated as the 50th " "percentile, using interpolation. If *data* is empty, :exc:`StatisticsError` " -"is raised. *data* can be a sequence or iterator." +"is raised. *data* can be a sequence or iterable." msgstr "" -#: ../Doc/library/statistics.rst:277 +#: ../Doc/library/statistics.rst:282 msgid "" "In the following example, the data are rounded, so that each value " "represents the midpoint of data classes, e.g. 1 is the midpoint of the class " @@ -399,31 +406,31 @@ msgid "" "3.5--4.5, and interpolation is used to estimate it:" msgstr "" -#: ../Doc/library/statistics.rst:288 +#: ../Doc/library/statistics.rst:293 msgid "" "Optional argument *interval* represents the class interval, and defaults to " "1. Changing the class interval naturally will change the interpolation:" msgstr "" -#: ../Doc/library/statistics.rst:298 +#: ../Doc/library/statistics.rst:303 msgid "" "This function does not check whether the data points are at least *interval* " "apart." msgstr "" -#: ../Doc/library/statistics.rst:303 +#: ../Doc/library/statistics.rst:308 msgid "" "Under some circumstances, :func:`median_grouped` may coerce data points to " "floats. This behaviour is likely to change in the future." msgstr "" -#: ../Doc/library/statistics.rst:308 +#: ../Doc/library/statistics.rst:313 msgid "" "\"Statistics for the Behavioral Sciences\", Frederick J Gravetter and Larry " "B Wallnau (8th Edition)." msgstr "" -#: ../Doc/library/statistics.rst:311 +#: ../Doc/library/statistics.rst:316 msgid "" "The `SSMEDIAN `_ function in the Gnome Gnumeric " @@ -431,14 +438,14 @@ msgid "" "gnumeric-list/2011-April/msg00018.html>`_." msgstr "" -#: ../Doc/library/statistics.rst:319 +#: ../Doc/library/statistics.rst:324 msgid "" "Return the single most common data point from discrete or nominal *data*. " "The mode (when it exists) is the most typical value and serves as a measure " "of central location." msgstr "" -#: ../Doc/library/statistics.rst:323 +#: ../Doc/library/statistics.rst:328 msgid "" "If there are multiple modes with the same frequency, returns the first one " "encountered in the *data*. If the smallest or largest of those is desired " @@ -446,47 +453,47 @@ msgid "" "input *data* is empty, :exc:`StatisticsError` is raised." msgstr "" -#: ../Doc/library/statistics.rst:328 +#: ../Doc/library/statistics.rst:333 msgid "" "``mode`` assumes discrete data and returns a single value. This is the " "standard treatment of the mode as commonly taught in schools:" msgstr "" -#: ../Doc/library/statistics.rst:336 +#: ../Doc/library/statistics.rst:341 msgid "" "The mode is unique in that it is the only statistic in this package that " "also applies to nominal (non-numeric) data:" msgstr "" -#: ../Doc/library/statistics.rst:344 +#: ../Doc/library/statistics.rst:349 msgid "" "Now handles multimodal datasets by returning the first mode encountered. " "Formerly, it raised :exc:`StatisticsError` when more than one mode was found." msgstr "" -#: ../Doc/library/statistics.rst:352 +#: ../Doc/library/statistics.rst:357 msgid "" "Return a list of the most frequently occurring values in the order they were " "first encountered in the *data*. Will return more than one result if there " "are multiple modes or an empty list if the *data* is empty:" msgstr "" -#: ../Doc/library/statistics.rst:368 +#: ../Doc/library/statistics.rst:373 msgid "" "Return the population standard deviation (the square root of the population " "variance). See :func:`pvariance` for arguments and other details." msgstr "" -#: ../Doc/library/statistics.rst:379 +#: ../Doc/library/statistics.rst:384 msgid "" -"Return the population variance of *data*, a non-empty sequence or iterator " +"Return the population variance of *data*, a non-empty sequence or iterable " "of real-valued numbers. Variance, or second moment about the mean, is a " "measure of the variability (spread or dispersion) of data. A large variance " "indicates that the data is spread out; a small variance indicates it is " "clustered closely around the mean." msgstr "" -#: ../Doc/library/statistics.rst:385 +#: ../Doc/library/statistics.rst:390 msgid "" "If the optional second argument *mu* is given, it is typically the mean of " "the *data*. It can also be used to compute the second moment around a point " @@ -494,39 +501,39 @@ msgid "" "arithmetic mean is automatically calculated." msgstr "" -#: ../Doc/library/statistics.rst:390 +#: ../Doc/library/statistics.rst:395 msgid "" "Use this function to calculate the variance from the entire population. To " "estimate the variance from a sample, the :func:`variance` function is " "usually a better choice." msgstr "" -#: ../Doc/library/statistics.rst:394 +#: ../Doc/library/statistics.rst:399 msgid "Raises :exc:`StatisticsError` if *data* is empty." msgstr "" -#: ../Doc/library/statistics.rst:396 ../Doc/library/statistics.rst:466 +#: ../Doc/library/statistics.rst:401 ../Doc/library/statistics.rst:471 msgid "Examples:" msgstr "Exemples :" -#: ../Doc/library/statistics.rst:404 +#: ../Doc/library/statistics.rst:409 msgid "" "If you have already calculated the mean of your data, you can pass it as the " "optional second argument *mu* to avoid recalculation:" msgstr "" -#: ../Doc/library/statistics.rst:413 +#: ../Doc/library/statistics.rst:418 msgid "Decimals and Fractions are supported:" msgstr "" -#: ../Doc/library/statistics.rst:427 +#: ../Doc/library/statistics.rst:432 msgid "" "When called with the entire population, this gives the population variance " "σ². When called on a sample instead, this is the biased sample variance s², " "also known as variance with N degrees of freedom." msgstr "" -#: ../Doc/library/statistics.rst:431 +#: ../Doc/library/statistics.rst:436 msgid "" "If you somehow know the true population mean μ, you may use this function to " "calculate the variance of a sample, giving the known population mean as the " @@ -535,13 +542,13 @@ msgid "" "variance." msgstr "" -#: ../Doc/library/statistics.rst:440 +#: ../Doc/library/statistics.rst:445 msgid "" "Return the sample standard deviation (the square root of the sample " "variance). See :func:`variance` for arguments and other details." msgstr "" -#: ../Doc/library/statistics.rst:451 +#: ../Doc/library/statistics.rst:456 msgid "" "Return the sample variance of *data*, an iterable of at least two real-" "valued numbers. Variance, or second moment about the mean, is a measure of " @@ -550,41 +557,41 @@ msgid "" "closely around the mean." msgstr "" -#: ../Doc/library/statistics.rst:457 +#: ../Doc/library/statistics.rst:462 msgid "" "If the optional second argument *xbar* is given, it should be the mean of " "*data*. If it is missing or ``None`` (the default), the mean is " "automatically calculated." msgstr "" -#: ../Doc/library/statistics.rst:461 +#: ../Doc/library/statistics.rst:466 msgid "" "Use this function when your data is a sample from a population. To calculate " "the variance from the entire population, see :func:`pvariance`." msgstr "" -#: ../Doc/library/statistics.rst:464 +#: ../Doc/library/statistics.rst:469 msgid "Raises :exc:`StatisticsError` if *data* has fewer than two values." msgstr "" -#: ../Doc/library/statistics.rst:474 +#: ../Doc/library/statistics.rst:479 msgid "" "If you have already calculated the mean of your data, you can pass it as the " "optional second argument *xbar* to avoid recalculation:" msgstr "" -#: ../Doc/library/statistics.rst:483 +#: ../Doc/library/statistics.rst:488 msgid "" "This function does not attempt to verify that you have passed the actual " "mean as *xbar*. Using arbitrary values for *xbar* can lead to invalid or " "impossible results." msgstr "" -#: ../Doc/library/statistics.rst:487 +#: ../Doc/library/statistics.rst:492 msgid "Decimal and Fraction values are supported:" msgstr "" -#: ../Doc/library/statistics.rst:501 +#: ../Doc/library/statistics.rst:506 msgid "" "This is the sample variance s² with Bessel's correction, also known as " "variance with N-1 degrees of freedom. Provided that the data points are " @@ -592,20 +599,20 @@ msgid "" "should be an unbiased estimate of the true population variance." msgstr "" -#: ../Doc/library/statistics.rst:506 +#: ../Doc/library/statistics.rst:511 msgid "" "If you somehow know the actual population mean μ you should pass it to the :" "func:`pvariance` function as the *mu* parameter to get the variance of a " "sample." msgstr "" -#: ../Doc/library/statistics.rst:512 +#: ../Doc/library/statistics.rst:517 msgid "" "Divide *data* into *n* continuous intervals with equal probability. Returns " "a list of ``n - 1`` cut points separating the intervals." msgstr "" -#: ../Doc/library/statistics.rst:515 +#: ../Doc/library/statistics.rst:520 msgid "" "Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set " "*n* to 100 for percentiles which gives the 99 cuts points that separate " @@ -613,28 +620,28 @@ msgid "" "not least 1." msgstr "" -#: ../Doc/library/statistics.rst:520 +#: ../Doc/library/statistics.rst:525 msgid "" "The *data* can be any iterable containing sample data. For meaningful " "results, the number of data points in *data* should be larger than *n*. " "Raises :exc:`StatisticsError` if there are not at least two data points." msgstr "" -#: ../Doc/library/statistics.rst:524 +#: ../Doc/library/statistics.rst:529 msgid "" "The cut points are linearly interpolated from the two nearest data points. " "For example, if a cut point falls one-third of the distance between two " "sample values, ``100`` and ``112``, the cut-point will evaluate to ``104``." msgstr "" -#: ../Doc/library/statistics.rst:529 +#: ../Doc/library/statistics.rst:534 msgid "" "The *method* for computing quantiles can be varied depending on whether the " "*data* includes or excludes the lowest and highest possible values from the " "population." msgstr "" -#: ../Doc/library/statistics.rst:533 +#: ../Doc/library/statistics.rst:538 msgid "" "The default *method* is \"exclusive\" and is used for data sampled from a " "population that can have more extreme values than found in the samples. The " @@ -644,7 +651,7 @@ msgid "" "70%, 80%, 90%." msgstr "" -#: ../Doc/library/statistics.rst:540 +#: ../Doc/library/statistics.rst:545 msgid "" "Setting the *method* to \"inclusive\" is used for describing population data " "or for samples that are known to include the most extreme values from the " @@ -656,23 +663,23 @@ msgid "" "80%, 90%, 100%." msgstr "" -#: ../Doc/library/statistics.rst:564 +#: ../Doc/library/statistics.rst:569 msgid "Exceptions" msgstr "Exceptions" -#: ../Doc/library/statistics.rst:566 +#: ../Doc/library/statistics.rst:571 msgid "A single exception is defined:" msgstr "" -#: ../Doc/library/statistics.rst:570 +#: ../Doc/library/statistics.rst:575 msgid "Subclass of :exc:`ValueError` for statistics-related exceptions." msgstr "" -#: ../Doc/library/statistics.rst:574 +#: ../Doc/library/statistics.rst:579 msgid ":class:`NormalDist` objects" msgstr "" -#: ../Doc/library/statistics.rst:576 +#: ../Doc/library/statistics.rst:581 msgid "" ":class:`NormalDist` is a tool for creating and manipulating normal " "distributions of a `random variable `_ and have a wide range of " "applications in statistics." msgstr "" -#: ../Doc/library/statistics.rst:588 +#: ../Doc/library/statistics.rst:593 msgid "" "Returns a new *NormalDist* object where *mu* represents the `arithmetic mean " "`_ and *sigma* represents the " "`standard deviation `_." msgstr "" -#: ../Doc/library/statistics.rst:593 +#: ../Doc/library/statistics.rst:598 msgid "If *sigma* is negative, raises :exc:`StatisticsError`." msgstr "" -#: ../Doc/library/statistics.rst:597 +#: ../Doc/library/statistics.rst:602 msgid "" "A read-only property for the `arithmetic mean `_ of a normal distribution." msgstr "" -#: ../Doc/library/statistics.rst:603 +#: ../Doc/library/statistics.rst:608 msgid "" "A read-only property for the `median `_ of a normal distribution." msgstr "" -#: ../Doc/library/statistics.rst:609 +#: ../Doc/library/statistics.rst:614 msgid "" "A read-only property for the `mode `_ of a normal distribution." msgstr "" -#: ../Doc/library/statistics.rst:615 +#: ../Doc/library/statistics.rst:620 msgid "" "A read-only property for the `standard deviation `_ of a normal distribution." msgstr "" -#: ../Doc/library/statistics.rst:621 +#: ../Doc/library/statistics.rst:626 msgid "" "A read-only property for the `variance `_ of a normal distribution. Equal to the square of the standard " "deviation." msgstr "" -#: ../Doc/library/statistics.rst:627 +#: ../Doc/library/statistics.rst:632 msgid "" "Makes a normal distribution instance with *mu* and *sigma* parameters " "estimated from the *data* using :func:`fmean` and :func:`stdev`." msgstr "" -#: ../Doc/library/statistics.rst:630 +#: ../Doc/library/statistics.rst:635 msgid "" "The *data* can be any :term:`iterable` and should consist of values that can " "be converted to type :class:`float`. If *data* does not contain at least " @@ -744,20 +751,20 @@ msgid "" "dispersion." msgstr "" -#: ../Doc/library/statistics.rst:638 +#: ../Doc/library/statistics.rst:643 msgid "" "Generates *n* random samples for a given mean and standard deviation. " "Returns a :class:`list` of :class:`float` values." msgstr "" -#: ../Doc/library/statistics.rst:641 +#: ../Doc/library/statistics.rst:646 msgid "" "If *seed* is given, creates a new instance of the underlying random number " "generator. This is useful for creating reproducible results, even in a " "multi-threading context." msgstr "" -#: ../Doc/library/statistics.rst:647 +#: ../Doc/library/statistics.rst:652 msgid "" "Using a `probability density function (pdf) `_, compute the relative likelihood that a " @@ -765,7 +772,7 @@ msgid "" "the limit of the ratio ``P(x <= X < x+dx) / dx`` as *dx* approaches zero." msgstr "" -#: ../Doc/library/statistics.rst:653 +#: ../Doc/library/statistics.rst:658 msgid "" "The relative likelihood is computed as the probability of a sample occurring " "in a narrow range divided by the width of the range (hence the word \"density" @@ -773,7 +780,7 @@ msgid "" "greater than `1.0`." msgstr "" -#: ../Doc/library/statistics.rst:660 +#: ../Doc/library/statistics.rst:665 msgid "" "Using a `cumulative distribution function (cdf) `_, compute the probability that a " @@ -781,7 +788,7 @@ msgid "" "is written ``P(X <= x)``." msgstr "" -#: ../Doc/library/statistics.rst:667 +#: ../Doc/library/statistics.rst:672 msgid "" "Compute the inverse cumulative distribution function, also known as the " "`quantile function `_ or " @@ -790,47 +797,47 @@ msgid "" "``x : P(X <= x) = p``." msgstr "" -#: ../Doc/library/statistics.rst:673 +#: ../Doc/library/statistics.rst:678 msgid "" "Finds the value *x* of the random variable *X* such that the probability of " "the variable being less than or equal to that value equals the given " "probability *p*." msgstr "" -#: ../Doc/library/statistics.rst:679 +#: ../Doc/library/statistics.rst:684 msgid "" "Measures the agreement between two normal probability distributions. Returns " "a value between 0.0 and 1.0 giving `the overlapping area for the two " "probability density functions `_." msgstr "" -#: ../Doc/library/statistics.rst:686 +#: ../Doc/library/statistics.rst:691 msgid "" "Divide the normal distribution into *n* continuous intervals with equal " "probability. Returns a list of (n - 1) cut points separating the intervals." msgstr "" -#: ../Doc/library/statistics.rst:690 +#: ../Doc/library/statistics.rst:695 msgid "" "Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set " "*n* to 100 for percentiles which gives the 99 cuts points that separate the " "normal distribution into 100 equal sized groups." msgstr "" -#: ../Doc/library/statistics.rst:694 +#: ../Doc/library/statistics.rst:699 msgid "" "Instances of :class:`NormalDist` support addition, subtraction, " "multiplication and division by a constant. These operations are used for " "translation and scaling. For example:" msgstr "" -#: ../Doc/library/statistics.rst:704 +#: ../Doc/library/statistics.rst:709 msgid "" "Dividing a constant by an instance of :class:`NormalDist` is not supported " "because the result wouldn't be normally distributed." msgstr "" -#: ../Doc/library/statistics.rst:707 +#: ../Doc/library/statistics.rst:712 msgid "" "Since normal distributions arise from additive effects of independent " "variables, it is possible to `add and subtract two independent normally " @@ -839,15 +846,15 @@ msgid "" "class:`NormalDist`. For example:" msgstr "" -#: ../Doc/library/statistics.rst:727 +#: ../Doc/library/statistics.rst:732 msgid ":class:`NormalDist` Examples and Recipes" msgstr "" -#: ../Doc/library/statistics.rst:729 +#: ../Doc/library/statistics.rst:734 msgid ":class:`NormalDist` readily solves classic probability problems." msgstr "" -#: ../Doc/library/statistics.rst:731 +#: ../Doc/library/statistics.rst:736 msgid "" "For example, given `historical data for SAT exams `_ showing that scores are normally distributed " @@ -856,24 +863,24 @@ msgid "" "rounding to the nearest whole number:" msgstr "" -#: ../Doc/library/statistics.rst:744 +#: ../Doc/library/statistics.rst:749 msgid "" "Find the `quartiles `_ and `deciles " "`_ for the SAT scores:" msgstr "" -#: ../Doc/library/statistics.rst:754 +#: ../Doc/library/statistics.rst:759 msgid "" "To estimate the distribution for a model than isn't easy to solve " "analytically, :class:`NormalDist` can generate input samples for a `Monte " "Carlo simulation `_:" msgstr "" -#: ../Doc/library/statistics.rst:770 +#: ../Doc/library/statistics.rst:775 msgid "Normal distributions commonly arise in machine learning problems." msgstr "" -#: ../Doc/library/statistics.rst:772 +#: ../Doc/library/statistics.rst:777 msgid "" "Wikipedia has a `nice example of a Naive Bayesian Classifier `_. The " @@ -881,20 +888,20 @@ msgid "" "distributed features including height, weight, and foot size." msgstr "" -#: ../Doc/library/statistics.rst:777 +#: ../Doc/library/statistics.rst:782 msgid "" "We're given a training dataset with measurements for eight people. The " "measurements are assumed to be normally distributed, so we summarize the " "data with :class:`NormalDist`:" msgstr "" -#: ../Doc/library/statistics.rst:790 +#: ../Doc/library/statistics.rst:795 msgid "" "Next, we encounter a new person whose feature measurements are known but " "whose gender is unknown:" msgstr "" -#: ../Doc/library/statistics.rst:799 +#: ../Doc/library/statistics.rst:804 msgid "" "Starting with a 50% `prior probability `_ of being male or female, we compute the posterior as " @@ -902,7 +909,7 @@ msgid "" "given the gender:" msgstr "" -#: ../Doc/library/statistics.rst:814 +#: ../Doc/library/statistics.rst:819 msgid "" "The final prediction goes to the largest posterior. This is known as the " "`maximum a posteriori \n" "Language-Team: FRENCH \n" @@ -2816,11 +2816,12 @@ msgstr "" "est introuvable." #: ../Doc/library/stdtypes.rst:1665 +#, fuzzy msgid "" -"Return true if all characters in the string are alphanumeric and there is at " -"least one character, false otherwise. A character ``c`` is alphanumeric if " -"one of the following returns ``True``: ``c.isalpha()``, ``c.isdecimal()``, " -"``c.isdigit()``, or ``c.isnumeric()``." +"Return ``True`` if all characters in the string are alphanumeric and there " +"is at least one character, ``False`` otherwise. A character ``c`` is " +"alphanumeric if one of the following returns ``True``: ``c.isalpha()``, ``c." +"isdecimal()``, ``c.isdigit()``, or ``c.isnumeric()``." msgstr "" "Donne ``True`` si tous les caractères de la chaîne sont alphanumériques et " "qu'il y a au moins un caractère, sinon ``False``. Un caractère ``c`` est " @@ -2828,12 +2829,13 @@ msgstr "" "isdecimal()``, ``c.isdigit()`` ou ``c.isnumeric()``." #: ../Doc/library/stdtypes.rst:1673 +#, fuzzy msgid "" -"Return true if all characters in the string are alphabetic and there is at " -"least one character, false otherwise. Alphabetic characters are those " -"characters defined in the Unicode character database as \"Letter\", i.e., " -"those with general category property being one of \"Lm\", \"Lt\", \"Lu\", " -"\"Ll\", or \"Lo\". Note that this is different from the \"Alphabetic\" " +"Return ``True`` if all characters in the string are alphabetic and there is " +"at least one character, ``False`` otherwise. Alphabetic characters are " +"those characters defined in the Unicode character database as \"Letter\", i." +"e., those with general category property being one of \"Lm\", \"Lt\", \"Lu" +"\", \"Ll\", or \"Lo\". Note that this is different from the \"Alphabetic\" " "property defined in the Unicode Standard." msgstr "" "Donne ``True`` si tous les caractères de la chaîne sont alphabétiques et " @@ -2844,9 +2846,10 @@ msgstr "" "différent de la propriété *Alphabetic* définie dans la norme Unicode." #: ../Doc/library/stdtypes.rst:1682 +#, fuzzy msgid "" -"Return true if the string is empty or all characters in the string are " -"ASCII, false otherwise. ASCII characters have code points in the range U" +"Return ``True`` if the string is empty or all characters in the string are " +"ASCII, ``False`` otherwise. ASCII characters have code points in the range U" "+0000-U+007F." msgstr "" "Donne ``True`` si la chaîne est vide ou ne contient que des caractères " @@ -2854,12 +2857,13 @@ msgstr "" "\"U+0000\"``\\ ---\\ ``\"U+007F\"``." #: ../Doc/library/stdtypes.rst:1691 +#, fuzzy msgid "" -"Return true if all characters in the string are decimal characters and there " -"is at least one character, false otherwise. Decimal characters are those " -"that can be used to form numbers in base 10, e.g. U+0660, ARABIC-INDIC DIGIT " -"ZERO. Formally a decimal character is a character in the Unicode General " -"Category \"Nd\"." +"Return ``True`` if all characters in the string are decimal characters and " +"there is at least one character, ``False`` otherwise. Decimal characters are " +"those that can be used to form numbers in base 10, e.g. U+0660, ARABIC-INDIC " +"DIGIT ZERO. Formally a decimal character is a character in the Unicode " +"General Category \"Nd\"." msgstr "" "Renvoie vrai si tous les caractères de la chaîne sont des caractères " "décimaux et qu'elle contient au moins un caractère, sinon faux. Les " @@ -2868,10 +2872,11 @@ msgstr "" "caractère décimal est un caractère dans la catégorie Unicode générale \"Nd\"." #: ../Doc/library/stdtypes.rst:1701 +#, fuzzy msgid "" -"Return true if all characters in the string are digits and there is at least " -"one character, false otherwise. Digits include decimal characters and " -"digits that need special handling, such as the compatibility superscript " +"Return ``True`` if all characters in the string are digits and there is at " +"least one character, ``False`` otherwise. Digits include decimal characters " +"and digits that need special handling, such as the compatibility superscript " "digits. This covers digits which cannot be used to form numbers in base 10, " "like the Kharosthi numbers. Formally, a digit is a character that has the " "property value Numeric_Type=Digit or Numeric_Type=Decimal." @@ -2886,9 +2891,10 @@ msgstr "" "*Decimal*." #: ../Doc/library/stdtypes.rst:1711 +#, fuzzy msgid "" -"Return true if the string is a valid identifier according to the language " -"definition, section :ref:`identifiers`." +"Return ``True`` if the string is a valid identifier according to the " +"language definition, section :ref:`identifiers`." msgstr "" "Donne ``True`` si la chaîne est un identifiant valide selon la définition du " "langage, section :ref:`identifiers`." @@ -2908,20 +2914,22 @@ msgid "Example: ::" msgstr "Par exemple ::" #: ../Doc/library/stdtypes.rst:1730 +#, fuzzy msgid "" -"Return true if all cased characters [4]_ in the string are lowercase and " -"there is at least one cased character, false otherwise." +"Return ``True`` if all cased characters [4]_ in the string are lowercase and " +"there is at least one cased character, ``False`` otherwise." msgstr "" "Donne ``True`` si tous les caractères capitalisables [4]_ de la chaîne sont " "en minuscules et qu'elle contient au moins un caractère capitalisable. Donne " "``False`` dans le cas contraire." #: ../Doc/library/stdtypes.rst:1736 +#, fuzzy msgid "" -"Return true if all characters in the string are numeric characters, and " -"there is at least one character, false otherwise. Numeric characters include " -"digit characters, and all characters that have the Unicode numeric value " -"property, e.g. U+2155, VULGAR FRACTION ONE FIFTH. Formally, numeric " +"Return ``True`` if all characters in the string are numeric characters, and " +"there is at least one character, ``False`` otherwise. Numeric characters " +"include digit characters, and all characters that have the Unicode numeric " +"value property, e.g. U+2155, VULGAR FRACTION ONE FIFTH. Formally, numeric " "characters are those with the property value Numeric_Type=Digit, " "Numeric_Type=Decimal or Numeric_Type=Numeric." msgstr "" @@ -2934,9 +2942,10 @@ msgstr "" "*Numeric_Type=Numeric*." #: ../Doc/library/stdtypes.rst:1746 +#, fuzzy msgid "" -"Return true if all characters in the string are printable or the string is " -"empty, false otherwise. Nonprintable characters are those characters " +"Return ``True`` if all characters in the string are printable or the string " +"is empty, ``False`` otherwise. Nonprintable characters are those characters " "defined in the Unicode character database as \"Other\" or \"Separator\", " "excepting the ASCII space (0x20) which is considered printable. (Note that " "printable characters in this context are those which should not be escaped " @@ -2955,8 +2964,8 @@ msgstr "" #: ../Doc/library/stdtypes.rst:1757 #, fuzzy msgid "" -"Return true if there are only whitespace characters in the string and there " -"is at least one character, false otherwise." +"Return ``True`` if there are only whitespace characters in the string and " +"there is at least one character, ``False`` otherwise." msgstr "" "Donne ``True`` si tous les caractères capitalisables [4]_ de la chaîne sont " "en minuscules et qu'elle contient au moins un caractère capitalisable. Donne " @@ -2970,10 +2979,12 @@ msgid "" msgstr "" #: ../Doc/library/stdtypes.rst:1768 +#, fuzzy msgid "" -"Return true if the string is a titlecased string and there is at least one " -"character, for example uppercase characters may only follow uncased " -"characters and lowercase characters only cased ones. Return false otherwise." +"Return ``True`` if the string is a titlecased string and there is at least " +"one character, for example uppercase characters may only follow uncased " +"characters and lowercase characters only cased ones. Return ``False`` " +"otherwise." msgstr "" "Donne ``True`` si la chaîne est une chaîne *titlecased* et qu'elle contient " "au moins un caractère, par exemple les caractères majuscules ne peuvent " @@ -2982,9 +2993,10 @@ msgstr "" "cas contraire." #: ../Doc/library/stdtypes.rst:1775 +#, fuzzy msgid "" -"Return true if all cased characters [4]_ in the string are uppercase and " -"there is at least one cased character, false otherwise." +"Return ``True`` if all cased characters [4]_ in the string are uppercase and " +"there is at least one cased character, ``False`` otherwise." msgstr "" "Donne ``True`` si tous les caractères différentiables sur la casse [4]_ de " "la chaîne sont en majuscules et il y a au moins un caractère différentiable " @@ -4847,10 +4859,11 @@ msgstr "" "représenté lors de l’affichage ::" #: ../Doc/library/stdtypes.rst:2989 +#, fuzzy msgid "" -"Return true if all bytes in the sequence are alphabetical ASCII characters " -"or ASCII decimal digits and the sequence is not empty, false otherwise. " -"Alphabetic ASCII characters are those byte values in the sequence " +"Return ``True`` if all bytes in the sequence are alphabetical ASCII " +"characters or ASCII decimal digits and the sequence is not empty, ``False`` " +"otherwise. Alphabetic ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``. ASCII decimal " "digits are those byte values in the sequence ``b'0123456789'``." msgstr "" @@ -4861,10 +4874,11 @@ msgstr "" "chiffres : ``b'0123456789'``." #: ../Doc/library/stdtypes.rst:3006 +#, fuzzy msgid "" -"Return true if all bytes in the sequence are alphabetic ASCII characters and " -"the sequence is not empty, false otherwise. Alphabetic ASCII characters are " -"those byte values in the sequence " +"Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " +"and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " +"characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" "Donne ``True`` si tous les octets dans la séquence sont des caractères " @@ -4873,28 +4887,31 @@ msgstr "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." #: ../Doc/library/stdtypes.rst:3022 +#, fuzzy msgid "" -"Return true if the sequence is empty or all bytes in the sequence are ASCII, " -"false otherwise. ASCII bytes are in the range 0-0x7F." +"Return ``True`` if the sequence is empty or all bytes in the sequence are " +"ASCII, ``False`` otherwise. ASCII bytes are in the range 0-0x7F." msgstr "" "Renvoie ``True`` si la séquence est vide, ou si tous ses octets sont des " "octets ASCII, renvoie faux dans le cas contraire. Les octets ASCII dans " "l'intervalle ``0``---``0x7F``." #: ../Doc/library/stdtypes.rst:3032 +#, fuzzy msgid "" -"Return true if all bytes in the sequence are ASCII decimal digits and the " -"sequence is not empty, false otherwise. ASCII decimal digits are those byte " -"values in the sequence ``b'0123456789'``." +"Return ``True`` if all bytes in the sequence are ASCII decimal digits and " +"the sequence is not empty, ``False`` otherwise. ASCII decimal digits are " +"those byte values in the sequence ``b'0123456789'``." msgstr "" "Donne ``True`` si tous les octets de la séquence sont des chiffres ASCII et " "que la séquence n'est pas vide, sinon ``False``. Les chiffres ASCII sont " "``b'0123456789'``." #: ../Doc/library/stdtypes.rst:3047 +#, fuzzy msgid "" -"Return true if there is at least one lowercase ASCII character in the " -"sequence and no uppercase ASCII characters, false otherwise." +"Return ``True`` if there is at least one lowercase ASCII character in the " +"sequence and no uppercase ASCII characters, ``False`` otherwise." msgstr "" "Donne ``True`` s'il y a au moins un caractère ASCII minuscule dans la " "séquence et aucune capitale, sinon ``False``." @@ -4911,9 +4928,10 @@ msgstr "" "capitales ASCII sont ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." #: ../Doc/library/stdtypes.rst:3065 +#, fuzzy msgid "" -"Return true if all bytes in the sequence are ASCII whitespace and the " -"sequence is not empty, false otherwise. ASCII whitespace characters are " +"Return ``True`` if all bytes in the sequence are ASCII whitespace and the " +"sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " "those byte values in the sequence ``b' \\t\\n\\r\\x0b\\f'`` (space, tab, " "newline, carriage return, vertical tab, form feed)." msgstr "" @@ -4923,9 +4941,10 @@ msgstr "" "tabulation verticale, *form feed*)." #: ../Doc/library/stdtypes.rst:3074 +#, fuzzy msgid "" -"Return true if the sequence is ASCII titlecase and the sequence is not " -"empty, false otherwise. See :meth:`bytes.title` for more details on the " +"Return ``True`` if the sequence is ASCII titlecase and the sequence is not " +"empty, ``False`` otherwise. See :meth:`bytes.title` for more details on the " "definition of \"titlecase\"." msgstr "" "Donne ``True`` si la séquence ASCII est *titlecased*, et qu'elle ne soit pas " @@ -4933,9 +4952,11 @@ msgstr "" "définition de *titlecase*." #: ../Doc/library/stdtypes.rst:3089 +#, fuzzy msgid "" -"Return true if there is at least one uppercase alphabetic ASCII character in " -"the sequence and no lowercase ASCII characters, false otherwise." +"Return ``True`` if there is at least one uppercase alphabetic ASCII " +"character in the sequence and no lowercase ASCII characters, ``False`` " +"otherwise." msgstr "" "Donne ``True`` s'il y a au moins un caractère alphabétique majuscule ASCII " "dans la séquence et aucun caractères ASCII minuscules, sinon ``False``." diff --git a/library/stringprep.po b/library/stringprep.po index 533c710f..4e8d8e99 100644 --- a/library/stringprep.po +++ b/library/stringprep.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-10 11:27+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-02-26 16:13+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -74,13 +74,14 @@ msgstr "" "utilisant l'utilitaire ``mkstringprep.py``." #: ../Doc/library/stringprep.rst:34 +#, fuzzy msgid "" "As a result, these tables are exposed as functions, not as data structures. " "There are two kinds of tables in the RFC: sets and mappings. For a set, :mod:" "`stringprep` provides the \"characteristic function\", i.e. a function that " -"returns true if the parameter is part of the set. For mappings, it provides " -"the mapping function: given the key, it returns the associated value. Below " -"is a list of all functions available in the module." +"returns ``True`` if the parameter is part of the set. For mappings, it " +"provides the mapping function: given the key, it returns the associated " +"value. Below is a list of all functions available in the module." msgstr "" "En conséquence, ces tables sont exposées en tant que fonctions et non en " "structures de données. Il y a deux types de tables dans la RFC : les " diff --git a/library/sys.po b/library/sys.po index 55c80ca9..f674ae39 100644 --- a/library/sys.po +++ b/library/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-01 23:12+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -57,22 +57,29 @@ msgid "" "are called first, followed by hooks added in the current interpreter." msgstr "" -#: ../Doc/library/sys.rst:36 +#: ../Doc/library/sys.rst:None msgid "" -"Calling this function will trigger an event for all existing hooks, and if " -"any raise an exception derived from :class:`Exception`, the add will be " -"silently ignored. As a result, callers cannot assume that their hook has " -"been added unless they control all existing hooks." +"Raises an :ref:`auditing event ` ``sys.addaudithook`` with no " +"arguments." msgstr "" -#: ../Doc/library/sys.rst:45 +#: ../Doc/library/sys.rst:38 msgid "" -"When tracing is enabled, Python hooks are only traced if the callable has a " -"``__cantrace__`` member that is set to a true value. Otherwise, trace " -"functions will not see the hook." +"Raises a auditing event ``sys.addaudithook`` with no arguments. If any " +"existing hooks raise an exception derived from :class:`Exception`, the new " +"hook will not be added and the exception suppressed. As a result, callers " +"cannot assume that their hook has been added unless they control all " +"existing hooks." msgstr "" -#: ../Doc/library/sys.rst:52 +#: ../Doc/library/sys.rst:48 +msgid "" +"When tracing is enabled (see :func:`settrace`), Python hooks are only traced " +"if the callable has a ``__cantrace__`` member that is set to a true value. " +"Otherwise, trace functions will skip the hook." +msgstr "" + +#: ../Doc/library/sys.rst:55 msgid "" "The list of command line arguments passed to a Python script. ``argv[0]`` is " "the script name (it is operating system dependent whether this is a full " @@ -88,7 +95,7 @@ msgstr "" "aucun nom de script n'a été donné à l'interpréteur Python, ``argv[0]`` sera " "une chaîne vide." -#: ../Doc/library/sys.rst:58 +#: ../Doc/library/sys.rst:61 msgid "" "To loop over the standard input, or the list of files given on the command " "line, see the :mod:`fileinput` module." @@ -96,7 +103,7 @@ msgstr "" "Pour boucler sur l'entrée standard, ou la liste des fichiers donnés sur la " "ligne de commande, utilisez le module :mod:`fileinput`." -#: ../Doc/library/sys.rst:62 +#: ../Doc/library/sys.rst:65 msgid "" "On Unix, command line arguments are passed by bytes from OS. Python decodes " "them with filesystem encoding and \"surrogateescape\" error handler. When " @@ -109,7 +116,7 @@ msgstr "" "vous avez besoin des octets originaux, vous pouvez les récupérer avec ``[os." "fsencode(arg) for arg in sys.argv]``." -#: ../Doc/library/sys.rst:74 +#: ../Doc/library/sys.rst:77 msgid "" "Raises an auditing event with any active hooks. The event name is a string " "identifying the event and its associated schema, which is the number and " @@ -117,32 +124,32 @@ msgid "" "stable API and should not be modified between releases." msgstr "" -#: ../Doc/library/sys.rst:79 +#: ../Doc/library/sys.rst:82 msgid "" "This function will raise the first exception raised by any hook. In general, " "these errors should not be handled and should terminate the process as " "quickly as possible." msgstr "" -#: ../Doc/library/sys.rst:83 +#: ../Doc/library/sys.rst:86 msgid "" "Hooks are added using the :func:`sys.addaudithook` or :c:func:" "`PySys_AddAuditHook` functions." msgstr "" -#: ../Doc/library/sys.rst:86 +#: ../Doc/library/sys.rst:89 msgid "" "The native equivalent of this function is :c:func:`PySys_Audit`. Using the " "native function is preferred when possible." msgstr "" -#: ../Doc/library/sys.rst:89 +#: ../Doc/library/sys.rst:92 msgid "" "See the :ref:`audit events table ` for all events raised by " -"``CPython``." +"CPython." msgstr "" -#: ../Doc/library/sys.rst:97 +#: ../Doc/library/sys.rst:100 msgid "" "Set during Python startup, before ``site.py`` is run, to the same value as :" "data:`exec_prefix`. If not running in a :ref:`virtual environment `, " @@ -180,7 +187,7 @@ msgstr "" "à la racine de l'installation de Python (celui utilisé pour créer " "l'environnement virtuel)." -#: ../Doc/library/sys.rst:124 +#: ../Doc/library/sys.rst:127 msgid "" "An indicator of the native byte order. This will have the value ``'big'`` " "on big-endian (most-significant byte first) platforms, and ``'little'`` on " @@ -191,7 +198,7 @@ msgstr "" "``'little'`` sur les plateformes petit-boutiste (octet le moins significatif " "en premier)." -#: ../Doc/library/sys.rst:131 +#: ../Doc/library/sys.rst:134 msgid "" "A tuple of strings giving the names of all modules that are compiled into " "this Python interpreter. (This information is not available in any other " @@ -202,7 +209,7 @@ msgstr "" "disponible autrement --- ```modules.keys()`` liste seulement les modules " "importés.)" -#: ../Doc/library/sys.rst:138 +#: ../Doc/library/sys.rst:141 msgid "" "Call ``func(*args)``, while tracing is enabled. The tracing state is saved, " "and restored afterwards. This is intended to be called from a debugger from " @@ -213,11 +220,11 @@ msgstr "" "un débogueur à partir d'un point de contrôle, pour déboguer récursivement un " "autre code." -#: ../Doc/library/sys.rst:145 +#: ../Doc/library/sys.rst:148 msgid "A string containing the copyright pertaining to the Python interpreter." msgstr "Une chaîne contenant le copyright relatif à l'interpréteur Python." -#: ../Doc/library/sys.rst:150 +#: ../Doc/library/sys.rst:153 msgid "" "Clear the internal type cache. The type cache is used to speed up attribute " "and method lookups. Use the function *only* to drop unnecessary references " @@ -228,14 +235,14 @@ msgstr "" "pour libérer des références inutiles durant le débogage de fuite de " "référence." -#: ../Doc/library/sys.rst:154 ../Doc/library/sys.rst:170 +#: ../Doc/library/sys.rst:157 ../Doc/library/sys.rst:173 msgid "" "This function should be used for internal and specialized purposes only." msgstr "" "Cette fonction ne devrait être utilisée que pour un usage interne et " "spécialisé." -#: ../Doc/library/sys.rst:159 +#: ../Doc/library/sys.rst:162 msgid "" "Return a dictionary mapping each thread's identifier to the topmost stack " "frame currently active in that thread at the time the function is called. " @@ -247,7 +254,7 @@ msgstr "" "au moment où la fonction est appelée. Notez que les fonctions du module :mod:" "`traceback` peuvent construire une *call stack* à partir d'une telle *frame*." -#: ../Doc/library/sys.rst:164 +#: ../Doc/library/sys.rst:167 msgid "" "This is most useful for debugging deadlock: this function does not require " "the deadlocked threads' cooperation, and such threads' call stacks are " @@ -262,13 +269,13 @@ msgstr "" "l'activité courante du fil d'exécution au moment où le code appelant examine " "la *frame*." -#: ../Doc/library/sys.rst:172 +#: ../Doc/library/sys.rst:175 msgid "" "Raises an :ref:`auditing event ` ``sys._current_frames`` with no " "arguments." msgstr "" -#: ../Doc/library/sys.rst:177 +#: ../Doc/library/sys.rst:180 msgid "" "This hook function is called by built-in :func:`breakpoint`. By default, it " "drops you into the :mod:`pdb` debugger, but it can be set to any other " @@ -279,7 +286,7 @@ msgstr "" "débogueur :mod:`pdb`, mais elle peut être dirigée vers n'importe quelle " "autre fonction pour que vous puissiez choisir le débogueur utilisé." -#: ../Doc/library/sys.rst:181 +#: ../Doc/library/sys.rst:184 msgid "" "The signature of this function is dependent on what it calls. For example, " "the default binding (e.g. ``pdb.set_trace()``) expects no arguments, but you " @@ -295,7 +302,7 @@ msgstr "" "`breakpoint()` passe ses ``*args`` et ``**kws`` directement au travers. Tout " "ce que renvoie ``breakpointhooks()`` est renvoyé par ``breakpoint()``." -#: ../Doc/library/sys.rst:188 +#: ../Doc/library/sys.rst:191 msgid "" "The default implementation first consults the environment variable :envvar:" "`PYTHONBREAKPOINT`. If that is set to ``\"0\"`` then this function returns " @@ -320,7 +327,7 @@ msgstr "" "quoique renvoie ``function()``, ``sys.breakpointhook()`` retourne à la " "fonction native :func:`breakpoint`." -#: ../Doc/library/sys.rst:200 +#: ../Doc/library/sys.rst:203 msgid "" "Note that if anything goes wrong while importing the callable named by :" "envvar:`PYTHONBREAKPOINT`, a :exc:`RuntimeWarning` is reported and the " @@ -330,7 +337,7 @@ msgstr "" "nommée dans :envvar:`PYTHONBREAKPOINT`, une alerte :exc:`RuntimeWarning` est " "indiquée et le point d'arrêt est ignoré." -#: ../Doc/library/sys.rst:204 +#: ../Doc/library/sys.rst:207 msgid "" "Also note that if ``sys.breakpointhook()`` is overridden programmatically, :" "envvar:`PYTHONBREAKPOINT` is *not* consulted." @@ -338,7 +345,7 @@ msgstr "" "Notez également que si ``sys.breakpointhook()`` est surchargé de manière " "programmatique, :envvar:`PYTHONBREAKPOINT` *n'est pas* consulté." -#: ../Doc/library/sys.rst:211 +#: ../Doc/library/sys.rst:214 msgid "" "Print low-level information to stderr about the state of CPython's memory " "allocator." @@ -346,7 +353,7 @@ msgstr "" "Affiche des informations bas-niveau sur la sortie d'erreur à propos de " "l'état de l'allocateur de mémoire de CPython." -#: ../Doc/library/sys.rst:214 +#: ../Doc/library/sys.rst:217 msgid "" "If Python is configured --with-pydebug, it also performs some expensive " "internal consistency checks." @@ -354,7 +361,7 @@ msgstr "" "Si Python est configuré avec l'option *--with-pydebug*, il effectuera aussi " "quelques coûteuses vérifications de cohérence interne." -#: ../Doc/library/sys.rst:221 +#: ../Doc/library/sys.rst:224 msgid "" "This function is specific to CPython. The exact output format is not " "defined here, and may change." @@ -362,16 +369,16 @@ msgstr "" "Cette fonction est spécifique à CPython. Le format de sa sortie n'est pas " "définit ici et pourrait changer." -#: ../Doc/library/sys.rst:227 +#: ../Doc/library/sys.rst:230 msgid "Integer specifying the handle of the Python DLL." msgstr "Nombre entier spécifiant le descripteur de la DLL Python." -#: ../Doc/library/sys.rst:229 ../Doc/library/sys.rst:753 -#: ../Doc/library/sys.rst:1409 ../Doc/library/sys.rst:1608 +#: ../Doc/library/sys.rst:232 ../Doc/library/sys.rst:756 +#: ../Doc/library/sys.rst:1412 ../Doc/library/sys.rst:1611 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." -#: ../Doc/library/sys.rst:234 +#: ../Doc/library/sys.rst:237 msgid "" "If *value* is not ``None``, this function prints ``repr(value)`` to ``sys." "stdout``, and saves *value* in ``builtins._``. If ``repr(value)`` is not " @@ -386,7 +393,7 @@ msgstr "" "``'strict'``), elle sera encodée par ``sys.stdout.encoding`` avec le " "gestionnaire d'erreur ``'backslashreplace'``." -#: ../Doc/library/sys.rst:240 +#: ../Doc/library/sys.rst:243 msgid "" "``sys.displayhook`` is called on the result of evaluating an :term:" "`expression` entered in an interactive Python session. The display of these " @@ -398,17 +405,17 @@ msgstr "" "valeurs peut être personnalisé en assignant une autre fonction d'un argument " "à ``sys.displayhook``." -#: ../Doc/library/sys.rst:244 +#: ../Doc/library/sys.rst:247 msgid "Pseudo-code::" msgstr "Pseudo-code ::" -#: ../Doc/library/sys.rst:264 +#: ../Doc/library/sys.rst:267 msgid "Use ``'backslashreplace'`` error handler on :exc:`UnicodeEncodeError`." msgstr "" "Utiliser le gestionnaire d'erreur ``'backslashreplace'`` en cas d':exc:" "`UnicodeEncodeError`." -#: ../Doc/library/sys.rst:270 +#: ../Doc/library/sys.rst:273 msgid "" "If this is true, Python won't try to write ``.pyc`` files on the import of " "source modules. This value is initially set to ``True`` or ``False`` " @@ -423,7 +430,7 @@ msgstr "" "pouvez aussi la modifier vous-même pour contrôler la génération des fichiers " "de *bytecode*." -#: ../Doc/library/sys.rst:279 +#: ../Doc/library/sys.rst:282 msgid "" "If this is set (not ``None``), Python will write bytecode-cache ``.pyc`` " "files to (and read them from) a parallel directory tree rooted at this " @@ -434,12 +441,12 @@ msgid "" "the same pycache prefix (if any) that you will use at runtime." msgstr "" -#: ../Doc/library/sys.rst:287 +#: ../Doc/library/sys.rst:290 msgid "" "A relative path is interpreted relative to the current working directory." msgstr "" -#: ../Doc/library/sys.rst:289 +#: ../Doc/library/sys.rst:292 msgid "" "This value is initially set based on the value of the :option:`-X` " "``pycache_prefix=PATH`` command-line option or the :envvar:" @@ -447,14 +454,14 @@ msgid "" "If neither are set, it is ``None``." msgstr "" -#: ../Doc/library/sys.rst:299 +#: ../Doc/library/sys.rst:302 msgid "" "This function prints out a given traceback and exception to ``sys.stderr``." msgstr "" "Cette fonction affiche la *traceback* et l'exception donnée sur ``sys." "stderr``." -#: ../Doc/library/sys.rst:301 +#: ../Doc/library/sys.rst:304 msgid "" "When an exception is raised and uncaught, the interpreter calls ``sys." "excepthook`` with three arguments, the exception class, exception instance, " @@ -472,14 +479,14 @@ msgstr "" "quitte. La gestion de ces exceptions peut être personnalisé en affectant une " "autre fonction de trois arguments à ``sys.excepthook``." -#: ../Doc/library/sys.rst:310 +#: ../Doc/library/sys.rst:313 msgid "" "The :func:`sys.unraisablehook` function handles unraisable exceptions and " "the :func:`threading.excepthook` function handles exception raised by :func:" "`threading.Thread.run`." msgstr "" -#: ../Doc/library/sys.rst:320 +#: ../Doc/library/sys.rst:323 #, fuzzy msgid "" "These objects contain the original values of ``breakpointhook``, " @@ -494,11 +501,11 @@ msgstr "" "``excepthook`` puissent être restaurés au cas où ils seraient remplacés par " "des objets cassés ou alternatifs." -#: ../Doc/library/sys.rst:326 +#: ../Doc/library/sys.rst:329 msgid "__breakpointhook__" msgstr "__breakpointhook__" -#: ../Doc/library/sys.rst:332 +#: ../Doc/library/sys.rst:335 msgid "" "This function returns a tuple of three values that give information about " "the exception that is currently being handled. The information returned is " @@ -519,7 +526,7 @@ msgstr "" "*except*\". Pour chaque *stack frame*, seule l'information à propos d'une " "exception actuellement traitée est accessible." -#: ../Doc/library/sys.rst:343 +#: ../Doc/library/sys.rst:346 #, fuzzy msgid "" "If no exception is being handled anywhere on the stack, a tuple containing " @@ -539,7 +546,7 @@ msgstr "" "encapsule la pile d'appels au point où l'exception s'est produite à " "l'origine." -#: ../Doc/library/sys.rst:354 +#: ../Doc/library/sys.rst:357 msgid "" "A string giving the site-specific directory prefix where the platform-" "dependent Python files are installed; by default, this is also ``'/usr/" @@ -560,7 +567,7 @@ msgstr "" "python{X.Y}/lib-dynload`, où *X.Y* est le numéro de version de Python, par " "exemple ``3.2``." -#: ../Doc/library/sys.rst:365 +#: ../Doc/library/sys.rst:368 msgid "" "If a :ref:`virtual environment ` is in effect, this value will be " "changed in ``site.py`` to point to the virtual environment. The value for " @@ -571,7 +578,7 @@ msgstr "" "modifiée par ``site.py`` pour pointer vers l'environnement virtuel. La " "valeur d'origine sera toujours disponible via :data:`base_exec_prefix`." -#: ../Doc/library/sys.rst:373 +#: ../Doc/library/sys.rst:376 msgid "" "A string giving the absolute path of the executable binary for the Python " "interpreter, on systems where this makes sense. If Python is unable to " @@ -583,7 +590,7 @@ msgstr "" "n'est pas capable de récupérer le chemin réel de son exécutable, :data:`sys." "executable` sera une chaîne vide ou ``None``." -#: ../Doc/library/sys.rst:381 +#: ../Doc/library/sys.rst:384 msgid "" "Exit from Python. This is implemented by raising the :exc:`SystemExit` " "exception, so cleanup actions specified by finally clauses of :keyword:`try` " @@ -596,7 +603,7 @@ msgstr "" "est aussi possible d'intercepter la tentative de sortie à un niveau au " "dessus." -#: ../Doc/library/sys.rst:386 +#: ../Doc/library/sys.rst:389 msgid "" "The optional argument *arg* can be an integer giving the exit status " "(defaulting to zero), or another type of object. If it is an integer, zero " @@ -625,7 +632,7 @@ msgstr "" "1. Typiquement, ``sys.exit(\"some error message\")`` est un moyen rapide de " "quitter un programme en cas d'erreur." -#: ../Doc/library/sys.rst:399 +#: ../Doc/library/sys.rst:402 msgid "" "Since :func:`exit` ultimately \"only\" raises an exception, it will only " "exit the process when called from the main thread, and the exception is not " @@ -635,7 +642,7 @@ msgstr "" "ne fera quitter le processus que si elle est appelée depuis le fil " "d'exécution principal, et que l'exception n'est pas interceptée." -#: ../Doc/library/sys.rst:403 +#: ../Doc/library/sys.rst:406 msgid "" "If an error occurs in the cleanup after the Python interpreter has caught :" "exc:`SystemExit` (such as an error flushing buffered data in the standard " @@ -645,7 +652,7 @@ msgstr "" "intercepté un :exc:`SystemExit` (typiquement une erreur en vidant les " "tampons des sorties standard), le code de sortie est changé à 120." -#: ../Doc/library/sys.rst:411 +#: ../Doc/library/sys.rst:414 #, fuzzy msgid "" "The :term:`named tuple` *flags* exposes the status of command line flags. " @@ -654,149 +661,149 @@ msgstr "" "La :term:`struct sequence` *flags* expose l'état des options de ligne de " "commande. Ces attributs sont en lecture seule." -#: ../Doc/library/sys.rst:415 ../Doc/library/sys.rst:463 -#: ../Doc/library/sys.rst:798 +#: ../Doc/library/sys.rst:418 ../Doc/library/sys.rst:466 +#: ../Doc/library/sys.rst:801 msgid "attribute" msgstr "attribut" -#: ../Doc/library/sys.rst:415 +#: ../Doc/library/sys.rst:418 msgid "flag" msgstr "option" -#: ../Doc/library/sys.rst:417 +#: ../Doc/library/sys.rst:420 msgid ":const:`debug`" msgstr ":const:`debug`" -#: ../Doc/library/sys.rst:417 +#: ../Doc/library/sys.rst:420 msgid ":option:`-d`" msgstr ":option:`-d`" -#: ../Doc/library/sys.rst:418 +#: ../Doc/library/sys.rst:421 msgid ":const:`inspect`" msgstr ":const:`inspect`" -#: ../Doc/library/sys.rst:418 ../Doc/library/sys.rst:419 +#: ../Doc/library/sys.rst:421 ../Doc/library/sys.rst:422 msgid ":option:`-i`" msgstr ":option:`-i`" -#: ../Doc/library/sys.rst:419 +#: ../Doc/library/sys.rst:422 msgid ":const:`interactive`" msgstr ":const:`interactive`" -#: ../Doc/library/sys.rst:420 +#: ../Doc/library/sys.rst:423 msgid ":const:`isolated`" msgstr ":const:`isolated`" -#: ../Doc/library/sys.rst:420 +#: ../Doc/library/sys.rst:423 msgid ":option:`-I`" msgstr ":option:`-I`" -#: ../Doc/library/sys.rst:421 +#: ../Doc/library/sys.rst:424 msgid ":const:`optimize`" msgstr ":const:`optimize`" -#: ../Doc/library/sys.rst:421 +#: ../Doc/library/sys.rst:424 msgid ":option:`-O` or :option:`-OO`" msgstr ":option:`-O` or :option:`-OO`" -#: ../Doc/library/sys.rst:422 +#: ../Doc/library/sys.rst:425 msgid ":const:`dont_write_bytecode`" msgstr ":const:`dont_write_bytecode`" -#: ../Doc/library/sys.rst:422 +#: ../Doc/library/sys.rst:425 msgid ":option:`-B`" msgstr ":option:`-B`" -#: ../Doc/library/sys.rst:423 +#: ../Doc/library/sys.rst:426 msgid ":const:`no_user_site`" msgstr ":const:`no_user_site`" -#: ../Doc/library/sys.rst:423 +#: ../Doc/library/sys.rst:426 msgid ":option:`-s`" msgstr ":option:`-s`" -#: ../Doc/library/sys.rst:424 +#: ../Doc/library/sys.rst:427 msgid ":const:`no_site`" msgstr ":const:`no_site`" -#: ../Doc/library/sys.rst:424 +#: ../Doc/library/sys.rst:427 msgid ":option:`-S`" msgstr ":option:`-S`" -#: ../Doc/library/sys.rst:425 +#: ../Doc/library/sys.rst:428 msgid ":const:`ignore_environment`" msgstr ":const:`ignore_environment`" -#: ../Doc/library/sys.rst:425 +#: ../Doc/library/sys.rst:428 msgid ":option:`-E`" msgstr ":option:`-E`" -#: ../Doc/library/sys.rst:426 +#: ../Doc/library/sys.rst:429 msgid ":const:`verbose`" msgstr ":const:`verbose`" -#: ../Doc/library/sys.rst:426 +#: ../Doc/library/sys.rst:429 msgid ":option:`-v`" msgstr ":option:`-v`" -#: ../Doc/library/sys.rst:427 +#: ../Doc/library/sys.rst:430 msgid ":const:`bytes_warning`" msgstr ":const:`bytes_warning`" -#: ../Doc/library/sys.rst:427 +#: ../Doc/library/sys.rst:430 msgid ":option:`-b`" msgstr ":option:`-b`" -#: ../Doc/library/sys.rst:428 +#: ../Doc/library/sys.rst:431 msgid ":const:`quiet`" msgstr ":const:`quiet`" -#: ../Doc/library/sys.rst:428 +#: ../Doc/library/sys.rst:431 msgid ":option:`-q`" msgstr ":option:`-q`" -#: ../Doc/library/sys.rst:429 +#: ../Doc/library/sys.rst:432 msgid ":const:`hash_randomization`" msgstr ":const:`hash_randomization`" -#: ../Doc/library/sys.rst:429 +#: ../Doc/library/sys.rst:432 msgid ":option:`-R`" msgstr ":option:`-R`" -#: ../Doc/library/sys.rst:430 +#: ../Doc/library/sys.rst:433 msgid ":const:`dev_mode`" msgstr ":const:`dev_mode`" -#: ../Doc/library/sys.rst:430 +#: ../Doc/library/sys.rst:433 msgid ":option:`-X` ``dev``" msgstr ":option:`-X` ``dev``" -#: ../Doc/library/sys.rst:431 +#: ../Doc/library/sys.rst:434 msgid ":const:`utf8_mode`" msgstr ":const:`utf8_mode`" -#: ../Doc/library/sys.rst:431 +#: ../Doc/library/sys.rst:434 msgid ":option:`-X` ``utf8``" msgstr ":option:`-X` ``utf8``" -#: ../Doc/library/sys.rst:434 +#: ../Doc/library/sys.rst:437 msgid "Added ``quiet`` attribute for the new :option:`-q` flag." msgstr "Ajout de l'attribut ``quiet`` pour la nouvelle option :option:`-q`." -#: ../Doc/library/sys.rst:437 +#: ../Doc/library/sys.rst:440 msgid "The ``hash_randomization`` attribute." msgstr "L'attribut ``hash_randomization``." -#: ../Doc/library/sys.rst:440 +#: ../Doc/library/sys.rst:443 msgid "Removed obsolete ``division_warning`` attribute." msgstr "Suppression de l'attribut obsolète ``division_warning``." -#: ../Doc/library/sys.rst:443 +#: ../Doc/library/sys.rst:446 msgid "Added ``isolated`` attribute for :option:`-I` ``isolated`` flag." msgstr "" "Ajout de l'attribut ``isolated`` pour l'option :option:`-I` ``isolated``." -#: ../Doc/library/sys.rst:446 +#: ../Doc/library/sys.rst:449 msgid "" "Added ``dev_mode`` attribute for the new :option:`-X` ``dev`` flag and " "``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag." @@ -805,7 +812,7 @@ msgstr "" "``dev`` et l'attribut ``utf8_mode`` pour la nouvelle option :option:`-X` " "``utf8``." -#: ../Doc/library/sys.rst:453 +#: ../Doc/library/sys.rst:456 #, fuzzy msgid "" "A :term:`named tuple` holding information about the float type. It contains " @@ -823,23 +830,23 @@ msgstr "" "IEC C standard* [C99]_, *Characteristics of floating types*, pour plus de " "détails." -#: ../Doc/library/sys.rst:463 +#: ../Doc/library/sys.rst:466 msgid "float.h macro" msgstr "macro *float.h*" -#: ../Doc/library/sys.rst:463 ../Doc/library/sys.rst:798 +#: ../Doc/library/sys.rst:466 ../Doc/library/sys.rst:801 msgid "explanation" msgstr "explication" -#: ../Doc/library/sys.rst:465 +#: ../Doc/library/sys.rst:468 msgid ":const:`epsilon`" msgstr ":const:`epsilon`" -#: ../Doc/library/sys.rst:465 +#: ../Doc/library/sys.rst:468 msgid "DBL_EPSILON" msgstr "DBL_EPSILON" -#: ../Doc/library/sys.rst:465 +#: ../Doc/library/sys.rst:468 msgid "" "difference between 1 and the least value greater than 1 that is " "representable as a float" @@ -847,15 +854,15 @@ msgstr "" "différence entre 1 et la plus petite valeur plus grande que 1 représentable " "en *float*" -#: ../Doc/library/sys.rst:468 +#: ../Doc/library/sys.rst:471 msgid ":const:`dig`" msgstr ":const:`dig`" -#: ../Doc/library/sys.rst:468 +#: ../Doc/library/sys.rst:471 msgid "DBL_DIG" msgstr "DBL_DIG" -#: ../Doc/library/sys.rst:468 +#: ../Doc/library/sys.rst:471 msgid "" "maximum number of decimal digits that can be faithfully represented in a " "float; see below" @@ -863,15 +870,15 @@ msgstr "" "nombre maximum de décimales pouvant être représentées fidèlement dans un " "*float* (voir ci-dessous)" -#: ../Doc/library/sys.rst:471 +#: ../Doc/library/sys.rst:474 msgid ":const:`mant_dig`" msgstr ":const:`mant_dig`" -#: ../Doc/library/sys.rst:471 +#: ../Doc/library/sys.rst:474 msgid "DBL_MANT_DIG" msgstr "DBL_MANT_DIG" -#: ../Doc/library/sys.rst:471 +#: ../Doc/library/sys.rst:474 msgid "" "float precision: the number of base-``radix`` digits in the significand of a " "float" @@ -879,42 +886,42 @@ msgstr "" "précision : nombre de *base-*\\ ``radix`` chiffres dans la mantisse du " "*float*" -#: ../Doc/library/sys.rst:474 +#: ../Doc/library/sys.rst:477 msgid ":const:`max`" msgstr ":const:`max`" -#: ../Doc/library/sys.rst:474 +#: ../Doc/library/sys.rst:477 msgid "DBL_MAX" msgstr "DBL_MAX" -#: ../Doc/library/sys.rst:474 +#: ../Doc/library/sys.rst:477 msgid "maximum representable finite float" msgstr "plus grand `float` fini représentable" -#: ../Doc/library/sys.rst:476 +#: ../Doc/library/sys.rst:479 msgid ":const:`max_exp`" msgstr ":const:`max_exp`" -#: ../Doc/library/sys.rst:476 +#: ../Doc/library/sys.rst:479 msgid "DBL_MAX_EXP" msgstr "DBL_MAX_EXP" -#: ../Doc/library/sys.rst:476 +#: ../Doc/library/sys.rst:479 msgid "" "maximum integer e such that ``radix**(e-1)`` is a representable finite float" msgstr "" "plus grand nombre entier *e* tel que ``radix**(e-1)`` soit représentable " "sous forme de *float* finit" -#: ../Doc/library/sys.rst:479 +#: ../Doc/library/sys.rst:482 msgid ":const:`max_10_exp`" msgstr ":const:`max_10_exp`" -#: ../Doc/library/sys.rst:479 +#: ../Doc/library/sys.rst:482 msgid "DBL_MAX_10_EXP" msgstr "DBL_MAX_10_EXP" -#: ../Doc/library/sys.rst:479 +#: ../Doc/library/sys.rst:482 msgid "" "maximum integer e such that ``10**e`` is in the range of representable " "finite floats" @@ -922,66 +929,66 @@ msgstr "" "plus grand nombre entier *e* tel que ``10**e`` est dans l'intervalle des " "nombre flottants finis" -#: ../Doc/library/sys.rst:482 +#: ../Doc/library/sys.rst:485 msgid ":const:`min`" msgstr ":const:`min`" -#: ../Doc/library/sys.rst:482 +#: ../Doc/library/sys.rst:485 msgid "DBL_MIN" msgstr "DBL_MIN" -#: ../Doc/library/sys.rst:482 +#: ../Doc/library/sys.rst:485 msgid "minimum positive normalized float" msgstr "plus petit nombre à virgule flottante positif normalisé" -#: ../Doc/library/sys.rst:484 +#: ../Doc/library/sys.rst:487 msgid ":const:`min_exp`" msgstr ":const:`min_exp`" -#: ../Doc/library/sys.rst:484 +#: ../Doc/library/sys.rst:487 msgid "DBL_MIN_EXP" msgstr "DBL_MIN_EXP" -#: ../Doc/library/sys.rst:484 +#: ../Doc/library/sys.rst:487 msgid "minimum integer e such that ``radix**(e-1)`` is a normalized float" msgstr "" "plus petit entier *e* tel que ``radix**(e-1)`` est un *float* normalisé" -#: ../Doc/library/sys.rst:487 +#: ../Doc/library/sys.rst:490 msgid ":const:`min_10_exp`" msgstr ":const:`min_10_exp`" -#: ../Doc/library/sys.rst:487 +#: ../Doc/library/sys.rst:490 msgid "DBL_MIN_10_EXP" msgstr "DBL_MIN_10_EXP" -#: ../Doc/library/sys.rst:487 +#: ../Doc/library/sys.rst:490 msgid "minimum integer e such that ``10**e`` is a normalized float" msgstr "" "plus petit nombre entier *e* tel que ``10**e`` est un nombre à virgule " "flottante normalisé" -#: ../Doc/library/sys.rst:490 +#: ../Doc/library/sys.rst:493 msgid ":const:`radix`" msgstr ":const:`radix`" -#: ../Doc/library/sys.rst:490 +#: ../Doc/library/sys.rst:493 msgid "FLT_RADIX" msgstr "FLT_RADIX" -#: ../Doc/library/sys.rst:490 +#: ../Doc/library/sys.rst:493 msgid "radix of exponent representation" msgstr "base de la représentation de l'exposant" -#: ../Doc/library/sys.rst:492 +#: ../Doc/library/sys.rst:495 msgid ":const:`rounds`" msgstr ":const:`rounds`" -#: ../Doc/library/sys.rst:492 +#: ../Doc/library/sys.rst:495 msgid "FLT_ROUNDS" msgstr "FLT_ROUNDS" -#: ../Doc/library/sys.rst:492 +#: ../Doc/library/sys.rst:495 msgid "" "integer constant representing the rounding mode used for arithmetic " "operations. This reflects the value of the system FLT_ROUNDS macro at " @@ -994,7 +1001,7 @@ msgstr "" "5.2.4.4.2.2 de la norme C99 pour une explication des valeurs possibles et de " "leurs significations." -#: ../Doc/library/sys.rst:500 +#: ../Doc/library/sys.rst:503 msgid "" "The attribute :attr:`sys.float_info.dig` needs further explanation. If " "``s`` is any string representing a decimal number with at most :attr:`sys." @@ -1006,7 +1013,7 @@ msgstr "" "float_info.dig` chiffres significatifs, alors, convertir ``s`` en un nombre " "à virgule flottante puis à nouveau en chaîne redonnera la même valeur ::" -#: ../Doc/library/sys.rst:513 +#: ../Doc/library/sys.rst:516 msgid "" "But for strings with more than :attr:`sys.float_info.dig` significant " "digits, this isn't always true::" @@ -1014,7 +1021,7 @@ msgstr "" "Cependant, pour les chaînes avec plus de :attr:`sys.float_info.dig` chiffres " "significatifs, ce n'est pas toujours vrai : ::" -#: ../Doc/library/sys.rst:522 +#: ../Doc/library/sys.rst:525 msgid "" "A string indicating how the :func:`repr` function behaves for floats. If " "the string has value ``'short'`` then for a finite float ``x``, ``repr(x)`` " @@ -1030,7 +1037,7 @@ msgstr "" "Python 3.1. Autrement, ``float_repr_style`` a la valeur ``'legacy'`` et\n" "``repr(x)`` se comporte comme les versions antérieures à 3.1." -#: ../Doc/library/sys.rst:535 +#: ../Doc/library/sys.rst:538 msgid "" "Return the number of memory blocks currently allocated by the interpreter, " "regardless of their size. This function is mainly useful for tracking and " @@ -1046,7 +1053,7 @@ msgstr "" "`_clear_type_cache()` et :func:`gc.collect()` peut permettre d'obtenir des " "résultats plus prévisibles." -#: ../Doc/library/sys.rst:542 +#: ../Doc/library/sys.rst:545 msgid "" "If a Python build or implementation cannot reasonably compute this " "information, :func:`getallocatedblocks()` is allowed to return 0 instead." @@ -1054,27 +1061,27 @@ msgstr "" "Si Python n'arrive pas a calculer raisonnablement cette information, :func:" "`getallocatedblocks()` est autorisé à renvoyer 0 à la place." -#: ../Doc/library/sys.rst:550 +#: ../Doc/library/sys.rst:553 msgid "Return the build time API version of Android as an integer." msgstr "" "Renvoie la version de l'API Android utilisée pour compiler sous forme d'un " "entier." -#: ../Doc/library/sys.rst:553 +#: ../Doc/library/sys.rst:556 msgid ":ref:`Availability `: Android." msgstr ":ref:`Disponibilité ` : Android." -#: ../Doc/library/sys.rst:559 +#: ../Doc/library/sys.rst:562 msgid "" "Return the interpreter's \"check interval\"; see :func:`setcheckinterval`." msgstr "" "Renvoie le *check interval* de l'interpréteur, voir :func:`setcheckinterval`." -#: ../Doc/library/sys.rst:561 +#: ../Doc/library/sys.rst:564 msgid "Use :func:`getswitchinterval` instead." msgstr "Utilisez plutôt :func:`getswitchinterval`." -#: ../Doc/library/sys.rst:567 +#: ../Doc/library/sys.rst:570 msgid "" "Return the name of the current default string encoding used by the Unicode " "implementation." @@ -1082,7 +1089,7 @@ msgstr "" "Renvoie le nom du codage par défaut actuellement utilisé par " "l'implémentation *Unicode* pour coder les chaînes." -#: ../Doc/library/sys.rst:573 +#: ../Doc/library/sys.rst:576 msgid "" "Return the current value of the flags that are used for :c:func:`dlopen` " "calls. Symbolic names for the flag values can be found in the :mod:`os` " @@ -1092,11 +1099,11 @@ msgstr "" "`dlopen`. Les noms symboliques valeurs peuvent être trouvées dans le module :" "mod:`os`. (Ce sont les constantes ``RTLD_xxx`` e.g. :data:`os.RTLD_LAZY`)." -#: ../Doc/library/sys.rst:578 ../Doc/library/sys.rst:1182 +#: ../Doc/library/sys.rst:581 ../Doc/library/sys.rst:1185 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." -#: ../Doc/library/sys.rst:583 +#: ../Doc/library/sys.rst:586 msgid "" "Return the name of the encoding used to convert between Unicode filenames " "and bytes filenames. For best compatibility, str should be used for " @@ -1112,11 +1119,11 @@ msgstr "" "fichiers devraient supporter les deux (*str* ou *bytes*), et convertir en " "interne dans la représentation du système." -#: ../Doc/library/sys.rst:590 +#: ../Doc/library/sys.rst:593 msgid "This encoding is always ASCII-compatible." msgstr "Cet encodage est toujours compatible avec ASCII." -#: ../Doc/library/sys.rst:592 ../Doc/library/sys.rst:625 +#: ../Doc/library/sys.rst:595 ../Doc/library/sys.rst:628 msgid "" ":func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that " "the correct encoding and errors mode are used." @@ -1125,21 +1132,21 @@ msgstr "" "utilisées pour s'assurer qu'un encodage et un gestionnaire d'erreurs correct " "sont utilisés." -#: ../Doc/library/sys.rst:595 +#: ../Doc/library/sys.rst:598 msgid "In the UTF-8 mode, the encoding is ``utf-8`` on any platform." msgstr "" "Dans le mode UTF-8, l'encodage est ``'utf-8'`` sur toutes les plate-formes." -#: ../Doc/library/sys.rst:597 +#: ../Doc/library/sys.rst:600 #, fuzzy msgid "On macOS, the encoding is ``'utf-8'``." msgstr "Sur Mac OS X, l'encodage est ``'utf-8'``." -#: ../Doc/library/sys.rst:599 +#: ../Doc/library/sys.rst:602 msgid "On Unix, the encoding is the locale encoding." msgstr "Sur Unix, l'encodage est celui des paramètres régionaux." -#: ../Doc/library/sys.rst:601 +#: ../Doc/library/sys.rst:604 msgid "" "On Windows, the encoding may be ``'utf-8'`` or ``'mbcs'``, depending on user " "configuration." @@ -1147,21 +1154,21 @@ msgstr "" "Sur Windows, l'encodage peut être ``'utf-8'`` ou ``'mbcs'``, en fonction des " "paramètres de l'utilisateur." -#: ../Doc/library/sys.rst:604 +#: ../Doc/library/sys.rst:607 #, fuzzy msgid "On Android, the encoding is ``'utf-8'``." msgstr "Sur Mac OS X, l'encodage est ``'utf-8'``." -#: ../Doc/library/sys.rst:606 +#: ../Doc/library/sys.rst:609 #, fuzzy msgid "On VxWorks, the encoding is ``'utf-8'``." msgstr "Sur Mac OS X, l'encodage est ``'utf-8'``." -#: ../Doc/library/sys.rst:608 +#: ../Doc/library/sys.rst:611 msgid ":func:`getfilesystemencoding` result cannot be ``None`` anymore." msgstr ":func:`getfilesystemencoding` ne peut plus renvoyer ``None``." -#: ../Doc/library/sys.rst:611 +#: ../Doc/library/sys.rst:614 msgid "" "Windows is no longer guaranteed to return ``'mbcs'``. See :pep:`529` and :" "func:`_enablelegacywindowsfsencoding` for more information." @@ -1169,11 +1176,11 @@ msgstr "" "Sur Windows, on est plus assurés d'obtenir ``'mbcs'``. Voir la :pep:`529` " "et :func:`_enablelegacywindowsfsencoding` pour plus d'informations." -#: ../Doc/library/sys.rst:615 +#: ../Doc/library/sys.rst:618 msgid "Return 'utf-8' in the UTF-8 mode." msgstr "Renvoie `\"utf-8\"` en mode UTF-8." -#: ../Doc/library/sys.rst:621 +#: ../Doc/library/sys.rst:624 msgid "" "Return the name of the error mode used to convert between Unicode filenames " "and bytes filenames. The encoding name is returned from :func:" @@ -1183,7 +1190,7 @@ msgstr "" "noms de fichiers entre Unicode et octets. Le nom de l'encodage est renvoyé " "par :func:`getfilesystemencoding`." -#: ../Doc/library/sys.rst:632 +#: ../Doc/library/sys.rst:635 msgid "" "Return the reference count of the *object*. The count returned is generally " "one higher than you might expect, because it includes the (temporary) " @@ -1193,7 +1200,7 @@ msgstr "" "généralement d'une référence de plus qu'attendu, puisqu'il compte la " "référence (temporaire) de l'argument à :func:`getrefcount`." -#: ../Doc/library/sys.rst:639 +#: ../Doc/library/sys.rst:642 msgid "" "Return the current value of the recursion limit, the maximum depth of the " "Python interpreter stack. This limit prevents infinite recursion from " @@ -1205,7 +1212,7 @@ msgstr "" "d'une récursion infinie à cause d'un débordement de la pile. Elle peut être " "modifiée par :func:`setrecursionlimit`." -#: ../Doc/library/sys.rst:647 +#: ../Doc/library/sys.rst:650 msgid "" "Return the size of an object in bytes. The object can be any type of object. " "All built-in objects will return correct results, but this does not have to " @@ -1216,7 +1223,7 @@ msgstr "" "peut ne pas être toujours vrai pour les extensions, la valeur étant " "dépendante de l'implémentation." -#: ../Doc/library/sys.rst:652 +#: ../Doc/library/sys.rst:655 msgid "" "Only the memory consumption directly attributed to the object is accounted " "for, not the memory consumption of objects it refers to." @@ -1224,7 +1231,7 @@ msgstr "" "Seule la mémoire directement attribuée à l'objet est prise en compte, pas la " "mémoire consommée par les objets vers lesquels il a des références." -#: ../Doc/library/sys.rst:655 +#: ../Doc/library/sys.rst:658 msgid "" "If given, *default* will be returned if the object does not provide means to " "retrieve the size. Otherwise a :exc:`TypeError` will be raised." @@ -1232,7 +1239,7 @@ msgstr "" "S'il est fourni, *default* sera renvoyé si l'objet ne fournit aucun moyen de " "récupérer sa taille. Sinon, une exception :exc:`TypeError` sera levée." -#: ../Doc/library/sys.rst:658 +#: ../Doc/library/sys.rst:661 msgid "" ":func:`getsizeof` calls the object's ``__sizeof__`` method and adds an " "additional garbage collector overhead if the object is managed by the " @@ -1241,7 +1248,7 @@ msgstr "" ":func:`getsizeof` appelle la méthode ``__sizeof__`` de l'objet, et s'il est " "géré par lui, ajoute le surcoût du ramasse-miettes." -#: ../Doc/library/sys.rst:662 +#: ../Doc/library/sys.rst:665 msgid "" "See `recursive sizeof recipe `_ " "for an example of using :func:`getsizeof` recursively to find the size of " @@ -1251,7 +1258,7 @@ msgstr "" "recipes/577504>`_ pour un exemple d'utilisation récursive de :func:" "`getsizeof` pour trouver la taille d'un contenant et de son contenu." -#: ../Doc/library/sys.rst:668 +#: ../Doc/library/sys.rst:671 msgid "" "Return the interpreter's \"thread switch interval\"; see :func:" "`setswitchinterval`." @@ -1259,7 +1266,7 @@ msgstr "" "Renvoie la valeur du *thread switch interval* de l'interpréteur, voir :func:" "`setswitchinterval`." -#: ../Doc/library/sys.rst:676 +#: ../Doc/library/sys.rst:679 msgid "" "Return a frame object from the call stack. If optional integer *depth* is " "given, return the frame object that many calls below the top of the stack. " @@ -1273,13 +1280,13 @@ msgstr "" "exc:`ValueError` est levée. La profondeur par défaut est zéro, donnant ainsi " "la *frame* du dessus de la pile." -#: ../Doc/library/sys.rst:682 +#: ../Doc/library/sys.rst:685 msgid "" "Raises an :ref:`auditing event ` ``sys._getframe`` with no " "arguments." msgstr "" -#: ../Doc/library/sys.rst:685 +#: ../Doc/library/sys.rst:688 msgid "" "This function should be used for internal and specialized purposes only. It " "is not guaranteed to exist in all implementations of Python." @@ -1288,16 +1295,16 @@ msgstr "" "spécifique. Il n'est pas garanti qu'elle existe dans toutes les " "implémentations de Python." -#: ../Doc/library/sys.rst:695 +#: ../Doc/library/sys.rst:698 msgid "Get the profiler function as set by :func:`setprofile`." msgstr "" "Renvoie la fonction de profilage tel que défini par :func:`setprofile`." -#: ../Doc/library/sys.rst:704 +#: ../Doc/library/sys.rst:707 msgid "Get the trace function as set by :func:`settrace`." msgstr "Renvoie la fonction de traçage tel que définie par :func:`settrace`." -#: ../Doc/library/sys.rst:708 +#: ../Doc/library/sys.rst:711 msgid "" "The :func:`gettrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -1309,7 +1316,7 @@ msgstr "" "dépend de l'implémentation et non du langage, elle n'est donc pas forcément " "disponible dans toutes les implémentations de Python." -#: ../Doc/library/sys.rst:716 +#: ../Doc/library/sys.rst:719 msgid "" "Return a named tuple describing the Windows version currently running. The " "named elements are *major*, *minor*, *build*, *platform*, *service_pack*, " @@ -1332,47 +1339,47 @@ msgstr "" "les versions antérieures, seuls les 5 premiers éléments sont accessibles par " "leur indice." -#: ../Doc/library/sys.rst:727 +#: ../Doc/library/sys.rst:730 msgid "*platform* will be :const:`2 (VER_PLATFORM_WIN32_NT)`." msgstr "*platform* sera :const:`2 (VER_PLATFORM_WIN32_NT)`." -#: ../Doc/library/sys.rst:729 +#: ../Doc/library/sys.rst:732 msgid "*product_type* may be one of the following values:" msgstr "*product_type* peut être une des valeurs suivantes :" -#: ../Doc/library/sys.rst:732 +#: ../Doc/library/sys.rst:735 msgid "Constant" msgstr "Constante" -#: ../Doc/library/sys.rst:732 +#: ../Doc/library/sys.rst:735 msgid "Meaning" msgstr "Signification" -#: ../Doc/library/sys.rst:734 +#: ../Doc/library/sys.rst:737 msgid ":const:`1 (VER_NT_WORKSTATION)`" msgstr ":const:`1 (VER_NT_WORKSTATION)`" -#: ../Doc/library/sys.rst:734 +#: ../Doc/library/sys.rst:737 msgid "The system is a workstation." msgstr "Le système une station de travail." -#: ../Doc/library/sys.rst:736 +#: ../Doc/library/sys.rst:739 msgid ":const:`2 (VER_NT_DOMAIN_CONTROLLER)`" msgstr ":const:`2 (VER_NT_DOMAIN_CONTROLLER)`" -#: ../Doc/library/sys.rst:736 +#: ../Doc/library/sys.rst:739 msgid "The system is a domain controller." msgstr "Le système est un contrôleur de domaine." -#: ../Doc/library/sys.rst:739 +#: ../Doc/library/sys.rst:742 msgid ":const:`3 (VER_NT_SERVER)`" msgstr ":const:`3 (VER_NT_SERVER)`" -#: ../Doc/library/sys.rst:739 +#: ../Doc/library/sys.rst:742 msgid "The system is a server, but not a domain controller." msgstr "Le système est un serveur, mais pas un contrôleur de domaine." -#: ../Doc/library/sys.rst:743 +#: ../Doc/library/sys.rst:746 msgid "" "This function wraps the Win32 :c:func:`GetVersionEx` function; see the " "Microsoft documentation on :c:func:`OSVERSIONINFOEX` for more information " @@ -1383,7 +1390,7 @@ msgstr "" "de Microsoft sur :c:func:`OSVERSIONINFOEX` pour plus d'informations sur ces " "champs." -#: ../Doc/library/sys.rst:747 +#: ../Doc/library/sys.rst:750 msgid "" "*platform_version* returns the accurate major version, minor version and " "build number of the current operating system, rather than the version that " @@ -1395,7 +1402,7 @@ msgstr "" "émulée pour ce processus. Il est destiné à être utilisé pour de la " "journalisation plutôt que pour la détection de fonctionnalités." -#: ../Doc/library/sys.rst:754 +#: ../Doc/library/sys.rst:757 msgid "" "Changed to a named tuple and added *service_pack_minor*, " "*service_pack_major*, *suite_mask*, and *product_type*." @@ -1403,11 +1410,11 @@ msgstr "" "Changé en un *tuple* nommé, et ajout de *service_pack_minor*, " "*service_pack_major*, *suite_mask*, et *product_type*." -#: ../Doc/library/sys.rst:758 +#: ../Doc/library/sys.rst:761 msgid "Added *platform_version*" msgstr "Ajout de *platform_version*" -#: ../Doc/library/sys.rst:764 +#: ../Doc/library/sys.rst:767 msgid "" "Returns an *asyncgen_hooks* object, which is similar to a :class:" "`~collections.namedtuple` of the form `(firstiter, finalizer)`, where " @@ -1423,11 +1430,11 @@ msgstr "" "pour planifier la finalisation d'un générateur asynchrone par un *event " "loop*." -#: ../Doc/library/sys.rst:771 +#: ../Doc/library/sys.rst:774 msgid "See :pep:`525` for more details." msgstr "Voir la :pep:`525` pour plus d'informations." -#: ../Doc/library/sys.rst:775 ../Doc/library/sys.rst:1376 +#: ../Doc/library/sys.rst:778 ../Doc/library/sys.rst:1379 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" @@ -1435,7 +1442,7 @@ msgstr "" "Cette fonction à été ajoutée à titre provisoire (voir la :pep:`411` pour " "plus d'informations.)" -#: ../Doc/library/sys.rst:781 +#: ../Doc/library/sys.rst:784 msgid "" "Get the current coroutine origin tracking depth, as set by :func:" "`set_coroutine_origin_tracking_depth`." @@ -1444,7 +1451,7 @@ msgstr "" "le suivi de leur création, telle que défini par :func:" "`set_coroutine_origin_tracking_depth`." -#: ../Doc/library/sys.rst:787 ../Doc/library/sys.rst:1397 +#: ../Doc/library/sys.rst:790 ../Doc/library/sys.rst:1400 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." @@ -1452,7 +1459,7 @@ msgstr "" "Cette fonction à été ajoutée à titre provisoire (Voir la :pep:`411` pour " "plus d'informations.) Utilisez la uniquement à des fins de débogage." -#: ../Doc/library/sys.rst:793 +#: ../Doc/library/sys.rst:796 #, fuzzy msgid "" "A :term:`named tuple` giving parameters of the numeric hash implementation. " @@ -1462,77 +1469,77 @@ msgstr "" "fonction de hachage de nombres. Pour plus d'informations sur le hachage des " "types numériques, consultez :ref:`numeric-hash`." -#: ../Doc/library/sys.rst:800 +#: ../Doc/library/sys.rst:803 msgid ":const:`width`" msgstr ":const:`width`" -#: ../Doc/library/sys.rst:800 +#: ../Doc/library/sys.rst:803 msgid "width in bits used for hash values" msgstr "Nombre de bits des valeurs de *hash*" -#: ../Doc/library/sys.rst:802 +#: ../Doc/library/sys.rst:805 msgid ":const:`modulus`" msgstr ":const:`modulus`" -#: ../Doc/library/sys.rst:802 +#: ../Doc/library/sys.rst:805 msgid "prime modulus P used for numeric hash scheme" msgstr "" "contient le premier P utilisé dans le modulo pour les *hash* numériques" -#: ../Doc/library/sys.rst:804 +#: ../Doc/library/sys.rst:807 msgid ":const:`inf`" msgstr ":const:`inf`" -#: ../Doc/library/sys.rst:804 +#: ../Doc/library/sys.rst:807 msgid "hash value returned for a positive infinity" msgstr "valeur du *hash* pour un infini positif" -#: ../Doc/library/sys.rst:806 +#: ../Doc/library/sys.rst:809 msgid ":const:`nan`" msgstr ":const:`nan`" -#: ../Doc/library/sys.rst:806 +#: ../Doc/library/sys.rst:809 msgid "hash value returned for a nan" msgstr "valeur du *hash* pour un *nan*" -#: ../Doc/library/sys.rst:808 +#: ../Doc/library/sys.rst:811 msgid ":const:`imag`" msgstr ":const:`imag`" -#: ../Doc/library/sys.rst:808 +#: ../Doc/library/sys.rst:811 msgid "multiplier used for the imaginary part of a complex number" msgstr "multiplicateur utilisé pour la partie imaginaire d'un nombre complexe" -#: ../Doc/library/sys.rst:811 +#: ../Doc/library/sys.rst:814 msgid ":const:`algorithm`" msgstr ":const:`algorithm`" -#: ../Doc/library/sys.rst:811 +#: ../Doc/library/sys.rst:814 msgid "name of the algorithm for hashing of str, bytes, and memoryview" msgstr "" "nom de l'algorithme pour le hachage des *str*, *bytes*, et *memoryview*" -#: ../Doc/library/sys.rst:814 +#: ../Doc/library/sys.rst:817 msgid ":const:`hash_bits`" msgstr ":const:`hash_bits`" -#: ../Doc/library/sys.rst:814 +#: ../Doc/library/sys.rst:817 msgid "internal output size of the hash algorithm" msgstr "taille de la sortie interne de l'algorithme de hachage" -#: ../Doc/library/sys.rst:816 +#: ../Doc/library/sys.rst:819 msgid ":const:`seed_bits`" msgstr ":const:`seed_bits`" -#: ../Doc/library/sys.rst:816 +#: ../Doc/library/sys.rst:819 msgid "size of the seed key of the hash algorithm" msgstr "taille de la *seed key* utilisée par l'algorithme de hachage" -#: ../Doc/library/sys.rst:822 +#: ../Doc/library/sys.rst:825 msgid "Added *algorithm*, *hash_bits* and *seed_bits*" msgstr "Ajout de *algorithm*, *hash_bits* et *seed_bits*" -#: ../Doc/library/sys.rst:828 +#: ../Doc/library/sys.rst:831 msgid "" "The version number encoded as a single integer. This is guaranteed to " "increase with each version, including proper support for non-production " @@ -1544,7 +1551,7 @@ msgstr "" "Par exemple, pour vérifier que l'interpréteur Python est au moins la version " "1.5, utilisez : ::" -#: ../Doc/library/sys.rst:839 +#: ../Doc/library/sys.rst:842 #, fuzzy msgid "" "This is called ``hexversion`` since it only really looks meaningful when " @@ -1557,12 +1564,12 @@ msgstr "" "`hex`. La :term:`struct sequence` :data:`sys.version_info` représente la " "même information d'une manière plus humaine." -#: ../Doc/library/sys.rst:844 +#: ../Doc/library/sys.rst:847 msgid "More details of ``hexversion`` can be found at :ref:`apiabiversion`." msgstr "" "Consultez :ref:`apiabiversion` pour plus d'informations sur ``hexversion``." -#: ../Doc/library/sys.rst:849 +#: ../Doc/library/sys.rst:852 msgid "" "An object containing information about the implementation of the currently " "running Python interpreter. The following attributes are required to exist " @@ -1572,7 +1579,7 @@ msgstr "" "actuelle de l'interpréteur Python. Les attributs suivants existent " "obligatoirement sur toutes les implémentations Python." -#: ../Doc/library/sys.rst:853 +#: ../Doc/library/sys.rst:856 msgid "" "*name* is the implementation's identifier, e.g. ``'cpython'``. The actual " "string is defined by the Python implementation, but it is guaranteed to be " @@ -1582,7 +1589,7 @@ msgstr "" "chaîne est définie par l'implémentation de Python, mais sera toujours en " "minuscule." -#: ../Doc/library/sys.rst:857 +#: ../Doc/library/sys.rst:860 msgid "" "*version* is a named tuple, in the same format as :data:`sys.version_info`. " "It represents the version of the Python *implementation*. This has a " @@ -1602,7 +1609,7 @@ msgstr "" "valoir ``sys.version_info(2, 7, 2, 'final', 0)``. Pour CPython ces deux " "valeurs sont identiques puisque c'est l'implémentation de référence." -#: ../Doc/library/sys.rst:867 +#: ../Doc/library/sys.rst:870 msgid "" "*hexversion* is the implementation version in hexadecimal format, like :data:" "`sys.hexversion`." @@ -1610,7 +1617,7 @@ msgstr "" "*hexversion* est la version de l'implémentation sous forme hexadécimale, " "comme :data:`sys.hexversion`." -#: ../Doc/library/sys.rst:870 +#: ../Doc/library/sys.rst:873 msgid "" "*cache_tag* is the tag used by the import machinery in the filenames of " "cached modules. By convention, it would be a composite of the " @@ -1625,7 +1632,7 @@ msgstr "" "autre valeur si nécessaire. ``cache_tag`` à ``None`` signifie que la mise " "en cache des modules doit être désactivée." -#: ../Doc/library/sys.rst:877 +#: ../Doc/library/sys.rst:880 msgid "" ":data:`sys.implementation` may contain additional attributes specific to the " "Python implementation. These non-standard attributes must start with an " @@ -1642,13 +1649,13 @@ msgstr "" "cependant changer entre les versions du langage Python.) Voir la :pep:`421` " "pour plus d'informations." -#: ../Doc/library/sys.rst:888 +#: ../Doc/library/sys.rst:891 msgid "" "The addition of new required attributes must go through the normal PEP " "process. See :pep:`421` for more information." msgstr "" -#: ../Doc/library/sys.rst:893 +#: ../Doc/library/sys.rst:896 #, fuzzy msgid "" "A :term:`named tuple` that holds information about Python's internal " @@ -1658,19 +1665,19 @@ msgstr "" "représentation interne des entiers de Python. Les attributs sont en lecture " "seule." -#: ../Doc/library/sys.rst:899 ../Doc/library/sys.rst:1500 +#: ../Doc/library/sys.rst:902 ../Doc/library/sys.rst:1503 msgid "Attribute" msgstr "Attribut" -#: ../Doc/library/sys.rst:899 ../Doc/library/sys.rst:1500 +#: ../Doc/library/sys.rst:902 ../Doc/library/sys.rst:1503 msgid "Explanation" msgstr "Explication" -#: ../Doc/library/sys.rst:901 +#: ../Doc/library/sys.rst:904 msgid ":const:`bits_per_digit`" msgstr ":const:`bits_per_digit`" -#: ../Doc/library/sys.rst:901 +#: ../Doc/library/sys.rst:904 msgid "" "number of bits held in each digit. Python integers are stored internally in " "base ``2**int_info.bits_per_digit``" @@ -1678,15 +1685,15 @@ msgstr "" "nombre de bits utilisés pour chaque chiffre. Les entiers Python sont " "stockés en interne en base ``2**int_info.bits_per_digit``" -#: ../Doc/library/sys.rst:905 +#: ../Doc/library/sys.rst:908 msgid ":const:`sizeof_digit`" msgstr ":const:`sizeof_digit`" -#: ../Doc/library/sys.rst:905 +#: ../Doc/library/sys.rst:908 msgid "size in bytes of the C type used to represent a digit" msgstr "taille en octets du type C utilisé pour représenter un chiffre" -#: ../Doc/library/sys.rst:914 +#: ../Doc/library/sys.rst:917 msgid "" "When this attribute exists, its value is automatically called (with no " "arguments) when the interpreter is launched in :ref:`interactive mode ` ``cpython.run_interactivehook`` " "with the hook object as the argument when the hook is called on startup." msgstr "" -#: ../Doc/library/sys.rst:931 +#: ../Doc/library/sys.rst:934 msgid "" "Enter *string* in the table of \"interned\" strings and return the interned " "string -- which is *string* itself or a copy. Interning strings is useful to " @@ -1734,7 +1741,7 @@ msgstr "" "attributs de modules, de classes, ou d'instances ont aussi leurs clés " "internées." -#: ../Doc/library/sys.rst:939 +#: ../Doc/library/sys.rst:942 msgid "" "Interned strings are not immortal; you must keep a reference to the return " "value of :func:`intern` around to benefit from it." @@ -1742,7 +1749,7 @@ msgstr "" "Les chaînes internées ne sont pas immortelles; vous devez garder une " "référence à la valeur renvoyée par :func:`intern` pour en bénéficier." -#: ../Doc/library/sys.rst:945 +#: ../Doc/library/sys.rst:948 msgid "" "Return :const:`True` if the Python interpreter is :term:`shutting down " "`, :const:`False` otherwise." @@ -1750,7 +1757,7 @@ msgstr "" "Donne :const:`True` si l'interpréteur Python est :term:`en train de " "s'arrêter `, et :const:`False` dans le cas contraire." -#: ../Doc/library/sys.rst:955 +#: ../Doc/library/sys.rst:958 msgid "" "These three variables are not always defined; they are set when an exception " "is not handled and the interpreter prints an error message and a stack " @@ -1769,7 +1776,7 @@ msgstr "" "mortem est ``import pdb; pdb.pm()``, voir :mod:`pdb` pour plus " "d'informations.)." -#: ../Doc/library/sys.rst:963 +#: ../Doc/library/sys.rst:966 msgid "" "The meaning of the variables is the same as that of the return values from :" "func:`exc_info` above." @@ -1777,7 +1784,7 @@ msgstr "" "La signification de ces variables est la même que celle des valeurs " "renvoyées par :func:`exc_info` ci-dessus." -#: ../Doc/library/sys.rst:969 +#: ../Doc/library/sys.rst:972 msgid "" "An integer giving the maximum value a variable of type :c:type:`Py_ssize_t` " "can take. It's usually ``2**31 - 1`` on a 32-bit platform and ``2**63 - 1`` " @@ -1787,7 +1794,7 @@ msgstr "" "`Py_ssize_t` peut prendre. C'est typiquement ``2**31 - 1`` sur une " "plateforme 32 bits et ``2**63 - 1``` sur une plateforme 64 bits." -#: ../Doc/library/sys.rst:976 +#: ../Doc/library/sys.rst:979 msgid "" "An integer giving the value of the largest Unicode code point, i.e. " "``1114111`` (``0x10FFFF`` in hexadecimal)." @@ -1795,7 +1802,7 @@ msgstr "" "Un entier donnant la valeur du plus grand point de code Unicode, c'est-à-" "dire ``1114111`` (```0x10FFFF`` en hexadécimal)." -#: ../Doc/library/sys.rst:979 +#: ../Doc/library/sys.rst:982 msgid "" "Before :pep:`393`, ``sys.maxunicode`` used to be either ``0xFFFF`` or " "``0x10FFFF``, depending on the configuration option that specified whether " @@ -1805,7 +1812,7 @@ msgstr "" "``0x10FFFF``, en fonction l'option de configuration qui spécifiait si les " "caractères Unicode étaient stockés en UCS-2 ou UCS-4." -#: ../Doc/library/sys.rst:987 +#: ../Doc/library/sys.rst:990 msgid "" "A list of :term:`meta path finder` objects that have their :meth:`~importlib." "abc.MetaPathFinder.find_spec` methods called to see if one of the objects " @@ -1824,11 +1831,11 @@ msgstr "" "attr:`__path__` du paquet parent est donné en deuxième argument. La méthode " "renvoie un :term:`module spec`, ou ``None`` si le module ne peut être trouvé." -#: ../Doc/library/sys.rst:999 +#: ../Doc/library/sys.rst:1002 msgid ":class:`importlib.abc.MetaPathFinder`" msgstr ":class:`importlib.abc.MetaPathFinder`" -#: ../Doc/library/sys.rst:999 +#: ../Doc/library/sys.rst:1002 msgid "" "The abstract base class defining the interface of finder objects on :data:" "`meta_path`." @@ -1836,11 +1843,11 @@ msgstr "" "La classe de base abstraite définissant l'interface des objets *finder* de :" "data:`meta_path`." -#: ../Doc/library/sys.rst:1003 +#: ../Doc/library/sys.rst:1006 msgid ":class:`importlib.machinery.ModuleSpec`" msgstr ":class:`importlib.machinery.ModuleSpec`" -#: ../Doc/library/sys.rst:1002 +#: ../Doc/library/sys.rst:1005 msgid "" "The concrete class which :meth:`~importlib.abc.MetaPathFinder.find_spec` " "should return instances of." @@ -1848,7 +1855,7 @@ msgstr "" "La classe concrète dont :meth:`~importlib.abc.MetaPathFinder.find_spec` " "devrait renvoyer des instances." -#: ../Doc/library/sys.rst:1008 +#: ../Doc/library/sys.rst:1011 msgid "" ":term:`Module specs ` were introduced in Python 3.4, by :pep:" "`451`. Earlier versions of Python looked for a method called :meth:" @@ -1862,7 +1869,7 @@ msgstr "" "toujours appelée en dernier recours, dans le cas où une :data:`meta_path` " "n'a pas de méthode :meth:`~importlib.abc.MetaPathFinder.find_spec`." -#: ../Doc/library/sys.rst:1016 +#: ../Doc/library/sys.rst:1019 msgid "" "This is a dictionary that maps module names to modules which have already " "been loaded. This can be manipulated to force reloading of modules and " @@ -1875,7 +1882,7 @@ msgstr "" "rechargé. Cependant, le remplacer ne fonctionnera pas forcément comme prévu " "et en supprimer des éléments essentiels peut planter Python." -#: ../Doc/library/sys.rst:1026 +#: ../Doc/library/sys.rst:1029 msgid "" "A list of strings that specifies the search path for modules. Initialized " "from the environment variable :envvar:`PYTHONPATH`, plus an installation-" @@ -1885,7 +1892,7 @@ msgstr "" "modules, initialisée à partir de la variable d'environnement :envvar:" "`PYTHONPATH` et d'une valeur par défaut dépendante de l'installation." -#: ../Doc/library/sys.rst:1030 +#: ../Doc/library/sys.rst:1033 msgid "" "As initialized upon program startup, the first item of this list, " "``path[0]``, is the directory containing the script that was used to invoke " @@ -1905,7 +1912,7 @@ msgstr "" "actuel. Notez que le dossier du script est inséré *avant* les dossiers de :" "envvar:`PYTHONPATH`." -#: ../Doc/library/sys.rst:1038 +#: ../Doc/library/sys.rst:1041 msgid "" "A program is free to modify this list for its own purposes. Only strings " "and bytes should be added to :data:`sys.path`; all other data types are " @@ -1915,7 +1922,7 @@ msgstr "" "Seuls des *str* ou des *bytes* ne devraient être ajoutés à :data:`sys.path`, " "tous les autres types de données étant ignorés durant l'importation." -#: ../Doc/library/sys.rst:1044 +#: ../Doc/library/sys.rst:1047 msgid "" "Module :mod:`site` This describes how to use .pth files to extend :data:`sys." "path`." @@ -1923,7 +1930,7 @@ msgstr "" "Le module :mod:`site` décrit comment utiliser les fichiers *.pth* pour " "étendre :data:`sys.path`." -#: ../Doc/library/sys.rst:1050 +#: ../Doc/library/sys.rst:1053 msgid "" "A list of callables that take a path argument to try to create a :term:" "`finder` for the path. If a finder can be created, it is to be returned by " @@ -1933,11 +1940,11 @@ msgstr "" "`finder` pour ce chemin. Si un *finder* peut être créé, il doit être renvoyé " "par l'appelable, sinon une :exc:`ImportError` doit être levée." -#: ../Doc/library/sys.rst:1054 ../Doc/library/sys.rst:1065 +#: ../Doc/library/sys.rst:1057 ../Doc/library/sys.rst:1068 msgid "Originally specified in :pep:`302`." msgstr "Précisé à l'origine dans la :pep:`302`." -#: ../Doc/library/sys.rst:1059 +#: ../Doc/library/sys.rst:1062 msgid "" "A dictionary acting as a cache for :term:`finder` objects. The keys are " "paths that have been passed to :data:`sys.path_hooks` and the values are the " @@ -1950,7 +1957,7 @@ msgstr "" "de fichiers mais qu'aucun *finder* n'est trouvé dans :data:`sys.path_hooks`, " "``None`` est stocké." -#: ../Doc/library/sys.rst:1067 +#: ../Doc/library/sys.rst:1070 msgid "" "``None`` is stored instead of :class:`imp.NullImporter` when no finder is " "found." @@ -1958,7 +1965,7 @@ msgstr "" "``None`` est stocké à la place de :class:`imp.NullImporter` si aucun " "localisateur n'est trouvé." -#: ../Doc/library/sys.rst:1074 +#: ../Doc/library/sys.rst:1077 msgid "" "This string contains a platform identifier that can be used to append " "platform-specific components to :data:`sys.path`, for instance." @@ -1967,7 +1974,7 @@ msgstr "" "typiquement utilisé pour ajouter des composants spécifiques à :data:`sys." "path`." -#: ../Doc/library/sys.rst:1077 +#: ../Doc/library/sys.rst:1080 #, fuzzy msgid "" "For Unix systems, except on Linux and AIX, this is the lowercased OS name as " @@ -1982,60 +1989,60 @@ msgstr "" "moment où Python a été compilé*. A moins que vous ne souhaitiez tester pour " "une version spécifique du système, vous pouvez faire comme suit : ::" -#: ../Doc/library/sys.rst:1090 +#: ../Doc/library/sys.rst:1093 msgid "For other systems, the values are:" msgstr "Pour les autres systèmes, les valeurs sont:" -#: ../Doc/library/sys.rst:1093 +#: ../Doc/library/sys.rst:1096 msgid "System" msgstr "Système" -#: ../Doc/library/sys.rst:1093 +#: ../Doc/library/sys.rst:1096 msgid "``platform`` value" msgstr "Valeur pour ``plateforme``" -#: ../Doc/library/sys.rst:1095 +#: ../Doc/library/sys.rst:1098 msgid "AIX" msgstr "" -#: ../Doc/library/sys.rst:1095 +#: ../Doc/library/sys.rst:1098 #, fuzzy msgid "``'aix'``" msgstr "``'linux'``" -#: ../Doc/library/sys.rst:1096 +#: ../Doc/library/sys.rst:1099 msgid "Linux" msgstr "Linux" -#: ../Doc/library/sys.rst:1096 +#: ../Doc/library/sys.rst:1099 msgid "``'linux'``" msgstr "``'linux'``" -#: ../Doc/library/sys.rst:1097 +#: ../Doc/library/sys.rst:1100 msgid "Windows" msgstr "Windows" -#: ../Doc/library/sys.rst:1097 +#: ../Doc/library/sys.rst:1100 msgid "``'win32'``" msgstr "``'win32'``" -#: ../Doc/library/sys.rst:1098 +#: ../Doc/library/sys.rst:1101 msgid "Windows/Cygwin" msgstr "Windows/Cygwin" -#: ../Doc/library/sys.rst:1098 +#: ../Doc/library/sys.rst:1101 msgid "``'cygwin'``" msgstr "``'cygwin'``" -#: ../Doc/library/sys.rst:1099 +#: ../Doc/library/sys.rst:1102 msgid "macOS" msgstr "" -#: ../Doc/library/sys.rst:1099 +#: ../Doc/library/sys.rst:1102 msgid "``'darwin'``" msgstr "``'darwin'``" -#: ../Doc/library/sys.rst:1102 +#: ../Doc/library/sys.rst:1105 msgid "" "On Linux, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. Since older " @@ -2047,7 +2054,7 @@ msgstr "" "anciennes versions de Python incluent le numéro de version, il est " "recommandé de toujours utiliser ``startswith``, tel qu'utilisé ci-dessus." -#: ../Doc/library/sys.rst:1108 +#: ../Doc/library/sys.rst:1111 #, fuzzy msgid "" "On AIX, :attr:`sys.platform` doesn't contain the major version anymore. It " @@ -2060,7 +2067,7 @@ msgstr "" "anciennes versions de Python incluent le numéro de version, il est " "recommandé de toujours utiliser ``startswith``, tel qu'utilisé ci-dessus." -#: ../Doc/library/sys.rst:1116 +#: ../Doc/library/sys.rst:1119 msgid "" ":attr:`os.name` has a coarser granularity. :func:`os.uname` gives system-" "dependent version information." @@ -2068,7 +2075,7 @@ msgstr "" ":attr:`os.name` a une granularité plus grossière. :func:`os.uname` donne des " "informations sur la version dépendantes du système." -#: ../Doc/library/sys.rst:1119 +#: ../Doc/library/sys.rst:1122 msgid "" "The :mod:`platform` module provides detailed checks for the system's " "identity." @@ -2076,7 +2083,7 @@ msgstr "" "Le module :mod:`platform` fournit des vérifications détaillées pour " "l'identité du système." -#: ../Doc/library/sys.rst:1125 +#: ../Doc/library/sys.rst:1128 msgid "" "A string giving the site-specific directory prefix where the platform " "independent Python files are installed; by default, this is the string ``'/" @@ -2097,7 +2104,7 @@ msgstr "" "stockées dans :file:`{prefix}/include/python{X.Y}`, où *X.Y* est le numéro " "de version de Python, par exemple ``3.2``." -#: ../Doc/library/sys.rst:1134 +#: ../Doc/library/sys.rst:1137 msgid "" "If a :ref:`virtual environment ` is in effect, this value will be " "changed in ``site.py`` to point to the virtual environment. The value for " @@ -2108,7 +2115,7 @@ msgstr "" "donnée au moment de la compilation de Python sera toujours disponible, dans :" "data:`base_prefix`." -#: ../Doc/library/sys.rst:1149 +#: ../Doc/library/sys.rst:1152 msgid "" "Strings specifying the primary and secondary prompt of the interpreter. " "These are only defined if the interpreter is in interactive mode. Their " @@ -2125,7 +2132,7 @@ msgstr "" "à lire une nouvelle commande interactive, c'est donc utilisable pour " "implémenter une invite dynamique." -#: ../Doc/library/sys.rst:1159 +#: ../Doc/library/sys.rst:1162 msgid "" "Set the interpreter's \"check interval\". This integer value determines how " "often the interpreter checks for periodic things such as thread switches and " @@ -2145,7 +2152,7 @@ msgstr "" "tâches à chaque instruction virtuelle, maximisant ainsi la réactivité mais " "aussi son surcoût." -#: ../Doc/library/sys.rst:1166 +#: ../Doc/library/sys.rst:1169 msgid "" "This function doesn't have an effect anymore, as the internal logic for " "thread switching and asynchronous tasks has been rewritten. Use :func:" @@ -2155,7 +2162,7 @@ msgstr "" "fils d'exécution et de gestion des tâches asynchrones ayant été réécrite. " "Utilisez :func:`setswitchinterval` à la place." -#: ../Doc/library/sys.rst:1174 +#: ../Doc/library/sys.rst:1177 msgid "" "Set the flags used by the interpreter for :c:func:`dlopen` calls, such as " "when the interpreter loads extension modules. Among other things, this will " @@ -2174,7 +2181,7 @@ msgstr "" "trouvés dans le module :mod:`os` (ce sont les constantes ``RTLD_xxx``, " "comme :data:`os.RTLD_LAZY`)." -#: ../Doc/library/sys.rst:1190 +#: ../Doc/library/sys.rst:1193 msgid "" "Set the system's profile function, which allows you to implement a Python " "source code profiler in Python. See chapter :ref:`profile` for more " @@ -2202,7 +2209,7 @@ msgstr "" "*multithread*. Sa valeur de retour n'est pas utilisée, elle peut simplement " "renvoyer ``None``." -#: ../Doc/library/sys.rst:1201 +#: ../Doc/library/sys.rst:1204 msgid "" "Profile functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2214,21 +2221,21 @@ msgstr "" "caractères pouvant valoir : ``'call'``, ``'return'``, ``'c_call'``, " "``'c_return'`` ou ``'c_exception'``. *arg* dépend du type de l'évènement." -#: ../Doc/library/sys.rst:1207 +#: ../Doc/library/sys.rst:1210 msgid "" "Raises an :ref:`auditing event ` ``sys.setprofile`` with no " "arguments." msgstr "" -#: ../Doc/library/sys.rst:1208 ../Doc/library/sys.rst:1289 +#: ../Doc/library/sys.rst:1211 ../Doc/library/sys.rst:1292 msgid "The events have the following meaning:" msgstr "Les événements ont la signification suivante :" -#: ../Doc/library/sys.rst:1212 ../Doc/library/sys.rst:1294 +#: ../Doc/library/sys.rst:1215 ../Doc/library/sys.rst:1297 msgid "``'call'``" msgstr "``'call'``" -#: ../Doc/library/sys.rst:1211 +#: ../Doc/library/sys.rst:1214 msgid "" "A function is called (or some other code block entered). The profile " "function is called; *arg* is ``None``." @@ -2236,11 +2243,11 @@ msgstr "" "Une fonction est appelée (ou Python entre dans un autre bloc de code). La " "fonction de traçage est appelée, *arg* est ``None``." -#: ../Doc/library/sys.rst:1217 ../Doc/library/sys.rst:1309 +#: ../Doc/library/sys.rst:1220 ../Doc/library/sys.rst:1312 msgid "``'return'``" msgstr "``'return'``" -#: ../Doc/library/sys.rst:1215 +#: ../Doc/library/sys.rst:1218 msgid "" "A function (or other code block) is about to return. The profile function " "is called; *arg* is the value that will be returned, or ``None`` if the " @@ -2250,11 +2257,11 @@ msgstr "" "fonction de traçage est appelée, *arg* est la valeur qui sera renvoyée, ou " "``None`` si l'événement est causé par la levée d'une exception." -#: ../Doc/library/sys.rst:1221 +#: ../Doc/library/sys.rst:1224 msgid "``'c_call'``" msgstr "``'c_call'``" -#: ../Doc/library/sys.rst:1220 +#: ../Doc/library/sys.rst:1223 msgid "" "A C function is about to be called. This may be an extension function or a " "built-in. *arg* is the C function object." @@ -2262,23 +2269,23 @@ msgstr "" "Une fonction C est sur le point d'être appelée. C'est soit une fonction " "d'extension ou une fonction native. *arg* représente la fonction C." -#: ../Doc/library/sys.rst:1224 +#: ../Doc/library/sys.rst:1227 msgid "``'c_return'``" msgstr "``'c_return'``" -#: ../Doc/library/sys.rst:1224 +#: ../Doc/library/sys.rst:1227 msgid "A C function has returned. *arg* is the C function object." msgstr "Une fonction C a renvoyé une valeur. *arg* représente la fonction C." -#: ../Doc/library/sys.rst:1226 +#: ../Doc/library/sys.rst:1229 msgid "``'c_exception'``" msgstr "``'c_exception'``" -#: ../Doc/library/sys.rst:1227 +#: ../Doc/library/sys.rst:1230 msgid "A C function has raised an exception. *arg* is the C function object." msgstr "Une fonction C a levé une exception. *arg* représente la fonction C." -#: ../Doc/library/sys.rst:1231 +#: ../Doc/library/sys.rst:1234 msgid "" "Set the maximum depth of the Python interpreter stack to *limit*. This " "limit prevents infinite recursion from causing an overflow of the C stack " @@ -2288,7 +2295,7 @@ msgstr "" "*limit*. Cette limite empêche une récursion infinie de provoquer un " "débordement de la pile C et ainsi un crash de Python." -#: ../Doc/library/sys.rst:1235 +#: ../Doc/library/sys.rst:1238 msgid "" "The highest possible limit is platform-dependent. A user may need to set " "the limit higher when they have a program that requires deep recursion and a " @@ -2300,7 +2307,7 @@ msgstr "" "profonde, si sa plate-forme le permet. Cela doit être fait avec précaution, " "car une limite trop élevée peut conduire à un crash." -#: ../Doc/library/sys.rst:1240 +#: ../Doc/library/sys.rst:1243 msgid "" "If the new limit is too low at the current recursion depth, a :exc:" "`RecursionError` exception is raised." @@ -2308,7 +2315,7 @@ msgstr "" "Si la nouvelle limite est plus basse que la profondeur actuelle, une :exc:" "`RecursionError` est levée." -#: ../Doc/library/sys.rst:1243 +#: ../Doc/library/sys.rst:1246 msgid "" "A :exc:`RecursionError` exception is now raised if the new limit is too low " "at the current recursion depth." @@ -2316,7 +2323,7 @@ msgstr "" "Une :exc:`RecursionError` est maintenant levée si la nouvelle limite est " "plus basse que la profondeur de récursion actuelle." -#: ../Doc/library/sys.rst:1250 +#: ../Doc/library/sys.rst:1253 msgid "" "Set the interpreter's thread switch interval (in seconds). This floating-" "point value determines the ideal duration of the \"timeslices\" allocated to " @@ -2334,7 +2341,7 @@ msgstr "" "d'exécution prenant la main à la fin de l'intervalle revient au système " "d'exploitation. L'interpréteur n'a pas son propre ordonnanceur." -#: ../Doc/library/sys.rst:1267 +#: ../Doc/library/sys.rst:1270 msgid "" "Set the system's trace function, which allows you to implement a Python " "source code debugger in Python. The function is thread-specific; for a " @@ -2349,7 +2356,7 @@ msgstr "" "pour chaque fil d'exécution qu'il souhaite surveiller ou utilisez :func:" "`threading.settrace`." -#: ../Doc/library/sys.rst:1272 +#: ../Doc/library/sys.rst:1275 msgid "" "Trace functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2361,7 +2368,7 @@ msgstr "" "caractères pouvant valoir : ``'call'``, ``'line'``, ``'return'``, " "``'exception'`` ou ``'opcode'``. *arg* dépend du type de l'évènement." -#: ../Doc/library/sys.rst:1277 +#: ../Doc/library/sys.rst:1280 #, fuzzy msgid "" "The trace function is invoked (with *event* set to ``'call'``) whenever a " @@ -2374,7 +2381,7 @@ msgstr "" "référence à une fonction de traçage locale à utiliser pour ce *scope*, ou " "``None`` si le *Scope* ne doit pas être tracé." -#: ../Doc/library/sys.rst:1282 +#: ../Doc/library/sys.rst:1285 msgid "" "The local trace function should return a reference to itself (or to another " "function for further tracing in that scope), or ``None`` to turn off tracing " @@ -2384,7 +2391,7 @@ msgstr "" "autre fonction de traçage pour un traçage ultérieur dans cette portée), ou " "``None`` pour désactiver le traçage dans cette portée." -#: ../Doc/library/sys.rst:1286 +#: ../Doc/library/sys.rst:1289 msgid "" "If there is any error occurred in the trace function, it will be unset, just " "like ``settrace(None)`` is called." @@ -2392,7 +2399,7 @@ msgstr "" "Si une erreur se produit dans la fonction de trace, elle sera désactivée, " "tout comme si ``settrace(None)`` avait été appelée." -#: ../Doc/library/sys.rst:1292 +#: ../Doc/library/sys.rst:1295 msgid "" "A function is called (or some other code block entered). The global trace " "function is called; *arg* is ``None``; the return value specifies the local " @@ -2402,11 +2409,11 @@ msgstr "" "globale est appelée, *arg* est ``None``, la valeur renvoyée donne la " "fonction de traçage locale." -#: ../Doc/library/sys.rst:1303 +#: ../Doc/library/sys.rst:1306 msgid "``'line'``" msgstr "``'line'``" -#: ../Doc/library/sys.rst:1297 +#: ../Doc/library/sys.rst:1300 msgid "" "The interpreter is about to execute a new line of code or re-execute the " "condition of a loop. The local trace function is called; *arg* is ``None``; " @@ -2423,7 +2430,7 @@ msgstr "" "désactivés pour un cadre d'exécution en mettant :attr:`f_trace_lines` à :" "const:`False` pour ce cadre d'exécution." -#: ../Doc/library/sys.rst:1306 +#: ../Doc/library/sys.rst:1309 msgid "" "A function (or other code block) is about to return. The local trace " "function is called; *arg* is the value that will be returned, or ``None`` if " @@ -2435,11 +2442,11 @@ msgstr "" "renvoyée, ou ``None`` si l'événement est causé par la levée d'une exception. " "La valeur renvoyée par la fonction de traçage est ignorée." -#: ../Doc/library/sys.rst:1314 +#: ../Doc/library/sys.rst:1317 msgid "``'exception'``" msgstr "``'exception'``" -#: ../Doc/library/sys.rst:1312 +#: ../Doc/library/sys.rst:1315 msgid "" "An exception has occurred. The local trace function is called; *arg* is a " "tuple ``(exception, value, traceback)``; the return value specifies the new " @@ -2449,11 +2456,11 @@ msgstr "" "est le *tuple* ``(exception, valeur, traceback)``, la valeur renvoyée " "spécifie la nouvelle fonction de traçage locale." -#: ../Doc/library/sys.rst:1322 +#: ../Doc/library/sys.rst:1325 msgid "``'opcode'``" msgstr "``'opcode'``" -#: ../Doc/library/sys.rst:1317 +#: ../Doc/library/sys.rst:1320 msgid "" "The interpreter is about to execute a new opcode (see :mod:`dis` for opcode " "details). The local trace function is called; *arg* is ``None``; the return " @@ -2468,7 +2475,7 @@ msgstr "" "explicitement requis en mettant :attr:`f_trace_opcodes` à :const:`True` pour " "cette *frame*." -#: ../Doc/library/sys.rst:1324 +#: ../Doc/library/sys.rst:1327 msgid "" "Note that as an exception is propagated down the chain of callers, an " "``'exception'`` event is generated at each level." @@ -2476,7 +2483,7 @@ msgstr "" "Remarquez que, comme une exception se propage au travers de toute chaîne " "d'appelants, un événement ``'exception'`` est généré à chaque niveau." -#: ../Doc/library/sys.rst:1327 +#: ../Doc/library/sys.rst:1330 msgid "" "For more fine-grained usage, it's possible to set a trace function by " "assigning ``frame.f_trace = tracefunc`` explicitly, rather than relying on " @@ -2490,19 +2497,19 @@ msgid "" "on each frame)." msgstr "" -#: ../Doc/library/sys.rst:1338 +#: ../Doc/library/sys.rst:1341 msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" "Pour plus d'informations sur les objets code et objets représentant une " "*frame* de la pile, consultez :ref:`types`." -#: ../Doc/library/sys.rst:1341 +#: ../Doc/library/sys.rst:1344 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." msgstr "" -#: ../Doc/library/sys.rst:1344 +#: ../Doc/library/sys.rst:1347 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -2515,7 +2522,7 @@ msgstr "" "que de la définition du langage, et peut donc ne pas être disponible dans " "toutes les implémentations de Python." -#: ../Doc/library/sys.rst:1351 +#: ../Doc/library/sys.rst:1354 msgid "" "``'opcode'`` event type added; :attr:`f_trace_lines` and :attr:" "`f_trace_opcodes` attributes added to frames" @@ -2523,7 +2530,7 @@ msgstr "" "Ajout du type d’événement ``'opcode'`` ; les attributs :attr:`f_trace_lines` " "et :attr:`f_trace_opcodes` ont été ajoutés aux cadres d'exécution" -#: ../Doc/library/sys.rst:1356 +#: ../Doc/library/sys.rst:1359 msgid "" "Accepts two optional keyword arguments which are callables that accept an :" "term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -2537,25 +2544,25 @@ msgstr "" "première fois, et l'appelable *finalizer* sera appelé lorsqu'un générateur " "asynchrone est sur le point d'être détruit." -#: ../Doc/library/sys.rst:1363 +#: ../Doc/library/sys.rst:1366 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_firstiter`` with no arguments." msgstr "" -#: ../Doc/library/sys.rst:1365 +#: ../Doc/library/sys.rst:1368 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_finalizer`` with no arguments." msgstr "" -#: ../Doc/library/sys.rst:1366 +#: ../Doc/library/sys.rst:1369 msgid "" "Two auditing events are raised because the underlying API consists of two " "calls, each of which must raise its own event." msgstr "" -#: ../Doc/library/sys.rst:1369 +#: ../Doc/library/sys.rst:1372 msgid "" "See :pep:`525` for more details, and for a reference example of a " "*finalizer* method see the implementation of ``asyncio.Loop." @@ -2565,7 +2572,7 @@ msgstr "" "voir l'implémentation de ``asyncio.Loop.shutdown_asyncgens`` dans :source:" "`Lib/asyncio/base_events.py`" -#: ../Doc/library/sys.rst:1381 +#: ../Doc/library/sys.rst:1384 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -2580,7 +2587,7 @@ msgstr "" "coroutine a été créé, avec l'appel le plus récent en premier. Lorsqu'il est " "désactivé, la valeur de ``cr_origin`` est ``None``." -#: ../Doc/library/sys.rst:1388 +#: ../Doc/library/sys.rst:1391 msgid "" "To enable, pass a *depth* value greater than zero; this sets the number of " "frames whose information will be captured. To disable, pass set *depth* to " @@ -2590,11 +2597,11 @@ msgstr "" "le nombre de cadres d'exécution dont les informations sont capturées. Pour " "le désactiver, mettez *depth* à zéro." -#: ../Doc/library/sys.rst:1392 +#: ../Doc/library/sys.rst:1395 msgid "This setting is thread-specific." msgstr "Ce paramètre est spécifique au fil d'exécution courant." -#: ../Doc/library/sys.rst:1402 +#: ../Doc/library/sys.rst:1405 msgid "" "Changes the default filesystem encoding and errors mode to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." @@ -2603,7 +2610,7 @@ msgstr "" "fichiers à *mbcs* et *replace* respectivement, par cohérence avec les " "versions de Python antérieures à la 3.6." -#: ../Doc/library/sys.rst:1405 +#: ../Doc/library/sys.rst:1408 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." @@ -2611,11 +2618,11 @@ msgstr "" "Équivaut à définir la variable d'environnement :envvar:" "`PYTHONLEGACYWINDOWSFSENCODING` avant de lancer Python." -#: ../Doc/library/sys.rst:1410 +#: ../Doc/library/sys.rst:1413 msgid "See :pep:`529` for more details." msgstr "Voir la :pep:`529` pour plus d'informations." -#: ../Doc/library/sys.rst:1417 +#: ../Doc/library/sys.rst:1420 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" @@ -2623,7 +2630,7 @@ msgstr "" ":term:`objets fichiers ` utilisés par l'interpréteur pour " "l'entrée standard, la sortie standard et la sortie d'erreurs :" -#: ../Doc/library/sys.rst:1420 +#: ../Doc/library/sys.rst:1423 msgid "" "``stdin`` is used for all interactive input (including calls to :func:" "`input`);" @@ -2631,7 +2638,7 @@ msgstr "" "``stdin`` est utilisé pour toutes les entrées interactives (y compris les " "appels à :func:`input`)" -#: ../Doc/library/sys.rst:1422 +#: ../Doc/library/sys.rst:1425 msgid "" "``stdout`` is used for the output of :func:`print` and :term:`expression` " "statements and for the prompts of :func:`input`;" @@ -2639,13 +2646,13 @@ msgstr "" "``stdout`` est utilisé pour la sortie de :func:`print`, des :term:" "`expression` et pour les invites de :func:`input` ;" -#: ../Doc/library/sys.rst:1424 +#: ../Doc/library/sys.rst:1427 msgid "The interpreter's own prompts and its error messages go to ``stderr``." msgstr "" "Les invites de l'interpréteur et ses messages d'erreur sont écrits sur " "``stderr``." -#: ../Doc/library/sys.rst:1426 +#: ../Doc/library/sys.rst:1429 msgid "" "These streams are regular :term:`text files ` like those returned " "by the :func:`open` function. Their parameters are chosen as follows:" @@ -2654,7 +2661,7 @@ msgstr "" "renvoyés par la fonction :func:`open`. Leurs paramètres sont choisis comme " "suit :" -#: ../Doc/library/sys.rst:1430 +#: ../Doc/library/sys.rst:1433 msgid "" "The character encoding is platform-dependent. Non-Windows platforms use the " "locale encoding (see :meth:`locale.getpreferredencoding()`)." @@ -2663,14 +2670,16 @@ msgstr "" "Windows utilisent l'encodage défini dans les paramètres régionaux (voir :" "meth:`locale.getpreferredencoding()`)." -#: ../Doc/library/sys.rst:1434 +#: ../Doc/library/sys.rst:1437 +#, fuzzy msgid "" "On Windows, UTF-8 is used for the console device. Non-character devices " "such as disk files and pipes use the system locale encoding (i.e. the ANSI " -"codepage). Non-console character devices such as NUL (i.e. where isatty() " -"returns True) use the value of the console input and output codepages at " -"startup, respectively for stdin and stdout/stderr. This defaults to the " -"system locale encoding if the process is not initially attached to a console." +"codepage). Non-console character devices such as NUL (i.e. where " +"``isatty()`` returns ``True``) use the value of the console input and output " +"codepages at startup, respectively for stdin and stdout/stderr. This " +"defaults to the system locale encoding if the process is not initially " +"attached to a console." msgstr "" "Sous Windows, UTF-8 est utilisé pour le périphérique de console. Les " "périphériques non-caractères tels que les fichiers de disque et les tubes " @@ -2682,7 +2691,7 @@ msgstr "" "valeur par défaut est l'encodage des paramètres régionaux système si le " "processus n'est pas attaché initialement à une console." -#: ../Doc/library/sys.rst:1443 +#: ../Doc/library/sys.rst:1446 msgid "" "The special behaviour of the console can be overridden by setting the " "environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In " @@ -2693,7 +2702,7 @@ msgstr "" "Python. Dans ce cas, les pages de code de la console sont utilisées comme " "pour tout autre périphérique de caractères." -#: ../Doc/library/sys.rst:1448 +#: ../Doc/library/sys.rst:1451 msgid "" "Under all platforms, you can override the character encoding by setting the :" "envvar:`PYTHONIOENCODING` environment variable before starting Python or by " @@ -2708,7 +2717,7 @@ msgstr "" "Toutefois, pour la console Windows, cela s'applique uniquement lorsque :" "envvar:`PYTHONLEGACYWINDOWSSTDIO` est également défini." -#: ../Doc/library/sys.rst:1455 +#: ../Doc/library/sys.rst:1458 msgid "" "When interactive, ``stdout`` and ``stderr`` streams are line-buffered. " "Otherwise, they are block-buffered like regular text files. You can " @@ -2719,7 +2728,7 @@ msgstr "" "fichiers textes classiques. Vous pouvez remplacer cette valeur avec " "l'option :option:`-u` en ligne de commande." -#: ../Doc/library/sys.rst:1461 +#: ../Doc/library/sys.rst:1464 msgid "" "To write or read binary data from/to the standard streams, use the " "underlying binary :data:`~io.TextIOBase.buffer` object. For example, to " @@ -2730,7 +2739,7 @@ msgstr "" "pour écrire des octets sur :data:`stdout`, utilisez ``sys.stdout.buffer." "write(b'abc')``." -#: ../Doc/library/sys.rst:1465 +#: ../Doc/library/sys.rst:1468 msgid "" "However, if you are writing a library (and do not control in which context " "its code will be executed), be aware that the standard streams may be " @@ -2742,7 +2751,7 @@ msgstr "" "remplacés par des objets de type fichier tel un :class:`io.StringIO` qui " "n'ont pas l'attribut :attr:`~io.BufferedIOBase.buffer`." -#: ../Doc/library/sys.rst:1475 +#: ../Doc/library/sys.rst:1478 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -2754,7 +2763,7 @@ msgstr "" "pendant la finalisation, et peuvent être utiles pour écrire dans le vrai " "flux standard, peu importe si l'objet ``sys.std*`` a été redirigé." -#: ../Doc/library/sys.rst:1480 +#: ../Doc/library/sys.rst:1483 msgid "" "It can also be used to restore the actual files to known working file " "objects in case they have been overwritten with a broken object. However, " @@ -2766,7 +2775,7 @@ msgstr "" "cependant la bonne façon de faire serait de sauvegarder explicitement les " "flux avant de les remplacer et ainsi pouvoir les restaurer." -#: ../Doc/library/sys.rst:1486 +#: ../Doc/library/sys.rst:1489 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -2779,7 +2788,7 @@ msgstr "" "Windows qui ne sont pas connectées à une console, ou les applications Python " "démarrées avec :program:`pythonw`." -#: ../Doc/library/sys.rst:1494 +#: ../Doc/library/sys.rst:1497 #, fuzzy msgid "" "A :term:`named tuple` holding information about the thread implementation." @@ -2787,52 +2796,52 @@ msgstr "" "Une :term:`struct sequence` contenant des informations sur l'implémentation " "des fils d'exécution." -#: ../Doc/library/sys.rst:1502 +#: ../Doc/library/sys.rst:1505 msgid ":const:`name`" msgstr ":const:`name`" -#: ../Doc/library/sys.rst:1502 +#: ../Doc/library/sys.rst:1505 msgid "Name of the thread implementation:" msgstr "Nom de l'implémentation des fils d'exécution :" -#: ../Doc/library/sys.rst:1504 +#: ../Doc/library/sys.rst:1507 msgid "``'nt'``: Windows threads" msgstr "``'nt'``: Fils d'exécution Windows" -#: ../Doc/library/sys.rst:1505 +#: ../Doc/library/sys.rst:1508 msgid "``'pthread'``: POSIX threads" msgstr "``'pthread'``: Fils d'exécution POSIX" -#: ../Doc/library/sys.rst:1506 +#: ../Doc/library/sys.rst:1509 msgid "``'solaris'``: Solaris threads" msgstr "``'solaris'``: Fils d'exécution Solaris" -#: ../Doc/library/sys.rst:1508 +#: ../Doc/library/sys.rst:1511 msgid ":const:`lock`" msgstr ":const:`lock`" -#: ../Doc/library/sys.rst:1508 +#: ../Doc/library/sys.rst:1511 msgid "Name of the lock implementation:" msgstr "Nom de l'implémentation du système de verrou :" -#: ../Doc/library/sys.rst:1510 +#: ../Doc/library/sys.rst:1513 msgid "``'semaphore'``: a lock uses a semaphore" msgstr "``'semaphore'``: Verrou utilisant une sémaphore" -#: ../Doc/library/sys.rst:1511 +#: ../Doc/library/sys.rst:1514 msgid "``'mutex+cond'``: a lock uses a mutex and a condition variable" msgstr "" "``'mutex+cond'``: Un verrou utilisant un *mutex* et une *condition variable*" -#: ../Doc/library/sys.rst:1513 +#: ../Doc/library/sys.rst:1516 msgid "``None`` if this information is unknown" msgstr "``None`` si cette information n'est pas connue" -#: ../Doc/library/sys.rst:1515 +#: ../Doc/library/sys.rst:1518 msgid ":const:`version`" msgstr ":const:`version`" -#: ../Doc/library/sys.rst:1515 +#: ../Doc/library/sys.rst:1518 msgid "" "Name and version of the thread library. It is a string, or ``None`` if this " "information is unknown." @@ -2840,7 +2849,7 @@ msgstr "" "Nom et version de l'implémentation des fils d'exécution, c'est une chaîne, " "ou ``None`` si ces informations sont inconnues." -#: ../Doc/library/sys.rst:1524 +#: ../Doc/library/sys.rst:1527 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -2854,73 +2863,73 @@ msgstr "" "est égale ou inférieure à ``0``, la pile d'appels n'est pas affichée, seul " "seuls le type et la valeur de l'exception sont le sont." -#: ../Doc/library/sys.rst:1532 +#: ../Doc/library/sys.rst:1535 msgid "Handle an unraisable exception." msgstr "" -#: ../Doc/library/sys.rst:1534 +#: ../Doc/library/sys.rst:1537 msgid "" "Called when an exception has occurred but there is no way for Python to " "handle it. For example, when a destructor raises an exception or during " "garbage collection (:func:`gc.collect`)." msgstr "" -#: ../Doc/library/sys.rst:1538 +#: ../Doc/library/sys.rst:1541 #, fuzzy msgid "The *unraisable* argument has the following attributes:" msgstr "Les événements ont la signification suivante :" -#: ../Doc/library/sys.rst:1540 +#: ../Doc/library/sys.rst:1543 msgid "*exc_type*: Exception type." msgstr "" -#: ../Doc/library/sys.rst:1541 +#: ../Doc/library/sys.rst:1544 msgid "*exc_value*: Exception value, can be ``None``." msgstr "" -#: ../Doc/library/sys.rst:1542 +#: ../Doc/library/sys.rst:1545 msgid "*exc_traceback*: Exception traceback, can be ``None``." msgstr "" -#: ../Doc/library/sys.rst:1543 +#: ../Doc/library/sys.rst:1546 msgid "*err_msg*: Error message, can be ``None``." msgstr "" -#: ../Doc/library/sys.rst:1544 +#: ../Doc/library/sys.rst:1547 msgid "*object*: Object causing the exception, can be ``None``." msgstr "" -#: ../Doc/library/sys.rst:1546 +#: ../Doc/library/sys.rst:1549 msgid "" "The default hook formats *err_msg* and *object* as: ``f'{err_msg}: {object!" "r}'``; use \"Exception ignored in\" error message if *err_msg* is ``None``." msgstr "" -#: ../Doc/library/sys.rst:1550 +#: ../Doc/library/sys.rst:1553 msgid "" ":func:`sys.unraisablehook` can be overridden to control how unraisable " "exceptions are handled." msgstr "" -#: ../Doc/library/sys.rst:1553 +#: ../Doc/library/sys.rst:1556 msgid "" "Storing *exc_value* using a custom hook can create a reference cycle. It " "should be cleared explicitly to break the reference cycle when the exception " "is no longer needed." msgstr "" -#: ../Doc/library/sys.rst:1557 +#: ../Doc/library/sys.rst:1560 msgid "" "Storing *object* using a custom hook can resurrect it if it is set to an " "object which is being finalized. Avoid storing *object* after the custom " "hook completes to avoid resurrecting objects." msgstr "" -#: ../Doc/library/sys.rst:1561 +#: ../Doc/library/sys.rst:1564 msgid "See also :func:`excepthook` which handles uncaught exceptions." msgstr "" -#: ../Doc/library/sys.rst:1567 +#: ../Doc/library/sys.rst:1570 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -2935,7 +2944,7 @@ msgstr "" "utilisez plutôt :data:`version_info` et les fonctions fournies par le " "module :mod:`platform`." -#: ../Doc/library/sys.rst:1576 +#: ../Doc/library/sys.rst:1579 msgid "" "The C API version for this interpreter. Programmers may find this useful " "when debugging version conflicts between Python and extension modules." @@ -2944,7 +2953,7 @@ msgstr "" "trouver cette information utile en déboguant des conflits de versions entre " "Python et des modules d'extension." -#: ../Doc/library/sys.rst:1582 +#: ../Doc/library/sys.rst:1585 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -2962,11 +2971,11 @@ msgstr "" "attributs sont aussi accessibles par leur nom, ainsi ``sys.version_info[0]`` " "est équivalent à ``sys.version_info.major``, et ainsi de suite." -#: ../Doc/library/sys.rst:1590 +#: ../Doc/library/sys.rst:1593 msgid "Added named component attributes." msgstr "Ajout des attributs nommés." -#: ../Doc/library/sys.rst:1595 +#: ../Doc/library/sys.rst:1598 msgid "" "This is an implementation detail of the warnings framework; do not modify " "this value. Refer to the :mod:`warnings` module for more information on the " @@ -2976,7 +2985,7 @@ msgstr "" "Ne modifiez pas cette valeur. Reportez-vous au module :mod:`warnings` pour " "plus d'informations sur le gestionnaire d'avertissements." -#: ../Doc/library/sys.rst:1602 +#: ../Doc/library/sys.rst:1605 msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " @@ -2991,7 +3000,7 @@ msgstr "" "d'information, et la modifier n'a aucun effet sur les clés de registre " "utilisées par Python." -#: ../Doc/library/sys.rst:1613 +#: ../Doc/library/sys.rst:1616 msgid "" "A dictionary of the various implementation-specific flags passed through " "the :option:`-X` command-line option. Option names are either mapped to " @@ -3002,7 +3011,7 @@ msgstr "" "correspondent soit leur valeur, si elle est donnée explicitement, soit à :" "const:`True`. Exemple:" -#: ../Doc/library/sys.rst:1629 +#: ../Doc/library/sys.rst:1632 msgid "" "This is a CPython-specific way of accessing options passed through :option:`-" "X`. Other implementations may export them through other means, or not at " @@ -3012,11 +3021,11 @@ msgstr "" "l'option :option:`-X`. D'autres implémentations pourraient les exposer par " "d'autres moyens, ou pas du tout." -#: ../Doc/library/sys.rst:1637 +#: ../Doc/library/sys.rst:1640 msgid "Citations" msgstr "Citations" -#: ../Doc/library/sys.rst:1638 +#: ../Doc/library/sys.rst:1641 msgid "" "ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at http://www.open-std.org/jtc1/sc22/wg14/www/docs/" diff --git a/library/threading.po b/library/threading.po index 3b172ddf..a4052ed8 100644 --- a/library/threading.po +++ b/library/threading.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-04-12 00:15+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -123,8 +123,8 @@ msgstr "" #: ../Doc/library/threading.rst:65 msgid "" -"Storing *object* using a custom hook can resurrect it if it is set to an " -"object which is being finalized. Avoid storing *object* after the custom " +"Storing *thread* using a custom hook can resurrect it if it is set to an " +"object which is being finalized. Avoid storing *thread* after the custom " "hook completes to avoid resurrecting objects." msgstr "" @@ -922,21 +922,22 @@ msgstr "" #: ../Doc/library/threading.rst:537 msgid "" "When invoked with the *blocking* argument set to true, do the same thing as " -"when called without arguments, and return true." +"when called without arguments, and return ``True``." msgstr "" #: ../Doc/library/threading.rst:540 msgid "" "When invoked with the *blocking* argument set to false, do not block. If a " -"call without an argument would block, return false immediately; otherwise, " -"do the same thing as when called without arguments, and return true." +"call without an argument would block, return ``False`` immediately; " +"otherwise, do the same thing as when called without arguments, and return " +"``True``." msgstr "" #: ../Doc/library/threading.rst:544 msgid "" "When invoked with the floating-point *timeout* argument set to a positive " "value, block for at most the number of seconds specified by *timeout* and as " -"long as the lock cannot be acquired. Return true if the lock has been " +"long as the lock cannot be acquired. Return ``True`` if the lock has been " "acquired, false if the timeout has elapsed." msgstr "" @@ -1222,14 +1223,14 @@ msgstr "" #: ../Doc/library/threading.rst:778 msgid "" "If the internal counter is larger than zero on entry, decrement it by one " -"and return true immediately." +"and return ``True`` immediately." msgstr "" #: ../Doc/library/threading.rst:780 msgid "" "If the internal counter is zero on entry, block until awoken by a call to :" "meth:`~Semaphore.release`. Once awoken (and the counter is greater than 0), " -"decrement the counter by 1 and return true. Exactly one thread will be " +"decrement the counter by 1 and return ``True``. Exactly one thread will be " "awoken by each call to :meth:`~Semaphore.release`. The order in which " "threads are awoken should not be relied on." msgstr "" @@ -1237,15 +1238,15 @@ msgstr "" #: ../Doc/library/threading.rst:786 msgid "" "When invoked with *blocking* set to false, do not block. If a call without " -"an argument would block, return false immediately; otherwise, do the same " -"thing as when called without arguments, and return true." +"an argument would block, return ``False`` immediately; otherwise, do the " +"same thing as when called without arguments, and return ``True``." msgstr "" #: ../Doc/library/threading.rst:790 msgid "" "When invoked with a *timeout* other than ``None``, it will block for at most " "*timeout* seconds. If acquire does not complete successfully in that " -"interval, return false. Return true otherwise." +"interval, return ``False``. Return ``True`` otherwise." msgstr "" #: ../Doc/library/threading.rst:799 @@ -1315,7 +1316,7 @@ msgid "" msgstr "" #: ../Doc/library/threading.rst:869 -msgid "Return true if and only if the internal flag is true." +msgid "Return ``True`` if and only if the internal flag is true." msgstr "" #: ../Doc/library/threading.rst:873 @@ -1348,8 +1349,8 @@ msgstr "" #: ../Doc/library/threading.rst:893 msgid "" -"This method returns true if and only if the internal flag has been set to " -"true, either before the wait call or after the wait starts, so it will " +"This method returns ``True`` if and only if the internal flag has been set " +"to true, either before the wait call or after the wait starts, so it will " "always return ``True`` except if a timeout is given and the operation times " "out." msgstr "" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 3ba9eba9..6c2cbfc6 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -1325,8 +1325,8 @@ msgstr "" #: ../Doc/library/tkinter.ttk.rst:874 msgid "" -"True/False value indicating whether the item's children should be displayed " -"or hidden." +"``True``/``False`` value indicating whether the item's children should be " +"displayed or hidden." msgstr "" #: ../Doc/library/tkinter.ttk.rst:877 @@ -1536,7 +1536,7 @@ msgid "" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1001 -msgid "stretch: True/False" +msgid "stretch: ``True``/``False``" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1001 diff --git a/library/token.po b/library/token.po index 77dd2c59..5337f4e3 100644 --- a/library/token.po +++ b/library/token.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-09-28 10:04+0200\n" "Last-Translator: Mickaël Bergem \n" "Language-Team: FRENCH \n" @@ -59,15 +59,18 @@ msgstr "" "représentation plus humaine des arbres syntaxiques." #: ../Doc/library/token.rst:32 -msgid "Return true for terminal token values." +#, fuzzy +msgid "Return ``True`` for terminal token values." msgstr "Renvoie ``True`` pour les valeurs des jetons terminaux." #: ../Doc/library/token.rst:37 -msgid "Return true for non-terminal token values." +#, fuzzy +msgid "Return ``True`` for non-terminal token values." msgstr "Renvoie ``True`` pour les valeurs des jetons non terminaux." #: ../Doc/library/token.rst:42 -msgid "Return true if *x* is the marker indicating the end of input." +#, fuzzy +msgid "Return ``True`` if *x* is the marker indicating the end of input." msgstr "" "Renvoie ``True`` si *x* est le marqueur indiquant la fin de de la source." diff --git a/library/types.po b/library/types.po index fe816440..b5a43173 100644 --- a/library/types.po +++ b/library/types.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-09-28 10:04+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -187,75 +187,88 @@ msgstr "" msgid "The type for code objects such as returned by :func:`compile`." msgstr "" -#: ../Doc/library/types.rst:144 +#: ../Doc/library/types.rst:142 +msgid "" +"Raises an :ref:`auditing event ` ``code.__new__`` with arguments " +"``code``, ``filename``, ``name``, ``argcount``, ``posonlyargcount``, " +"``kwonlyargcount``, ``nlocals``, ``stacksize``, ``flags``." +msgstr "" + +#: ../Doc/library/types.rst:143 +msgid "" +"Note that the audited arguments may not match the names or positions " +"required by the initializer." +msgstr "" + +#: ../Doc/library/types.rst:148 msgid "" "The type for cell objects: such objects are used as containers for a " "function's free variables." msgstr "" -#: ../Doc/library/types.rst:152 +#: ../Doc/library/types.rst:156 msgid "The type of methods of user-defined class instances." msgstr "" -#: ../Doc/library/types.rst:158 +#: ../Doc/library/types.rst:162 msgid "" "The type of built-in functions like :func:`len` or :func:`sys.exit`, and " "methods of built-in classes. (Here, the term \"built-in\" means \"written " "in C\".)" msgstr "" -#: ../Doc/library/types.rst:165 +#: ../Doc/library/types.rst:169 msgid "" "The type of methods of some built-in data types and base classes such as :" "meth:`object.__init__` or :meth:`object.__lt__`." msgstr "" -#: ../Doc/library/types.rst:173 +#: ../Doc/library/types.rst:177 msgid "" "The type of *bound* methods of some built-in data types and base classes. " "For example it is the type of :code:`object().__str__`." msgstr "" -#: ../Doc/library/types.rst:181 +#: ../Doc/library/types.rst:185 msgid "" "The type of methods of some built-in data types such as :meth:`str.join`." msgstr "" -#: ../Doc/library/types.rst:188 +#: ../Doc/library/types.rst:192 msgid "" "The type of *unbound* class methods of some built-in data types such as " "``dict.__dict__['fromkeys']``." msgstr "" -#: ../Doc/library/types.rst:196 +#: ../Doc/library/types.rst:200 msgid "" "The type of :term:`modules `. Constructor takes the name of the " "module to be created and optionally its :term:`docstring`." msgstr "" -#: ../Doc/library/types.rst:200 +#: ../Doc/library/types.rst:204 msgid "" "Use :func:`importlib.util.module_from_spec` to create a new module if you " "wish to set the various import-controlled attributes." msgstr "" -#: ../Doc/library/types.rst:205 +#: ../Doc/library/types.rst:209 msgid "The :term:`docstring` of the module. Defaults to ``None``." msgstr "" -#: ../Doc/library/types.rst:209 +#: ../Doc/library/types.rst:213 msgid "The :term:`loader` which loaded the module. Defaults to ``None``." msgstr "" -#: ../Doc/library/types.rst:211 ../Doc/library/types.rst:225 +#: ../Doc/library/types.rst:215 ../Doc/library/types.rst:229 msgid "Defaults to ``None``. Previously the attribute was optional." msgstr "" -#: ../Doc/library/types.rst:216 +#: ../Doc/library/types.rst:220 msgid "The name of the module." msgstr "" -#: ../Doc/library/types.rst:220 +#: ../Doc/library/types.rst:224 msgid "" "Which :term:`package` a module belongs to. If the module is top-level (i.e. " "not a part of any specific package) then the attribute should be set to " @@ -263,30 +276,30 @@ msgid "" "`__name__` if the module is a package itself). Defaults to ``None``." msgstr "" -#: ../Doc/library/types.rst:231 +#: ../Doc/library/types.rst:235 msgid "The type of traceback objects such as found in ``sys.exc_info()[2]``." msgstr "" -#: ../Doc/library/types.rst:233 +#: ../Doc/library/types.rst:237 msgid "" "See :ref:`the language reference ` for details of the " "available attributes and operations, and guidance on creating tracebacks " "dynamically." msgstr "" -#: ../Doc/library/types.rst:240 +#: ../Doc/library/types.rst:244 msgid "" "The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a " "traceback object." msgstr "" -#: ../Doc/library/types.rst:243 +#: ../Doc/library/types.rst:247 msgid "" "See :ref:`the language reference ` for details of the " "available attributes and operations." msgstr "" -#: ../Doc/library/types.rst:249 +#: ../Doc/library/types.rst:253 msgid "" "The type of objects defined in extension modules with ``PyGetSetDef``, such " "as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as " @@ -294,7 +307,7 @@ msgid "" "`property` type, but for classes defined in extension modules." msgstr "" -#: ../Doc/library/types.rst:257 +#: ../Doc/library/types.rst:261 msgid "" "The type of objects defined in extension modules with ``PyMemberDef``, such " "as ``datetime.timedelta.days``. This type is used as descriptor for simple " @@ -303,97 +316,97 @@ msgid "" "modules." msgstr "" -#: ../Doc/library/types.rst:264 +#: ../Doc/library/types.rst:268 msgid "" "In other implementations of Python, this type may be identical to " "``GetSetDescriptorType``." msgstr "" -#: ../Doc/library/types.rst:269 +#: ../Doc/library/types.rst:273 msgid "" "Read-only proxy of a mapping. It provides a dynamic view on the mapping's " "entries, which means that when the mapping changes, the view reflects these " "changes." msgstr "" -#: ../Doc/library/types.rst:277 +#: ../Doc/library/types.rst:281 msgid "" "Return ``True`` if the underlying mapping has a key *key*, else ``False``." msgstr "" -#: ../Doc/library/types.rst:282 +#: ../Doc/library/types.rst:286 msgid "" "Return the item of the underlying mapping with key *key*. Raises a :exc:" "`KeyError` if *key* is not in the underlying mapping." msgstr "" -#: ../Doc/library/types.rst:287 +#: ../Doc/library/types.rst:291 msgid "" "Return an iterator over the keys of the underlying mapping. This is a " "shortcut for ``iter(proxy.keys())``." msgstr "" -#: ../Doc/library/types.rst:292 +#: ../Doc/library/types.rst:296 msgid "Return the number of items in the underlying mapping." msgstr "" -#: ../Doc/library/types.rst:296 +#: ../Doc/library/types.rst:300 msgid "Return a shallow copy of the underlying mapping." msgstr "" -#: ../Doc/library/types.rst:300 +#: ../Doc/library/types.rst:304 msgid "" "Return the value for *key* if *key* is in the underlying mapping, else " "*default*. If *default* is not given, it defaults to ``None``, so that this " "method never raises a :exc:`KeyError`." msgstr "" -#: ../Doc/library/types.rst:306 +#: ../Doc/library/types.rst:310 msgid "" "Return a new view of the underlying mapping's items (``(key, value)`` pairs)." msgstr "" -#: ../Doc/library/types.rst:311 +#: ../Doc/library/types.rst:315 msgid "Return a new view of the underlying mapping's keys." msgstr "" -#: ../Doc/library/types.rst:315 +#: ../Doc/library/types.rst:319 msgid "Return a new view of the underlying mapping's values." msgstr "" -#: ../Doc/library/types.rst:319 +#: ../Doc/library/types.rst:323 msgid "Additional Utility Classes and Functions" msgstr "" -#: ../Doc/library/types.rst:323 +#: ../Doc/library/types.rst:327 msgid "" "A simple :class:`object` subclass that provides attribute access to its " "namespace, as well as a meaningful repr." msgstr "" -#: ../Doc/library/types.rst:326 +#: ../Doc/library/types.rst:330 msgid "" "Unlike :class:`object`, with ``SimpleNamespace`` you can add and remove " "attributes. If a ``SimpleNamespace`` object is initialized with keyword " "arguments, those are directly added to the underlying namespace." msgstr "" -#: ../Doc/library/types.rst:330 +#: ../Doc/library/types.rst:334 msgid "The type is roughly equivalent to the following code::" msgstr "" -#: ../Doc/library/types.rst:344 +#: ../Doc/library/types.rst:348 msgid "" "``SimpleNamespace`` may be useful as a replacement for ``class NS: pass``. " "However, for a structured record type use :func:`~collections.namedtuple` " "instead." msgstr "" -#: ../Doc/library/types.rst:353 +#: ../Doc/library/types.rst:357 msgid "Route attribute access on a class to __getattr__." msgstr "" -#: ../Doc/library/types.rst:355 +#: ../Doc/library/types.rst:359 msgid "" "This is a descriptor, used to define attributes that act differently when " "accessed through an instance and through a class. Instance access remains " @@ -401,17 +414,17 @@ msgid "" "class's __getattr__ method; this is done by raising AttributeError." msgstr "" -#: ../Doc/library/types.rst:360 +#: ../Doc/library/types.rst:364 msgid "" "This allows one to have properties active on an instance, and have virtual " "attributes on the class with the same name (see Enum for an example)." msgstr "" -#: ../Doc/library/types.rst:367 +#: ../Doc/library/types.rst:371 msgid "Coroutine Utility Functions" msgstr "" -#: ../Doc/library/types.rst:371 +#: ../Doc/library/types.rst:375 msgid "" "This function transforms a :term:`generator` function into a :term:" "`coroutine function` which returns a generator-based coroutine. The " @@ -420,11 +433,11 @@ msgid "" "However, it may not necessarily implement the :meth:`__await__` method." msgstr "" -#: ../Doc/library/types.rst:378 +#: ../Doc/library/types.rst:382 msgid "If *gen_func* is a generator function, it will be modified in-place." msgstr "" -#: ../Doc/library/types.rst:380 +#: ../Doc/library/types.rst:384 msgid "" "If *gen_func* is not a generator function, it will be wrapped. If it returns " "an instance of :class:`collections.abc.Generator`, the instance will be " diff --git a/library/typing.po b/library/typing.po index 2008034c..2ac12acb 100644 --- a/library/typing.po +++ b/library/typing.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -203,8 +203,8 @@ msgstr "" #: ../Doc/library/typing.rst:234 msgid "" -"The :class:`Generic` base class uses a metaclass that defines :meth:" -"`__getitem__` so that ``LoggedVar[t]`` is valid as a type::" +"The :class:`Generic` base class defines :meth:`__class_getitem__` so that " +"``LoggedVar[t]`` is valid as a type::" msgstr "" #: ../Doc/library/typing.rst:243 @@ -244,33 +244,35 @@ msgid "User defined generic type aliases are also supported. Examples::" msgstr "" #: ../Doc/library/typing.rst:310 +msgid ":class:`Generic` no longer has a custom metaclass." +msgstr "" + +#: ../Doc/library/typing.rst:313 msgid "" -"The metaclass used by :class:`Generic` is a subclass of :class:`abc." -"ABCMeta`. A generic class can be an ABC by including abstract methods or " -"properties, and generic classes can also have ABCs as base classes without a " +"A user-defined generic class can have ABCs as base classes without a " "metaclass conflict. Generic metaclasses are not supported. The outcome of " "parameterizing generics is cached, and most types in the typing module are " "hashable and comparable for equality." msgstr "" -#: ../Doc/library/typing.rst:319 +#: ../Doc/library/typing.rst:320 msgid "The :data:`Any` type" msgstr "" -#: ../Doc/library/typing.rst:321 +#: ../Doc/library/typing.rst:322 msgid "" "A special kind of type is :data:`Any`. A static type checker will treat " "every type as being compatible with :data:`Any` and :data:`Any` as being " "compatible with every type." msgstr "" -#: ../Doc/library/typing.rst:325 +#: ../Doc/library/typing.rst:326 msgid "" "This means that it is possible to perform any operation or method call on a " "value of type on :data:`Any` and assign it to any variable::" msgstr "" -#: ../Doc/library/typing.rst:343 +#: ../Doc/library/typing.rst:344 msgid "" "Notice that no typechecking is performed when assigning a value of type :" "data:`Any` to a more precise type. For example, the static type checker did " @@ -279,19 +281,19 @@ msgid "" "runtime!" msgstr "" -#: ../Doc/library/typing.rst:349 +#: ../Doc/library/typing.rst:350 msgid "" "Furthermore, all functions without a return type or parameter types will " "implicitly default to using :data:`Any`::" msgstr "" -#: ../Doc/library/typing.rst:362 +#: ../Doc/library/typing.rst:363 msgid "" "This behavior allows :data:`Any` to be used as an *escape hatch* when you " "need to mix dynamically and statically typed code." msgstr "" -#: ../Doc/library/typing.rst:365 +#: ../Doc/library/typing.rst:366 msgid "" "Contrast the behavior of :data:`Any` with the behavior of :class:`object`. " "Similar to :data:`Any`, every type is a subtype of :class:`object`. However, " @@ -299,7 +301,7 @@ msgid "" "subtype of every other type." msgstr "" -#: ../Doc/library/typing.rst:370 +#: ../Doc/library/typing.rst:371 msgid "" "That means when the type of a value is :class:`object`, a type checker will " "reject almost all operations on it, and assigning it to a variable (or using " @@ -307,24 +309,24 @@ msgid "" "example::" msgstr "" -#: ../Doc/library/typing.rst:392 +#: ../Doc/library/typing.rst:393 msgid "" "Use :class:`object` to indicate that a value could be any type in a typesafe " "manner. Use :data:`Any` to indicate that a value is dynamically typed." msgstr "" -#: ../Doc/library/typing.rst:397 +#: ../Doc/library/typing.rst:398 msgid "Nominal vs structural subtyping" msgstr "" -#: ../Doc/library/typing.rst:399 +#: ../Doc/library/typing.rst:400 msgid "" "Initially :pep:`484` defined Python static type system as using *nominal " "subtyping*. This means that a class ``A`` is allowed where a class ``B`` is " "expected if and only if ``A`` is a subclass of ``B``." msgstr "" -#: ../Doc/library/typing.rst:403 +#: ../Doc/library/typing.rst:404 msgid "" "This requirement previously also applied to abstract base classes, such as :" "class:`Iterable`. The problem with this approach is that a class had to be " @@ -333,7 +335,7 @@ msgid "" "this conforms to the :pep:`484`::" msgstr "" -#: ../Doc/library/typing.rst:416 +#: ../Doc/library/typing.rst:417 msgid "" ":pep:`544` allows to solve this problem by allowing users to write the above " "code without explicit base classes in the class definition, allowing " @@ -342,30 +344,30 @@ msgid "" "subtyping* (or static duck-typing)::" msgstr "" -#: ../Doc/library/typing.rst:432 +#: ../Doc/library/typing.rst:433 msgid "" "Moreover, by subclassing a special class :class:`Protocol`, a user can " "define new custom protocols to fully enjoy structural subtyping (see " "examples below)." msgstr "" -#: ../Doc/library/typing.rst:438 +#: ../Doc/library/typing.rst:439 msgid "Classes, functions, and decorators" msgstr "" -#: ../Doc/library/typing.rst:440 +#: ../Doc/library/typing.rst:441 msgid "The module defines the following classes, functions and decorators:" msgstr "" -#: ../Doc/library/typing.rst:444 +#: ../Doc/library/typing.rst:445 msgid "Type variable." msgstr "" -#: ../Doc/library/typing.rst:446 ../Doc/library/typing.rst:914 +#: ../Doc/library/typing.rst:447 ../Doc/library/typing.rst:915 msgid "Usage::" msgstr "Utilisation ::" -#: ../Doc/library/typing.rst:451 +#: ../Doc/library/typing.rst:452 msgid "" "Type variables exist primarily for the benefit of static type checkers. " "They serve as the parameters for generic types as well as for generic " @@ -373,7 +375,7 @@ msgid "" "types. Generic functions work as follows::" msgstr "" -#: ../Doc/library/typing.rst:464 +#: ../Doc/library/typing.rst:465 msgid "" "The latter example's signature is essentially the overloading of ``(str, " "str) -> str`` and ``(bytes, bytes) -> bytes``. Also note that if the " @@ -381,13 +383,13 @@ msgid "" "still plain :class:`str`." msgstr "" -#: ../Doc/library/typing.rst:469 +#: ../Doc/library/typing.rst:470 msgid "" "At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`. In general, :" "func:`isinstance` and :func:`issubclass` should not be used with types." msgstr "" -#: ../Doc/library/typing.rst:472 +#: ../Doc/library/typing.rst:473 msgid "" "Type variables may be marked covariant or contravariant by passing " "``covariant=True`` or ``contravariant=True``. See :pep:`484` for more " @@ -397,33 +399,33 @@ msgid "" "must be a subclass of the boundary type, see :pep:`484`." msgstr "" -#: ../Doc/library/typing.rst:482 +#: ../Doc/library/typing.rst:483 msgid "Abstract base class for generic types." msgstr "" -#: ../Doc/library/typing.rst:484 +#: ../Doc/library/typing.rst:485 msgid "" "A generic type is typically declared by inheriting from an instantiation of " "this class with one or more type variables. For example, a generic mapping " "type might be defined as::" msgstr "" -#: ../Doc/library/typing.rst:493 +#: ../Doc/library/typing.rst:494 msgid "This class can then be used as follows::" msgstr "" -#: ../Doc/library/typing.rst:506 +#: ../Doc/library/typing.rst:507 msgid "" "Base class for protocol classes. Protocol classes are defined like this::" msgstr "" -#: ../Doc/library/typing.rst:512 +#: ../Doc/library/typing.rst:513 msgid "" "Such classes are primarily used with static type checkers that recognize " "structural subtyping (static duck-typing), for example::" msgstr "" -#: ../Doc/library/typing.rst:524 +#: ../Doc/library/typing.rst:525 msgid "" "See :pep:`544` for details. Protocol classes decorated with :func:" "`runtime_checkable` (described later) act as simple-minded runtime protocols " @@ -431,11 +433,11 @@ msgid "" "signatures." msgstr "" -#: ../Doc/library/typing.rst:529 +#: ../Doc/library/typing.rst:530 msgid "Protocol classes can be generic, for example::" msgstr "" -#: ../Doc/library/typing.rst:539 +#: ../Doc/library/typing.rst:540 msgid "" "A variable annotated with ``C`` may accept a value of type ``C``. In " "contrast, a variable annotated with ``Type[C]`` may accept values that are " @@ -443,11 +445,11 @@ msgid "" "``C``. For example::" msgstr "" -#: ../Doc/library/typing.rst:548 +#: ../Doc/library/typing.rst:549 msgid "Note that ``Type[C]`` is covariant::" msgstr "" -#: ../Doc/library/typing.rst:560 +#: ../Doc/library/typing.rst:561 msgid "" "The fact that ``Type[C]`` is covariant implies that all subclasses of ``C`` " "should implement the same constructor signature and class method signatures " @@ -457,286 +459,286 @@ msgid "" "particular case may change in future revisions of :pep:`484`." msgstr "" -#: ../Doc/library/typing.rst:568 +#: ../Doc/library/typing.rst:569 msgid "" "The only legal parameters for :class:`Type` are classes, :data:`Any`, :ref:" "`type variables `, and unions of any of these types. For example::" msgstr "" -#: ../Doc/library/typing.rst:574 +#: ../Doc/library/typing.rst:575 msgid "" "``Type[Any]`` is equivalent to ``Type`` which in turn is equivalent to " "``type``, which is the root of Python's metaclass hierarchy." msgstr "" -#: ../Doc/library/typing.rst:581 +#: ../Doc/library/typing.rst:582 msgid "A generic version of :class:`collections.abc.Iterable`." msgstr "" -#: ../Doc/library/typing.rst:585 +#: ../Doc/library/typing.rst:586 msgid "A generic version of :class:`collections.abc.Iterator`." msgstr "" -#: ../Doc/library/typing.rst:589 +#: ../Doc/library/typing.rst:590 msgid "A generic version of :class:`collections.abc.Reversible`." msgstr "" -#: ../Doc/library/typing.rst:593 +#: ../Doc/library/typing.rst:594 msgid "An ABC with one abstract method ``__int__``." msgstr "" -#: ../Doc/library/typing.rst:597 +#: ../Doc/library/typing.rst:598 msgid "An ABC with one abstract method ``__float__``." msgstr "" -#: ../Doc/library/typing.rst:601 +#: ../Doc/library/typing.rst:602 msgid "An ABC with one abstract method ``__complex__``." msgstr "" -#: ../Doc/library/typing.rst:605 +#: ../Doc/library/typing.rst:606 msgid "An ABC with one abstract method ``__bytes__``." msgstr "" -#: ../Doc/library/typing.rst:609 +#: ../Doc/library/typing.rst:610 msgid "An ABC with one abstract method ``__index__``." msgstr "" -#: ../Doc/library/typing.rst:615 +#: ../Doc/library/typing.rst:616 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." msgstr "" -#: ../Doc/library/typing.rst:620 +#: ../Doc/library/typing.rst:621 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." msgstr "" -#: ../Doc/library/typing.rst:625 +#: ../Doc/library/typing.rst:626 msgid "A generic version of :class:`collections.abc.Container`." msgstr "" -#: ../Doc/library/typing.rst:629 +#: ../Doc/library/typing.rst:630 msgid "An alias to :class:`collections.abc.Hashable`" msgstr "" -#: ../Doc/library/typing.rst:633 +#: ../Doc/library/typing.rst:634 msgid "An alias to :class:`collections.abc.Sized`" msgstr "" -#: ../Doc/library/typing.rst:637 +#: ../Doc/library/typing.rst:638 msgid "A generic version of :class:`collections.abc.Collection`" msgstr "" -#: ../Doc/library/typing.rst:643 +#: ../Doc/library/typing.rst:644 msgid "A generic version of :class:`collections.abc.Set`." msgstr "" -#: ../Doc/library/typing.rst:647 +#: ../Doc/library/typing.rst:648 msgid "A generic version of :class:`collections.abc.MutableSet`." msgstr "" -#: ../Doc/library/typing.rst:651 +#: ../Doc/library/typing.rst:652 msgid "" "A generic version of :class:`collections.abc.Mapping`. This type can be used " "as follows::" msgstr "" -#: ../Doc/library/typing.rst:659 +#: ../Doc/library/typing.rst:660 msgid "A generic version of :class:`collections.abc.MutableMapping`." msgstr "" -#: ../Doc/library/typing.rst:663 +#: ../Doc/library/typing.rst:664 msgid "A generic version of :class:`collections.abc.Sequence`." msgstr "" -#: ../Doc/library/typing.rst:667 +#: ../Doc/library/typing.rst:668 msgid "A generic version of :class:`collections.abc.MutableSequence`." msgstr "" -#: ../Doc/library/typing.rst:671 +#: ../Doc/library/typing.rst:672 msgid "A generic version of :class:`collections.abc.ByteString`." msgstr "" -#: ../Doc/library/typing.rst:673 +#: ../Doc/library/typing.rst:674 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview`." msgstr "" -#: ../Doc/library/typing.rst:676 +#: ../Doc/library/typing.rst:677 msgid "" "As a shorthand for this type, :class:`bytes` can be used to annotate " "arguments of any of the types mentioned above." msgstr "" -#: ../Doc/library/typing.rst:681 +#: ../Doc/library/typing.rst:682 msgid "A generic version of :class:`collections.deque`." msgstr "" -#: ../Doc/library/typing.rst:688 +#: ../Doc/library/typing.rst:689 msgid "" "Generic version of :class:`list`. Useful for annotating return types. To " "annotate arguments it is preferred to use an abstract collection type such " "as :class:`Sequence` or :class:`Iterable`." msgstr "" -#: ../Doc/library/typing.rst:693 +#: ../Doc/library/typing.rst:694 msgid "This type may be used as follows::" msgstr "" -#: ../Doc/library/typing.rst:705 +#: ../Doc/library/typing.rst:706 msgid "" "A generic version of :class:`builtins.set `. Useful for annotating " "return types. To annotate arguments it is preferred to use an abstract " "collection type such as :class:`AbstractSet`." msgstr "" -#: ../Doc/library/typing.rst:711 +#: ../Doc/library/typing.rst:712 msgid "A generic version of :class:`builtins.frozenset `." msgstr "" -#: ../Doc/library/typing.rst:715 +#: ../Doc/library/typing.rst:716 msgid "A generic version of :class:`collections.abc.MappingView`." msgstr "" -#: ../Doc/library/typing.rst:719 +#: ../Doc/library/typing.rst:720 msgid "A generic version of :class:`collections.abc.KeysView`." msgstr "" -#: ../Doc/library/typing.rst:723 +#: ../Doc/library/typing.rst:724 msgid "A generic version of :class:`collections.abc.ItemsView`." msgstr "" -#: ../Doc/library/typing.rst:727 +#: ../Doc/library/typing.rst:728 msgid "A generic version of :class:`collections.abc.ValuesView`." msgstr "" -#: ../Doc/library/typing.rst:731 +#: ../Doc/library/typing.rst:732 msgid "A generic version of :class:`collections.abc.Awaitable`." msgstr "" -#: ../Doc/library/typing.rst:737 +#: ../Doc/library/typing.rst:738 msgid "" "A generic version of :class:`collections.abc.Coroutine`. The variance and " "order of type variables correspond to those of :class:`Generator`, for " "example::" msgstr "" -#: ../Doc/library/typing.rst:752 +#: ../Doc/library/typing.rst:753 msgid "A generic version of :class:`collections.abc.AsyncIterable`." msgstr "" -#: ../Doc/library/typing.rst:758 +#: ../Doc/library/typing.rst:759 msgid "A generic version of :class:`collections.abc.AsyncIterator`." msgstr "" -#: ../Doc/library/typing.rst:764 +#: ../Doc/library/typing.rst:765 msgid "A generic version of :class:`contextlib.AbstractContextManager`." msgstr "" -#: ../Doc/library/typing.rst:771 +#: ../Doc/library/typing.rst:772 msgid "A generic version of :class:`contextlib.AbstractAsyncContextManager`." msgstr "" -#: ../Doc/library/typing.rst:778 +#: ../Doc/library/typing.rst:779 msgid "" "A generic version of :class:`dict`. Useful for annotating return types. To " "annotate arguments it is preferred to use an abstract collection type such " "as :class:`Mapping`." msgstr "" -#: ../Doc/library/typing.rst:782 +#: ../Doc/library/typing.rst:783 msgid "This type can be used as follows::" msgstr "" -#: ../Doc/library/typing.rst:789 +#: ../Doc/library/typing.rst:790 msgid "A generic version of :class:`collections.defaultdict`." msgstr "" -#: ../Doc/library/typing.rst:795 +#: ../Doc/library/typing.rst:796 msgid "A generic version of :class:`collections.OrderedDict`." msgstr "" -#: ../Doc/library/typing.rst:801 +#: ../Doc/library/typing.rst:802 msgid "A generic version of :class:`collections.Counter`." msgstr "" -#: ../Doc/library/typing.rst:808 +#: ../Doc/library/typing.rst:809 msgid "A generic version of :class:`collections.ChainMap`." msgstr "" -#: ../Doc/library/typing.rst:815 +#: ../Doc/library/typing.rst:816 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" msgstr "" -#: ../Doc/library/typing.rst:824 +#: ../Doc/library/typing.rst:825 msgid "" "Note that unlike many other generics in the typing module, the ``SendType`` " "of :class:`Generator` behaves contravariantly, not covariantly or " "invariantly." msgstr "" -#: ../Doc/library/typing.rst:828 +#: ../Doc/library/typing.rst:829 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" msgstr "" -#: ../Doc/library/typing.rst:836 +#: ../Doc/library/typing.rst:837 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" msgstr "" -#: ../Doc/library/typing.rst:846 +#: ../Doc/library/typing.rst:847 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" msgstr "" -#: ../Doc/library/typing.rst:855 +#: ../Doc/library/typing.rst:856 msgid "" "Unlike normal generators, async generators cannot return a value, so there " "is no ``ReturnType`` type parameter. As with :class:`Generator`, the " "``SendType`` behaves contravariantly." msgstr "" -#: ../Doc/library/typing.rst:859 +#: ../Doc/library/typing.rst:860 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" -#: ../Doc/library/typing.rst:867 +#: ../Doc/library/typing.rst:868 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" msgstr "" -#: ../Doc/library/typing.rst:879 +#: ../Doc/library/typing.rst:880 msgid "" "``Text`` is an alias for ``str``. It is provided to supply a forward " "compatible path for Python 2 code: in Python 2, ``Text`` is an alias for " "``unicode``." msgstr "" -#: ../Doc/library/typing.rst:883 +#: ../Doc/library/typing.rst:884 msgid "" "Use ``Text`` to indicate that a value must contain a unicode string in a " "manner that is compatible with both Python 2 and Python 3::" msgstr "" -#: ../Doc/library/typing.rst:895 +#: ../Doc/library/typing.rst:896 msgid "" "Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " "``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned " "by :func:`open`." msgstr "" -#: ../Doc/library/typing.rst:903 +#: ../Doc/library/typing.rst:904 msgid "" "These type aliases correspond to the return types from :func:`re.compile` " "and :func:`re.match`. These types (and the corresponding functions) are " @@ -744,25 +746,25 @@ msgid "" "``Pattern[bytes]``, ``Match[str]``, or ``Match[bytes]``." msgstr "" -#: ../Doc/library/typing.rst:912 +#: ../Doc/library/typing.rst:913 msgid "Typed version of :func:`collections.namedtuple`." msgstr "" -#: ../Doc/library/typing.rst:920 +#: ../Doc/library/typing.rst:921 msgid "This is equivalent to::" msgstr "C’est équivalent à ::" -#: ../Doc/library/typing.rst:924 +#: ../Doc/library/typing.rst:925 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" -#: ../Doc/library/typing.rst:933 +#: ../Doc/library/typing.rst:934 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" -#: ../Doc/library/typing.rst:935 +#: ../Doc/library/typing.rst:936 msgid "" "The resulting class has an extra attribute ``__annotations__`` giving a dict " "that maps the field names to the field types. (The field names are in the " @@ -770,41 +772,41 @@ msgid "" "attribute both of which are part of the namedtuple API.)" msgstr "" -#: ../Doc/library/typing.rst:941 +#: ../Doc/library/typing.rst:942 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" -#: ../Doc/library/typing.rst:951 +#: ../Doc/library/typing.rst:952 msgid "Backward-compatible usage::" msgstr "" -#: ../Doc/library/typing.rst:955 +#: ../Doc/library/typing.rst:956 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" -#: ../Doc/library/typing.rst:958 +#: ../Doc/library/typing.rst:959 msgid "Added support for default values, methods, and docstrings." msgstr "" -#: ../Doc/library/typing.rst:961 +#: ../Doc/library/typing.rst:962 msgid "" "Deprecated the ``_field_types`` attribute in favor of the more standard " "``__annotations__`` attribute which has the same information." msgstr "" -#: ../Doc/library/typing.rst:965 +#: ../Doc/library/typing.rst:966 msgid "" "The ``_field_types`` and ``__annotations__`` attributes are now regular " "dictionaries instead of instances of ``OrderedDict``." msgstr "" -#: ../Doc/library/typing.rst:971 +#: ../Doc/library/typing.rst:972 msgid "" "A simple typed namespace. At runtime it is equivalent to a plain :class:" "`dict`." msgstr "" -#: ../Doc/library/typing.rst:974 +#: ../Doc/library/typing.rst:975 msgid "" "``TypedDict`` creates a dictionary type that expects all of its instances to " "have a certain set of keys, where each key is associated with a value of a " @@ -812,7 +814,7 @@ msgid "" "enforced by type checkers. Usage::" msgstr "" -#: ../Doc/library/typing.rst:990 +#: ../Doc/library/typing.rst:991 msgid "" "The type info for introspection can be accessed via ``Point2D." "__annotations__`` and ``Point2D.__total__``. To allow using this feature " @@ -820,13 +822,13 @@ msgid "" "supports two additional equivalent syntactic forms::" msgstr "" -#: ../Doc/library/typing.rst:998 +#: ../Doc/library/typing.rst:999 msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict`` " "with type checkers." msgstr "" -#: ../Doc/library/typing.rst:1005 +#: ../Doc/library/typing.rst:1006 msgid "" "A class used for internal typing representation of string forward " "references. For example, ``List[\"SomeClass\"]`` is implicitly transformed " @@ -834,31 +836,31 @@ msgid "" "instantiated by a user, but may be used by introspection tools." msgstr "" -#: ../Doc/library/typing.rst:1012 +#: ../Doc/library/typing.rst:1013 msgid "" "A helper function to indicate a distinct types to a typechecker, see :ref:" "`distinct`. At runtime it returns a function that returns its argument. " "Usage::" msgstr "" -#: ../Doc/library/typing.rst:1023 +#: ../Doc/library/typing.rst:1024 msgid "Cast a value to a type." msgstr "" -#: ../Doc/library/typing.rst:1025 +#: ../Doc/library/typing.rst:1026 msgid "" "This returns the value unchanged. To the type checker this signals that the " "return value has the designated type, but at runtime we intentionally don't " "check anything (we want this to be as fast as possible)." msgstr "" -#: ../Doc/library/typing.rst:1032 +#: ../Doc/library/typing.rst:1033 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: ../Doc/library/typing.rst:1035 +#: ../Doc/library/typing.rst:1036 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " @@ -868,11 +870,11 @@ msgid "" "merging all the ``__annotations__`` along ``C.__mro__`` in reverse order." msgstr "" -#: ../Doc/library/typing.rst:1046 +#: ../Doc/library/typing.rst:1047 msgid "Provide basic introspection for generic types and special typing forms." msgstr "" -#: ../Doc/library/typing.rst:1048 +#: ../Doc/library/typing.rst:1049 msgid "" "For a typing object of the form ``X[Y, Z, ...]`` these functions return " "``X`` and ``(Y, Z, ...)``. If ``X`` is a generic alias for a builtin or :mod:" @@ -880,7 +882,7 @@ msgid "" "unsupported objects return ``None`` and ``()`` correspondingly. Examples::" msgstr "" -#: ../Doc/library/typing.rst:1064 +#: ../Doc/library/typing.rst:1065 msgid "" "The ``@overload`` decorator allows describing functions and methods that " "support multiple different combinations of argument types. A series of " @@ -895,69 +897,69 @@ msgid "" "variable::" msgstr "" -#: ../Doc/library/typing.rst:1088 +#: ../Doc/library/typing.rst:1089 msgid "See :pep:`484` for details and comparison with other typing semantics." msgstr "" -#: ../Doc/library/typing.rst:1092 +#: ../Doc/library/typing.rst:1093 msgid "" "A decorator to indicate to type checkers that the decorated method cannot be " "overridden, and the decorated class cannot be subclassed. For example::" msgstr "" -#: ../Doc/library/typing.rst:1110 ../Doc/library/typing.rst:1337 +#: ../Doc/library/typing.rst:1111 ../Doc/library/typing.rst:1338 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." msgstr "" -#: ../Doc/library/typing.rst:1117 +#: ../Doc/library/typing.rst:1118 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: ../Doc/library/typing.rst:1119 +#: ../Doc/library/typing.rst:1120 msgid "" "This works as class or function :term:`decorator`. With a class, it applies " "recursively to all methods defined in that class (but not to methods defined " "in its superclasses or subclasses)." msgstr "" -#: ../Doc/library/typing.rst:1123 +#: ../Doc/library/typing.rst:1124 msgid "This mutates the function(s) in place." msgstr "" -#: ../Doc/library/typing.rst:1127 +#: ../Doc/library/typing.rst:1128 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: ../Doc/library/typing.rst:1129 +#: ../Doc/library/typing.rst:1130 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: ../Doc/library/typing.rst:1134 +#: ../Doc/library/typing.rst:1135 msgid "Decorator to mark a class or function to be unavailable at runtime." msgstr "" -#: ../Doc/library/typing.rst:1136 +#: ../Doc/library/typing.rst:1137 msgid "" "This decorator is itself not available at runtime. It is mainly intended to " "mark classes that are defined in type stub files if an implementation " "returns an instance of a private class::" msgstr "" -#: ../Doc/library/typing.rst:1147 +#: ../Doc/library/typing.rst:1148 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." msgstr "" -#: ../Doc/library/typing.rst:1152 +#: ../Doc/library/typing.rst:1153 msgid "Mark a protocol class as a runtime protocol." msgstr "" -#: ../Doc/library/typing.rst:1154 +#: ../Doc/library/typing.rst:1155 msgid "" "Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. " "This raises :exc:`TypeError` when applied to a non-protocol class. This " @@ -965,81 +967,81 @@ msgid "" "\" in :mod:`collections.abc` such as :class:`Iterable`. For example::" msgstr "" -#: ../Doc/library/typing.rst:1165 +#: ../Doc/library/typing.rst:1166 msgid "" "**Warning:** this will check only the presence of the required methods, not " "their type signatures!" msgstr "" -#: ../Doc/library/typing.rst:1172 +#: ../Doc/library/typing.rst:1173 msgid "Special type indicating an unconstrained type." msgstr "" -#: ../Doc/library/typing.rst:1174 +#: ../Doc/library/typing.rst:1175 msgid "Every type is compatible with :data:`Any`." msgstr "" -#: ../Doc/library/typing.rst:1175 +#: ../Doc/library/typing.rst:1176 msgid ":data:`Any` is compatible with every type." msgstr "" -#: ../Doc/library/typing.rst:1179 +#: ../Doc/library/typing.rst:1180 msgid "Special type indicating that a function never returns. For example::" msgstr "" -#: ../Doc/library/typing.rst:1192 +#: ../Doc/library/typing.rst:1193 msgid "Union type; ``Union[X, Y]`` means either X or Y." msgstr "" -#: ../Doc/library/typing.rst:1194 +#: ../Doc/library/typing.rst:1195 msgid "To define a union, use e.g. ``Union[int, str]``. Details:" msgstr "" -#: ../Doc/library/typing.rst:1196 +#: ../Doc/library/typing.rst:1197 msgid "The arguments must be types and there must be at least one." msgstr "" -#: ../Doc/library/typing.rst:1198 +#: ../Doc/library/typing.rst:1199 msgid "Unions of unions are flattened, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:1202 +#: ../Doc/library/typing.rst:1203 msgid "Unions of a single argument vanish, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:1206 +#: ../Doc/library/typing.rst:1207 msgid "Redundant arguments are skipped, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:1210 +#: ../Doc/library/typing.rst:1211 msgid "When comparing unions, the argument order is ignored, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:1214 +#: ../Doc/library/typing.rst:1215 msgid "You cannot subclass or instantiate a union." msgstr "" -#: ../Doc/library/typing.rst:1216 +#: ../Doc/library/typing.rst:1217 msgid "You cannot write ``Union[X][Y]``." msgstr "" -#: ../Doc/library/typing.rst:1218 +#: ../Doc/library/typing.rst:1219 msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``." msgstr "" -#: ../Doc/library/typing.rst:1220 +#: ../Doc/library/typing.rst:1221 msgid "Don't remove explicit subclasses from unions at runtime." msgstr "" -#: ../Doc/library/typing.rst:1225 +#: ../Doc/library/typing.rst:1226 msgid "Optional type." msgstr "" -#: ../Doc/library/typing.rst:1227 +#: ../Doc/library/typing.rst:1228 msgid "``Optional[X]`` is equivalent to ``Union[X, None]``." msgstr "" -#: ../Doc/library/typing.rst:1229 +#: ../Doc/library/typing.rst:1230 msgid "" "Note that this is not the same concept as an optional argument, which is one " "that has a default. An optional argument with a default does not require " @@ -1047,46 +1049,46 @@ msgid "" "optional. For example::" msgstr "" -#: ../Doc/library/typing.rst:1237 +#: ../Doc/library/typing.rst:1238 msgid "" "On the other hand, if an explicit value of ``None`` is allowed, the use of " "``Optional`` is appropriate, whether the argument is optional or not. For " "example::" msgstr "" -#: ../Doc/library/typing.rst:1246 +#: ../Doc/library/typing.rst:1247 msgid "" "Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the " "first item of type X and the second of type Y. The type of the empty tuple " "can be written as ``Tuple[()]``." msgstr "" -#: ../Doc/library/typing.rst:1250 +#: ../Doc/library/typing.rst:1251 msgid "" "Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type " "variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a " "float and a string." msgstr "" -#: ../Doc/library/typing.rst:1254 +#: ../Doc/library/typing.rst:1255 msgid "" "To specify a variable-length tuple of homogeneous type, use literal " "ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " "``Tuple[Any, ...]``, and in turn to :class:`tuple`." msgstr "" -#: ../Doc/library/typing.rst:1260 +#: ../Doc/library/typing.rst:1261 msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." msgstr "" -#: ../Doc/library/typing.rst:1262 +#: ../Doc/library/typing.rst:1263 msgid "" "The subscription syntax must always be used with exactly two values: the " "argument list and the return type. The argument list must be a list of " "types or an ellipsis; the return type must be a single type." msgstr "" -#: ../Doc/library/typing.rst:1267 +#: ../Doc/library/typing.rst:1268 msgid "" "There is no syntax to indicate optional or keyword arguments; such function " "types are rarely used as callback types. ``Callable[..., ReturnType]`` " @@ -1096,36 +1098,36 @@ msgid "" "Callable`." msgstr "" -#: ../Doc/library/typing.rst:1277 +#: ../Doc/library/typing.rst:1278 msgid "" "A type that can be used to indicate to type checkers that the corresponding " "variable or function parameter has a value equivalent to the provided " "literal (or one of several literals). For example::" msgstr "" -#: ../Doc/library/typing.rst:1291 +#: ../Doc/library/typing.rst:1292 msgid "" "``Literal[...]`` cannot be subclassed. At runtime, an arbitrary value is " "allowed as type argument to ``Literal[...]``, but type checkers may impose " "restrictions. See :pep:`586` for more details about literal types." msgstr "" -#: ../Doc/library/typing.rst:1299 +#: ../Doc/library/typing.rst:1300 msgid "Special type construct to mark class variables." msgstr "" -#: ../Doc/library/typing.rst:1301 +#: ../Doc/library/typing.rst:1302 msgid "" "As introduced in :pep:`526`, a variable annotation wrapped in ClassVar " "indicates that a given attribute is intended to be used as a class variable " "and should not be set on instances of that class. Usage::" msgstr "" -#: ../Doc/library/typing.rst:1309 +#: ../Doc/library/typing.rst:1310 msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." msgstr "" -#: ../Doc/library/typing.rst:1311 +#: ../Doc/library/typing.rst:1312 msgid "" ":data:`ClassVar` is not a class itself, and should not be used with :func:" "`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python " @@ -1133,31 +1135,31 @@ msgid "" "example, a type checker might flag the following code as an error::" msgstr "" -#: ../Doc/library/typing.rst:1325 +#: ../Doc/library/typing.rst:1326 msgid "" "A special typing construct to indicate to type checkers that a name cannot " "be re-assigned or overridden in a subclass. For example::" msgstr "" -#: ../Doc/library/typing.rst:1344 +#: ../Doc/library/typing.rst:1345 msgid "" "``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, " "bytes)``." msgstr "" -#: ../Doc/library/typing.rst:1347 +#: ../Doc/library/typing.rst:1348 msgid "" "It is meant to be used for functions that may accept any kind of string " "without allowing different kinds of strings to mix. For example::" msgstr "" -#: ../Doc/library/typing.rst:1359 +#: ../Doc/library/typing.rst:1360 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime. Usage::" msgstr "" -#: ../Doc/library/typing.rst:1368 +#: ../Doc/library/typing.rst:1369 msgid "" "Note that the first type annotation must be enclosed in quotes, making it a " "\"forward reference\", to hide the ``expensive_mod`` reference from the " diff --git a/library/unittest.mock.po b/library/unittest.mock.po index 4fd26a19..03f608b2 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-04-22 12:07+0200\n" "Last-Translator: Bousquié Pierre \n" "Language-Team: FRENCH \n" @@ -478,9 +478,10 @@ msgstr "" "L'attribut :attr:`mock_calls` est comparé à la liste des appels." #: ../Doc/library/unittest.mock.rst:363 +#, fuzzy msgid "" -"If *any_order* is false (the default) then the calls must be sequential. " -"There can be extra calls before or after the specified calls." +"If *any_order* is false then the calls must be sequential. There can be " +"extra calls before or after the specified calls." msgstr "" "Si *any_order* est faux (la valeur par défaut) alors les appels doivent être " "séquentiels. Il peut y avoir des appels supplémentaires avant ou après les " @@ -974,8 +975,8 @@ msgstr "" #: ../Doc/library/unittest.mock.rst:1009 #, fuzzy msgid "" -"If *any_order* is False (the default) then the awaits must be sequential. " -"There can be extra calls before or after the specified awaits." +"If *any_order* is false then the awaits must be sequential. There can be " +"extra calls before or after the specified awaits." msgstr "" "Si *any_order* est faux (la valeur par défaut) alors les appels doivent être " "séquentiels. Il peut y avoir des appels supplémentaires avant ou après les " @@ -984,7 +985,7 @@ msgstr "" #: ../Doc/library/unittest.mock.rst:1013 #, fuzzy msgid "" -"If *any_order* is True then the awaits can be in any order, but they must " +"If *any_order* is true then the awaits can be in any order, but they must " "all appear in :attr:`await_args_list`." msgstr "" "Si *any_order* est vrai alors les appels peuvent être dans n'importe quel " @@ -1949,61 +1950,60 @@ msgid "Methods and their defaults:" msgstr "" #: ../Doc/library/unittest.mock.rst:2088 -msgid "``__lt__``: NotImplemented" -msgstr "``__lt__``: NotImplemented" +msgid "``__lt__``: ``NotImplemented``" +msgstr "``__lt__``: ``NotImplemented``" #: ../Doc/library/unittest.mock.rst:2089 -msgid "``__gt__``: NotImplemented" -msgstr "``__gt__``: NotImplemented" +msgid "``__gt__``: ``NotImplemented``" +msgstr "``__gt__``: ``NotImplemented``" #: ../Doc/library/unittest.mock.rst:2090 -msgid "``__le__``: NotImplemented" -msgstr "``__le__``: NotImplemented" +msgid "``__le__``: ``NotImplemented``" +msgstr "``__le__``: ``NotImplemented``" #: ../Doc/library/unittest.mock.rst:2091 -msgid "``__ge__``: NotImplemented" -msgstr "``__ge__``: NotImplemented" +msgid "``__ge__``: ``NotImplemented``" +msgstr "``__ge__``: ``NotImplemented``" #: ../Doc/library/unittest.mock.rst:2092 -msgid "``__int__``: 1" -msgstr "``__int__``: 1" +msgid "``__int__``: ``1``" +msgstr "``__int__``: ``1``" #: ../Doc/library/unittest.mock.rst:2093 -msgid "``__contains__``: False" -msgstr "``__contains__``: False" +msgid "``__contains__``: ``False``" +msgstr "``__contains__``: ``False``" #: ../Doc/library/unittest.mock.rst:2094 -msgid "``__len__``: 0" -msgstr "" +msgid "``__len__``: ``0``" +msgstr "``__int__``: ``0``" #: ../Doc/library/unittest.mock.rst:2095 -msgid "``__iter__``: iter([])" -msgstr "``__iter__``: iter([])" +msgid "``__iter__``: ``iter([])``" +msgstr "``__iter__``: ``iter([])``" #: ../Doc/library/unittest.mock.rst:2096 -msgid "``__exit__``: False" -msgstr "``__exit__``: False" +msgid "``__exit__``: ``False``" +msgstr "``__exit__``: ``False``" #: ../Doc/library/unittest.mock.rst:2097 -#, fuzzy -msgid "``__aexit__``: False" -msgstr "``__exit__``: False" +msgid "``__aexit__``: ``False``" +msgstr "``__exit__``: ``False``" #: ../Doc/library/unittest.mock.rst:2098 -msgid "``__complex__``: 1j" -msgstr "``__complex__``: 1j" +msgid "``__complex__``: ``1j``" +msgstr "``__complex__``: ``1j``" #: ../Doc/library/unittest.mock.rst:2099 -msgid "``__float__``: 1.0" -msgstr "``__float__``: 1.0" +msgid "``__float__``: ``1.0``" +msgstr "``__float__``: ``1.0``" #: ../Doc/library/unittest.mock.rst:2100 -msgid "``__bool__``: True" -msgstr "``__bool__``: True" +msgid "``__bool__``: ``True``" +msgstr "``__bool__``: ``True``" #: ../Doc/library/unittest.mock.rst:2101 -msgid "``__index__``: 1" -msgstr "``__index__``: 1" +msgid "``__index__``: ``1``" +msgstr "``__index__``: ``1``" #: ../Doc/library/unittest.mock.rst:2102 msgid "``__hash__``: default hash for the mock" diff --git a/library/unittest.po b/library/unittest.po index a9b33235..7cb8f229 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-08-16 23:24+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -141,16 +141,16 @@ msgstr "" "modèle sur lequel s'appuie :mod:`unittest`." #: ../Doc/library/unittest.rst:61 -msgid "" -"`Nose `_ and `pytest `_" +#, fuzzy +msgid "`pytest `_" msgstr "" "`Nose `_ et `py.test `_" #: ../Doc/library/unittest.rst:60 +#, fuzzy msgid "" -"Third-party unittest frameworks with a lighter-weight syntax for writing " +"Third-party unittest framework with a lighter-weight syntax for writing " "tests. For example, ``assert func(10) == 42``." msgstr "" "Des *frameworks* tierces de tests unitaires avec une syntaxe allégée pour " diff --git a/library/urllib.request.po b/library/urllib.request.po index b1b719b2..bb0484ee 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -31,8 +31,8 @@ msgstr "" #: ../Doc/library/urllib.request.rst:21 msgid "" -"The `Requests package `_ is recommended " -"for a higher-level HTTP client interface." +"The `Requests package `_ is " +"recommended for a higher-level HTTP client interface." msgstr "" #: ../Doc/library/urllib.request.rst:25 diff --git a/library/winreg.po b/library/winreg.po index c1c3d81f..557c48b6 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -388,7 +388,7 @@ msgstr "" #: ../Doc/library/winreg.rst:345 msgid "" "Values in the registry have name, type, and data components. This method " -"retrieves the data for a key's first value that has a NULL name. But the " +"retrieves the data for a key's first value that has a ``NULL`` name. But the " "underlying API call doesn't return the type, so always use :func:" "`QueryValueEx` if possible." msgstr "" @@ -440,7 +440,7 @@ msgid "" msgstr "" #: ../Doc/library/winreg.rst:394 -msgid "This function passes NULL for *security_attributes* to the API." +msgid "This function passes ``NULL`` for *security_attributes* to the API." msgstr "" #: ../Doc/library/winreg.rst:399 diff --git a/library/wsgiref.po b/library/wsgiref.po index 7a1b572a..9f833739 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -164,7 +164,7 @@ msgstr "" #: ../Doc/library/wsgiref.rst:147 msgid "" -"Return true if 'header_name' is an HTTP/1.1 \"Hop-by-Hop\" header, as " +"Return ``True`` if 'header_name' is an HTTP/1.1 \"Hop-by-Hop\" header, as " "defined by :rfc:`2616`." msgstr "" diff --git a/library/xml.dom.po b/library/xml.dom.po index a9df60f0..65ba60b3 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-01 23:09+0200\n" "Last-Translator: Cyprien Le Pannérer \n" "Language-Team: FRENCH \n" @@ -469,9 +469,10 @@ msgstr "" "également :class:`DOMImplementation`." #: ../Doc/library/xml.dom.rst:213 +#, fuzzy msgid "" -"Return true if the feature identified by the pair of strings *feature* and " -"*version* is implemented." +"Return ``True`` if the feature identified by the pair of strings *feature* " +"and *version* is implemented." msgstr "" "Renvoie vrai si la fonctionnalité identifiée par une paire de chaîne " "*feature* et *version* est implémentée." @@ -652,16 +653,19 @@ msgstr "" "`nodeName`. La valeur est une chaîne ou ``None``." #: ../Doc/library/xml.dom.rst:338 -msgid "Returns true if the node has any attributes." +#, fuzzy +msgid "Return ``True`` if the node has any attributes." msgstr "Renvoi vrai si le nœud a des attributs." #: ../Doc/library/xml.dom.rst:343 -msgid "Returns true if the node has any child nodes." +#, fuzzy +msgid "Return ``True`` if the node has any child nodes." msgstr "Renvoi vrai si le nœud a des nœuds fils." #: ../Doc/library/xml.dom.rst:348 +#, fuzzy msgid "" -"Returns true if *other* refers to the same node as this node. This is " +"Return ``True`` if *other* refers to the same node as this node. This is " "especially useful for DOM implementations which use any sort of proxy " "architecture (because more than one object can refer to the same node)." msgstr "" @@ -1039,12 +1043,14 @@ msgid "Same as equivalent method in the :class:`Document` class." msgstr "Identique à la méthode équivalente de la classe :class:`Document`." #: ../Doc/library/xml.dom.rst:607 -msgid "Returns true if the element has an attribute named by *name*." +#, fuzzy +msgid "Return ``True`` if the element has an attribute named by *name*." msgstr "Renvoi vrai si l'élément a un attribut nommé *name*." #: ../Doc/library/xml.dom.rst:612 +#, fuzzy msgid "" -"Returns true if the element has an attribute named by *namespaceURI* and " +"Return ``True`` if the element has an attribute named by *namespaceURI* and " "*localName*." msgstr "Renvoi vrai si l'élément a un nommé par *namespaceURI* et *localName*." diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index e0c5d75e..5afad589 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-07-04 11:02+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -587,8 +587,8 @@ msgstr "" #: ../Doc/library/xml.etree.elementtree.rst:577 msgid "" -"Checks if an object appears to be a valid element object. *element* is an " -"element instance. Returns a true value if this is an element object." +"Check if an object appears to be a valid element object. *element* is an " +"element instance. Return ``True`` if this is an element object." msgstr "" #: ../Doc/library/xml.etree.elementtree.rst:583 diff --git a/license.po b/license.po index 245f9e42..d966df7e 100644 --- a/license.po +++ b/license.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-05-23 19:50+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -47,12 +47,13 @@ msgstr "" "en Viriginie, d'où il diffusa plusieurs versions du logiciel." #: ../Doc/license.rst:22 +#, fuzzy msgid "" "In May 2000, Guido and the Python core development team moved to BeOpen.com " "to form the BeOpen PythonLabs team. In October of the same year, the " -"PythonLabs team moved to Digital Creations (now Zope Corporation; see http://" -"www.zope.com/). In 2001, the Python Software Foundation (PSF, see https://" -"www.python.org/psf/) was formed, a non-profit organization created " +"PythonLabs team moved to Digital Creations (now Zope Corporation; see " +"https://www.zope.org/). In 2001, the Python Software Foundation (PSF, see " +"https://www.python.org/psf/) was formed, a non-profit organization created " "specifically to own Python-related Intellectual Property. Zope Corporation " "is a sponsoring member of the PSF." msgstr "" diff --git a/reference/import.po b/reference/import.po index f9cd0973..4bedc2e0 100644 --- a/reference/import.po +++ b/reference/import.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-06-01 23:45+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -1298,12 +1298,13 @@ msgid "Cached bytecode invalidation" msgstr "Invalidation de *bytecode* mis en cache" #: ../Doc/reference/import.rst:681 +#, fuzzy msgid "" "Before Python loads cached bytecode from ``.pyc`` file, it checks whether " "the cache is up-to-date with the source ``.py`` file. By default, Python " "does this by storing the source's last-modified timestamp and size in the " "cache file when writing it. At runtime, the import system then validates the " -"cache file by checking the stored metadata in the cache file against at " +"cache file by checking the stored metadata in the cache file against the " "source's metadata." msgstr "" "Avant que Python ne charge du *bytecode* en cache à partir d'un fichier ``." @@ -1677,8 +1678,9 @@ msgstr "" "`~importlib.abc.PathEntryFinder.find_spec`." #: ../Doc/reference/import.rst:852 +#, fuzzy msgid "" -":meth:`~importlib.abc.PathEntryFinder.find_spec` takes two argument, the " +":meth:`~importlib.abc.PathEntryFinder.find_spec` takes two arguments: the " "fully qualified name of the module being imported, and the (optional) target " "module. ``find_spec()`` returns a fully populated spec for the module. This " "spec will always have \"loader\" set (with one exception)." @@ -1823,9 +1825,10 @@ msgstr "" "comportement des importations qu'à l'intérieur de ce module." #: ../Doc/reference/import.rst:916 +#, fuzzy msgid "" -"To selectively prevent import of some modules from a hook early on the meta " -"path (rather than disabling the standard import system entirely), it is " +"To selectively prevent the import of some modules from a hook early on the " +"meta path (rather than disabling the standard import system entirely), it is " "sufficient to raise :exc:`ModuleNotFoundError` directly from :meth:" "`~importlib.abc.MetaPathFinder.find_spec` instead of returning ``None``. The " "latter indicates that the meta path search should continue, while raising an " diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 5eda6ca4..f0421e99 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-22 20:48+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -1182,11 +1182,18 @@ msgstr "" ":func:`importlib.import_module` est fournie pour gérer les applications qui " "déterminent dynamiquement les modules à charger." -#: ../Doc/reference/simple_stmts.rst:846 +#: ../Doc/reference/simple_stmts.rst:843 +msgid "" +"Raises an :ref:`auditing event ` ``import`` with arguments " +"``module``, ``filename``, ``sys.path``, ``sys.meta_path``, ``sys." +"path_hooks``." +msgstr "" + +#: ../Doc/reference/simple_stmts.rst:847 msgid "Future statements" msgstr "L'instruction future" -#: ../Doc/reference/simple_stmts.rst:852 +#: ../Doc/reference/simple_stmts.rst:853 msgid "" "A :dfn:`future statement` is a directive to the compiler that a particular " "module should be compiled using syntax or semantics that will be available " @@ -1197,7 +1204,7 @@ msgstr "" "sémantique qui sera disponible dans une future version de Python où cette " "fonctionnalité est devenue un standard." -#: ../Doc/reference/simple_stmts.rst:856 +#: ../Doc/reference/simple_stmts.rst:857 msgid "" "The future statement is intended to ease migration to future versions of " "Python that introduce incompatible changes to the language. It allows use " @@ -1210,7 +1217,7 @@ msgstr "" "module avant qu'une version n'officialise cette fonctionnalité comme un " "standard." -#: ../Doc/reference/simple_stmts.rst:868 +#: ../Doc/reference/simple_stmts.rst:869 msgid "" "A future statement must appear near the top of the module. The only lines " "that can appear before a future statement are:" @@ -1218,23 +1225,23 @@ msgstr "" "Une instruction *future* doit apparaître en haut du module. Les seules " "lignes autorisées avant une instruction *future* sont :" -#: ../Doc/reference/simple_stmts.rst:871 +#: ../Doc/reference/simple_stmts.rst:872 msgid "the module docstring (if any)," msgstr "la chaîne de documentation du module (si elle existe)," -#: ../Doc/reference/simple_stmts.rst:872 +#: ../Doc/reference/simple_stmts.rst:873 msgid "comments," msgstr "des commentaires," -#: ../Doc/reference/simple_stmts.rst:873 +#: ../Doc/reference/simple_stmts.rst:874 msgid "blank lines, and" msgstr "des lignes vides et" -#: ../Doc/reference/simple_stmts.rst:874 +#: ../Doc/reference/simple_stmts.rst:875 msgid "other future statements." msgstr "d'autres instructions *future*." -#: ../Doc/reference/simple_stmts.rst:876 +#: ../Doc/reference/simple_stmts.rst:877 msgid "" "The only feature in Python 3.7 that requires using the future statement is " "``annotations``." @@ -1242,7 +1249,7 @@ msgstr "" "La seule fonctionnalité dans Python 3.7 qui nécessite l'utilisation de " "l'instruction `future` est ``annotations``." -#: ../Doc/reference/simple_stmts.rst:879 +#: ../Doc/reference/simple_stmts.rst:880 msgid "" "All historical features enabled by the future statement are still recognized " "by Python 3. The list includes ``absolute_import``, ``division``, " @@ -1259,7 +1266,7 @@ msgstr "" "elles sont de toute manière activées ; elles ne sont conservées que par " "souci de compatibilité descendante." -#: ../Doc/reference/simple_stmts.rst:886 +#: ../Doc/reference/simple_stmts.rst:887 msgid "" "A future statement is recognized and treated specially at compile time: " "Changes to the semantics of core constructs are often implemented by " @@ -1276,7 +1283,7 @@ msgstr "" "le module de manière différente. De telles décisions ne peuvent pas être " "différées au moment de l'exécution." -#: ../Doc/reference/simple_stmts.rst:893 +#: ../Doc/reference/simple_stmts.rst:894 msgid "" "For any given release, the compiler knows which feature names have been " "defined, and raises a compile-time error if a future statement contains a " @@ -1286,7 +1293,7 @@ msgstr "" "définies et lève une erreur à la compilation si une instruction *future* " "contient une fonctionnalité qui lui est inconnue." -#: ../Doc/reference/simple_stmts.rst:897 +#: ../Doc/reference/simple_stmts.rst:898 msgid "" "The direct runtime semantics are the same as for any import statement: there " "is a standard module :mod:`__future__`, described later, and it will be " @@ -1297,7 +1304,7 @@ msgstr "" "loin, qui est importé comme les autres au moment ou l'instruction *future* " "est exécutée." -#: ../Doc/reference/simple_stmts.rst:901 +#: ../Doc/reference/simple_stmts.rst:902 msgid "" "The interesting runtime semantics depend on the specific feature enabled by " "the future statement." @@ -1305,11 +1312,11 @@ msgstr "" "La sémantique particulière à l'exécution dépend des fonctionnalités " "apportées par l'instruction *future*." -#: ../Doc/reference/simple_stmts.rst:904 +#: ../Doc/reference/simple_stmts.rst:905 msgid "Note that there is nothing special about the statement::" msgstr "Notez que l'instruction suivante est tout à fait normale ::" -#: ../Doc/reference/simple_stmts.rst:908 +#: ../Doc/reference/simple_stmts.rst:909 msgid "" "That is not a future statement; it's an ordinary import statement with no " "special semantics or syntax restrictions." @@ -1317,7 +1324,7 @@ msgstr "" "Ce n'est pas une instruction *future* ; c'est une instruction d'importation " "ordinaire qui n'a aucune sémantique particulière ou restriction de syntaxe." -#: ../Doc/reference/simple_stmts.rst:911 +#: ../Doc/reference/simple_stmts.rst:912 msgid "" "Code compiled by calls to the built-in functions :func:`exec` and :func:" "`compile` that occur in a module :mod:`M` containing a future statement " @@ -1332,7 +1339,7 @@ msgstr "" "à :func:`compile` --- voir la documentation de cette fonction pour les " "détails." -#: ../Doc/reference/simple_stmts.rst:917 +#: ../Doc/reference/simple_stmts.rst:918 msgid "" "A future statement typed at an interactive interpreter prompt will take " "effect for the rest of the interpreter session. If an interpreter is " @@ -1347,19 +1354,19 @@ msgstr "" "effective pour la session interactive qui démarre après l'exécution du " "script." -#: ../Doc/reference/simple_stmts.rst:925 +#: ../Doc/reference/simple_stmts.rst:926 msgid ":pep:`236` - Back to the __future__" msgstr ":pep:`236` -- retour vers le __future__" -#: ../Doc/reference/simple_stmts.rst:926 +#: ../Doc/reference/simple_stmts.rst:927 msgid "The original proposal for the __future__ mechanism." msgstr "La proposition originale pour le mécanisme de __future__." -#: ../Doc/reference/simple_stmts.rst:932 +#: ../Doc/reference/simple_stmts.rst:933 msgid "The :keyword:`!global` statement" msgstr "L'instruction :keyword:`!global`" -#: ../Doc/reference/simple_stmts.rst:942 +#: ../Doc/reference/simple_stmts.rst:943 msgid "" "The :keyword:`global` statement is a declaration which holds for the entire " "current code block. It means that the listed identifiers are to be " @@ -1374,7 +1381,7 @@ msgstr "" "rappelez-vous que les variables libres peuvent faire référence à des " "variables globales sans avoir été déclarées en tant que telles." -#: ../Doc/reference/simple_stmts.rst:948 +#: ../Doc/reference/simple_stmts.rst:949 msgid "" "Names listed in a :keyword:`global` statement must not be used in the same " "code block textually preceding that :keyword:`!global` statement." @@ -1382,7 +1389,7 @@ msgstr "" "Les noms listés dans l'instruction :keyword:`global` ne doivent pas être " "utilisés, dans le même bloc de code, avant l'instruction :keyword:`!global`." -#: ../Doc/reference/simple_stmts.rst:951 +#: ../Doc/reference/simple_stmts.rst:952 msgid "" "Names listed in a :keyword:`global` statement must not be defined as formal " "parameters or in a :keyword:`for` loop control target, :keyword:`class` " @@ -1394,7 +1401,7 @@ msgstr "" "dans une définition de :keyword:`class`, de fonction, d'instruction :" "keyword:`import` ou une annotation de variable." -#: ../Doc/reference/simple_stmts.rst:958 +#: ../Doc/reference/simple_stmts.rst:959 msgid "" "The current implementation does not enforce some of these restrictions, but " "programs should not abuse this freedom, as future implementations may " @@ -1405,7 +1412,7 @@ msgstr "" "faire la vérification ou modifier le comportement du programme sans vous " "avertir." -#: ../Doc/reference/simple_stmts.rst:967 +#: ../Doc/reference/simple_stmts.rst:968 msgid "" "**Programmer's note:** :keyword:`global` is a directive to the parser. It " "applies only to code parsed at the same time as the :keyword:`!global` " @@ -1425,11 +1432,11 @@ msgstr "" "instruction :keyword:`!global` placée dans le code contenant l'appel. Il en " "est de même pour les fonctions :func:`eval` et :func:`compile`." -#: ../Doc/reference/simple_stmts.rst:979 +#: ../Doc/reference/simple_stmts.rst:980 msgid "The :keyword:`!nonlocal` statement" msgstr "L'instruction :keyword:`!nonlocal`" -#: ../Doc/reference/simple_stmts.rst:991 +#: ../Doc/reference/simple_stmts.rst:992 msgid "" "The :keyword:`nonlocal` statement causes the listed identifiers to refer to " "previously bound variables in the nearest enclosing scope excluding globals. " @@ -1445,7 +1452,7 @@ msgstr "" "lier à des variables en dehors de la portée locale du code mais sans avoir " "de portée globale (c'est-à-dire de niveau module)." -#: ../Doc/reference/simple_stmts.rst:1001 +#: ../Doc/reference/simple_stmts.rst:1002 msgid "" "Names listed in a :keyword:`nonlocal` statement, unlike those listed in a :" "keyword:`global` statement, must refer to pre-existing bindings in an " @@ -1458,7 +1465,7 @@ msgstr "" "existantes dans les portées englobantes (en effet, la portée dans laquelle " "devrait être créée la liaison ne peut pas être déterminée *a priori*)." -#: ../Doc/reference/simple_stmts.rst:1006 +#: ../Doc/reference/simple_stmts.rst:1007 msgid "" "Names listed in a :keyword:`nonlocal` statement must not collide with pre-" "existing bindings in the local scope." @@ -1466,11 +1473,11 @@ msgstr "" "Les noms listés dans l'instruction :keyword:`nonlocal` ne doivent entrer en " "collision avec des liaisons déjà établies dans la portée locale." -#: ../Doc/reference/simple_stmts.rst:1011 +#: ../Doc/reference/simple_stmts.rst:1012 msgid ":pep:`3104` - Access to Names in Outer Scopes" msgstr ":pep:`3104` -- Accès à des noms en dehors de la portée locale" -#: ../Doc/reference/simple_stmts.rst:1012 +#: ../Doc/reference/simple_stmts.rst:1013 msgid "The specification for the :keyword:`nonlocal` statement." msgstr "Les spécifications pour l'instruction :keyword:`nonlocal`." diff --git a/sphinx.po b/sphinx.po index 4430d9bd..0cc35f50 100644 --- a/sphinx.po +++ b/sphinx.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-10-19 22:53+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -221,8 +221,9 @@ msgid "Python 3.9 (in development)" msgstr "Python 3.9 (en développement)" #: ../Doc/tools/templates/indexsidebar.html:6 -msgid "Python 3.8 (pre-release)" -msgstr "Python 3.8 (pré-lancement)" +#, fuzzy +msgid "Python 3.8 (stable)" +msgstr "Python 3.7 (stable)" #: ../Doc/tools/templates/indexsidebar.html:7 msgid "Python 3.7 (stable)" @@ -285,6 +286,9 @@ msgstr "Bienvenue sur la documentation de la version stable actuelle de Python" msgid "Documentation " msgstr "Documentation" +#~ msgid "Python 3.8 (pre-release)" +#~ msgstr "Python 3.8 (pré-lancement)" + #~ msgid "Quick search" #~ msgstr "Recherche rapide" diff --git a/tutorial/classes.po b/tutorial/classes.po index f16b33d2..af751351 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -5,8 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" -"PO-Revision-Date: 2019-10-31 14:24+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-10-31 17:05+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 798dfa32..cda6ea30 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-08 18:52+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -759,11 +759,12 @@ msgstr "" "expression booléenne à une variable. Par exemple ::" #: ../Doc/tutorial/datastructures.rst:678 +#, fuzzy msgid "" -"Note that in Python, unlike C, assignment cannot occur inside expressions. C " -"programmers may grumble about this, but it avoids a common class of problems " -"encountered in C programs: typing ``=`` in an expression when ``==`` was " -"intended." +"Note that in Python, unlike C, assignment inside expressions must be done " +"explicitly with the walrus operator ``:=``. This avoids a common class of " +"problems encountered in C programs: typing ``=`` in an expression when " +"``==`` was intended." msgstr "" "Notez qu'en Python, à la différence du C, des affectations ne peuvent pas " "intervenir à l'intérieur d'expressions. Les programmeurs C râleront peut-" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index 370d7dbb..55b79612 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-08 18:53+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -49,10 +49,11 @@ msgstr "" #: ../Doc/tutorial/interpreter.rst:26 msgid "" -"On Windows machines where you have installed from the :ref:`Microsoft Store " -"`, the :file:`python3.8` command will be available. If you " -"have the :ref:`py.exe launcher ` installed, you can use the :file:" -"`py` command. See :ref:`setting-envvars` for other ways to launch Python." +"On Windows machines where you have installed Python from the :ref:`Microsoft " +"Store `, the :file:`python3.8` command will be available. If " +"you have the :ref:`py.exe launcher ` installed, you can use the :" +"file:`py` command. See :ref:`setting-envvars` for other ways to launch " +"Python." msgstr "" #: ../Doc/tutorial/interpreter.rst:31 diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index 09ac58c6..5ddf1773 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-10-31 14:38+0100\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" "Last-Translator: Loc Cosnier \n" "Language-Team: \n" "Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.2.1\n" #: ../Doc/tutorial/stdlib.rst:5 diff --git a/using/cmdline.po b/using/cmdline.po index cfb9880e..fa6bf951 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 23:53+0100\n" "PO-Revision-Date: 2019-11-01 15:56+0100\n" "Last-Translator: Stéphane Lambelin\n" "Language-Team: FRENCH \n" @@ -828,9 +828,10 @@ msgid "Enable :ref:`asyncio debug mode `." msgstr "Active le :ref:`mode de débogage d'asyncio `." #: ../Doc/using/cmdline.rst:456 +#, fuzzy msgid "" "Set the :attr:`~sys.flags.dev_mode` attribute of :attr:`sys.flags` to " -"``True``" +"``True``." msgstr "" "Définit l'attribut :attr:`~sys.flags.dev_mode` de :attr:`sys.flags` à " "``True``." @@ -1339,13 +1340,15 @@ msgstr "" "de mémoire par défaut `." #: ../Doc/using/cmdline.rst:776 -msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks" +#, fuzzy +msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks." msgstr "" "``malloc_debug``: identique à ``malloc`` mais installe aussi des points " "d'entrée de débogage." #: ../Doc/using/cmdline.rst:777 -msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks" +#, fuzzy +msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks." msgstr "" "``pymalloc_debug``: identique à ``pymalloc`` mais installe aussi des points " "d'entrée de débogage." diff --git a/using/windows.po b/using/windows.po index 78c4cd3f..66e83462 100644 --- a/using/windows.po +++ b/using/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-04 11:33+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-08 18:20+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -813,6 +813,12 @@ msgstr "" #: ../Doc/using/windows.rst:328 msgid "" +"The ``py.exe`` launcher will detect this Python installation, but will " +"prefer installations from the traditional installer." +msgstr "" + +#: ../Doc/using/windows.rst:331 +msgid "" "To remove Python, open Settings and use Apps and Features, or else find " "Python in Start and right-click to select Uninstall. Uninstalling will " "remove all packages you installed directly into this Python installation, " @@ -825,18 +831,10 @@ msgstr "" "installés directement dans cette installation Python, mais ne supprimera " "aucun environnement virtuel" -#: ../Doc/using/windows.rst:334 +#: ../Doc/using/windows.rst:337 msgid "Known Issues" msgstr "Problèmes connus" -#: ../Doc/using/windows.rst:336 -msgid "" -"Currently, the ``py.exe`` launcher cannot be used to start Python when it " -"has been installed from the Microsoft Store." -msgstr "" -"Actuellement, le lanceur ``py.exe`` ne peut pas être utilisé pour démarrer " -"Python lorsqu'il a été installé à partir de la boutique Microsoft." - #: ../Doc/using/windows.rst:339 msgid "" "Because of restrictions on Microsoft Store apps, Python scripts may not have " @@ -2471,6 +2469,14 @@ msgstr "" "des instructions détaillées sur les plateformes avec installateurs pré-" "compilés." +#~ msgid "" +#~ "Currently, the ``py.exe`` launcher cannot be used to start Python when it " +#~ "has been installed from the Microsoft Store." +#~ msgstr "" +#~ "Actuellement, le lanceur ``py.exe`` ne peut pas être utilisé pour " +#~ "démarrer Python lorsqu'il a été installé à partir de la boutique " +#~ "Microsoft." + #~ msgid "" #~ "The Microsoft Store package is currently considered unstable while its " #~ "interactions with other tools and other copies of Python are evaluated. " diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 7cee509a..44f0b3db 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2017-08-10 00:52+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1214,11 +1214,11 @@ msgstr "" #: ../Doc/whatsnew/2.7.rst:1172 msgid "" -"The :mod:`ctypes` module now always converts ``None`` to a C NULL pointer " -"for arguments declared as pointers. (Changed by Thomas Heller; :issue:" -"`4606`.) The underlying `libffi library `__ " -"has been updated to version 3.0.9, containing various fixes for different " -"platforms. (Updated by Matthias Klose; :issue:`8142`.)" +"The :mod:`ctypes` module now always converts ``None`` to a C ``NULL`` " +"pointer for arguments declared as pointers. (Changed by Thomas Heller; :" +"issue:`4606`.) The underlying `libffi library `__ has been updated to version 3.0.9, containing various fixes for " +"different platforms. (Updated by Matthias Klose; :issue:`8142`.)" msgstr "" #: ../Doc/whatsnew/2.7.rst:1179 diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index 01215f03..b5dc6467 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -3474,7 +3474,7 @@ msgstr "" msgid "" "The result of the :c:data:`PyOS_ReadlineFunctionPointer` callback must now " "be a string allocated by :c:func:`PyMem_RawMalloc` or :c:func:" -"`PyMem_RawRealloc`, or *NULL* if an error occurred, instead of a string " +"`PyMem_RawRealloc`, or ``NULL`` if an error occurred, instead of a string " "allocated by :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc` (:issue:" "`16742`)" msgstr "" @@ -3483,7 +3483,7 @@ msgstr "" msgid "" ":c:func:`PyThread_set_key_value` now always set the value. In Python 3.3, " "the function did nothing if the key already exists (if the current value is " -"a non-NULL pointer)." +"a non-``NULL`` pointer)." msgstr "" #: ../Doc/whatsnew/3.4.rst:2514 diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index cd1e6d26..44ea7e51 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -2420,7 +2420,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1709 msgid "" ":c:func:`PyUnicode_AsWideCharString` now raises a :exc:`ValueError` if the " -"second argument is *NULL* and the :c:type:`wchar_t*` string contains null " +"second argument is ``NULL`` and the :c:type:`wchar_t*` string contains null " "characters. (Contributed by Serhiy Storchaka in :issue:`30708`.)" msgstr "" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 99236fa1..c9744fda 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-09 17:54+0200\n" +"POT-Creation-Date: 2019-11-15 18:54+0100\n" "PO-Revision-Date: 2019-09-04 11:41+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -33,86 +33,74 @@ msgid "" msgstr "" #: ../Doc/whatsnew/3.8.rst:50 -msgid "" -"Prerelease users should be aware that this document is currently in draft " -"form. It will be updated as Python 3.8 moves towards release, so it's worth " -"checking back even after reading earlier versions. Some notable items not " -"yet covered are:" +msgid "Python 3.8 was released on October 14th, 2019." msgstr "" -#: ../Doc/whatsnew/3.8.rst:55 -msgid ":pep:`578` - Runtime audit hooks for potentially sensitive operations" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:56 -msgid "``python -m asyncio`` runs a natively async REPL" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:68 +#: ../Doc/whatsnew/3.8.rst:62 msgid "Summary -- Release highlights" msgstr "" -#: ../Doc/whatsnew/3.8.rst:79 +#: ../Doc/whatsnew/3.8.rst:73 msgid "New Features" msgstr "Nouvelles fonctionnalités" -#: ../Doc/whatsnew/3.8.rst:82 +#: ../Doc/whatsnew/3.8.rst:76 msgid "Assignment expressions" msgstr "" -#: ../Doc/whatsnew/3.8.rst:84 +#: ../Doc/whatsnew/3.8.rst:78 msgid "" "There is new syntax ``:=`` that assigns values to variables as part of a " -"larger expression. It is affectionately known as \"walrus operator\" due to " -"its resemblance to `the eyes and tusks of a walrus `_." +"larger expression. It is affectionately known as \"the walrus operator\" due " +"to its resemblance to `the eyes and tusks of a walrus `_." msgstr "" -#: ../Doc/whatsnew/3.8.rst:89 +#: ../Doc/whatsnew/3.8.rst:83 msgid "" "In this example, the assignment expression helps avoid calling :func:`len` " "twice::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:95 +#: ../Doc/whatsnew/3.8.rst:89 msgid "" "A similar benefit arises during regular expression matching where match " "objects are needed twice, once to test whether a match occurred and another " "to extract a subgroup::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:103 +#: ../Doc/whatsnew/3.8.rst:97 msgid "" "The operator is also useful with while-loops that compute a value to test " "loop termination and then need that same value again in the body of the " "loop::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:111 +#: ../Doc/whatsnew/3.8.rst:105 msgid "" "Another motivating use case arises in list comprehensions where a value " "computed in a filtering condition is also needed in the expression body::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:118 +#: ../Doc/whatsnew/3.8.rst:112 msgid "" "Try to limit use of the walrus operator to clean cases that reduce " "complexity and improve readability." msgstr "" -#: ../Doc/whatsnew/3.8.rst:121 +#: ../Doc/whatsnew/3.8.rst:115 msgid "See :pep:`572` for a full description." msgstr "" -#: ../Doc/whatsnew/3.8.rst:123 +#: ../Doc/whatsnew/3.8.rst:117 msgid "(Contributed by Emily Morehouse in :issue:`35224`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:127 +#: ../Doc/whatsnew/3.8.rst:121 msgid "Positional-only parameters" msgstr "" -#: ../Doc/whatsnew/3.8.rst:129 +#: ../Doc/whatsnew/3.8.rst:123 msgid "" "There is a new function parameter syntax ``/`` to indicate that some " "function parameters must be specified positionally and cannot be used as " @@ -121,36 +109,36 @@ msgid "" "python.org/3/howto/clinic.html>`_ tool." msgstr "" -#: ../Doc/whatsnew/3.8.rst:135 +#: ../Doc/whatsnew/3.8.rst:129 msgid "" "In the following example, parameters *a* and *b* are positional-only, while " "*c* or *d* can be positional or keyword, and *e* or *f* are required to be " "keywords::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:142 +#: ../Doc/whatsnew/3.8.rst:136 msgid "The following is a valid call::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:146 +#: ../Doc/whatsnew/3.8.rst:140 msgid "However, these are invalid calls::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:151 +#: ../Doc/whatsnew/3.8.rst:145 msgid "" "One use case for this notation is that it allows pure Python functions to " "fully emulate behaviors of existing C coded functions. For example, the " "built-in :func:`pow` function does not accept keyword arguments::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:160 +#: ../Doc/whatsnew/3.8.rst:154 msgid "" "Another use case is to preclude keyword arguments when the parameter name is " "not helpful. For example, the builtin :func:`len` function has the " "signature ``len(obj, /)``. This precludes awkward calls such as::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:166 +#: ../Doc/whatsnew/3.8.rst:160 msgid "" "A further benefit of marking a parameter as positional-only is that it " "allows the parameter name to be changed in the future without risk of " @@ -159,32 +147,32 @@ msgid "" "with the following function specification::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:175 +#: ../Doc/whatsnew/3.8.rst:169 msgid "" "Since the parameters to the left of ``/`` are not exposed as possible " "keywords, the parameters names remain available for use in ``**kwargs``::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:184 +#: ../Doc/whatsnew/3.8.rst:178 msgid "" "This greatly simplifies the implementation of functions and methods that " -"need to accept arbitrary keyword arguments. For example, here is an except " +"need to accept arbitrary keyword arguments. For example, here is an excerpt " "from code in the :mod:`collections` module::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:193 +#: ../Doc/whatsnew/3.8.rst:187 msgid "See :pep:`570` for a full description." msgstr "" -#: ../Doc/whatsnew/3.8.rst:195 +#: ../Doc/whatsnew/3.8.rst:189 msgid "(Contributed by Pablo Galindo in :issue:`36540`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:201 +#: ../Doc/whatsnew/3.8.rst:195 msgid "Parallel filesystem cache for compiled bytecode files" msgstr "" -#: ../Doc/whatsnew/3.8.rst:203 +#: ../Doc/whatsnew/3.8.rst:197 msgid "" "The new :envvar:`PYTHONPYCACHEPREFIX` setting (also available as :option:`-" "X` ``pycache_prefix``) configures the implicit bytecode cache to use a " @@ -192,28 +180,28 @@ msgid "" "subdirectories within each source directory." msgstr "" -#: ../Doc/whatsnew/3.8.rst:209 +#: ../Doc/whatsnew/3.8.rst:203 msgid "" "The location of the cache is reported in :data:`sys.pycache_prefix` (:const:" "`None` indicates the default location in ``__pycache__`` subdirectories)." msgstr "" -#: ../Doc/whatsnew/3.8.rst:213 +#: ../Doc/whatsnew/3.8.rst:207 msgid "(Contributed by Carl Meyer in :issue:`33499`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:216 +#: ../Doc/whatsnew/3.8.rst:211 msgid "Debug build uses the same ABI as release build" msgstr "" -#: ../Doc/whatsnew/3.8.rst:218 +#: ../Doc/whatsnew/3.8.rst:213 msgid "" -"Python now uses the same ABI whether it built in release or debug mode. On " +"Python now uses the same ABI whether it's built in release or debug mode. On " "Unix, when Python is built in debug mode, it is now possible to load C " "extensions built in release mode and C extensions built using the stable ABI." msgstr "" -#: ../Doc/whatsnew/3.8.rst:222 +#: ../Doc/whatsnew/3.8.rst:217 msgid "" "Release builds and debug builds are now ABI compatible: defining the " "``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` macro, which " @@ -223,7 +211,7 @@ msgid "" "refs`` build option. (Contributed by Victor Stinner in :issue:`36465`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:230 +#: ../Doc/whatsnew/3.8.rst:225 msgid "" "On Unix, C extensions are no longer linked to libpython except on Android " "and Cygwin. It is now possible for a statically linked Python to load a C " @@ -231,14 +219,14 @@ msgid "" "Stinner in :issue:`21536`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:237 +#: ../Doc/whatsnew/3.8.rst:232 msgid "" "On Unix, when Python is built in debug mode, import now also looks for C " "extensions compiled in release mode and for C extensions compiled with the " "stable ABI. (Contributed by Victor Stinner in :issue:`36722`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:242 +#: ../Doc/whatsnew/3.8.rst:237 msgid "" "To embed Python into an application, a new ``--embed`` option must be passed " "to ``python3-config --libs --embed`` to get ``-lpython3.8`` (link the " @@ -247,7 +235,7 @@ msgid "" "(without ``--embed``) if the previous command fails." msgstr "" -#: ../Doc/whatsnew/3.8.rst:248 +#: ../Doc/whatsnew/3.8.rst:243 msgid "" "Add a pkg-config ``python-3.8-embed`` module to embed Python into an " "application: ``pkg-config python-3.8-embed --libs`` includes ``-" @@ -257,7 +245,7 @@ msgid "" "the Python version)." msgstr "" -#: ../Doc/whatsnew/3.8.rst:254 +#: ../Doc/whatsnew/3.8.rst:249 msgid "" "On the other hand, ``pkg-config python3.8 --libs`` no longer contains ``-" "lpython3.8``. C extensions must not be linked to libpython (except on " @@ -266,173 +254,190 @@ msgid "" "`36721`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:262 +#: ../Doc/whatsnew/3.8.rst:257 msgid "f-strings support ``=`` for self-documenting expressions and debugging" msgstr "" -#: ../Doc/whatsnew/3.8.rst:264 +#: ../Doc/whatsnew/3.8.rst:259 msgid "" "Added an ``=`` specifier to :term:`f-string`\\s. An f-string such as " "``f'{expr=}'`` will expand to the text of the expression, an equal sign, " "then the representation of the evaluated expression. For example:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:273 +#: ../Doc/whatsnew/3.8.rst:268 msgid "" "The usual :ref:`f-string format specifiers ` allow more control " "over how the result of the expression is displayed::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:280 +#: ../Doc/whatsnew/3.8.rst:275 msgid "" "The ``=`` specifier will display the whole expression so that calculations " "can be shown::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:286 +#: ../Doc/whatsnew/3.8.rst:281 msgid "(Contributed by Eric V. Smith and Larry Hastings in :issue:`36817`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:289 +#: ../Doc/whatsnew/3.8.rst:285 +msgid "PEP 578: Python Runtime Audit Hooks" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:287 +msgid "" +"The PEP adds an Audit Hook and Verified Open Hook. Both are available from " +"Python and native code, allowing applications and frameworks written in pure " +"Python code to take advantage of extra notifications, while also allowing " +"embedders or system administrators to deploy builds of Python where auditing " +"is always enabled." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:293 +msgid "See :pep:`578` for full details." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:297 msgid "PEP 587: Python Initialization Configuration" msgstr "" -#: ../Doc/whatsnew/3.8.rst:291 +#: ../Doc/whatsnew/3.8.rst:299 msgid "" "The :pep:`587` adds a new C API to configure the Python Initialization " "providing finer control on the whole configuration and better error " "reporting." msgstr "" -#: ../Doc/whatsnew/3.8.rst:294 +#: ../Doc/whatsnew/3.8.rst:302 msgid "New structures:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:296 +#: ../Doc/whatsnew/3.8.rst:304 msgid ":c:type:`PyConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:297 +#: ../Doc/whatsnew/3.8.rst:305 msgid ":c:type:`PyPreConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:298 +#: ../Doc/whatsnew/3.8.rst:306 msgid ":c:type:`PyStatus`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:299 +#: ../Doc/whatsnew/3.8.rst:307 msgid ":c:type:`PyWideStringList`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:301 +#: ../Doc/whatsnew/3.8.rst:309 msgid "New functions:" msgstr "Nouvelles fonctions :" -#: ../Doc/whatsnew/3.8.rst:303 +#: ../Doc/whatsnew/3.8.rst:311 msgid ":c:func:`PyConfig_Clear`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:304 +#: ../Doc/whatsnew/3.8.rst:312 msgid ":c:func:`PyConfig_InitIsolatedConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:305 +#: ../Doc/whatsnew/3.8.rst:313 msgid ":c:func:`PyConfig_InitPythonConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:306 +#: ../Doc/whatsnew/3.8.rst:314 msgid ":c:func:`PyConfig_Read`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:307 +#: ../Doc/whatsnew/3.8.rst:315 msgid ":c:func:`PyConfig_SetArgv`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:308 +#: ../Doc/whatsnew/3.8.rst:316 msgid ":c:func:`PyConfig_SetBytesArgv`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:309 +#: ../Doc/whatsnew/3.8.rst:317 msgid ":c:func:`PyConfig_SetBytesString`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:310 +#: ../Doc/whatsnew/3.8.rst:318 msgid ":c:func:`PyConfig_SetString`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:311 +#: ../Doc/whatsnew/3.8.rst:319 msgid ":c:func:`PyPreConfig_InitIsolatedConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:312 +#: ../Doc/whatsnew/3.8.rst:320 msgid ":c:func:`PyPreConfig_InitPythonConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:313 +#: ../Doc/whatsnew/3.8.rst:321 msgid ":c:func:`PyStatus_Error`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:314 +#: ../Doc/whatsnew/3.8.rst:322 msgid ":c:func:`PyStatus_Exception`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:315 +#: ../Doc/whatsnew/3.8.rst:323 msgid ":c:func:`PyStatus_Exit`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:316 +#: ../Doc/whatsnew/3.8.rst:324 msgid ":c:func:`PyStatus_IsError`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:317 +#: ../Doc/whatsnew/3.8.rst:325 msgid ":c:func:`PyStatus_IsExit`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:318 +#: ../Doc/whatsnew/3.8.rst:326 msgid ":c:func:`PyStatus_NoMemory`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:319 +#: ../Doc/whatsnew/3.8.rst:327 msgid ":c:func:`PyStatus_Ok`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:320 +#: ../Doc/whatsnew/3.8.rst:328 msgid ":c:func:`PyWideStringList_Append`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:321 +#: ../Doc/whatsnew/3.8.rst:329 msgid ":c:func:`PyWideStringList_Insert`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:322 +#: ../Doc/whatsnew/3.8.rst:330 msgid ":c:func:`Py_BytesMain`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:323 +#: ../Doc/whatsnew/3.8.rst:331 msgid ":c:func:`Py_ExitStatusException`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:324 +#: ../Doc/whatsnew/3.8.rst:332 msgid ":c:func:`Py_InitializeFromConfig`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:325 +#: ../Doc/whatsnew/3.8.rst:333 msgid ":c:func:`Py_PreInitialize`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:326 +#: ../Doc/whatsnew/3.8.rst:334 msgid ":c:func:`Py_PreInitializeFromArgs`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:327 +#: ../Doc/whatsnew/3.8.rst:335 msgid ":c:func:`Py_PreInitializeFromBytesArgs`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:328 +#: ../Doc/whatsnew/3.8.rst:336 msgid ":c:func:`Py_RunMain`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:330 +#: ../Doc/whatsnew/3.8.rst:338 msgid "" "This PEP also adds ``_PyRuntimeState.preconfig`` (:c:type:`PyPreConfig` " "type) and ``PyInterpreterState.config`` (:c:type:`PyConfig` type) fields to " @@ -441,50 +446,50 @@ msgid "" "private variables." msgstr "" -#: ../Doc/whatsnew/3.8.rst:336 +#: ../Doc/whatsnew/3.8.rst:344 msgid "" "See :ref:`Python Initialization Configuration ` for the " "documentation." msgstr "" -#: ../Doc/whatsnew/3.8.rst:339 +#: ../Doc/whatsnew/3.8.rst:347 msgid "See :pep:`587` for a full description." msgstr "" -#: ../Doc/whatsnew/3.8.rst:341 +#: ../Doc/whatsnew/3.8.rst:349 msgid "(Contributed by Victor Stinner in :issue:`36763`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:345 +#: ../Doc/whatsnew/3.8.rst:353 msgid "Vectorcall: a fast calling protocol for CPython" msgstr "" -#: ../Doc/whatsnew/3.8.rst:347 +#: ../Doc/whatsnew/3.8.rst:355 msgid "" "The \"vectorcall\" protocol is added to the Python/C API. It is meant to " "formalize existing optimizations which were already done for various " "classes. Any extension type implementing a callable can use this protocol." msgstr "" -#: ../Doc/whatsnew/3.8.rst:352 +#: ../Doc/whatsnew/3.8.rst:360 msgid "" -"This is currently provisional, the aim is to make it fully public in Python " +"This is currently provisional. The aim is to make it fully public in Python " "3.9." msgstr "" -#: ../Doc/whatsnew/3.8.rst:355 +#: ../Doc/whatsnew/3.8.rst:363 msgid "See :pep:`590` for a full description." msgstr "" -#: ../Doc/whatsnew/3.8.rst:357 +#: ../Doc/whatsnew/3.8.rst:365 msgid "(Contributed by Jeroen Demeyer and Mark Shannon in :issue:`36974`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:361 +#: ../Doc/whatsnew/3.8.rst:369 msgid "Pickle protocol 5 with out-of-band data buffers" msgstr "" -#: ../Doc/whatsnew/3.8.rst:363 +#: ../Doc/whatsnew/3.8.rst:371 msgid "" "When :mod:`pickle` is used to transfer large data between Python processes " "in order to take advantage of multi-core or multi-machine processing, it is " @@ -492,33 +497,33 @@ msgid "" "by applying custom techniques such as data-dependent compression." msgstr "" -#: ../Doc/whatsnew/3.8.rst:368 +#: ../Doc/whatsnew/3.8.rst:376 msgid "" "The :mod:`pickle` protocol 5 introduces support for out-of-band buffers " "where :pep:`3118`-compatible data can be transmitted separately from the " "main pickle stream, at the discretion of the communication layer." msgstr "" -#: ../Doc/whatsnew/3.8.rst:372 +#: ../Doc/whatsnew/3.8.rst:380 msgid "See :pep:`574` for a full description." msgstr "" -#: ../Doc/whatsnew/3.8.rst:374 +#: ../Doc/whatsnew/3.8.rst:382 msgid "(Contributed by Antoine Pitrou in :issue:`36785`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:378 +#: ../Doc/whatsnew/3.8.rst:386 msgid "Other Language Changes" msgstr "" -#: ../Doc/whatsnew/3.8.rst:380 +#: ../Doc/whatsnew/3.8.rst:388 msgid "" "A :keyword:`continue` statement was illegal in the :keyword:`finally` clause " "due to a problem with the implementation. In Python 3.8 this restriction " "was lifted. (Contributed by Serhiy Storchaka in :issue:`32489`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:385 +#: ../Doc/whatsnew/3.8.rst:393 msgid "" "The :class:`bool`, :class:`int`, and :class:`fractions.Fraction` types now " "have an :meth:`~int.as_integer_ratio` method like that found in :class:" @@ -528,7 +533,7 @@ msgid "" "`33073` and Raymond Hettinger in :issue:`37819`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:393 +#: ../Doc/whatsnew/3.8.rst:401 msgid "" "Constructors of :class:`int`, :class:`float` and :class:`complex` will now " "use the :meth:`~object.__index__` special method, if available and the " @@ -537,42 +542,43 @@ msgid "" "Storchaka in :issue:`20092`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:399 +#: ../Doc/whatsnew/3.8.rst:407 msgid "" "Added support of ``\\N{name}`` escapes in :mod:`regular expressions `::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:406 +#: ../Doc/whatsnew/3.8.rst:414 msgid "" "(Contributed by Jonathan Eunice and Serhiy Storchaka in :issue:`30688`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:408 +#: ../Doc/whatsnew/3.8.rst:416 msgid "" "Dict and dictviews are now iterable in reversed insertion order using :func:" "`reversed`. (Contributed by Rémi Lapeyre in :issue:`33462`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:411 +#: ../Doc/whatsnew/3.8.rst:419 msgid "" "The syntax allowed for keyword names in function calls was further " "restricted. In particular, ``f((keyword)=arg)`` is no longer allowed. It was " "never intended to permit more than a bare name on the left-hand side of a " -"keyword argument assignment term. See :issue:`34641`." +"keyword argument assignment term. (Contributed by Benjamin Peterson in :" +"issue:`34641`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:416 +#: ../Doc/whatsnew/3.8.rst:425 msgid "" "Generalized iterable unpacking in :keyword:`yield` and :keyword:`return` " "statements no longer requires enclosing parentheses. This brings the *yield* " "and *return* syntax into better agreement with normal assignment syntax::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:429 +#: ../Doc/whatsnew/3.8.rst:437 msgid "(Contributed by David Cuthbert and Jordan Chapman in :issue:`32117`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:431 +#: ../Doc/whatsnew/3.8.rst:439 msgid "" "When a comma is missed in code such as ``[(10, 20) (30, 40)]``, the compiler " "displays a :exc:`SyntaxWarning` with a helpful suggestion. This improves on " @@ -580,17 +586,17 @@ msgid "" "callable. (Contributed by Serhiy Storchaka in :issue:`15248`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:437 +#: ../Doc/whatsnew/3.8.rst:445 msgid "" "Arithmetic operations between subclasses of :class:`datetime.date` or :class:" "`datetime.datetime` and :class:`datetime.timedelta` objects now return an " "instance of the subclass, rather than the base class. This also affects the " "return type of operations whose implementation (directly or indirectly) " -"uses :class:`datetime.timedelta` arithmetic, such as :meth:`datetime." +"uses :class:`datetime.timedelta` arithmetic, such as :meth:`~datetime." "datetime.astimezone`. (Contributed by Paul Ganssle in :issue:`32417`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:445 +#: ../Doc/whatsnew/3.8.rst:453 msgid "" "When the Python interpreter is interrupted by Ctrl-C (SIGINT) and the " "resulting :exc:`KeyboardInterrupt` exception is not caught, the Python " @@ -600,7 +606,7 @@ msgid "" "sessions. (Contributed by Google via Gregory P. Smith in :issue:`1054041`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:452 +#: ../Doc/whatsnew/3.8.rst:460 msgid "" "Some advanced styles of programming require updating the :class:`types." "CodeType` object for an existing function. Since code objects are " @@ -610,17 +616,17 @@ msgid "" "altered parameters." msgstr "" -#: ../Doc/whatsnew/3.8.rst:459 +#: ../Doc/whatsnew/3.8.rst:467 msgid "" "Here's an example that alters the :func:`statistics.mean` function to " "prevent the *data* parameter from being used as a keyword argument::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:471 +#: ../Doc/whatsnew/3.8.rst:479 msgid "(Contributed by Victor Stinner in :issue:`37032`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:473 +#: ../Doc/whatsnew/3.8.rst:481 msgid "" "For integers, the three-argument form of the :func:`pow` function now " "permits the exponent to be negative in the case where the base is relatively " @@ -631,7 +637,7 @@ msgid "" "38 modulo 137, write::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:487 +#: ../Doc/whatsnew/3.8.rst:495 msgid "" "Modular inverses arise in the solution of `linear Diophantine equations " "`_. For example, to find " @@ -639,193 +645,367 @@ msgid "" "(mod 147)`` then solve:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:497 +#: ../Doc/whatsnew/3.8.rst:505 msgid "(Contributed by Mark Dickinson in :issue:`36027`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:499 +#: ../Doc/whatsnew/3.8.rst:507 msgid "" "Dict comprehensions have been synced-up with dict literals so that the key " "is computed first and the value second::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:514 +#: ../Doc/whatsnew/3.8.rst:522 msgid "" "The guaranteed execution order is helpful with assignment expressions " "because variables assigned in the key expression will be available in the " "value expression::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:526 +#: ../Doc/whatsnew/3.8.rst:532 +msgid "(Contributed by Jörn Heissler in :issue:`35224`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:534 +msgid "" +"The :meth:`object.__reduce__` method can now return a tuple from two to six " +"elements long. Formerly, five was the limit. The new, optional sixth " +"element is a callable with a ``(obj, state)`` signature. This allows the " +"direct control over the state-updating behavior of a specific object. If " +"not *None*, this callable will have priority over the object's :meth:" +"`~__setstate__` method. (Contributed by Pierre Glaser and Olivier Grisel in :" +"issue:`35900`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:543 msgid "New Modules" msgstr "" -#: ../Doc/whatsnew/3.8.rst:528 +#: ../Doc/whatsnew/3.8.rst:545 msgid "" "The new :mod:`importlib.metadata` module provides (provisional) support for " "reading metadata from third-party packages. For example, it can extract an " "installed package's version number, list of entry points, and more::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:547 -msgid "(Contributed in :issue:`34632` by Barry Warsaw and Jason R. Coombs.)" +#: ../Doc/whatsnew/3.8.rst:564 +msgid "(Contributed by Barry Warsaw and Jason R. Coombs in :issue:`34632`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:551 +#: ../Doc/whatsnew/3.8.rst:568 msgid "Improved Modules" msgstr "" -#: ../Doc/whatsnew/3.8.rst:555 +#: ../Doc/whatsnew/3.8.rst:571 msgid "ast" msgstr "ast" -#: ../Doc/whatsnew/3.8.rst:557 +#: ../Doc/whatsnew/3.8.rst:573 msgid "" "AST nodes now have ``end_lineno`` and ``end_col_offset`` attributes, which " "give the precise location of the end of the node. (This only applies to " "nodes that have ``lineno`` and ``col_offset`` attributes.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:561 -msgid "The :func:`ast.parse` function has some new flags:" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:563 -msgid "" -"``type_comments=True`` causes it to return the text of :pep:`484` and :pep:" -"`526` type comments associated with certain AST nodes;" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:566 -msgid "" -"``mode='func_type'`` can be used to parse :pep:`484` \"signature type " -"comments\" (returned for function definition AST nodes);" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:569 -msgid "" -"``feature_version=(3, N)`` allows specifying an earlier Python 3 version. " -"(For example, ``feature_version=(3, 4)`` will treat ``async`` and ``await`` " -"as non-reserved words.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:573 +#: ../Doc/whatsnew/3.8.rst:577 msgid "" "New function :func:`ast.get_source_segment` returns the source code for a " "specific AST node." msgstr "" -#: ../Doc/whatsnew/3.8.rst:578 +#: ../Doc/whatsnew/3.8.rst:580 +msgid "(Contributed by Ivan Levkivskyi in :issue:`33416`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:582 +msgid "The :func:`ast.parse` function has some new flags:" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:584 +msgid "" +"``type_comments=True`` causes it to return the text of :pep:`484` and :pep:" +"`526` type comments associated with certain AST nodes;" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:587 +msgid "" +"``mode='func_type'`` can be used to parse :pep:`484` \"signature type " +"comments\" (returned for function definition AST nodes);" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:590 +msgid "" +"``feature_version=(3, N)`` allows specifying an earlier Python 3 version. " +"For example, ``feature_version=(3, 4)`` will treat :keyword:`async` and :" +"keyword:`await` as non-reserved words." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:594 +msgid "(Contributed by Guido van Rossum in :issue:`35766`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:598 msgid "asyncio" msgstr "asyncio" -#: ../Doc/whatsnew/3.8.rst:580 +#: ../Doc/whatsnew/3.8.rst:600 +msgid "" +":func:`asyncio.run` has graduated from the provisional to stable API. This " +"function can be used to execute a :term:`coroutine` and return the result " +"while automatically managing the event loop. For example::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:612 +msgid "This is *roughly* equivalent to::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:629 +msgid "" +"The actual implementation is significantly more complex. Thus, :func:" +"`asyncio.run` should be the preferred way of running asyncio programs." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:632 +msgid "(Contributed by Yury Selivanov in :issue:`32314`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:634 +msgid "" +"Running ``python -m asyncio`` launches a natively async REPL. This allows " +"rapid experimentation with code that has a top-level :keyword:`await`. " +"There is no longer a need to directly call ``asyncio.run()`` which would " +"spawn a new event loop on every invocation:" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:649 +msgid "(Contributed by Yury Selivanov in :issue:`37028`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:651 ../Doc/whatsnew/3.8.rst:1950 +msgid "" +"The exception :class:`asyncio.CancelledError` now inherits from :class:" +"`BaseException` rather than :class:`Exception`. (Contributed by Yury " +"Selivanov in :issue:`32528`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:655 msgid "" "On Windows, the default event loop is now :class:`~asyncio." "ProactorEventLoop`. (Contributed by Victor Stinner in :issue:`34687`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:583 +#: ../Doc/whatsnew/3.8.rst:658 msgid "" ":class:`~asyncio.ProactorEventLoop` now also supports UDP. (Contributed by " "Adam Meily and Andrew Svetlov in :issue:`29883`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:586 +#: ../Doc/whatsnew/3.8.rst:661 msgid "" ":class:`~asyncio.ProactorEventLoop` can now be interrupted by :exc:" "`KeyboardInterrupt` (\"CTRL+C\"). (Contributed by Vladimir Matveev in :issue:" "`23057`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:592 +#: ../Doc/whatsnew/3.8.rst:665 +msgid "" +"Added :meth:`asyncio.Task.get_coro` for getting the wrapped coroutine within " +"an :class:`asyncio.Task`. (Contributed by Alex Grönholm in :issue:`36999`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:669 +msgid "" +"Asyncio tasks can now be named, either by passing the ``name`` keyword " +"argument to :func:`asyncio.create_task` or the :meth:`~asyncio.loop." +"create_task` event loop method, or by calling the :meth:`~asyncio.Task." +"set_name` method on the task object. The task name is visible in the " +"``repr()`` output of :class:`asyncio.Task` and can also be retrieved using " +"the :meth:`~asyncio.Task.get_name` method. (Contributed by Alex Grönholm in :" +"issue:`34270`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:677 +msgid "" +"Added support for `Happy Eyeballs `_ to :func:`asyncio.loop.create_connection`. To specify the " +"behavior, two new parameters have been added: *happy_eyeballs_delay* and " +"*interleave*. The Happy Eyeballs algorithm improves responsiveness in " +"applications that support IPv4 and IPv6 by attempting to simultaneously " +"connect using both. (Contributed by twisteroid ambassador in :issue:`33530`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:687 msgid "builtins" msgstr "" -#: ../Doc/whatsnew/3.8.rst:594 +#: ../Doc/whatsnew/3.8.rst:689 msgid "" "The :func:`compile` built-in has been improved to accept the ``ast." "PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag. With this new flag passed, :func:" "`compile` will allow top-level ``await``, ``async for`` and ``async with`` " "constructs that are usually considered invalid syntax. Asynchronous code " -"object marked with the ``CO_COROUTINE`` flag may then be returned." +"object marked with the ``CO_COROUTINE`` flag may then be returned. " +"(Contributed by Matthias Bussonnier in :issue:`34616`)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:600 -msgid "(Contributed by Matthias Bussonnier in :issue:`34616`)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:603 +#: ../Doc/whatsnew/3.8.rst:698 msgid "collections" msgstr "" -#: ../Doc/whatsnew/3.8.rst:605 +#: ../Doc/whatsnew/3.8.rst:700 msgid "" -"The :meth:`_asdict()` method for :func:`collections.namedtuple` now returns " -"a :class:`dict` instead of a :class:`collections.OrderedDict`. This works " -"because regular dicts have guaranteed ordering since Python 3.7. If the " -"extra features of :class:`OrderedDict` are required, the suggested " -"remediation is to cast the result to the desired type: ``OrderedDict(nt." -"_asdict())``. (Contributed by Raymond Hettinger in :issue:`35864`.)" +"The :meth:`~collections.somenamedtuple._asdict` method for :func:" +"`collections.namedtuple` now returns a :class:`dict` instead of a :class:" +"`collections.OrderedDict`. This works because regular dicts have guaranteed " +"ordering since Python 3.7. If the extra features of :class:`OrderedDict` are " +"required, the suggested remediation is to cast the result to the desired " +"type: ``OrderedDict(nt._asdict())``. (Contributed by Raymond Hettinger in :" +"issue:`35864`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:614 +#: ../Doc/whatsnew/3.8.rst:710 +msgid "cProfile" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:712 +msgid "" +"The :class:`cProfile.Profile ` class can now be used as a " +"context manager. Profile a block of code by running::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:721 +msgid "(Contributed by Scott Sanderson in :issue:`29235`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:725 +msgid "csv" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:727 +msgid "" +"The :class:`csv.DictReader` now returns instances of :class:`dict` instead " +"of a :class:`collections.OrderedDict`. The tool is now faster and uses less " +"memory while still preserving the field order. (Contributed by Michael Seek " +"in :issue:`34003`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:734 +msgid "curses" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:736 +msgid "" +"Added a new variable holding structured version information for the " +"underlying ncurses library: :data:`~curses.ncurses_version`. (Contributed by " +"Serhiy Storchaka in :issue:`31680`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:742 msgid "ctypes" msgstr "ctypes" -#: ../Doc/whatsnew/3.8.rst:616 +#: ../Doc/whatsnew/3.8.rst:744 msgid "" "On Windows, :class:`~ctypes.CDLL` and subclasses now accept a *winmode* " "parameter to specify flags for the underlying ``LoadLibraryEx`` call. The " "default flags are set to only load DLL dependencies from trusted locations, " "including the path where the DLL is stored (if a full or partial path is " "used to load the initial DLL) and paths added by :func:`~os." -"add_dll_directory`." +"add_dll_directory`. (Contributed by Steve Dower in :issue:`36085`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:624 +#: ../Doc/whatsnew/3.8.rst:753 +msgid "datetime" +msgstr "datetime" + +#: ../Doc/whatsnew/3.8.rst:755 +msgid "" +"Added new alternate constructors :meth:`datetime.date.fromisocalendar` and :" +"meth:`datetime.datetime.fromisocalendar`, which construct :class:`date` and :" +"class:`datetime` objects respectively from ISO year, week number, and " +"weekday; these are the inverse of each class's ``isocalendar`` method. " +"(Contributed by Paul Ganssle in :issue:`36004`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:763 msgid "functools" msgstr "" -#: ../Doc/whatsnew/3.8.rst:626 +#: ../Doc/whatsnew/3.8.rst:765 msgid "" ":func:`functools.lru_cache` can now be used as a straight decorator rather " "than as a function returning a decorator. So both of these are now " "supported::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:637 +#: ../Doc/whatsnew/3.8.rst:776 msgid "(Contributed by Raymond Hettinger in :issue:`36772`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:641 -msgid "datetime" -msgstr "datetime" - -#: ../Doc/whatsnew/3.8.rst:643 +#: ../Doc/whatsnew/3.8.rst:778 msgid "" -"Added new alternate constructors :meth:`datetime.date.fromisocalendar` and :" -"meth:`datetime.datetime.fromisocalendar`, which construct :class:`date` and :" -"class:`datetime` objects respectively from ISO year, week number and " -"weekday; these are the inverse of each class's ``isocalendar`` method. " -"(Contributed by Paul Ganssle in :issue:`36004`.)" +"Added a new :func:`functools.cached_property` decorator, for computed " +"properties cached for the life of the instance. ::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:651 +#: ../Doc/whatsnew/3.8.rst:792 +msgid "(Contributed by Carl Meyer in :issue:`21145`)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:795 +msgid "" +"Added a new :func:`functools.singledispatchmethod` decorator that converts " +"methods into :term:`generic functions ` using :term:" +"`single dispatch`::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:817 +msgid "(Contributed by Ethan Smith in :issue:`32380`)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:820 +msgid "gc" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:822 +msgid "" +":func:`~gc.get_objects` can now receive an optional *generation* parameter " +"indicating a generation to get objects from. (Contributed by Pablo Galindo " +"in :issue:`36016`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:828 msgid "gettext" msgstr "" -#: ../Doc/whatsnew/3.8.rst:653 +#: ../Doc/whatsnew/3.8.rst:830 msgid "" "Added :func:`~gettext.pgettext` and its variants. (Contributed by Franz " "Glasner, Éric Araujo, and Cheryl Sabella in :issue:`2504`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:658 ../Doc/whatsnew/3.8.rst:728 -msgid "idlelib and IDLE" +#: ../Doc/whatsnew/3.8.rst:835 +msgid "gzip" +msgstr "gzip" + +#: ../Doc/whatsnew/3.8.rst:837 +msgid "" +"Added the *mtime* parameter to :func:`gzip.compress` for reproducible " +"output. (Contributed by Guo Ci Teo in :issue:`34898`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:660 ../Doc/whatsnew/3.8.rst:735 +#: ../Doc/whatsnew/3.8.rst:840 +msgid "" +"A :exc:`~gzip.BadGzipFile` exception is now raised instead of :exc:`OSError` " +"for certain types of invalid or corrupt gzip files. (Contributed by Filip " +"Gruszczyński, Michele Orrù, and Zackery Spytz in :issue:`6584`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:847 +msgid "IDLE and idlelib" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:849 msgid "" "Output over N lines (50 by default) is squeezed down to a button. N can be " "changed in the PyShell section of the General page of the Settings dialog. " @@ -835,7 +1015,7 @@ msgid "" "button. (Contributed by Tal Einat in :issue:`1529353`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:667 +#: ../Doc/whatsnew/3.8.rst:856 msgid "" "Add \"Run Customized\" to the Run menu to run a module with customized " "settings. Any command line arguments entered are added to sys.argv. They " @@ -844,24 +1024,34 @@ msgid "" "Sabella, Terry Jan Reedy, and others in :issue:`5680` and :issue:`37627`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:673 +#: ../Doc/whatsnew/3.8.rst:862 msgid "" -"Add optional line numbers for IDLE editor windows. Windows open without line " -"numbers unless set otherwise in the General tab of the configuration " +"Added optional line numbers for IDLE editor windows. Windows open without " +"line numbers unless set otherwise in the General tab of the configuration " "dialog. Line numbers for an existing window are shown and hidden in the " "Options menu. (Contributed by Tal Einat and Saimadhav Heblikar in :issue:" "`17535`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:679 ../Doc/whatsnew/3.8.rst:742 +#: ../Doc/whatsnew/3.8.rst:868 +msgid "" +"OS native encoding is now used for converting between Python strings and Tcl " +"objects. This allows IDLE to work with emoji and other non-BMP characters. " +"These characters can be displayed or copied and pasted to or from the " +"clipboard. Converting strings from Tcl to Python and back now never fails. " +"(Many people worked on this for eight years but the problem was finally " +"solved by Serhiy Storchaka in :issue:`13153`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:875 msgid "The changes above have been backported to 3.7 maintenance releases." msgstr "" -#: ../Doc/whatsnew/3.8.rst:683 +#: ../Doc/whatsnew/3.8.rst:879 msgid "inspect" msgstr "" -#: ../Doc/whatsnew/3.8.rst:685 +#: ../Doc/whatsnew/3.8.rst:881 msgid "" "The :func:`inspect.getdoc` function can now find docstrings for " "``__slots__`` if that attribute is a :class:`dict` where the values are " @@ -869,11 +1059,15 @@ msgid "" "have for :func:`property`, :func:`classmethod`, and :func:`staticmethod`::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:699 +#: ../Doc/whatsnew/3.8.rst:893 +msgid "(Contributed by Raymond Hettinger in :issue:`36326`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:897 msgid "io" msgstr "" -#: ../Doc/whatsnew/3.8.rst:701 +#: ../Doc/whatsnew/3.8.rst:899 msgid "" "In development mode (:option:`-X` ``env``) and in debug build, the :class:" "`io.IOBase` finalizer now logs the exception if the ``close()`` method " @@ -881,137 +1075,161 @@ msgid "" "(Contributed by Victor Stinner in :issue:`18748`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:708 -msgid "gc" +#: ../Doc/whatsnew/3.8.rst:906 +msgid "itertools" msgstr "" -#: ../Doc/whatsnew/3.8.rst:710 +#: ../Doc/whatsnew/3.8.rst:908 msgid "" -":func:`~gc.get_objects` can now receive an optional *generation* parameter " -"indicating a generation to get objects from. Contributed in :issue:`36016` " -"by Pablo Galindo." +"The :func:`itertools.accumulate` function added an option *initial* keyword " +"argument to specify an initial value::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:716 -msgid "gzip" -msgstr "gzip" - -#: ../Doc/whatsnew/3.8.rst:718 -msgid "" -"Added the *mtime* parameter to :func:`gzip.compress` for reproducible " -"output. (Contributed by Guo Ci Teo in :issue:`34898`.)" +#: ../Doc/whatsnew/3.8.rst:915 +msgid "(Contributed by Lisa Roach in :issue:`34659`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:721 -msgid "" -"A :exc:`~gzip.BadGzipFile` exception is now raised instead of :exc:`OSError` " -"for certain types of invalid or corrupt gzip files. (Contributed by Filip " -"Gruszczyński, Michele Orrù, and Zackery Spytz in :issue:`6584`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:730 -msgid "" -"Add optional line numbers for IDLE editor windows. Windows open without line " -"numbers unless set otherwise in the General tab of the configuration dialog. " -"(Contributed by Tal Einat and Saimadhav Heblikar in :issue:`17535`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:746 +#: ../Doc/whatsnew/3.8.rst:919 msgid "json.tool" msgstr "" -#: ../Doc/whatsnew/3.8.rst:748 +#: ../Doc/whatsnew/3.8.rst:921 msgid "" -"Add option ``--json-lines`` to parse every input line as separate JSON " +"Add option ``--json-lines`` to parse every input line as a separate JSON " "object. (Contributed by Weipeng Hong in :issue:`31553`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:753 +#: ../Doc/whatsnew/3.8.rst:926 +msgid "logging" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:928 +msgid "" +"Added a *force* keyword argument to :func:`logging.basicConfig()` When set " +"to true, any existing handlers attached to the root logger are removed and " +"closed before carrying out the configuration specified by the other " +"arguments." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:933 +msgid "" +"This solves a long-standing problem. Once a logger or *basicConfig()* had " +"been called, subsequent calls to *basicConfig()* were silently ignored. This " +"made it difficult to update, experiment with, or teach the various logging " +"configuration options using the interactive prompt or a Jupyter notebook." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:939 +msgid "" +"(Suggested by Raymond Hettinger, implemented by Dong-hee Na, and reviewed by " +"Vinay Sajip in :issue:`33897`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:944 msgid "math" msgstr "" -#: ../Doc/whatsnew/3.8.rst:755 +#: ../Doc/whatsnew/3.8.rst:946 msgid "" "Added new function :func:`math.dist` for computing Euclidean distance " "between two points. (Contributed by Raymond Hettinger in :issue:`33089`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:758 +#: ../Doc/whatsnew/3.8.rst:949 msgid "" "Expanded the :func:`math.hypot` function to handle multiple dimensions. " "Formerly, it only supported the 2-D case. (Contributed by Raymond Hettinger " "in :issue:`33089`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:762 +#: ../Doc/whatsnew/3.8.rst:953 msgid "" "Added new function, :func:`math.prod`, as analogous function to :func:`sum` " "that returns the product of a 'start' value (default: 1) times an iterable " "of numbers::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:771 -msgid "(Contributed by Pablo Galindo in :issue:`35606`)" +#: ../Doc/whatsnew/3.8.rst:962 +msgid "(Contributed by Pablo Galindo in :issue:`35606`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:773 +#: ../Doc/whatsnew/3.8.rst:964 msgid "" -"Added new function :func:`math.isqrt` for computing integer square roots. " -"(Contributed by Mark Dickinson in :issue:`36887`.)" +"Added two new combinatoric functions :func:`math.perm` and :func:`math." +"comb`::" msgstr "" -#: ../Doc/whatsnew/3.8.rst:776 +#: ../Doc/whatsnew/3.8.rst:971 +msgid "" +"(Contributed by Yash Aggarwal, Keller Fuchs, Serhiy Storchaka, and Raymond " +"Hettinger in :issue:`37128`, :issue:`37178`, and :issue:`35431`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:974 +msgid "" +"Added a new function :func:`math.isqrt` for computing accurate integer " +"square roots without conversion to floating point. The new function " +"supports arbitrarily large integers. It is faster than ``floor(sqrt(n))`` " +"but slower than :func:`math.sqrt`::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:986 +msgid "(Contributed by Mark Dickinson in :issue:`36887`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:988 msgid "" "The function :func:`math.factorial` no longer accepts arguments that are not " "int-like. (Contributed by Pablo Galindo in :issue:`33083`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:781 +#: ../Doc/whatsnew/3.8.rst:993 msgid "mmap" msgstr "" -#: ../Doc/whatsnew/3.8.rst:783 +#: ../Doc/whatsnew/3.8.rst:995 msgid "" "The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.madvise` method to " "access the ``madvise()`` system call. (Contributed by Zackery Spytz in :" "issue:`32941`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:789 +#: ../Doc/whatsnew/3.8.rst:1001 msgid "multiprocessing" msgstr "multiprocessing" -#: ../Doc/whatsnew/3.8.rst:791 +#: ../Doc/whatsnew/3.8.rst:1003 msgid "" -"Added new :mod:`multiprocessing.shared_memory` module. (Contributed Davin " +"Added new :mod:`multiprocessing.shared_memory` module. (Contributed by Davin " "Potts in :issue:`35813`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:794 +#: ../Doc/whatsnew/3.8.rst:1006 msgid "" "On macOS, the *spawn* start method is now used by default. (Contributed by " "Victor Stinner in :issue:`33725`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:799 +#: ../Doc/whatsnew/3.8.rst:1011 msgid "os" msgstr "" -#: ../Doc/whatsnew/3.8.rst:801 +#: ../Doc/whatsnew/3.8.rst:1013 msgid "" "Added new function :func:`~os.add_dll_directory` on Windows for providing " "additional search paths for native dependencies when importing extension " -"modules or loading DLLs using :mod:`ctypes`." +"modules or loading DLLs using :mod:`ctypes`. (Contributed by Steve Dower in :" +"issue:`36085`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:805 +#: ../Doc/whatsnew/3.8.rst:1018 msgid "" "A new :func:`os.memfd_create` function was added to wrap the " "``memfd_create()`` syscall. (Contributed by Zackery Spytz and Christian " "Heimes in :issue:`26836`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:809 +#: ../Doc/whatsnew/3.8.rst:1022 msgid "" "On Windows, much of the manual logic for handling reparse points (including " "symlinks and directory junctions) has been delegated to the operating " @@ -1024,7 +1242,7 @@ msgid "" "st_reparse_tag` attribute." msgstr "" -#: ../Doc/whatsnew/3.8.rst:818 +#: ../Doc/whatsnew/3.8.rst:1031 msgid "" "On Windows, :func:`os.readlink` is now able to read directory junctions. " "Note that :func:`~os.path.islink` will return ``False`` for directory " @@ -1033,11 +1251,15 @@ msgid "" "readlink` may now treat junctions as links." msgstr "" -#: ../Doc/whatsnew/3.8.rst:826 +#: ../Doc/whatsnew/3.8.rst:1037 ../Doc/whatsnew/3.8.rst:1062 +msgid "(Contributed by Steve Dower in :issue:`37834`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1041 msgid "os.path" msgstr "" -#: ../Doc/whatsnew/3.8.rst:828 +#: ../Doc/whatsnew/3.8.rst:1043 msgid "" ":mod:`os.path` functions that return a boolean result like :func:`~os.path." "exists`, :func:`~os.path.lexists`, :func:`~os.path.isdir`, :func:`~os.path." @@ -1048,41 +1270,31 @@ msgid "" "Storchaka in :issue:`33721`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:836 ../Doc/whatsnew/3.8.rst:1658 +#: ../Doc/whatsnew/3.8.rst:1051 ../Doc/whatsnew/3.8.rst:1945 msgid "" ":func:`~os.path.expanduser` on Windows now prefers the :envvar:`USERPROFILE` " "environment variable and does not use :envvar:`HOME`, which is not normally " -"set for regular user accounts." +"set for regular user accounts. (Contributed by Anthony Sottile in :issue:" +"`36264`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:840 +#: ../Doc/whatsnew/3.8.rst:1056 msgid "" -":func:`~os.path.isdir` on Windows no longer returns true for a link to a non-" -"existent directory." +":func:`~os.path.isdir` on Windows no longer returns ``True`` for a link to a " +"non-existent directory." msgstr "" -#: ../Doc/whatsnew/3.8.rst:843 +#: ../Doc/whatsnew/3.8.rst:1059 msgid "" ":func:`~os.path.realpath` on Windows now resolves reparse points, including " "symlinks and directory junctions." msgstr "" -#: ../Doc/whatsnew/3.8.rst:848 -msgid "ncurses" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:850 -msgid "" -"Added a new variable holding structured version information for the " -"underlying ncurses library: :data:`~curses.ncurses_version`. (Contributed by " -"Serhiy Storchaka in :issue:`31680`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:856 +#: ../Doc/whatsnew/3.8.rst:1066 msgid "pathlib" msgstr "pathlib" -#: ../Doc/whatsnew/3.8.rst:858 +#: ../Doc/whatsnew/3.8.rst:1068 msgid "" ":mod:`pathlib.Path` methods that return a boolean result like :meth:" "`~pathlib.Path.exists()`, :meth:`~pathlib.Path.is_dir()`, :meth:`~pathlib." @@ -1095,94 +1307,89 @@ msgid "" "`33721`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:868 +#: ../Doc/whatsnew/3.8.rst:1078 msgid "" "Added :meth:`pathlib.Path.link_to()` which creates a hard link pointing to a " "path. (Contributed by Joannah Nanjekye in :issue:`26978`)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:874 +#: ../Doc/whatsnew/3.8.rst:1084 msgid "pickle" msgstr "" -#: ../Doc/whatsnew/3.8.rst:876 -msgid "" -"Reduction methods can now include a 6th item in the tuple they return. This " -"item should specify a custom state-setting method that's called instead of " -"the regular ``__setstate__`` method. (Contributed by Pierre Glaser and " -"Olivier Grisel in :issue:`35900`)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:881 +#: ../Doc/whatsnew/3.8.rst:1086 msgid "" ":mod:`pickle` extensions subclassing the C-optimized :class:`~pickle." "Pickler` can now override the pickling logic of functions and classes by " "defining the special :meth:`~pickle.Pickler.reducer_override` method. " -"(Contributed by Pierre Glaser and Olivier Grisel in :issue:`35900`)" +"(Contributed by Pierre Glaser and Olivier Grisel in :issue:`35900`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:888 +#: ../Doc/whatsnew/3.8.rst:1093 msgid "plistlib" msgstr "" -#: ../Doc/whatsnew/3.8.rst:890 +#: ../Doc/whatsnew/3.8.rst:1095 msgid "" "Added new :class:`plistlib.UID` and enabled support for reading and writing " "NSKeyedArchiver-encoded binary plists. (Contributed by Jon Janzen in :issue:" "`26707`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:896 +#: ../Doc/whatsnew/3.8.rst:1101 +msgid "pprint" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1103 +msgid "" +"The :mod:`pprint` module added a *sort_dicts* parameter to several " +"functions. By default, those functions continue to sort dictionaries before " +"rendering or printing. However, if *sort_dicts* is set to false, the " +"dictionaries retain the order that keys were inserted. This can be useful " +"for comparison to JSON inputs during debugging." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1109 +msgid "" +"In addition, there is a convenience new function, :func:`pprint.pp` that is " +"like :func:`pprint.pprint` but with *sort_dicts* defaulting to ``False``::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1123 +msgid "(Contributed by Rémi Lapeyre in :issue:`30670`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1127 msgid "py_compile" msgstr "" -#: ../Doc/whatsnew/3.8.rst:898 +#: ../Doc/whatsnew/3.8.rst:1129 msgid "" ":func:`py_compile.compile` now supports silent mode. (Contributed by Joannah " "Nanjekye in :issue:`22640`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:903 -msgid "socket" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:905 -msgid "" -"Added :meth:`~socket.create_server()` and :meth:`~socket." -"has_dualstack_ipv6()` convenience functions to automate the necessary tasks " -"usually involved when creating a server socket, including accepting both " -"IPv4 and IPv6 connections on the same socket. (Contributed by Giampaolo " -"Rodola in :issue:`17561`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:910 -msgid "" -"The :func:`socket.if_nameindex()`, :func:`socket.if_nametoindex()`, and :" -"func:`socket.if_indextoname()` functions have been implemented on Windows. " -"(Contributed by Zackery Spytz in :issue:`37007`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:915 +#: ../Doc/whatsnew/3.8.rst:1134 msgid "shlex" msgstr "" -#: ../Doc/whatsnew/3.8.rst:917 +#: ../Doc/whatsnew/3.8.rst:1136 msgid "" "The new :func:`shlex.join` function acts as the inverse of :func:`shlex." "split`. (Contributed by Bo Bayles in :issue:`32102`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:921 +#: ../Doc/whatsnew/3.8.rst:1141 msgid "shutil" msgstr "" -#: ../Doc/whatsnew/3.8.rst:923 +#: ../Doc/whatsnew/3.8.rst:1143 msgid "" ":func:`shutil.copytree` now accepts a new ``dirs_exist_ok`` keyword " "argument. (Contributed by Josh Bronson in :issue:`20849`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:926 +#: ../Doc/whatsnew/3.8.rst:1146 msgid "" ":func:`shutil.make_archive` now defaults to the modern pax (POSIX.1-2001) " "format for new archives to improve portability and standards conformance, " @@ -1190,65 +1397,86 @@ msgid "" "(Contributed by C.A.M. Gerlach in :issue:`30661`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:931 +#: ../Doc/whatsnew/3.8.rst:1151 msgid "" ":func:`shutil.rmtree` on Windows now removes directory junctions without " -"recursively removing their contents first." +"recursively removing their contents first. (Contributed by Steve Dower in :" +"issue:`37834`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:936 +#: ../Doc/whatsnew/3.8.rst:1157 +msgid "socket" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1159 +msgid "" +"Added :meth:`~socket.create_server()` and :meth:`~socket." +"has_dualstack_ipv6()` convenience functions to automate the necessary tasks " +"usually involved when creating a server socket, including accepting both " +"IPv4 and IPv6 connections on the same socket. (Contributed by Giampaolo " +"Rodolà in :issue:`17561`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1164 +msgid "" +"The :func:`socket.if_nameindex()`, :func:`socket.if_nametoindex()`, and :" +"func:`socket.if_indextoname()` functions have been implemented on Windows. " +"(Contributed by Zackery Spytz in :issue:`37007`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1170 msgid "ssl" msgstr "" -#: ../Doc/whatsnew/3.8.rst:938 +#: ../Doc/whatsnew/3.8.rst:1172 msgid "" -"Added :attr:`SSLContext.post_handshake_auth` to enable and :meth:`ssl." +"Added :attr:`~ssl.SSLContext.post_handshake_auth` to enable and :meth:`~ssl." "SSLSocket.verify_client_post_handshake` to initiate TLS 1.3 post-handshake " "authentication. (Contributed by Christian Heimes in :issue:`34670`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:945 +#: ../Doc/whatsnew/3.8.rst:1179 msgid "statistics" msgstr "" -#: ../Doc/whatsnew/3.8.rst:947 +#: ../Doc/whatsnew/3.8.rst:1181 msgid "" "Added :func:`statistics.fmean` as a faster, floating point variant of :func:" "`statistics.mean()`. (Contributed by Raymond Hettinger and Steven D'Aprano " "in :issue:`35904`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:951 +#: ../Doc/whatsnew/3.8.rst:1185 msgid "" "Added :func:`statistics.geometric_mean()` (Contributed by Raymond Hettinger " "in :issue:`27181`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:954 +#: ../Doc/whatsnew/3.8.rst:1188 msgid "" "Added :func:`statistics.multimode` that returns a list of the most common " "values. (Contributed by Raymond Hettinger in :issue:`35892`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:957 +#: ../Doc/whatsnew/3.8.rst:1191 msgid "" "Added :func:`statistics.quantiles` that divides data or a distribution in to " "equiprobable intervals (e.g. quartiles, deciles, or percentiles). " "(Contributed by Raymond Hettinger in :issue:`36546`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:961 +#: ../Doc/whatsnew/3.8.rst:1195 msgid "" "Added :class:`statistics.NormalDist`, a tool for creating and manipulating " "normal distributions of a random variable. (Contributed by Raymond Hettinger " "in :issue:`36018`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:991 +#: ../Doc/whatsnew/3.8.rst:1225 msgid "sys" msgstr "sys" -#: ../Doc/whatsnew/3.8.rst:993 +#: ../Doc/whatsnew/3.8.rst:1227 msgid "" "Add new :func:`sys.unraisablehook` function which can be overridden to " "control how \"unraisable exceptions\" are handled. It is called when an " @@ -1257,11 +1485,11 @@ msgid "" "(:func:`gc.collect`). (Contributed by Victor Stinner in :issue:`36829`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1002 +#: ../Doc/whatsnew/3.8.rst:1236 msgid "tarfile" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1004 +#: ../Doc/whatsnew/3.8.rst:1238 msgid "" "The :mod:`tarfile` module now defaults to the modern pax (POSIX.1-2001) " "format for new archives, instead of the previous GNU-specific one. This " @@ -1270,11 +1498,11 @@ msgid "" "(Contributed by C.A.M. Gerlach in :issue:`36268`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1012 +#: ../Doc/whatsnew/3.8.rst:1246 msgid "threading" msgstr "threading" -#: ../Doc/whatsnew/3.8.rst:1014 +#: ../Doc/whatsnew/3.8.rst:1248 msgid "" "Add a new :func:`threading.excepthook` function which handles uncaught :meth:" "`threading.Thread.run` exception. It can be overridden to control how " @@ -1282,7 +1510,7 @@ msgid "" "by Victor Stinner in :issue:`1230540`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1019 +#: ../Doc/whatsnew/3.8.rst:1253 msgid "" "Add a new :func:`threading.get_native_id` function and a :data:`~threading." "Thread.native_id` attribute to the :class:`threading.Thread` class. These " @@ -1292,11 +1520,11 @@ msgid "" "by Jake Tesler in :issue:`36084`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1029 +#: ../Doc/whatsnew/3.8.rst:1263 msgid "tokenize" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1031 +#: ../Doc/whatsnew/3.8.rst:1265 msgid "" "The :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token when " "provided with input that does not have a trailing new line. This behavior " @@ -1304,11 +1532,11 @@ msgid "" "Askar in :issue:`33899`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1037 +#: ../Doc/whatsnew/3.8.rst:1272 msgid "tkinter" msgstr "tkinter" -#: ../Doc/whatsnew/3.8.rst:1039 +#: ../Doc/whatsnew/3.8.rst:1274 msgid "" "Added methods :meth:`~tkinter.Spinbox.selection_from`, :meth:`~tkinter." "Spinbox.selection_present`, :meth:`~tkinter.Spinbox.selection_range` and :" @@ -1316,79 +1544,85 @@ msgid "" "(Contributed by Juliette Monsel in :issue:`34829`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1046 +#: ../Doc/whatsnew/3.8.rst:1281 msgid "" "Added method :meth:`~tkinter.Canvas.moveto` in the :class:`tkinter.Canvas` " "class. (Contributed by Juliette Monsel in :issue:`23831`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1050 +#: ../Doc/whatsnew/3.8.rst:1285 msgid "" "The :class:`tkinter.PhotoImage` class now has :meth:`~tkinter.PhotoImage." "transparency_get` and :meth:`~tkinter.PhotoImage.transparency_set` methods. " "(Contributed by Zackery Spytz in :issue:`25451`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1056 +#: ../Doc/whatsnew/3.8.rst:1292 msgid "time" msgstr "time" -#: ../Doc/whatsnew/3.8.rst:1058 +#: ../Doc/whatsnew/3.8.rst:1294 msgid "" "Added new clock :data:`~time.CLOCK_UPTIME_RAW` for macOS 10.12. (Contributed " "by Joannah Nanjekye in :issue:`35702`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1063 +#: ../Doc/whatsnew/3.8.rst:1299 msgid "typing" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1065 +#: ../Doc/whatsnew/3.8.rst:1301 msgid "The :mod:`typing` module incorporates several new features:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1067 +#: ../Doc/whatsnew/3.8.rst:1303 +msgid "" +"A dictionary type with per-key types. See :pep:`589` and :class:`typing." +"TypedDict`. TypedDict uses only string keys. By default, every key is " +"required to be present. Specify \"total=False\" to allow keys to be " +"optional::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1313 +msgid "" +"Literal types. See :pep:`586` and :class:`typing.Literal`. Literal types " +"indicate that a parameter or return value is constrained to one or more " +"specific literal values::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1320 +msgid "" +"\"Final\" variables, functions, methods and classes. See :pep:`591`, :class:" +"`typing.Final` and :func:`typing.final`. The final qualifier instructs a " +"static type checker to restrict subclassing, overriding, or reassignment::" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1327 msgid "" "Protocol definitions. See :pep:`544`, :class:`typing.Protocol` and :func:" "`typing.runtime_checkable`. Simple ABCs like :class:`typing.SupportsInt` " "are now ``Protocol`` subclasses." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1071 -msgid "" -"A dictionary type with per-key types. See :pep:`589` and :class:`typing." -"TypedDict`." -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:1074 -msgid "Literal types. See :pep:`586` and :class:`typing.Literal`." -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:1076 -msgid "" -"\"Final\" variables, functions, methods and classes. See :pep:`591`, :class:" -"`typing.Final` and :func:`typing.final`." -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:1079 +#: ../Doc/whatsnew/3.8.rst:1331 msgid "New protocol class :class:`typing.SupportsIndex`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1081 +#: ../Doc/whatsnew/3.8.rst:1333 msgid "New functions :func:`typing.get_origin` and :func:`typing.get_args`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1085 +#: ../Doc/whatsnew/3.8.rst:1337 msgid "unicodedata" msgstr "unicodedata" -#: ../Doc/whatsnew/3.8.rst:1087 +#: ../Doc/whatsnew/3.8.rst:1339 msgid "" "The :mod:`unicodedata` module has been upgraded to use the `Unicode 12.1.0 " "`_ release." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1090 +#: ../Doc/whatsnew/3.8.rst:1342 msgid "" "New function :func:`~unicodedata.is_normalized` can be used to verify a " "string is in a specific normal form, often much faster than by actually " @@ -1396,18 +1630,19 @@ msgid "" "Greg Price in :issue:`32285` and :issue:`37966`)." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1097 +#: ../Doc/whatsnew/3.8.rst:1349 msgid "unittest" msgstr "unittest" -#: ../Doc/whatsnew/3.8.rst:1099 +#: ../Doc/whatsnew/3.8.rst:1351 msgid "" -"Added :class:`AsyncMock` to support an asynchronous version of :class:" -"`Mock`. Appropriate new assert functions for testing have been added as " -"well. (Contributed by Lisa Roach in :issue:`26467`)." +"Added :class:`~unittest.mock.AsyncMock` to support an asynchronous version " +"of :class:`~unittest.mock.Mock`. Appropriate new assert functions for " +"testing have been added as well. (Contributed by Lisa Roach in :issue:" +"`26467`)." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1103 +#: ../Doc/whatsnew/3.8.rst:1356 msgid "" "Added :func:`~unittest.addModuleCleanup()` and :meth:`~unittest.TestCase." "addClassCleanup()` to unittest to support cleanups for :func:`~unittest." @@ -1415,58 +1650,57 @@ msgid "" "Lisa Roach in :issue:`24412`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1109 +#: ../Doc/whatsnew/3.8.rst:1362 msgid "" "Several mock assert functions now also print a list of actual calls upon " "failure. (Contributed by Petter Strandmark in :issue:`35047`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1112 +#: ../Doc/whatsnew/3.8.rst:1365 msgid "" ":mod:`unittest` module gained support for coroutines to be used as test " "cases with :class:`unittest.IsolatedAsyncioTestCase`. (Contributed by Andrew " "Svetlov in :issue:`32972`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1116 ../Doc/whatsnew/3.8.rst:1742 -#: ../Doc/whatsnew/3.8.rst:1759 ../Doc/whatsnew/3.8.rst:1776 +#: ../Doc/whatsnew/3.8.rst:1369 msgid "Example::" msgstr "Exemple ::" -#: ../Doc/whatsnew/3.8.rst:1139 +#: ../Doc/whatsnew/3.8.rst:1392 msgid "venv" msgstr "venv" -#: ../Doc/whatsnew/3.8.rst:1141 +#: ../Doc/whatsnew/3.8.rst:1394 msgid "" ":mod:`venv` now includes an ``Activate.ps1`` script on all platforms for " "activating virtual environments under PowerShell Core 6.1. (Contributed by " "Brett Cannon in :issue:`32718`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1146 +#: ../Doc/whatsnew/3.8.rst:1400 msgid "weakref" msgstr "weakref" -#: ../Doc/whatsnew/3.8.rst:1148 +#: ../Doc/whatsnew/3.8.rst:1402 msgid "" "The proxy objects returned by :func:`weakref.proxy` now support the matrix " "multiplication operators ``@`` and ``@=`` in addition to the other numeric " "operators. (Contributed by Mark Dickinson in :issue:`36669`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1153 +#: ../Doc/whatsnew/3.8.rst:1408 msgid "xml" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1155 +#: ../Doc/whatsnew/3.8.rst:1410 msgid "" "As mitigation against DTD and external entity retrieval, the :mod:`xml.dom." "minidom` and :mod:`xml.sax` modules no longer process external entities by " "default. (Contributed by Christian Heimes in :issue:`17239`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1160 +#: ../Doc/whatsnew/3.8.rst:1415 msgid "" "The ``.find*()`` methods in the :mod:`xml.etree.ElementTree` module support " "wildcard searches like ``{*}tag`` which ignores the namespace and " @@ -1474,14 +1708,14 @@ msgid "" "by Stefan Behnel in :issue:`28238`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1165 +#: ../Doc/whatsnew/3.8.rst:1420 msgid "" "The :mod:`xml.etree.ElementTree` module provides a new function :func:`–xml." "etree.ElementTree.canonicalize()` that implements C14N 2.0. (Contributed by " "Stefan Behnel in :issue:`13611`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1169 +#: ../Doc/whatsnew/3.8.rst:1424 msgid "" "The target object of :class:`xml.etree.ElementTree.XMLParser` can receive " "namespace declaration events through the new callback methods ``start_ns()`` " @@ -1491,36 +1725,49 @@ msgid "" "by Stefan Behnel in :issue:`36676` and :issue:`36673`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1178 +#: ../Doc/whatsnew/3.8.rst:1434 +msgid "xmlrpc" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1436 +msgid "" +":class:`xmlrpc.client.ServerProxy` now supports an optional *headers* " +"keyword argument for a sequence of HTTP headers to be sent with each " +"request. Among other things, this makes it possible to upgrade from default " +"basic authentication to faster session authentication. (Contributed by " +"Cédric Krier in :issue:`35153`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1444 msgid "Optimizations" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1180 +#: ../Doc/whatsnew/3.8.rst:1446 msgid "" "The :mod:`subprocess` module can now use the :func:`os.posix_spawn` function " "in some cases for better performance. Currently, it is only used on macOS " "and Linux (using glibc 2.24 or newer) if all these conditions are met:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1184 +#: ../Doc/whatsnew/3.8.rst:1450 msgid "*close_fds* is false;" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1185 +#: ../Doc/whatsnew/3.8.rst:1451 msgid "" "*preexec_fn*, *pass_fds*, *cwd* and *start_new_session* parameters are not " "set;" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1187 +#: ../Doc/whatsnew/3.8.rst:1453 msgid "the *executable* path contains a directory." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1189 +#: ../Doc/whatsnew/3.8.rst:1455 msgid "(Contributed by Joannah Nanjekye and Victor Stinner in :issue:`35537`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1191 +#: ../Doc/whatsnew/3.8.rst:1457 msgid "" ":func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:" "`shutil.copytree` and :func:`shutil.move` use platform-specific \"fast-copy" @@ -1533,39 +1780,40 @@ msgid "" "within the same partition is about +26% on Linux, +50% on macOS and +40% on " "Windows. Also, much less CPU cycles are consumed. See :ref:`shutil-platform-" "dependent-efficient-copy-operations` section. (Contributed by Giampaolo " -"Rodola' in :issue:`33671`.)" +"Rodolà in :issue:`33671`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1207 +#: ../Doc/whatsnew/3.8.rst:1473 msgid "" ":func:`shutil.copytree` uses :func:`os.scandir` function and all copy " "functions depending from it use cached :func:`os.stat` values. The speedup " "for copying a directory with 8000 files is around +9% on Linux, +20% on " "Windows and +30% on a Windows SMB share. Also the number of :func:`os.stat` " "syscalls is reduced by 38% making :func:`shutil.copytree` especially faster " -"on network filesystems. (Contributed by Giampaolo Rodola' in :issue:`33695`.)" +"on network filesystems. (Contributed by Giampaolo Rodolà in :issue:`33695`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1214 +#: ../Doc/whatsnew/3.8.rst:1480 msgid "" "The default protocol in the :mod:`pickle` module is now Protocol 4, first " "introduced in Python 3.4. It offers better performance and smaller size " "compared to Protocol 3 available since Python 3.0." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1218 +#: ../Doc/whatsnew/3.8.rst:1484 msgid "" "Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked " "objects (e.g. tuple, list, dict) size is reduced 4 or 8 bytes. (Contributed " -"by Inada Naoki in :issue:`33597`)" +"by Inada Naoki in :issue:`33597`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1222 +#: ../Doc/whatsnew/3.8.rst:1488 msgid "" -":class:`uuid.UUID` now uses ``__slots__`` to reduce its memory footprint." +":class:`uuid.UUID` now uses ``__slots__`` to reduce its memory footprint. " +"(Contributed by Wouter Bolsterlee and Tal Einat in :issue:`30977`)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1224 +#: ../Doc/whatsnew/3.8.rst:1491 msgid "" "Improved performance of :func:`operator.itemgetter` by 33%. Optimized " "argument handling and added a fast path for the common case of a single non-" @@ -1573,7 +1821,7 @@ msgid "" "standard library). (Contributed by Raymond Hettinger in :issue:`35664`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1230 +#: ../Doc/whatsnew/3.8.rst:1497 msgid "" "Sped-up field lookups in :func:`collections.namedtuple`. They are now more " "than two times faster, making them the fastest form of instance variable " @@ -1581,7 +1829,7 @@ msgid "" "Jevnik, Serhiy Storchaka in :issue:`32492`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1235 +#: ../Doc/whatsnew/3.8.rst:1502 msgid "" "The :class:`list` constructor does not overallocate the internal item buffer " "if the input iterable has a known length (the input implements ``__len__``). " @@ -1589,7 +1837,7 @@ msgid "" "Hettinger and Pablo Galindo in :issue:`33234`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1240 +#: ../Doc/whatsnew/3.8.rst:1507 msgid "" "Doubled the speed of class variable writes. When a non-dunder attribute was " "updated, there was an unnecessary call to update slots. (Contributed by " @@ -1597,7 +1845,7 @@ msgid "" "and Serhiy Storchaka in :issue:`36012`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1245 +#: ../Doc/whatsnew/3.8.rst:1512 msgid "" "Reduced an overhead of converting arguments passed to many builtin functions " "and methods. This sped up calling some simple builtin functions and methods " @@ -1605,18 +1853,18 @@ msgid "" "`35582` and :issue:`36127`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1250 +#: ../Doc/whatsnew/3.8.rst:1517 msgid "" "``LOAD_GLOBAL`` instruction now uses new \"per opcode cache\" mechanism. It " "is about 40% faster now. (Contributed by Yury Selivanov and Inada Naoki in :" "issue:`26219`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1256 +#: ../Doc/whatsnew/3.8.rst:1523 msgid "Build and C API Changes" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1258 +#: ../Doc/whatsnew/3.8.rst:1525 msgid "" "Default :data:`sys.abiflags` became an empty string: the ``m`` flag for " "pymalloc became useless (builds with and without pymalloc are ABI " @@ -1624,22 +1872,22 @@ msgid "" "issue:`36707`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1262 +#: ../Doc/whatsnew/3.8.rst:1529 msgid "Example of changes:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1264 +#: ../Doc/whatsnew/3.8.rst:1531 msgid "" "Only ``python3.8`` program is installed, ``python3.8m`` program is gone." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1265 +#: ../Doc/whatsnew/3.8.rst:1532 msgid "" "Only ``python3.8-config`` script is installed, ``python3.8m-config`` script " "is gone." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1267 +#: ../Doc/whatsnew/3.8.rst:1534 msgid "" "The ``m`` flag has been removed from the suffix of dynamic library " "filenames: extension modules in the standard library as well as those " @@ -1648,23 +1896,23 @@ msgid "" "linux-gnu.so`` became ``.cpython-38-x86_64-linux-gnu.so`` in Python 3.8." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1274 +#: ../Doc/whatsnew/3.8.rst:1541 msgid "" "The header files have been reorganized to better separate the different " "kinds of APIs:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1277 +#: ../Doc/whatsnew/3.8.rst:1544 msgid "``Include/*.h`` should be the portable public stable C API." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1278 +#: ../Doc/whatsnew/3.8.rst:1545 msgid "" "``Include/cpython/*.h`` should be the unstable C API specific to CPython; " "public API, with some private API prefixed by ``_Py`` or ``_PY``." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1280 +#: ../Doc/whatsnew/3.8.rst:1547 msgid "" "``Include/internal/*.h`` is the private internal C API very specific to " "CPython. This API comes with no backward compatibility warranty and should " @@ -1673,42 +1921,42 @@ msgid "" "calling functions. This API is now installed by ``make install``." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1286 +#: ../Doc/whatsnew/3.8.rst:1553 msgid "" "(Contributed by Victor Stinner in :issue:`35134` and :issue:`35081`, work " -"initiated by Eric Snow in Python 3.7)" +"initiated by Eric Snow in Python 3.7.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1289 +#: ../Doc/whatsnew/3.8.rst:1556 msgid "" "Some macros have been converted to static inline functions: parameter types " "and return type are well defined, they don't have issues specific to macros, " "variables have a local scopes. Examples:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1293 +#: ../Doc/whatsnew/3.8.rst:1560 msgid ":c:func:`Py_INCREF`, :c:func:`Py_DECREF`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1294 +#: ../Doc/whatsnew/3.8.rst:1561 msgid ":c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1295 +#: ../Doc/whatsnew/3.8.rst:1562 msgid ":c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1296 +#: ../Doc/whatsnew/3.8.rst:1563 msgid "" "Private functions: :c:func:`_PyObject_GC_TRACK`, :c:func:" "`_PyObject_GC_UNTRACK`, :c:func:`_Py_Dealloc`" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1299 +#: ../Doc/whatsnew/3.8.rst:1566 msgid "(Contributed by Victor Stinner in :issue:`35059`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1301 +#: ../Doc/whatsnew/3.8.rst:1568 msgid "" "The :c:func:`PyByteArray_Init` and :c:func:`PyByteArray_Fini` functions have " "been removed. They did nothing since Python 2.7.4 and Python 3.2.0, were " @@ -1716,14 +1964,14 @@ msgid "" "(Contributed by Victor Stinner in :issue:`35713`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1306 +#: ../Doc/whatsnew/3.8.rst:1573 msgid "" "The result of :c:func:`PyExceptionClass_Name` is now of type ``const char " "*`` rather of ``char *``. (Contributed by Serhiy Storchaka in :issue:" "`33818`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1310 +#: ../Doc/whatsnew/3.8.rst:1577 msgid "" "The duality of ``Modules/Setup.dist`` and ``Modules/Setup`` has been " "removed. Previously, when updating the CPython source tree, one had to " @@ -1734,7 +1982,7 @@ msgid "" "the file could produce build failures." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1318 +#: ../Doc/whatsnew/3.8.rst:1585 msgid "" "Now the build system always reads from ``Modules/Setup`` inside the source " "tree. People who want to customize that file are encouraged to maintain " @@ -1742,11 +1990,11 @@ msgid "" "for any other change to the source tree." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1323 +#: ../Doc/whatsnew/3.8.rst:1590 msgid "(Contributed by Antoine Pitrou in :issue:`32430`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1325 +#: ../Doc/whatsnew/3.8.rst:1592 msgid "" "Functions that convert Python number to C integer like :c:func:" "`PyLong_AsLong` and argument parsing functions like :c:func:" @@ -1762,7 +2010,7 @@ msgid "" "`20092`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1339 +#: ../Doc/whatsnew/3.8.rst:1606 msgid "" "Heap-allocated type objects will now increase their reference count in :c:" "func:`PyObject_Init` (and its parallel macro ``PyObject_INIT``) instead of " @@ -1771,7 +2019,7 @@ msgid "" "issue:`35810`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1345 +#: ../Doc/whatsnew/3.8.rst:1612 msgid "" "The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create code " "objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount* " @@ -1779,65 +2027,62 @@ msgid "" "(Contributed by Pablo Galindo in :issue:`37221`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1350 +#: ../Doc/whatsnew/3.8.rst:1617 msgid "" ":c:func:`Py_SetPath` now sets :data:`sys.executable` to the program full " "path (:c:func:`Py_GetProgramFullPath`) rather than to the program name (:c:" "func:`Py_GetProgramName`). (Contributed by Victor Stinner in :issue:`38234`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1357 +#: ../Doc/whatsnew/3.8.rst:1624 msgid "Deprecated" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1359 +#: ../Doc/whatsnew/3.8.rst:1626 msgid "" "The distutils ``bdist_wininst`` command is now deprecated, use " "``bdist_wheel`` (wheel packages) instead. (Contributed by Victor Stinner in :" "issue:`37481`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1363 +#: ../Doc/whatsnew/3.8.rst:1630 msgid "" "Deprecated methods ``getchildren()`` and ``getiterator()`` in the :mod:`~xml." -"etree.ElementTree` module emit now a :exc:`DeprecationWarning` instead of :" +"etree.ElementTree` module now emit a :exc:`DeprecationWarning` instead of :" "exc:`PendingDeprecationWarning`. They will be removed in Python 3.9. " "(Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1369 +#: ../Doc/whatsnew/3.8.rst:1636 msgid "" "Passing an object that is not an instance of :class:`concurrent.futures." -"ThreadPoolExecutor` to :meth:`asyncio.loop.set_default_executor()` is " -"deprecated and will be prohibited in Python 3.9. (Contributed by Elvis " -"Pranskevichus in :issue:`34075`.)" +"ThreadPoolExecutor` to :meth:`loop.set_default_executor() ` is deprecated and will be prohibited in Python 3.9. " +"(Contributed by Elvis Pranskevichus in :issue:`34075`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1375 +#: ../Doc/whatsnew/3.8.rst:1642 msgid "" "The :meth:`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`, :" "class:`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput` have been " "deprecated." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1379 +#: ../Doc/whatsnew/3.8.rst:1646 msgid "" "Implementations of these methods have been ignoring their *index* parameter, " -"and returning the next item instead." +"and returning the next item instead. (Contributed by Berker Peksag in :issue:" +"`9372`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1382 -msgid "(Contributed by Berker Peksag in :issue:`9372`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:1384 +#: ../Doc/whatsnew/3.8.rst:1650 msgid "" "The :class:`typing.NamedTuple` class has deprecated the ``_field_types`` " "attribute in favor of the ``__annotations__`` attribute which has the same " -"information. (Contributed by Raymond Hettinger in :issue:`36320`.)" +"information. (Contributed by Raymond Hettinger in :issue:`36320`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1388 +#: ../Doc/whatsnew/3.8.rst:1654 msgid "" ":mod:`ast` classes ``Num``, ``Str``, ``Bytes``, ``NameConstant`` and " "``Ellipsis`` are considered deprecated and will be removed in future Python " @@ -1845,7 +2090,7 @@ msgid "" "Serhiy Storchaka in :issue:`32892`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1393 +#: ../Doc/whatsnew/3.8.rst:1659 msgid "" ":class:`ast.NodeVisitor` methods ``visit_Num()``, ``visit_Str()``, " "``visit_Bytes()``, ``visit_NameConstant()`` and ``visit_Ellipsis()`` are " @@ -1854,7 +2099,33 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`36917`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1400 +#: ../Doc/whatsnew/3.8.rst:1666 +msgid "" +"The :func:`asyncio.coroutine` :term:`decorator` is deprecated and will be " +"removed in version 3.10. Instead of ``@asyncio.coroutine``, use :keyword:" +"`async def` instead. (Contributed by Andrew Svetlov in :issue:`36921`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1671 +msgid "" +"In :mod:`asyncio`, the explicit passing of a *loop* argument has been " +"deprecated and will be removed in version 3.10 for the following: :func:" +"`asyncio.sleep`, :func:`asyncio.gather`, :func:`asyncio.shield`, :func:" +"`asyncio.wait_for`, :func:`asyncio.wait`, :func:`asyncio.as_completed`, :" +"class:`asyncio.Task`, :class:`asyncio.Lock`, :class:`asyncio.Event`, :class:" +"`asyncio.Condition`, :class:`asyncio.Semaphore`, :class:`asyncio." +"BoundedSemaphore`, :class:`asyncio.Queue`, :func:`asyncio." +"create_subprocess_exec`, and :func:`asyncio.create_subprocess_shell`." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1681 +msgid "" +"The explicit passing of coroutine objects to :func:`asyncio.wait` has been " +"deprecated and will be removed in version 3.11. (Contributed by Yury " +"Selivanov in :issue:`34790`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1685 msgid "" "The following functions and methods are deprecated in the :mod:`gettext` " "module: :func:`~gettext.lgettext`, :func:`~gettext.ldgettext`, :func:" @@ -1865,26 +2136,23 @@ msgid "" "These functions have been broken for a long time." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1408 +#: ../Doc/whatsnew/3.8.rst:1693 msgid "" "Function :func:`~gettext.bind_textdomain_codeset`, methods :meth:`~gettext." "NullTranslations.output_charset` and :meth:`~gettext.NullTranslations." "set_output_charset`, and the *codeset* parameter of functions :func:" "`~gettext.translation` and :func:`~gettext.install` are also deprecated, " -"since they are only used for for the ``l*gettext()`` functions." +"since they are only used for for the ``l*gettext()`` functions. (Contributed " +"by Serhiy Storchaka in :issue:`33710`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1415 -msgid "(Contributed by Serhiy Storchaka in :issue:`33710`.)" -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:1417 +#: ../Doc/whatsnew/3.8.rst:1701 msgid "" "The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " "has been deprecated. (Contributed by Dong-hee Na in :issue:`35283`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1420 +#: ../Doc/whatsnew/3.8.rst:1705 msgid "" "Many builtin and extension functions that take integer arguments will now " "emit a deprecation warning for :class:`~decimal.Decimal`\\ s, :class:" @@ -1894,156 +2162,164 @@ msgid "" "they will be errors. (Contributed by Serhiy Storchaka in :issue:`36048`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1428 +#: ../Doc/whatsnew/3.8.rst:1713 msgid "Deprecated passing the following arguments as keyword arguments:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1430 +#: ../Doc/whatsnew/3.8.rst:1715 msgid "" "*func* in :func:`functools.partialmethod`, :func:`weakref.finalize`, :meth:" "`profile.Profile.runcall`, :meth:`cProfile.Profile.runcall`, :meth:`bdb.Bdb." "runcall`, :meth:`trace.Trace.runfunc` and :func:`curses.wrapper`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1434 +#: ../Doc/whatsnew/3.8.rst:1719 msgid "*function* in :meth:`unittest.TestCase.addCleanup`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1435 +#: ../Doc/whatsnew/3.8.rst:1720 msgid "" "*fn* in the :meth:`~concurrent.futures.Executor.submit` method of :class:" "`concurrent.futures.ThreadPoolExecutor` and :class:`concurrent.futures." "ProcessPoolExecutor`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1438 +#: ../Doc/whatsnew/3.8.rst:1723 msgid "" "*callback* in :meth:`contextlib.ExitStack.callback`, :meth:`contextlib." "AsyncExitStack.callback` and :meth:`contextlib.AsyncExitStack." "push_async_callback`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1441 +#: ../Doc/whatsnew/3.8.rst:1726 msgid "" "*c* and *typeid* in the :meth:`~multiprocessing.managers.Server.create` " "method of :class:`multiprocessing.managers.Server` and :class:" "`multiprocessing.managers.SharedMemoryServer`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1444 +#: ../Doc/whatsnew/3.8.rst:1729 msgid "*obj* in :func:`weakref.finalize`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1446 +#: ../Doc/whatsnew/3.8.rst:1731 msgid "" -"In future releases of Python they will be :ref:`positional-only `. (Contributed by Serhiy Storchaka in :issue:`36492`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1452 +#: ../Doc/whatsnew/3.8.rst:1737 msgid "API and Feature Removals" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1454 +#: ../Doc/whatsnew/3.8.rst:1739 msgid "The following features and APIs have been removed from Python 3.8:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1456 +#: ../Doc/whatsnew/3.8.rst:1741 +msgid "" +"Starting with Python 3.3, importing ABCs from :mod:`collections` was " +"deprecated, and importing should be done from :mod:`collections.abc`. Being " +"able to import from collections was marked for removal in 3.8, but has been " +"delayed to 3.9. (See :issue:`36952`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1746 msgid "" "The :mod:`macpath` module, deprecated in Python 3.7, has been removed. " "(Contributed by Victor Stinner in :issue:`35471`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1459 ../Doc/whatsnew/3.8.rst:1574 +#: ../Doc/whatsnew/3.8.rst:1749 ../Doc/whatsnew/3.8.rst:1868 msgid "" -"The function :func:`platform.popen` has been removed, it was deprecated " -"since Python 3.3: use :func:`os.popen` instead. (Contributed by Victor " -"Stinner in :issue:`35345`.)" +"The function :func:`platform.popen` has been removed, after having been " +"deprecated since Python 3.3: use :func:`os.popen` instead. (Contributed by " +"Victor Stinner in :issue:`35345`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1463 +#: ../Doc/whatsnew/3.8.rst:1753 msgid "" -"The function :func:`time.clock` has been removed, it was deprecated since " -"Python 3.3: use :func:`time.perf_counter` or :func:`time.process_time` " -"instead, depending on your requirements, to have a well defined behavior. " -"(Contributed by Matthias Bussonnier in :issue:`36895`.)" +"The function :func:`time.clock` has been removed, after having been " +"deprecated since Python 3.3: use :func:`time.perf_counter` or :func:`time." +"process_time` instead, depending on your requirements, to have well-defined " +"behavior. (Contributed by Matthias Bussonnier in :issue:`36895`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1468 +#: ../Doc/whatsnew/3.8.rst:1759 msgid "" "The ``pyvenv`` script has been removed in favor of ``python3.8 -m venv`` to " "help eliminate confusion as to what Python interpreter the ``pyvenv`` script " "is tied to. (Contributed by Brett Cannon in :issue:`25427`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1472 +#: ../Doc/whatsnew/3.8.rst:1763 msgid "" -"``parse_qs``, ``parse_qsl``, and ``escape`` are removed from :mod:`cgi` " -"module. They are deprecated from Python 3.2 or older. They should be " -"imported from the ``urllib.parse`` and ``html`` modules instead." +"``parse_qs``, ``parse_qsl``, and ``escape`` are removed from the :mod:`cgi` " +"module. They are deprecated in Python 3.2 or older. They should be imported " +"from the ``urllib.parse`` and ``html`` modules instead." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1476 +#: ../Doc/whatsnew/3.8.rst:1767 msgid "" -"``filemode`` function is removed from :mod:`tarfile` module. It is not " +"``filemode`` function is removed from the :mod:`tarfile` module. It is not " "documented and deprecated since Python 3.3." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1479 +#: ../Doc/whatsnew/3.8.rst:1770 msgid "" "The :class:`~xml.etree.ElementTree.XMLParser` constructor no longer accepts " -"the *html* argument. It never had effect and was deprecated in Python 3.4. " -"All other parameters are now :ref:`keyword-only `. " -"(Contributed by Serhiy Storchaka in :issue:`29209`.)" +"the *html* argument. It never had an effect and was deprecated in Python " +"3.4. All other parameters are now :ref:`keyword-only `. (Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1484 +#: ../Doc/whatsnew/3.8.rst:1775 msgid "" "Removed the ``doctype()`` method of :class:`~xml.etree.ElementTree." "XMLParser`. (Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1487 +#: ../Doc/whatsnew/3.8.rst:1778 msgid "" "\"unicode_internal\" codec is removed. (Contributed by Inada Naoki in :issue:" "`36297`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1490 +#: ../Doc/whatsnew/3.8.rst:1781 msgid "" "The ``Cache`` and ``Statement`` objects of the :mod:`sqlite3` module are not " "exposed to the user. (Contributed by Aviv Palivoda in :issue:`30262`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1494 +#: ../Doc/whatsnew/3.8.rst:1785 msgid "" "The ``bufsize`` keyword argument of :func:`fileinput.input` and :func:" "`fileinput.FileInput` which was ignored and deprecated since Python 3.6 has " -"been removed. :issue:`36952` (Contributed by Matthias Bussonnier)" +"been removed. :issue:`36952` (Contributed by Matthias Bussonnier.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1498 +#: ../Doc/whatsnew/3.8.rst:1789 msgid "" "The functions :func:`sys.set_coroutine_wrapper` and :func:`sys." "get_coroutine_wrapper` deprecated in Python 3.7 have been removed; :issue:" -"`36933` (Contributed by Matthias Bussonnier)" +"`36933` (Contributed by Matthias Bussonnier.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1504 +#: ../Doc/whatsnew/3.8.rst:1795 msgid "Porting to Python 3.8" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1506 +#: ../Doc/whatsnew/3.8.rst:1797 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1511 +#: ../Doc/whatsnew/3.8.rst:1802 msgid "Changes in Python behavior" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1513 +#: ../Doc/whatsnew/3.8.rst:1804 msgid "" "Yield expressions (both ``yield`` and ``yield from`` clauses) are now " "disallowed in comprehensions and generator expressions (aside from the " @@ -2051,58 +2327,59 @@ msgid "" "Serhiy Storchaka in :issue:`10544`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1518 +#: ../Doc/whatsnew/3.8.rst:1809 msgid "" "The compiler now produces a :exc:`SyntaxWarning` when identity checks " "(``is`` and ``is not``) are used with certain types of literals (e.g. " -"strings, ints). These can often work by accident in CPython, but are not " +"strings, numbers). These can often work by accident in CPython, but are not " "guaranteed by the language spec. The warning advises users to use equality " "tests (``==`` and ``!=``) instead. (Contributed by Serhiy Storchaka in :" "issue:`34850`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1525 +#: ../Doc/whatsnew/3.8.rst:1816 msgid "" "The CPython interpreter can swallow exceptions in some circumstances. In " -"Python 3.8 this happens in less cases. In particular, exceptions raised " -"when getting the attribute from the type dictionary are no longer ignored. " +"Python 3.8 this happens in fewer cases. In particular, exceptions raised " +"when getting the attribute from the type dictionary are no longer ignored. " "(Contributed by Serhiy Storchaka in :issue:`35459`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1530 +#: ../Doc/whatsnew/3.8.rst:1821 msgid "" "Removed ``__str__`` implementations from builtin types :class:`bool`, :class:" "`int`, :class:`float`, :class:`complex` and few classes from the standard " "library. They now inherit ``__str__()`` from :class:`object`. As result, " "defining the ``__repr__()`` method in the subclass of these classes will " -"affect they string representation. (Contributed by Serhiy Storchaka in :" +"affect their string representation. (Contributed by Serhiy Storchaka in :" "issue:`36793`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1537 +#: ../Doc/whatsnew/3.8.rst:1828 msgid "" "On AIX, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'aix'``, instead of ``'aix3'`` .. ``'aix7'``. Since older " -"Python versions include the version number, it is recommended to always use " -"the ``sys.platform.startswith('aix')``. (Contributed by M. Felt in :issue:" +"Python versions include the version number, so it is recommended to always " +"use ``sys.platform.startswith('aix')``. (Contributed by M. Felt in :issue:" "`36588`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1543 +#: ../Doc/whatsnew/3.8.rst:1834 msgid "" ":c:func:`PyEval_AcquireLock` and :c:func:`PyEval_AcquireThread` now " "terminate the current thread if called while the interpreter is finalizing, " "making them consistent with :c:func:`PyEval_RestoreThread`, :c:func:" -"`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`. If this behaviour " -"is not desired, guard the call by checking :c:func:`_Py_IsFinalizing` or :c:" -"func:`sys.is_finalizing`." +"`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`. If this behavior is " +"not desired, guard the call by checking :c:func:`_Py_IsFinalizing` or :c:" +"func:`sys.is_finalizing`. (Contributed by Joannah Nanjekye in :issue:" +"`36475`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1551 +#: ../Doc/whatsnew/3.8.rst:1844 msgid "Changes in the Python API" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1553 +#: ../Doc/whatsnew/3.8.rst:1846 msgid "" "The :func:`os.getcwdb` function now uses the UTF-8 encoding on Windows, " "rather than the ANSI code page: see :pep:`529` for the rationale. The " @@ -2110,17 +2387,17 @@ msgid "" "in :issue:`37412`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1558 +#: ../Doc/whatsnew/3.8.rst:1851 msgid "" ":class:`subprocess.Popen` can now use :func:`os.posix_spawn` in some cases " "for better performance. On Windows Subsystem for Linux and QEMU User " -"Emulation, Popen constructor using :func:`os.posix_spawn` no longer raise an " -"exception on errors like missing program, but the child process fails with a " -"non-zero :attr:`~Popen.returncode`. (Contributed by Joannah Nanjekye and " -"Victor Stinner in :issue:`35537`.)" +"Emulation, the :class:`Popen` constructor using :func:`os.posix_spawn` no " +"longer raises an exception on errors like \"missing program\". Instead the " +"child process fails with a non-zero :attr:`~Popen.returncode`. (Contributed " +"by Joannah Nanjekye and Victor Stinner in :issue:`35537`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1565 +#: ../Doc/whatsnew/3.8.rst:1858 msgid "" "The *preexec_fn* argument of * :class:`subprocess.Popen` is no longer " "compatible with subinterpreters. The use of the parameter in a " @@ -2128,20 +2405,20 @@ msgid "" "issue:`34651`, modified by Christian Heimes in :issue:`37951`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1571 +#: ../Doc/whatsnew/3.8.rst:1864 msgid "" -"The :meth:`imap.IMAP4.logout` method no longer ignores silently arbitrary " -"exceptions." +"The :meth:`imap.IMAP4.logout` method no longer silently ignores arbitrary " +"exceptions. (Contributed by Victor Stinner in :issue:`36348`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1578 +#: ../Doc/whatsnew/3.8.rst:1872 msgid "" "The :func:`statistics.mode` function no longer raises an exception when " "given multimodal data. Instead, it returns the first mode encountered in " "the input data. (Contributed by Raymond Hettinger in :issue:`35892`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1583 +#: ../Doc/whatsnew/3.8.rst:1877 msgid "" "The :meth:`~tkinter.ttk.Treeview.selection` method of the :class:`tkinter." "ttk.Treeview` class no longer takes arguments. Using it with arguments for " @@ -2150,32 +2427,32 @@ msgid "" "selection. (Contributed by Serhiy Storchaka in :issue:`31508`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1589 +#: ../Doc/whatsnew/3.8.rst:1883 msgid "" -"The :meth:`writexml`, :meth:`toxml` and :meth:`toprettyxml` methods of the :" -"mod:`xml.dom.minidom` module, and :mod:`xml.etree` now preserve the " -"attribute order specified by the user. (Contributed by Diego Rojas and " -"Raymond Hettinger in :issue:`34160`.)" +"The :meth:`writexml`, :meth:`toxml` and :meth:`toprettyxml` methods of :mod:" +"`xml.dom.minidom`, and the :meth:`write` method of :mod:`xml.etree`, now " +"preserve the attribute order specified by the user. (Contributed by Diego " +"Rojas and Raymond Hettinger in :issue:`34160`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1594 +#: ../Doc/whatsnew/3.8.rst:1888 msgid "" "A :mod:`dbm.dumb` database opened with flags ``'r'`` is now read-only. :func:" "`dbm.dumb.open` with flags ``'r'`` and ``'w'`` no longer creates a database " "if it does not exist. (Contributed by Serhiy Storchaka in :issue:`32749`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1599 +#: ../Doc/whatsnew/3.8.rst:1893 msgid "" "The ``doctype()`` method defined in a subclass of :class:`~xml.etree." -"ElementTree.XMLParser` will no longer be called and will cause emitting a :" -"exc:`RuntimeWarning` instead of a :exc:`DeprecationWarning`. Define the :" -"meth:`doctype() ` method on a " -"target for handling an XML doctype declaration. (Contributed by Serhiy " -"Storchaka in :issue:`29209`.)" +"ElementTree.XMLParser` will no longer be called and will emit a :exc:" +"`RuntimeWarning` instead of a :exc:`DeprecationWarning`. Define the :meth:" +"`doctype() ` method on a target " +"for handling an XML doctype declaration. (Contributed by Serhiy Storchaka " +"in :issue:`29209`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1606 +#: ../Doc/whatsnew/3.8.rst:1900 msgid "" "A :exc:`RuntimeError` is now raised when the custom metaclass doesn't " "provide the ``__classcell__`` entry in the namespace passed to ``type." @@ -2183,13 +2460,13 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`23722`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1611 +#: ../Doc/whatsnew/3.8.rst:1905 msgid "" "The :class:`cProfile.Profile` class can now be used as a context manager. " "(Contributed by Scott Sanderson in :issue:`29235`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1614 +#: ../Doc/whatsnew/3.8.rst:1908 msgid "" ":func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:" "`shutil.copytree` and :func:`shutil.move` use platform-specific \"fast-copy" @@ -2197,21 +2474,21 @@ msgid "" "section)." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1619 +#: ../Doc/whatsnew/3.8.rst:1913 msgid "" ":func:`shutil.copyfile` default buffer size on Windows was changed from 16 " "KiB to 1 MiB." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1622 +#: ../Doc/whatsnew/3.8.rst:1916 msgid "" "The ``PyGC_Head`` struct has changed completely. All code that touched the " -"struct member should be rewritten. (See :issue:`33597`)" +"struct member should be rewritten. (See :issue:`33597`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1625 +#: ../Doc/whatsnew/3.8.rst:1919 msgid "" -"The ``PyInterpreterState`` struct has been moved into the \"internal\" " +"The :c:type:`PyInterpreterState` struct has been moved into the \"internal\" " "header files (specifically Include/internal/pycore_pystate.h). An opaque " "``PyInterpreterState`` is still available as part of the public API (and " "stable ABI). The docs indicate that none of the struct's fields are public, " @@ -2221,33 +2498,23 @@ msgid "" "functions to the public API). (See :issue:`35886`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1635 -msgid "" -"Asyncio tasks can now be named, either by passing the ``name`` keyword " -"argument to :func:`asyncio.create_task` or the :meth:`~asyncio.loop." -"create_task` event loop method, or by calling the :meth:`~asyncio.Task." -"set_name` method on the task object. The task name is visible in the " -"``repr()`` output of :class:`asyncio.Task` and can also be retrieved using " -"the :meth:`~asyncio.Task.get_name` method." -msgstr "" - -#: ../Doc/whatsnew/3.8.rst:1642 +#: ../Doc/whatsnew/3.8.rst:1929 msgid "" "The :meth:`mmap.flush() ` method now returns ``None`` on " "success and raises an exception on error under all platforms. Previously, " -"its behavior was platform-depended: a nonzero value was returned on success; " -"zero was returned on error under Windows. A zero value was returned on " -"success; an exception was raised on error under Unix. (Contributed by Berker " -"Peksag in :issue:`2122`.)" +"its behavior was platform-dependent: a nonzero value was returned on " +"success; zero was returned on error under Windows. A zero value was " +"returned on success; an exception was raised on error under Unix. " +"(Contributed by Berker Peksag in :issue:`2122`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1649 +#: ../Doc/whatsnew/3.8.rst:1936 msgid "" ":mod:`xml.dom.minidom` and :mod:`xml.sax` modules no longer process external " "entities by default. (Contributed by Christian Heimes in :issue:`17239`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1653 +#: ../Doc/whatsnew/3.8.rst:1940 msgid "" "Deleting a key from a read-only :mod:`dbm` database (:mod:`dbm.dumb`, :mod:" "`dbm.gnu` or :mod:`dbm.ndbm`) raises :attr:`error` (:exc:`dbm.dumb.error`, :" @@ -2255,7 +2522,26 @@ msgid "" "(Contributed by Xiang Zhang in :issue:`33106`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1664 +#: ../Doc/whatsnew/3.8.rst:1954 +msgid "" +"The function :func:`asyncio.wait_for` now correctly waits for cancellation " +"when using an instance of :class:`asyncio.Task`. Previously, upon reaching " +"*timeout*, it was cancelled and immediately returned. (Contributed by Elvis " +"Pranskevichus in :issue:`32751`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1959 +msgid "" +"The function :func:`asyncio.BaseTransport.get_extra_info` now returns a safe " +"to use socket object when 'socket' is passed to the *name* parameter. " +"(Contributed by Yury Selivanov in :issue:`37027`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1963 +msgid ":class:`asyncio.BufferedProtocol` has graduated to the stable API." +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:1967 msgid "" "DLL dependencies for extension modules and DLLs loaded with :mod:`ctypes` on " "Windows are now resolved more securely. Only the system paths, the directory " @@ -2266,47 +2552,47 @@ msgid "" "resolution. If your application relies on these mechanisms, you should check " "for :func:`~os.add_dll_directory` and if it exists, use it to add your DLLs " "directory while loading your library. Note that Windows 7 users will need to " -"ensure that Windows Update KB2533625 has been installed (this is also " -"verified by the installer). (See :issue:`36085`.)" +"ensure that Windows Update KB2533623 has been installed (this is also " +"verified by the installer). (Contributed by Steve Dower in :issue:`36085`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1677 +#: ../Doc/whatsnew/3.8.rst:1980 msgid "" "The header files and functions related to pgen have been removed after its " "replacement by a pure Python implementation. (Contributed by Pablo Galindo " "in :issue:`36623`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1681 +#: ../Doc/whatsnew/3.8.rst:1984 msgid "" ":class:`types.CodeType` has a new parameter in the second position of the " "constructor (*posonlyargcount*) to support positional-only arguments defined " "in :pep:`570`. The first argument (*argcount*) now represents the total " -"number of positional arguments (including positional-only arguments). A new " -"``replace()`` method of :class:`types.CodeType` can be used to make the code " -"future-proof." +"number of positional arguments (including positional-only arguments). The " +"new ``replace()`` method of :class:`types.CodeType` can be used to make the " +"code future-proof." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1690 +#: ../Doc/whatsnew/3.8.rst:1993 msgid "Changes in the C API" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1692 +#: ../Doc/whatsnew/3.8.rst:1995 msgid "" -"The :c:type:`PyCompilerFlags` structure gets a new *cf_feature_version* " +"The :c:type:`PyCompilerFlags` structure got a new *cf_feature_version* " "field. It should be initialized to ``PY_MINOR_VERSION``. The field is " -"ignored by default, it is used if and only if ``PyCF_ONLY_AST`` flag is set " -"in *cf_flags*." +"ignored by default, and is used if and only if ``PyCF_ONLY_AST`` flag is set " +"in *cf_flags*. (Contributed by Guido van Rossum in :issue:`35766`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1697 +#: ../Doc/whatsnew/3.8.rst:2001 msgid "" "The :c:func:`PyEval_ReInitThreads` function has been removed from the C API. " "It should not be called explicitly: use :c:func:`PyOS_AfterFork_Child` " "instead. (Contributed by Victor Stinner in :issue:`36728`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1702 +#: ../Doc/whatsnew/3.8.rst:2006 msgid "" "On Unix, C extensions are no longer linked to libpython except on Android " "and Cygwin. When Python is embedded, ``libpython`` must not be loaded with " @@ -2317,7 +2603,7 @@ msgid "" "Stinner in :issue:`21536`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1710 +#: ../Doc/whatsnew/3.8.rst:2014 msgid "" "Use of ``#`` variants of formats in parsing or building value (e.g. :c:func:" "`PyArg_ParseTuple`, :c:func:`Py_BuildValue`, :c:func:" @@ -2326,7 +2612,7 @@ msgid "" "`arg-parsing` for detail. (Contributed by Inada Naoki in :issue:`36381`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1716 +#: ../Doc/whatsnew/3.8.rst:2020 msgid "" "Instances of heap-allocated types (such as those created with :c:func:" "`PyType_FromSpec`) hold a reference to their type object. Increasing the " @@ -2336,11 +2622,11 @@ msgid "" "through :c:func:`PyType_FromSpec` behave like other classes in managed code." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1724 +#: ../Doc/whatsnew/3.8.rst:2028 msgid "Statically allocated types are not affected." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1726 +#: ../Doc/whatsnew/3.8.rst:2030 msgid "" "For the vast majority of cases, there should be no side effect. However, " "types that manually increase the reference count after allocating an " @@ -2349,12 +2635,12 @@ msgid "" "instance deallocation." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1732 +#: ../Doc/whatsnew/3.8.rst:2036 msgid "" "To correctly port these types into 3.8, please apply the following changes:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1735 +#: ../Doc/whatsnew/3.8.rst:2039 msgid "" "Remove :c:macro:`Py_INCREF` on the type object after allocating an instance " "- if any. This may happen after calling :c:func:`PyObject_New`, :c:func:" @@ -2363,27 +2649,32 @@ msgid "" "`PyObject_INIT`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1756 +#: ../Doc/whatsnew/3.8.rst:2046 ../Doc/whatsnew/3.8.rst:2065 +#: ../Doc/whatsnew/3.8.rst:2084 +msgid "Example:" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:2062 msgid "" "Ensure that all custom ``tp_dealloc`` functions of heap-allocated types " "decrease the type's reference count." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1771 +#: ../Doc/whatsnew/3.8.rst:2079 msgid "(Contributed by Eddie Elizondo in :issue:`35810`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1773 +#: ../Doc/whatsnew/3.8.rst:2081 msgid "" "The :c:macro:`Py_DEPRECATED()` macro has been implemented for MSVC. The " "macro now must be placed before the symbol name." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1780 +#: ../Doc/whatsnew/3.8.rst:2090 msgid "(Contributed by Zackery Spytz in :issue:`33407`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1782 +#: ../Doc/whatsnew/3.8.rst:2092 msgid "" "The interpreter does not pretend to support binary compatibility of " "extension types across feature releases, anymore. A :c:type:`PyTypeObject` " @@ -2393,33 +2684,33 @@ msgid "" "before reading :c:member:`~PyTypeObject.tp_finalize`)." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1789 +#: ../Doc/whatsnew/3.8.rst:2099 msgid "(Contributed by Antoine Pitrou in :issue:`32388`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1791 +#: ../Doc/whatsnew/3.8.rst:2101 msgid "" "The :c:func:`PyCode_New` has a new parameter in the second position " "(*posonlyargcount*) to support :pep:`570`, indicating the number of " "positional-only arguments." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1794 +#: ../Doc/whatsnew/3.8.rst:2104 msgid "" "The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now " "accept two additional ``int`` arguments *end_lineno* and *end_col_offset*." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1799 +#: ../Doc/whatsnew/3.8.rst:2107 msgid "" "The :file:`libpython38.a` file to allow MinGW tools to link directly " "against :file:`python38.dll` is no longer included in the regular Windows " "distribution. If you require this file, it may be generated with the " "``gendef`` and ``dlltool`` tools, which are part of the MinGW binutils " -"package::" +"package:" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1807 +#: ../Doc/whatsnew/3.8.rst:2117 msgid "" "The location of an installed :file:`pythonXY.dll` will depend on the " "installation options and the version and language of Windows. See :ref:" @@ -2428,11 +2719,15 @@ msgid "" "the :file:`libs` directory under your Python installation." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1817 +#: ../Doc/whatsnew/3.8.rst:2123 +msgid "(Contributed by Steve Dower in :issue:`37351`.)" +msgstr "" + +#: ../Doc/whatsnew/3.8.rst:2127 msgid "CPython bytecode changes" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1819 +#: ../Doc/whatsnew/3.8.rst:2129 msgid "" "The interpreter loop has been simplified by moving the logic of unrolling " "the stack of blocks into the compiler. The compiler emits now explicit " @@ -2440,7 +2735,7 @@ msgid "" "code for :keyword:`break`, :keyword:`continue` and :keyword:`return`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1825 +#: ../Doc/whatsnew/3.8.rst:2135 msgid "" "Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" "`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" @@ -2449,20 +2744,20 @@ msgid "" "`WITH_CLEANUP_START`." msgstr "" -#: ../Doc/whatsnew/3.8.rst:1831 +#: ../Doc/whatsnew/3.8.rst:2141 msgid "" "(Contributed by Mark Shannon, Antoine Pitrou and Serhiy Storchaka in :issue:" "`17611`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1834 +#: ../Doc/whatsnew/3.8.rst:2144 msgid "" "Added new opcode :opcode:`END_ASYNC_FOR` for handling exceptions raised when " "awaiting a next item in an :keyword:`async for` loop. (Contributed by Serhiy " "Storchaka in :issue:`33041`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1838 +#: ../Doc/whatsnew/3.8.rst:2148 msgid "" "The :opcode:`MAP_ADD` now expects the value as the first element in the " "stack and the key as the second element. This change was made so the key is " @@ -2470,13 +2765,17 @@ msgid "" "by :pep:`572`. (Contributed by Jörn Heissler in :issue:`35224`.)" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1845 +#: ../Doc/whatsnew/3.8.rst:2155 msgid "Demos and Tools" msgstr "" -#: ../Doc/whatsnew/3.8.rst:1847 +#: ../Doc/whatsnew/3.8.rst:2157 msgid "" "Added a benchmark script for timing various ways to access variables: " "``Tools/scripts/var_access_benchmark.py``. (Contributed by Raymond Hettinger " "in :issue:`35884`.)" msgstr "" + +#: ../Doc/whatsnew/3.8.rst:2161 +msgid "Here's a summary of performance improvements since Python 3.3:" +msgstr ""