From c109850819c09a30cb5b466faadd2e98d2924152 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 2 Oct 2020 10:55:01 +0200 Subject: [PATCH] make merge from cpython 3.9 (#1440) --- Makefile | 2 +- c-api/arg.po | 44 +- c-api/buffer.po | 40 +- c-api/bytes.po | 4 +- c-api/call.po | 30 +- c-api/capsule.po | 5 +- c-api/datetime.po | 10 +- c-api/exceptions.po | 20 +- c-api/function.po | 4 +- c-api/import.po | 6 +- c-api/init.po | 26 +- c-api/init_config.po | 16 +- c-api/intro.po | 4 +- c-api/long.po | 15 +- c-api/mapping.po | 6 +- c-api/marshal.po | 6 +- c-api/memory.po | 28 +- c-api/memoryview.po | 4 +- c-api/module.po | 8 +- c-api/object.po | 12 +- c-api/reflection.po | 4 +- c-api/slice.po | 4 +- c-api/structures.po | 24 +- c-api/sys.po | 18 +- c-api/tuple.po | 17 +- c-api/type.po | 112 ++-- c-api/typeobj.po | 232 +++---- c-api/unicode.po | 47 +- distutils/apiref.po | 42 +- distutils/builtdist.po | 18 +- distutils/setupscript.po | 23 +- faq/design.po | 72 +- faq/programming.po | 784 +++++++++++----------- glossary.po | 46 +- howto/argparse.po | 11 +- howto/clinic.po | 23 +- howto/curses.po | 4 +- howto/descriptor.po | 4 +- howto/instrumentation.po | 6 +- howto/logging-cookbook.po | 10 +- howto/logging.po | 14 +- howto/pyporting.po | 4 +- howto/regex.po | 14 +- howto/unicode.po | 4 +- install/index.po | 58 +- library/2to3.po | 16 +- library/__future__.po | 9 +- library/aifc.po | 4 +- library/argparse.po | 4 +- library/array.po | 19 +- library/ast.po | 7 +- library/asyncio-dev.po | 45 +- library/asyncio-future.po | 6 +- library/asyncio-policy.po | 10 +- library/asyncio-stream.po | 12 +- library/asyncio-sync.po | 10 +- library/asyncio-task.po | 23 +- library/asyncore.po | 4 +- library/base64.po | 6 +- library/bz2.po | 9 +- library/chunk.po | 4 +- library/codecs.po | 76 +-- library/collections.abc.po | 42 +- library/collections.po | 4 +- library/compileall.po | 28 +- library/configparser.po | 6 +- library/contextlib.po | 5 +- library/csv.po | 5 +- library/ctypes.po | 20 +- library/curses.po | 28 +- library/dataclasses.po | 4 +- library/datetime.po | 133 ++-- library/dbm.po | 36 +- library/decimal.po | 15 +- library/difflib.po | 17 +- library/dis.po | 11 +- library/doctest.po | 16 +- library/email.errors.po | 4 +- library/email.generator.po | 12 +- library/email.message.po | 6 +- library/email.mime.po | 15 +- library/email.parser.po | 14 +- library/email.policy.po | 9 +- library/enum.po | 364 ++++++----- library/exceptions.po | 5 +- library/faulthandler.po | 7 +- library/fileinput.po | 4 +- library/ftplib.po | 10 +- library/functions.po | 21 +- library/functools.po | 6 +- library/gettext.po | 6 +- library/glob.po | 26 +- library/graphlib.po | 6 +- library/gzip.po | 4 +- library/hashlib.po | 4 +- library/http.client.po | 10 +- library/http.cookiejar.po | 6 +- library/http.cookies.po | 5 +- library/http.po | 4 +- library/idle.po | 222 ++++--- library/imaplib.po | 10 +- library/imp.po | 4 +- library/importlib.po | 30 +- library/inspect.po | 42 +- library/io.po | 14 +- library/ipaddress.po | 11 +- library/itertools.po | 26 +- library/json.po | 54 +- library/locale.po | 4 +- library/logging.config.po | 4 +- library/logging.po | 31 +- library/lzma.po | 8 +- library/mailbox.po | 153 ++--- library/math.po | 4 +- library/mimetypes.po | 6 +- library/mmap.po | 6 +- library/nis.po | 6 +- library/nntplib.po | 8 +- library/numbers.po | 4 +- library/operator.po | 11 +- library/optparse.po | 34 +- library/os.path.po | 21 +- library/os.po | 1086 +++++++++++++++---------------- library/ossaudiodev.po | 6 +- library/pathlib.po | 200 +++--- library/pickle.po | 12 +- library/pkgutil.po | 15 +- library/poplib.po | 8 +- library/pprint.po | 6 +- library/profile.po | 15 +- library/py_compile.po | 12 +- library/pyclbr.po | 6 +- library/queue.po | 4 +- library/re.po | 20 +- library/resource.po | 8 +- library/runpy.po | 6 +- library/sched.po | 6 +- library/secrets.po | 5 +- library/select.po | 29 +- library/shutil.po | 19 +- library/signal.po | 13 +- library/smtpd.po | 6 +- library/smtplib.po | 18 +- library/sndhdr.po | 4 +- library/socket.po | 48 +- library/socketserver.po | 8 +- library/sqlite3.po | 31 +- library/ssl.po | 33 +- library/stat.po | 8 +- library/statistics.po | 4 +- library/stdtypes.po | 1154 ++++++++++++++++----------------- library/string.po | 13 +- library/struct.po | 56 +- library/subprocess.po | 37 +- library/sunau.po | 4 +- library/sys.po | 33 +- library/sysconfig.po | 4 +- library/tarfile.po | 14 +- library/telnetlib.po | 4 +- library/tempfile.po | 12 +- library/test.po | 11 +- library/textwrap.po | 4 +- library/threading.po | 14 +- library/time.po | 21 +- library/timeit.po | 6 +- library/tkinter.font.po | 12 +- library/tkinter.po | 24 +- library/tkinter.ttk.po | 75 +-- library/traceback.po | 12 +- library/tracemalloc.po | 16 +- library/turtle.po | 86 ++- library/types.po | 4 +- library/typing.po | 553 ++++++++-------- library/unittest.po | 34 +- library/urllib.parse.po | 108 ++- library/urllib.request.po | 10 +- library/uuid.po | 6 +- library/venv.po | 6 +- library/warnings.po | 4 +- library/wave.po | 6 +- library/webbrowser.po | 12 +- library/winreg.po | 62 +- library/winsound.po | 6 +- library/wsgiref.po | 9 +- library/xml.dom.po | 6 +- library/xml.dom.pulldom.po | 4 +- library/xml.po | 51 +- library/xml.sax.handler.po | 8 +- library/xmlrpc.client.po | 9 +- library/xmlrpc.server.po | 17 +- library/zipfile.po | 10 +- license.po | 148 +++-- reference/compound_stmts.po | 228 +++---- reference/datamodel.po | 129 ++-- reference/expressions.po | 6 +- reference/lexical_analysis.po | 4 +- reference/simple_stmts.po | 4 +- tutorial/floatingpoint.po | 4 +- using/cmdline.po | 14 +- using/windows.po | 13 +- whatsnew/2.1.po | 4 +- whatsnew/2.3.po | 4 +- whatsnew/2.4.po | 6 +- whatsnew/2.5.po | 4 +- whatsnew/2.6.po | 6 +- whatsnew/2.7.po | 16 +- whatsnew/3.2.po | 11 +- whatsnew/3.3.po | 16 +- whatsnew/3.4.po | 8 +- whatsnew/3.5.po | 10 +- whatsnew/3.6.po | 30 +- whatsnew/3.7.po | 38 +- whatsnew/3.8.po | 558 ++++++++-------- whatsnew/3.9.po | 428 ++++++------ 214 files changed, 4737 insertions(+), 4905 deletions(-) diff --git a/Makefile b/Makefile index 454100a2..b8775833 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ # from which we generated our po files. We use it here so when we # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := d7cd1164c18dbf78380ce4c95bf46c7bb0ac0bb7 +CPYTHON_CURRENT_COMMIT := 8fc828ec4e867c111cef137a2daeea6c3d5db2c7 CPYTHON_PATH := ../cpython/ diff --git a/c-api/arg.po b/c-api/arg.po index daa82c4e..528dcbf4 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-04 12:14+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -180,7 +180,7 @@ msgstr "" "est préférable d'utiliser le format ``O&`` avec :c:func:" "`PyUnicode_FSConverter` en tant que *converter*." -#: c-api/arg.rst:83 c-api/arg.rst:150 +#: c-api/arg.rst:150 msgid "" "Previously, :exc:`TypeError` was raised when embedded null code points were " "encountered in the Python string." @@ -226,7 +226,7 @@ msgstr "" "caractères peut contenir des octets NULL. Les objets Unicode sont convertis " "vers des chaînes de caractères C utilisant l'encodage ``'utf-8'``." -#: c-api/arg.rst:102 c-api/arg.rst:566 +#: c-api/arg.rst:566 msgid "``z`` (:class:`str` or ``None``) [const char \\*]" msgstr "``z`` (:class:`str` ou ``None``) [``const char *``]" @@ -379,7 +379,7 @@ msgstr "" "chaîne de caractères Python ne doit pas contenir de code *NULL*. Si elle en " "contient, une exception :exc:`ValueError` est levée." -#: c-api/arg.rst:157 c-api/arg.rst:166 c-api/arg.rst:174 c-api/arg.rst:182 +#: c-api/arg.rst:174 c-api/arg.rst:182 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsWideCharString`." @@ -588,7 +588,7 @@ msgstr "" "Convertit un entier Python positif ou nul en un ``unsigned tiny int``, " "stocké dans un :c:type:`unsigned char` C." -#: c-api/arg.rst:261 c-api/arg.rst:600 +#: c-api/arg.rst:600 msgid "``B`` (:class:`int`) [unsigned char]" msgstr "``B`` (:class:`int`) [``unsigned char``]" @@ -600,7 +600,7 @@ msgstr "" "Convertit un entier Python en un ``tiny int`` sans vérifier le débordement, " "stocké dans un :c:type:`unsigned char` C." -#: c-api/arg.rst:264 c-api/arg.rst:594 +#: c-api/arg.rst:594 msgid "``h`` (:class:`int`) [short int]" msgstr "``h`` (:class:`int`) [``short int``]" @@ -608,7 +608,7 @@ msgstr "``h`` (:class:`int`) [``short int``]" msgid "Convert a Python integer to a C :c:type:`short int`." msgstr "Convertit un entier Python en un :c:type:`short int` C." -#: c-api/arg.rst:268 c-api/arg.rst:603 +#: c-api/arg.rst:603 msgid "``H`` (:class:`int`) [unsigned short int]" msgstr "``H`` (:class:`int`) [``unsigned short int``]" @@ -620,7 +620,7 @@ msgstr "" "Convertit un entier Python en un :c:type:`unsigned short int` C, sans " "contrôle de débordement." -#: c-api/arg.rst:271 c-api/arg.rst:588 +#: c-api/arg.rst:588 msgid "``i`` (:class:`int`) [int]" msgstr "``i`` (:class:`int`) [``int``]" @@ -628,7 +628,7 @@ msgstr "``i`` (:class:`int`) [``int``]" msgid "Convert a Python integer to a plain C :c:type:`int`." msgstr "Convertit un entier Python en un :c:type:`int` C." -#: c-api/arg.rst:275 c-api/arg.rst:606 +#: c-api/arg.rst:606 msgid "``I`` (:class:`int`) [unsigned int]" msgstr "``I`` (:class:`int`) [``unsigned int``]" @@ -640,7 +640,7 @@ msgstr "" "Convertit un entier Python en un :c:type:`unsigned int` C, sans contrôle de " "le débordement." -#: c-api/arg.rst:278 c-api/arg.rst:597 +#: c-api/arg.rst:597 msgid "``l`` (:class:`int`) [long int]" msgstr "``l`` (:class:`int`) [``long int``]" @@ -648,7 +648,7 @@ msgstr "``l`` (:class:`int`) [``long int``]" msgid "Convert a Python integer to a C :c:type:`long int`." msgstr "Convertit un entier Python en un :c:type:`long int`." -#: c-api/arg.rst:282 c-api/arg.rst:609 +#: c-api/arg.rst:609 msgid "``k`` (:class:`int`) [unsigned long]" msgstr "``k`` (:class:`int`) [``unsigned long``]" @@ -660,7 +660,7 @@ msgstr "" "Convertit un entier Python en un :c:type:`unsigned long` C sans en vérifier " "le débordement." -#: c-api/arg.rst:285 c-api/arg.rst:612 +#: c-api/arg.rst:612 msgid "``L`` (:class:`int`) [long long]" msgstr "``L`` (:class:`int`) [``long long``]" @@ -669,7 +669,7 @@ msgstr "``L`` (:class:`int`) [``long long``]" msgid "Convert a Python integer to a C :c:type:`long long`." msgstr "Convertit un entier Python en un :c:type:`long int`." -#: c-api/arg.rst:289 c-api/arg.rst:615 +#: c-api/arg.rst:615 msgid "``K`` (:class:`int`) [unsigned long long]" msgstr "``K`` (:class:`int`) [``unsigned long long``]" @@ -682,7 +682,7 @@ msgstr "" "Convertit un entier Python en un :c:type:`unsigned long` C sans en vérifier " "le débordement." -#: c-api/arg.rst:292 c-api/arg.rst:618 +#: c-api/arg.rst:618 msgid "``n`` (:class:`int`) [Py_ssize_t]" msgstr "``n`` (:class:`int`) [``Py_ssize_t``]" @@ -706,7 +706,7 @@ msgstr "" msgid "Allow :class:`bytearray` objects." msgstr "" -#: c-api/arg.rst:303 c-api/arg.rst:626 +#: c-api/arg.rst:626 msgid "``C`` (:class:`str` of length 1) [int]" msgstr "``C`` (:class:`str` de longueur 1) [``int``]" @@ -718,7 +718,7 @@ msgstr "" "Convertit un caractère Python, représenté comme un objet :class:`str` de " "longueur 1, en un :c:type:`int` C." -#: c-api/arg.rst:306 c-api/arg.rst:632 +#: c-api/arg.rst:632 msgid "``f`` (:class:`float`) [float]" msgstr "``f`` (:class:`float`) [``float``]" @@ -726,7 +726,7 @@ msgstr "``f`` (:class:`float`) [``float``]" msgid "Convert a Python floating point number to a C :c:type:`float`." msgstr "Convertit un nombre flottant Python vers un :c:type:`float`." -#: c-api/arg.rst:309 c-api/arg.rst:629 +#: c-api/arg.rst:629 msgid "``d`` (:class:`float`) [double]" msgstr "``d`` (:class:`float`) [``double``]" @@ -748,7 +748,7 @@ msgstr "" msgid "Other objects" msgstr "Autres objets" -#: c-api/arg.rst:320 c-api/arg.rst:643 +#: c-api/arg.rst:643 msgid "``O`` (object) [PyObject \\*]" msgstr "``O`` (objet) [``PyObject *``]" @@ -777,7 +777,7 @@ msgid "" "required type, :exc:`TypeError` is raised." msgstr "" -#: c-api/arg.rst:352 c-api/arg.rst:657 +#: c-api/arg.rst:657 msgid "``O&`` (object) [*converter*, *anything*]" msgstr "``O&`` (objet) [*converter*, *anything*]" @@ -825,7 +825,7 @@ msgid "" "how Python tests values for truth." msgstr "" -#: c-api/arg.rst:366 c-api/arg.rst:660 +#: c-api/arg.rst:660 msgid "``(items)`` (:class:`tuple`) [*matching-items*]" msgstr "``(items)`` (:class:`tuple`) [*matching-items*]" @@ -1121,7 +1121,7 @@ msgid "" "string pointer is ``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:566 c-api/arg.rst:582 +#: c-api/arg.rst:582 msgid "Same as ``s``." msgstr "" @@ -1132,7 +1132,7 @@ msgid "" "`Py_ssize_t`]" msgstr "``z#`` (:class:`str` ou ``None``) [``const char *``, ``int``]" -#: c-api/arg.rst:569 c-api/arg.rst:585 +#: c-api/arg.rst:585 msgid "Same as ``s#``." msgstr "" diff --git a/c-api/buffer.po b/c-api/buffer.po index 1f8ed55b..d0d9ee46 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-04 12:18+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -431,38 +431,34 @@ msgid "" "flags below it." msgstr "" -#: c-api/buffer.rst:272 c-api/buffer.rst:296 c-api/buffer.rst:321 +#: c-api/buffer.rst:296 c-api/buffer.rst:321 msgid "Request" msgstr "" -#: c-api/buffer.rst:272 c-api/buffer.rst:296 c-api/buffer.rst:321 +#: c-api/buffer.rst:296 c-api/buffer.rst:321 msgid "shape" msgstr "" -#: c-api/buffer.rst:272 c-api/buffer.rst:296 c-api/buffer.rst:321 +#: c-api/buffer.rst:296 c-api/buffer.rst:321 msgid "strides" msgstr "" -#: c-api/buffer.rst:272 c-api/buffer.rst:296 c-api/buffer.rst:321 +#: c-api/buffer.rst:296 c-api/buffer.rst:321 msgid "suboffsets" msgstr "" -#: c-api/buffer.rst:274 c-api/buffer.rst:276 c-api/buffer.rst:278 -#: c-api/buffer.rst:298 c-api/buffer.rst:300 c-api/buffer.rst:302 -#: c-api/buffer.rst:304 c-api/buffer.rst:323 c-api/buffer.rst:325 -#: c-api/buffer.rst:327 c-api/buffer.rst:329 c-api/buffer.rst:331 -#: c-api/buffer.rst:333 c-api/buffer.rst:335 c-api/buffer.rst:337 +#: c-api/buffer.rst:276 c-api/buffer.rst:298 c-api/buffer.rst:302 +#: c-api/buffer.rst:323 c-api/buffer.rst:327 c-api/buffer.rst:331 +#: c-api/buffer.rst:335 c-api/buffer.rst:337 msgid "yes" msgstr "oui" -#: c-api/buffer.rst:274 c-api/buffer.rst:323 c-api/buffer.rst:325 +#: c-api/buffer.rst:323 c-api/buffer.rst:325 msgid "if needed" msgstr "" -#: c-api/buffer.rst:276 c-api/buffer.rst:278 c-api/buffer.rst:280 -#: c-api/buffer.rst:298 c-api/buffer.rst:300 c-api/buffer.rst:302 -#: c-api/buffer.rst:304 c-api/buffer.rst:327 c-api/buffer.rst:329 -#: c-api/buffer.rst:331 c-api/buffer.rst:333 c-api/buffer.rst:335 +#: c-api/buffer.rst:278 c-api/buffer.rst:298 c-api/buffer.rst:302 +#: c-api/buffer.rst:327 c-api/buffer.rst:331 c-api/buffer.rst:335 #: c-api/buffer.rst:337 msgid "NULL" msgstr "" @@ -478,12 +474,11 @@ msgid "" "must be C-contiguous." msgstr "" -#: c-api/buffer.rst:296 c-api/buffer.rst:321 +#: c-api/buffer.rst:321 msgid "contig" msgstr "" -#: c-api/buffer.rst:298 c-api/buffer.rst:304 c-api/buffer.rst:335 -#: c-api/buffer.rst:337 +#: c-api/buffer.rst:304 c-api/buffer.rst:337 msgid "C" msgstr "" @@ -524,18 +519,15 @@ msgstr "" msgid "format" msgstr "format" -#: c-api/buffer.rst:323 c-api/buffer.rst:325 c-api/buffer.rst:327 -#: c-api/buffer.rst:329 c-api/buffer.rst:331 c-api/buffer.rst:333 +#: c-api/buffer.rst:325 c-api/buffer.rst:329 c-api/buffer.rst:333 msgid "U" msgstr "" -#: c-api/buffer.rst:323 c-api/buffer.rst:327 c-api/buffer.rst:331 -#: c-api/buffer.rst:335 +#: c-api/buffer.rst:327 c-api/buffer.rst:335 msgid "0" msgstr "0" -#: c-api/buffer.rst:325 c-api/buffer.rst:329 c-api/buffer.rst:333 -#: c-api/buffer.rst:337 +#: c-api/buffer.rst:329 c-api/buffer.rst:337 msgid "1 or 0" msgstr "" diff --git a/c-api/bytes.po b/c-api/bytes.po index edf60a11..a14595ca 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-03 11:50+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -110,7 +110,7 @@ msgstr "" msgid ":attr:`%c`" msgstr "" -#: c-api/bytes.rst:72 c-api/bytes.rst:75 c-api/bytes.rst:93 c-api/bytes.rst:96 +#: c-api/bytes.rst:75 c-api/bytes.rst:96 msgid "int" msgstr "*int*" diff --git a/c-api/call.po b/c-api/call.po index 7dbd8e2a..e7fc3f36 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-07-20 15:07+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -209,8 +209,7 @@ msgid "" "future extensions." msgstr "" -#: c-api/call.rst:147 c-api/call.rst:161 c-api/call.rst:175 c-api/call.rst:259 -#: c-api/call.rst:346 c-api/call.rst:360 c-api/call.rst:375 c-api/call.rst:391 +#: c-api/call.rst:161 c-api/call.rst:259 c-api/call.rst:360 c-api/call.rst:391 #: c-api/call.rst:413 msgid "This function is not part of the :ref:`limited API `." msgstr "" @@ -281,8 +280,7 @@ msgstr "" msgid ":c:func:`PyObject_Call`" msgstr "" -#: c-api/call.rst:197 c-api/call.rst:199 c-api/call.rst:201 c-api/call.rst:203 -#: c-api/call.rst:205 c-api/call.rst:209 c-api/call.rst:217 c-api/call.rst:219 +#: c-api/call.rst:199 c-api/call.rst:203 c-api/call.rst:209 c-api/call.rst:219 msgid "``PyObject *``" msgstr "" @@ -290,7 +288,7 @@ msgstr "" msgid "tuple" msgstr "" -#: c-api/call.rst:197 c-api/call.rst:219 +#: c-api/call.rst:219 msgid "dict/``NULL``" msgstr "" @@ -298,8 +296,7 @@ msgstr "" msgid ":c:func:`PyObject_CallNoArgs`" msgstr "" -#: c-api/call.rst:199 c-api/call.rst:201 c-api/call.rst:203 c-api/call.rst:205 -#: c-api/call.rst:207 c-api/call.rst:209 c-api/call.rst:211 c-api/call.rst:213 +#: c-api/call.rst:201 c-api/call.rst:205 c-api/call.rst:209 c-api/call.rst:213 #: c-api/call.rst:215 msgid "---" msgstr "" @@ -308,7 +305,7 @@ msgstr "" msgid ":c:func:`PyObject_CallOneArg`" msgstr "" -#: c-api/call.rst:201 c-api/call.rst:215 +#: c-api/call.rst:215 msgid "1 object" msgstr "" @@ -324,7 +321,7 @@ msgstr "" msgid ":c:func:`PyObject_CallFunction`" msgstr "" -#: c-api/call.rst:205 c-api/call.rst:207 +#: c-api/call.rst:207 msgid "format" msgstr "format" @@ -340,7 +337,7 @@ msgstr "" msgid ":c:func:`PyObject_CallFunctionObjArgs`" msgstr "" -#: c-api/call.rst:209 c-api/call.rst:211 +#: c-api/call.rst:211 msgid "variadic" msgstr "" @@ -348,7 +345,7 @@ msgstr "" msgid ":c:func:`PyObject_CallMethodObjArgs`" msgstr "" -#: c-api/call.rst:211 c-api/call.rst:213 c-api/call.rst:215 +#: c-api/call.rst:213 c-api/call.rst:215 msgid "obj + name" msgstr "" @@ -364,7 +361,7 @@ msgstr "" msgid ":c:func:`PyObject_Vectorcall`" msgstr "" -#: c-api/call.rst:217 c-api/call.rst:219 c-api/call.rst:221 +#: c-api/call.rst:219 c-api/call.rst:221 msgid "vectorcall" msgstr "" @@ -394,9 +391,8 @@ msgid "" "no named arguments are needed, *kwargs* can be *NULL*." msgstr "" -#: c-api/call.rst:233 c-api/call.rst:245 c-api/call.rst:256 c-api/call.rst:269 -#: c-api/call.rst:281 c-api/call.rst:301 c-api/call.rst:320 c-api/call.rst:334 -#: c-api/call.rst:343 c-api/call.rst:357 c-api/call.rst:372 c-api/call.rst:410 +#: c-api/call.rst:245 c-api/call.rst:269 c-api/call.rst:301 c-api/call.rst:334 +#: c-api/call.rst:357 c-api/call.rst:410 msgid "" "Return the result of the call on success, or raise an exception and return " "*NULL* on failure." @@ -427,7 +423,7 @@ msgid "" "*args*. If no arguments are needed, then *args* can be *NULL*." msgstr "" -#: c-api/call.rst:272 c-api/call.rst:284 +#: c-api/call.rst:284 msgid "This is the equivalent of the Python expression: ``callable(*args)``." msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``." diff --git a/c-api/capsule.po b/c-api/capsule.po index fa5e3077..50be3240 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -174,8 +174,7 @@ msgstr "" msgid "Set the context pointer inside *capsule* to *context*." msgstr "" -#: c-api/capsule.rst:133 c-api/capsule.rst:140 c-api/capsule.rst:149 -#: c-api/capsule.rst:157 +#: c-api/capsule.rst:140 c-api/capsule.rst:157 msgid "" "Return ``0`` on success. Return nonzero and set an exception on failure." msgstr "" diff --git a/c-api/datetime.po b/c-api/datetime.po index 29bf9a01..0dd296a2 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-06-28 15:17+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -254,19 +254,19 @@ msgstr "" "une instance de :c:data:`PyDateTime_DateTime` ou une sous-classe de celle-" "ci. L'argument ne doit pas être *NULL*, et le type n'est pas vérifié :" -#: c-api/datetime.rst:171 c-api/datetime.rst:195 +#: c-api/datetime.rst:195 msgid "Return the hour, as an int from 0 through 23." msgstr "Renvoie l'heure, sous forme d'entier allant de 0 à 23." -#: c-api/datetime.rst:176 c-api/datetime.rst:200 +#: c-api/datetime.rst:200 msgid "Return the minute, as an int from 0 through 59." msgstr "Renvoie la minute, sous forme d'entier allant de 0 à 59." -#: c-api/datetime.rst:181 c-api/datetime.rst:205 +#: c-api/datetime.rst:205 msgid "Return the second, as an int from 0 through 59." msgstr "Renvoie la seconde, sous forme d'entier allant de 0 à 59." -#: c-api/datetime.rst:186 c-api/datetime.rst:210 +#: c-api/datetime.rst:210 msgid "Return the microsecond, as an int from 0 through 999999." msgstr "Renvoie la microseconde, sous forme d'entier allant de 0 à 999999." diff --git a/c-api/exceptions.po b/c-api/exceptions.po index c643adbd..19799c5f 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -229,8 +229,7 @@ msgid "" "returns ``NULL``." msgstr "" -#: c-api/exceptions.rst:200 c-api/exceptions.rst:208 c-api/exceptions.rst:217 -#: c-api/exceptions.rst:225 c-api/exceptions.rst:234 c-api/exceptions.rst:243 +#: c-api/exceptions.rst:208 c-api/exceptions.rst:225 c-api/exceptions.rst:243 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -660,7 +659,7 @@ msgid "" "UTF-8 encoded strings." msgstr "" -#: c-api/exceptions.rst:640 c-api/exceptions.rst:650 +#: c-api/exceptions.rst:650 msgid "3.11" msgstr "" @@ -765,7 +764,7 @@ msgid "" "recursion depth limit." msgstr "" -#: c-api/exceptions.rst:738 c-api/exceptions.rst:746 +#: c-api/exceptions.rst:746 msgid "This function is now also available in the limited API." msgstr "" @@ -829,15 +828,15 @@ msgid "" "all the variables:" msgstr "" -#: c-api/exceptions.rst:845 c-api/exceptions.rst:978 c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:978 c-api/exceptions.rst:1023 msgid "C Name" msgstr "Nom C" -#: c-api/exceptions.rst:845 c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1023 msgid "Python Name" msgstr "Nom Python" -#: c-api/exceptions.rst:845 c-api/exceptions.rst:978 c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:978 c-api/exceptions.rst:1023 msgid "Notes" msgstr "Notes" @@ -849,8 +848,7 @@ msgstr ":c:data:`PyExc_BaseException`" msgid ":exc:`BaseException`" msgstr ":exc:`BaseException`" -#: c-api/exceptions.rst:847 c-api/exceptions.rst:849 c-api/exceptions.rst:851 -#: c-api/exceptions.rst:897 c-api/exceptions.rst:909 c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:849 c-api/exceptions.rst:897 c-api/exceptions.rst:1025 msgid "\\(1)" msgstr "\\(1)" @@ -1319,7 +1317,7 @@ msgstr "\\(3)" msgid "These aliases used to be separate exception types." msgstr "" -#: c-api/exceptions.rst:990 c-api/exceptions.rst:1051 +#: c-api/exceptions.rst:1051 msgid "Notes:" msgstr "Notes :" diff --git a/c-api/function.po b/c-api/function.po index 6c0c9d08..5c3160a6 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -89,7 +89,7 @@ msgid "" "must be ``Py_None`` or a tuple." msgstr "" -#: c-api/function.rst:80 c-api/function.rst:94 c-api/function.rst:108 +#: c-api/function.rst:94 c-api/function.rst:108 msgid "Raises :exc:`SystemError` and returns ``-1`` on failure." msgstr "" diff --git a/c-api/import.po b/c-api/import.po index 9c17a187..339895db 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -33,7 +33,7 @@ msgid "" "module doesn't leave the module in :data:`sys.modules`." msgstr "" -#: c-api/import.rst:28 c-api/import.rst:89 +#: c-api/import.rst:89 msgid "This function always uses absolute imports." msgstr "" @@ -55,7 +55,7 @@ msgid "" "function :func:`__import__`." msgstr "" -#: c-api/import.rst:49 c-api/import.rst:65 +#: 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:" diff --git a/c-api/init.po b/c-api/init.po index 4e9db455..6025e7dc 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-11-29 18:22+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -303,7 +303,7 @@ msgstr "" msgid "See :pep:`529` for more details." msgstr "Voir la :pep:`529` pour plus d'informations." -#: c-api/init.rst:162 c-api/init.rst:174 +#: c-api/init.rst:174 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -539,8 +539,7 @@ msgid "" "this storage." msgstr "" -#: c-api/init.rst:366 c-api/init.rst:480 c-api/init.rst:586 c-api/init.rst:613 -#: c-api/init.rst:630 +#: c-api/init.rst:480 c-api/init.rst:613 c-api/init.rst:630 msgid "" "Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a :c:type:" "`wchar_*` string." @@ -713,7 +712,7 @@ msgid "" "version, in square brackets, for example::" msgstr "" -#: c-api/init.rst:540 c-api/init.rst:554 +#: c-api/init.rst:554 msgid "" "The returned string points into static storage; the caller should not modify " "its value. The value is available to Python code as part of the variable " @@ -1055,8 +1054,7 @@ msgid "" "ensues." msgstr "" -#: c-api/init.rst:892 c-api/init.rst:938 c-api/init.rst:1197 -#: c-api/init.rst:1235 +#: c-api/init.rst:938 c-api/init.rst:1235 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 " @@ -1276,7 +1274,7 @@ msgstr "" msgid "See also :c:func:`PyEval_GetFrame`." msgstr "" -#: c-api/init.rst:1084 c-api/init.rst:1093 c-api/init.rst:1102 +#: c-api/init.rst:1093 c-api/init.rst:1102 msgid "*tstate* must not be ``NULL``." msgstr "" @@ -1299,7 +1297,7 @@ msgid "" "interpreter. It cannot return NULL." msgstr "" -#: c-api/init.rst:1114 c-api/init.rst:1124 +#: c-api/init.rst:1124 msgid "The caller must hold the GIL." msgstr "" @@ -1340,7 +1338,7 @@ msgstr "" msgid "Get the frame evaluation function." msgstr "" -#: c-api/init.rst:1154 c-api/init.rst:1162 +#: c-api/init.rst:1162 msgid "See the :pep:`523` \"Adding a frame evaluation API to CPython\"." msgstr "" @@ -1382,7 +1380,7 @@ msgid "" "earlier. If this thread already has the lock, deadlock ensues." msgstr "" -#: c-api/init.rst:1203 c-api/init.rst:1241 +#: c-api/init.rst:1241 msgid "" "Updated to be consistent with :c:func:`PyEval_RestoreThread`, :c:func:" "`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`, and terminate the " @@ -1694,7 +1692,7 @@ msgstr "" msgid ":const:`PyTrace_CALL`" msgstr "" -#: c-api/init.rst:1470 c-api/init.rst:1475 c-api/init.rst:1486 +#: c-api/init.rst:1475 c-api/init.rst:1486 msgid "Always :c:data:`Py_None`." msgstr "" @@ -1723,7 +1721,7 @@ msgstr "" msgid ":const:`PyTrace_C_CALL`" msgstr "" -#: c-api/init.rst:1480 c-api/init.rst:1482 c-api/init.rst:1484 +#: c-api/init.rst:1482 c-api/init.rst:1484 msgid "Function object being called." msgstr "" @@ -1810,7 +1808,7 @@ msgid "" "`PyTrace_LINE` :const:`PyTrace_OPCODE` and :const:`PyTrace_EXCEPTION`." msgstr "" -#: c-api/init.rst:1557 c-api/init.rst:1569 +#: c-api/init.rst:1569 msgid "The caller must hold the :term:`GIL`." msgstr "" diff --git a/c-api/init_config.po b/c-api/init_config.po index 45beea37..a54b1799 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-04 11:42+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -190,7 +190,7 @@ msgstr "Méthodes" msgid "Append *item* to *list*." msgstr "" -#: c-api/init_config.rst:74 c-api/init_config.rst:85 +#: c-api/init_config.rst:85 msgid "Python must be preinitialized to call this function." msgstr "" @@ -208,8 +208,7 @@ msgstr "" msgid "*index* must be greater than or equal to 0." msgstr "" -#: c-api/init_config.rst:87 c-api/init_config.rst:107 c-api/init_config.rst:210 -#: c-api/init_config.rst:417 +#: c-api/init_config.rst:107 c-api/init_config.rst:417 msgid "Structure fields:" msgstr "" @@ -418,7 +417,7 @@ msgid "" "``mbcs``, set the filesystem error handler to ``replace``." msgstr "" -#: c-api/init_config.rst:261 c-api/init_config.rst:555 +#: c-api/init_config.rst:555 msgid "" "Only available on Windows. ``#ifdef MS_WINDOWS`` macro can be used for " "Windows specific code." @@ -464,7 +463,7 @@ msgid "" "arguments (wide strings)." msgstr "" -#: c-api/init_config.rst:298 c-api/init_config.rst:730 +#: c-api/init_config.rst:730 msgid "" "The caller is responsible to handle exceptions (error or exit) using :c:func:" "`PyStatus_Exception` and :c:func:`Py_ExitStatusException`." @@ -528,9 +527,8 @@ msgstr "" msgid "Copy the wide character string *str* into ``*config_str``." msgstr "" -#: c-api/init_config.rst:361 c-api/init_config.rst:367 -#: c-api/init_config.rst:373 c-api/init_config.rst:379 -#: c-api/init_config.rst:385 c-api/init_config.rst:393 +#: c-api/init_config.rst:367 c-api/init_config.rst:379 +#: c-api/init_config.rst:393 msgid "Preinitialize Python if needed." msgstr "" diff --git a/c-api/intro.po b/c-api/intro.po index 2e9234a7..c33437a1 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -233,7 +233,7 @@ msgid "" "symbol name." msgstr "" -#: c-api/intro.rst:183 c-api/intro.rst:198 c-api/intro.rst:216 +#: c-api/intro.rst:198 c-api/intro.rst:216 msgid "Example::" msgstr "Exemple ::" diff --git a/c-api/long.po b/c-api/long.po index 26a157c7..b87ec7d2 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -147,7 +147,7 @@ msgid "" "retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`." msgstr "" -#: c-api/long.rst:127 c-api/long.rst:146 +#: c-api/long.rst:146 msgid "" "Return a C :c:type:`long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or :" @@ -160,18 +160,15 @@ msgid "" "type:`long`." msgstr "" -#: c-api/long.rst:135 c-api/long.rst:156 c-api/long.rst:178 c-api/long.rst:199 -#: c-api/long.rst:222 +#: c-api/long.rst:156 c-api/long.rst:199 c-api/long.rst:222 msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:137 c-api/long.rst:158 c-api/long.rst:180 c-api/long.rst:203 -#: c-api/long.rst:288 c-api/long.rst:308 +#: c-api/long.rst:158 c-api/long.rst:203 c-api/long.rst:308 msgid "Use :meth:`__index__` if available." msgstr "" -#: c-api/long.rst:140 c-api/long.rst:161 c-api/long.rst:183 c-api/long.rst:206 -#: c-api/long.rst:291 c-api/long.rst:311 +#: c-api/long.rst:161 c-api/long.rst:206 c-api/long.rst:311 msgid "Using :meth:`__int__` is deprecated." msgstr "" @@ -183,7 +180,7 @@ msgid "" "occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:170 c-api/long.rst:189 +#: c-api/long.rst:189 msgid "" "Return a C :c:type:`long long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or :" diff --git a/c-api/mapping.po b/c-api/mapping.po index 079f7f05..9cb03b78 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-17 21:20+0100\n" "Last-Translator: Aveheuzed \n" "Language-Team: FRENCH \n" @@ -93,7 +93,7 @@ msgstr "" "Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python " "``del o[key]``." -#: c-api/mapping.rst:59 c-api/mapping.rst:70 +#: c-api/mapping.rst:70 msgid "" "Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. " "This is equivalent to the Python expression ``key in o``. This function " @@ -131,7 +131,7 @@ msgid "" msgstr "" "Renvoie la liste des clefs dans l'objet *o*. En cas d'échec, renvoie *NULL*." -#: c-api/mapping.rst:84 c-api/mapping.rst:93 c-api/mapping.rst:102 +#: c-api/mapping.rst:93 c-api/mapping.rst:102 msgid "Previously, the function returned a list or a tuple." msgstr "Auparavant, la fonction renvoyait une liste ou un n-uplet." diff --git a/c-api/marshal.po b/c-api/marshal.po index 941e59c5..2d2bfca6 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -69,7 +69,7 @@ msgid "" "regardless of the native size of :c:type:`long`." msgstr "" -#: c-api/marshal.rst:50 c-api/marshal.rst:60 +#: c-api/marshal.rst:60 msgid "" "On error, sets the appropriate exception (:exc:`EOFError`) and returns " "``-1``." @@ -88,7 +88,7 @@ msgid "" "reading." msgstr "" -#: c-api/marshal.rst:69 c-api/marshal.rst:83 c-api/marshal.rst:92 +#: c-api/marshal.rst:83 c-api/marshal.rst:92 msgid "" "On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` " "or :exc:`TypeError`) and returns ``NULL``." diff --git a/c-api/memory.po b/c-api/memory.po index baf8fa09..146a13f5 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -124,7 +124,7 @@ msgid "" "zero bytes." msgstr "" -#: c-api/memory.rst:112 c-api/memory.rst:183 c-api/memory.rst:285 +#: c-api/memory.rst:183 c-api/memory.rst:285 msgid "" "Allocates *n* bytes and returns a pointer of type :c:type:`void*` to the " "allocated memory, or ``NULL`` if the request fails." @@ -137,7 +137,7 @@ msgid "" "have been initialized in any way." msgstr "" -#: c-api/memory.rst:122 c-api/memory.rst:193 c-api/memory.rst:295 +#: c-api/memory.rst:193 c-api/memory.rst:295 msgid "" "Allocates *nelem* elements each whose size in bytes is *elsize* and returns " "a pointer of type :c:type:`void*` to the allocated memory, or ``NULL`` if " @@ -151,7 +151,7 @@ msgid "" "called instead." msgstr "" -#: c-api/memory.rst:135 c-api/memory.rst:206 c-api/memory.rst:308 +#: c-api/memory.rst:206 c-api/memory.rst:308 msgid "" "Resizes the memory block pointed to by *p* to *n* bytes. The contents will " "be unchanged to the minimum of the old and the new sizes." @@ -185,7 +185,7 @@ msgid "" "called before, undefined behavior occurs." msgstr "" -#: c-api/memory.rst:157 c-api/memory.rst:227 c-api/memory.rst:329 +#: c-api/memory.rst:227 c-api/memory.rst:329 msgid "If *p* is ``NULL``, no operation is performed." msgstr "" @@ -193,7 +193,7 @@ msgstr "" msgid "Memory Interface" msgstr "" -#: c-api/memory.rst:165 c-api/memory.rst:271 +#: c-api/memory.rst:271 msgid "" "The following function sets, modeled after the ANSI C standard, but " "specifying behavior when requesting zero bytes, are available for allocating " @@ -206,7 +206,7 @@ msgid "" "ref:`pymalloc memory allocator `." msgstr "" -#: c-api/memory.rst:174 c-api/memory.rst:280 +#: c-api/memory.rst:280 msgid "" "The :term:`GIL ` must be held when using these " "functions." @@ -409,7 +409,7 @@ msgstr "" msgid "``\"pymalloc\"``" msgstr "" -#: c-api/memory.rst:342 c-api/memory.rst:344 +#: c-api/memory.rst:344 msgid "``malloc``" msgstr "" @@ -425,7 +425,7 @@ msgstr "" msgid "``\"pymalloc_debug\"``" msgstr "" -#: c-api/memory.rst:343 c-api/memory.rst:345 +#: c-api/memory.rst:345 msgid "``malloc`` + debug" msgstr "" @@ -482,19 +482,19 @@ msgid "" "fields:" msgstr "" -#: c-api/memory.rst:368 c-api/memory.rst:513 +#: c-api/memory.rst:513 msgid "Field" msgstr "Champ" -#: c-api/memory.rst:368 c-api/memory.rst:513 +#: c-api/memory.rst:513 msgid "Meaning" msgstr "Signification" -#: c-api/memory.rst:370 c-api/memory.rst:515 +#: c-api/memory.rst:515 msgid "``void *ctx``" msgstr "``void *ctx``" -#: c-api/memory.rst:370 c-api/memory.rst:515 +#: c-api/memory.rst:515 msgid "user context passed as first argument" msgstr "" @@ -540,7 +540,7 @@ msgstr "" msgid "Enum used to identify an allocator domain. Domains:" msgstr "" -#: c-api/memory.rst:393 c-api/memory.rst:402 c-api/memory.rst:411 +#: c-api/memory.rst:402 c-api/memory.rst:411 #, fuzzy msgid "Functions:" msgstr "Fonctions" diff --git a/c-api/memoryview.po b/c-api/memoryview.po index ebb75347..1c720ab8 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-30 11:10+0200\n" +"Last-Translator: Andy Kwok \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: Andy Kwok \n" "X-Generator: Poedit 2.0.6\n" #: c-api/memoryview.rst:9 diff --git a/c-api/module.po b/c-api/module.po index 609f609b..bbd7bd54 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -211,7 +211,7 @@ msgid "" "``NULL`` if not needed." msgstr "" -#: c-api/module.rst:201 c-api/module.rst:216 c-api/module.rst:231 +#: c-api/module.rst:216 c-api/module.rst:231 msgid "" "This function is not called if the module state was requested but is not " "allocated yet. This is the case immediately after the module is created and " @@ -221,7 +221,7 @@ msgid "" "``NULL``." msgstr "" -#: c-api/module.rst:208 c-api/module.rst:223 c-api/module.rst:238 +#: c-api/module.rst:223 c-api/module.rst:238 msgid "No longer called before the module state is allocated." msgstr "" @@ -582,7 +582,7 @@ msgid "" "state updates)." msgstr "" -#: c-api/module.rst:530 c-api/module.rst:541 +#: c-api/module.rst:541 msgid "The caller must hold the GIL." msgstr "" diff --git a/c-api/object.po b/c-api/object.po index 6259624c..27d0a8eb 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-08-16 22:56+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -50,7 +50,7 @@ msgstr "" "est fourni, le :func:`str` de l'objet est utilisé pour le rendu à la place " "de :func:`repr`." -#: c-api/object.rst:32 c-api/object.rst:43 +#: c-api/object.rst:43 msgid "" "Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. " "This is equivalent to the Python expression ``hasattr(o, attr_name)``. This " @@ -118,7 +118,7 @@ msgstr "" "attributs d'instance, contrairement aux autres descripteurs. Sinon, une :exc:" "`AttributeError` est levée." -#: c-api/object.rst:79 c-api/object.rst:90 +#: c-api/object.rst:90 msgid "" "Set the value of the attribute named *attr_name*, for object *o*, to the " "value *v*. Raise an exception and return ``-1`` on failure; return ``0`` on " @@ -167,7 +167,7 @@ msgstr "" "attr:`~object.__dict__` de l'objet (si présent). En cas de succès, ``0`` est " "renvoyé, sinon une :exc:`AttributeError` est levée et ``-1`` est renvoyé." -#: c-api/object.rst:113 c-api/object.rst:119 +#: c-api/object.rst:119 msgid "" "Delete attribute named *attr_name*, for object *o*. Returns ``-1`` on " "failure. This is the equivalent of the Python statement ``del o.attr_name``." @@ -250,7 +250,7 @@ msgstr "" "d'échec. Ceci est l'équivalent de l'expression Python ``repr(o)``. Appelé " "par la fonction native :func:`repr`." -#: c-api/object.rst:171 c-api/object.rst:195 +#: c-api/object.rst:195 msgid "" "This function now includes a debug assertion to help ensure that it does not " "silently discard an active exception." @@ -310,7 +310,7 @@ msgstr "" "Renvoie ``1`` si la classe *derived* est identique à ou dérivée de la classe " "*cls*, renvoie ``0`` sinon. En cas d'erreur, renvoie ``-1``." -#: c-api/object.rst:216 c-api/object.rst:235 +#: c-api/object.rst:235 msgid "" "If *cls* is a tuple, the check will be done against every entry in *cls*. " "The result will be ``1`` when at least one of the checks returns ``1``, " diff --git a/c-api/reflection.po b/c-api/reflection.po index 7957b88e..10deec6a 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-02-26 12:01+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -66,7 +66,7 @@ msgstr "" msgid "Return a strong reference, or ``NULL`` if *frame* has no outer frame." msgstr "" -#: c-api/reflection.rst:40 c-api/reflection.rst:60 +#: c-api/reflection.rst:60 msgid "*frame* must not be ``NULL``." msgstr "" diff --git a/c-api/slice.po b/c-api/slice.po index 06498ff3..70a7699b 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -56,7 +56,7 @@ msgstr "" msgid "You probably do not want to use this function." msgstr "" -#: c-api/slice.rst:41 c-api/slice.rst:72 +#: c-api/slice.rst:72 msgid "" "The parameter type for the *slice* parameter was ``PySliceObject*`` before." msgstr "" diff --git a/c-api/structures.po b/c-api/structures.po index cec9a2cf..a41d6e49 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -177,15 +177,15 @@ msgid "" "has four fields:" msgstr "" -#: c-api/structures.rst:208 c-api/structures.rst:364 c-api/structures.rst:445 +#: c-api/structures.rst:364 c-api/structures.rst:445 msgid "Field" msgstr "Champ" -#: c-api/structures.rst:208 c-api/structures.rst:364 c-api/structures.rst:445 +#: c-api/structures.rst:364 c-api/structures.rst:445 msgid "C Type" msgstr "Type C" -#: c-api/structures.rst:208 c-api/structures.rst:364 c-api/structures.rst:445 +#: c-api/structures.rst:364 c-api/structures.rst:445 msgid "Meaning" msgstr "Signification" @@ -193,8 +193,7 @@ msgstr "Signification" msgid ":attr:`ml_name`" msgstr "" -#: c-api/structures.rst:210 c-api/structures.rst:218 c-api/structures.rst:366 -#: c-api/structures.rst:379 c-api/structures.rst:395 c-api/structures.rst:447 +#: c-api/structures.rst:218 c-api/structures.rst:379 c-api/structures.rst:447 #: c-api/structures.rst:455 msgid "const char \\*" msgstr "" @@ -219,8 +218,7 @@ msgstr "" msgid ":attr:`ml_flags`" msgstr "" -#: c-api/structures.rst:215 c-api/structures.rst:368 c-api/structures.rst:375 -#: c-api/structures.rst:391 +#: c-api/structures.rst:368 c-api/structures.rst:391 msgid "int" msgstr "*int*" @@ -232,7 +230,7 @@ msgstr "" msgid ":attr:`ml_doc`" msgstr "" -#: c-api/structures.rst:218 c-api/structures.rst:379 +#: c-api/structures.rst:379 msgid "points to the contents of the docstring" msgstr "" @@ -285,7 +283,7 @@ msgid "" "the array)." msgstr "" -#: c-api/structures.rst:262 c-api/structures.rst:279 +#: c-api/structures.rst:279 msgid "This is not part of the :ref:`limited API `." msgstr "" @@ -404,7 +402,7 @@ msgstr "" msgid ":attr:`offset`" msgstr "" -#: c-api/structures.rst:371 c-api/structures.rst:407 +#: c-api/structures.rst:407 msgid "Py_ssize_t" msgstr "" @@ -484,7 +482,7 @@ msgstr "" msgid "T_OBJECT" msgstr "" -#: c-api/structures.rst:396 c-api/structures.rst:397 +#: c-api/structures.rst:397 msgid "PyObject \\*" msgstr "PyObject \\*" @@ -496,7 +494,7 @@ msgstr "" msgid "T_CHAR" msgstr "" -#: c-api/structures.rst:398 c-api/structures.rst:399 c-api/structures.rst:404 +#: c-api/structures.rst:399 c-api/structures.rst:404 msgid "char" msgstr "char" diff --git a/c-api/sys.po b/c-api/sys.po index 9e8bda5b..8e552516 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -138,31 +138,31 @@ msgid "" "handler instead of decoding them." msgstr "" -#: c-api/sys.rst:127 c-api/sys.rst:173 +#: c-api/sys.rst:173 msgid "Encoding, highest priority to lowest priority:" msgstr "" -#: c-api/sys.rst:129 c-api/sys.rst:175 +#: c-api/sys.rst:175 msgid "``UTF-8`` on macOS, Android, and VxWorks;" msgstr "" -#: c-api/sys.rst:130 c-api/sys.rst:176 +#: c-api/sys.rst:176 msgid "" "``UTF-8`` on Windows if :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero;" msgstr "" -#: c-api/sys.rst:131 c-api/sys.rst:177 +#: c-api/sys.rst:177 msgid "``UTF-8`` if the Python UTF-8 mode is enabled;" msgstr "" -#: c-api/sys.rst:132 c-api/sys.rst:178 +#: 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 "" -#: c-api/sys.rst:136 c-api/sys.rst:182 +#: c-api/sys.rst:182 msgid "the current locale encoding." msgstr "" @@ -197,11 +197,11 @@ msgid "" "`PyUnicode_DecodeLocaleAndSize` functions." msgstr "" -#: c-api/sys.rst:159 c-api/sys.rst:203 +#: c-api/sys.rst:203 msgid "The function now uses the UTF-8 encoding in the UTF-8 mode." msgstr "" -#: c-api/sys.rst:162 c-api/sys.rst:206 +#: c-api/sys.rst:206 msgid "" "The function now uses the UTF-8 encoding on Windows if :c:data:" "`Py_LegacyWindowsFSEncodingFlag` is zero;" diff --git a/c-api/tuple.po b/c-api/tuple.po index 38da8960..13cdee10 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -159,24 +159,23 @@ msgstr "" msgid "Contains the meta information of a struct sequence type to create." msgstr "" -#: c-api/tuple.rst:146 c-api/tuple.rst:169 +#: c-api/tuple.rst:169 msgid "Field" msgstr "Champ" -#: c-api/tuple.rst:146 c-api/tuple.rst:169 +#: c-api/tuple.rst:169 msgid "C Type" msgstr "Type C" -#: c-api/tuple.rst:146 c-api/tuple.rst:169 +#: c-api/tuple.rst:169 msgid "Meaning" msgstr "Signification" -#: c-api/tuple.rst:148 c-api/tuple.rst:171 +#: c-api/tuple.rst:171 msgid "``name``" msgstr "``name``" -#: c-api/tuple.rst:148 c-api/tuple.rst:150 c-api/tuple.rst:171 -#: c-api/tuple.rst:176 +#: c-api/tuple.rst:150 c-api/tuple.rst:176 msgid "``const char *``" msgstr "" @@ -184,7 +183,7 @@ msgstr "" msgid "name of the struct sequence type" msgstr "" -#: c-api/tuple.rst:150 c-api/tuple.rst:176 +#: c-api/tuple.rst:176 msgid "``doc``" msgstr "" @@ -265,7 +264,7 @@ msgid "" "new instances." msgstr "" -#: c-api/tuple.rst:213 c-api/tuple.rst:222 +#: c-api/tuple.rst:222 msgid "This function \"steals\" a reference to *o*." msgstr "" diff --git a/c-api/type.po b/c-api/type.po index 4e7e5004..d6791d08 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-02-15 00:33+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -131,113 +131,125 @@ msgid "" "created using :c:func:`PyType_FromModuleAndSpec`." msgstr "" -#: c-api/type.rst:117 c-api/type.rst:128 +#: c-api/type.rst:135 msgid "" "If no module is associated with the given type, sets :py:class:`TypeError` " "and returns ``NULL``." msgstr "" -#: c-api/type.rst:124 +#: c-api/type.rst:120 +msgid "" +"This function is usually used to get the module in which a method is " +"defined. Note that in such a method, ``PyType_GetModule(Py_TYPE(self))`` may " +"not return the intended result. ``Py_TYPE(self)`` may be a *subclass* of the " +"intended class, and subclasses are not necessarily defined in the same " +"module as their superclass. See :c:type:`PyCMethod` to get the class that " +"defines the method." +msgstr "" + +#: c-api/type.rst:131 msgid "" "Return the state of the module object associated with the given type. This " "is a shortcut for calling :c:func:`PyModule_GetState()` on the result of :c:" "func:`PyType_GetModule`." msgstr "" -#: c-api/type.rst:131 +#: c-api/type.rst:138 msgid "" "If the *type* has an associated module but its state is ``NULL``, returns " "``NULL`` without setting an exception." msgstr "" -#: c-api/type.rst:138 +#: c-api/type.rst:145 msgid "Creating Heap-Allocated Types" msgstr "" -#: c-api/type.rst:140 +#: c-api/type.rst:147 msgid "" "The following functions and structs are used to create :ref:`heap types " "`." msgstr "" -#: c-api/type.rst:145 +#: c-api/type.rst:152 msgid "" "Creates and returns a heap type object from the *spec* (:const:" "`Py_TPFLAGS_HEAPTYPE`)." msgstr "" -#: c-api/type.rst:148 +#: c-api/type.rst:155 msgid "" "If *bases* is a tuple, the created heap type contains all types contained in " "it as base types." msgstr "" -#: c-api/type.rst:151 +#: c-api/type.rst:158 msgid "" "If *bases* is ``NULL``, the *Py_tp_base* slot is used instead. If that also " "is ``NULL``, the new type derives from :class:`object`." msgstr "" -#: c-api/type.rst:154 +#: c-api/type.rst:161 msgid "" -"The *module* must be a module object or ``NULL``. If not ``NULL``, the " -"module is associated with the new type and can later be retreived with :c:" -"func:`PyType_GetModule`." +"The *module* argument can be used to record the module in which the new " +"class is defined. It must be a module object or ``NULL``. If not ``NULL``, " +"the module is associated with the new type and can later be retreived with :" +"c:func:`PyType_GetModule`. The associated module is not inherited by " +"subclasses; it must be specified for each class individually." msgstr "" -#: c-api/type.rst:158 +#: c-api/type.rst:168 msgid "This function calls :c:func:`PyType_Ready` on the new type." msgstr "" -#: c-api/type.rst:164 +#: c-api/type.rst:174 msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``." msgstr "" -#: c-api/type.rst:170 +#: c-api/type.rst:180 msgid "Equivalent to ``PyType_FromSpecWithBases(spec, NULL)``." msgstr "" -#: c-api/type.rst:174 +#: c-api/type.rst:184 msgid "Structure defining a type's behavior." msgstr "" -#: c-api/type.rst:178 +#: c-api/type.rst:188 msgid "Name of the type, used to set :c:member:`PyTypeObject.tp_name`." msgstr "" -#: c-api/type.rst:183 +#: c-api/type.rst:193 msgid "" "Size of the instance in bytes, used to set :c:member:`PyTypeObject." "tp_basicsize` and :c:member:`PyTypeObject.tp_itemsize`." msgstr "" -#: c-api/type.rst:189 +#: c-api/type.rst:199 msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`." msgstr "" -#: c-api/type.rst:191 +#: c-api/type.rst:201 msgid "" "If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:" "`PyType_FromSpecWithBases` sets it automatically." msgstr "" -#: c-api/type.rst:196 +#: c-api/type.rst:206 msgid "" "Array of :c:type:`PyType_Slot` structures. Terminated by the special slot " "value ``{0, NULL}``." msgstr "" -#: c-api/type.rst:201 +#: c-api/type.rst:211 msgid "" "Structure defining optional functionality of a type, containing a slot ID " "and a value pointer." msgstr "" -#: c-api/type.rst:206 +#: c-api/type.rst:216 msgid "A slot ID." msgstr "" -#: c-api/type.rst:208 +#: c-api/type.rst:218 msgid "" "Slot IDs are named like the field names of the structures :c:type:" "`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:" @@ -245,87 +257,97 @@ msgid "" "prefix. For example, use:" msgstr "" -#: c-api/type.rst:214 +#: c-api/type.rst:224 msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`" msgstr "" -#: c-api/type.rst:215 +#: c-api/type.rst:225 msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`" msgstr "" -#: c-api/type.rst:216 +#: c-api/type.rst:226 msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`" msgstr "" -#: c-api/type.rst:218 +#: c-api/type.rst:228 msgid "" -"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:" -"`PyType_Slot`:" +"The following fields cannot be set at all using :c:type:`PyType_Spec` and :c:" +"type:`PyType_Slot`:" msgstr "" -#: c-api/type.rst:220 +#: c-api/type.rst:231 msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr "" -#: c-api/type.rst:221 +#: c-api/type.rst:232 msgid ":c:member:`~PyTypeObject.tp_mro`" msgstr "" -#: c-api/type.rst:222 +#: c-api/type.rst:233 msgid ":c:member:`~PyTypeObject.tp_cache`" msgstr "" -#: c-api/type.rst:223 +#: c-api/type.rst:234 msgid ":c:member:`~PyTypeObject.tp_subclasses`" msgstr "" -#: c-api/type.rst:224 +#: c-api/type.rst:235 msgid ":c:member:`~PyTypeObject.tp_weaklist`" msgstr "" -#: c-api/type.rst:225 +#: c-api/type.rst:236 msgid ":c:member:`~PyTypeObject.tp_vectorcall`" msgstr "" -#: c-api/type.rst:226 +#: c-api/type.rst:237 msgid "" ":c:member:`~PyTypeObject.tp_weaklistoffset` (see :ref:`PyMemberDef " "`)" msgstr "" -#: c-api/type.rst:228 +#: c-api/type.rst:239 msgid "" ":c:member:`~PyTypeObject.tp_dictoffset` (see :ref:`PyMemberDef `)" msgstr "" -#: c-api/type.rst:230 +#: c-api/type.rst:241 msgid "" ":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef " "`)" msgstr "" -#: c-api/type.rst:232 +#: c-api/type.rst:244 +msgid "" +"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:" +"`PyType_Slot` under the limited API:" +msgstr "" + +#: c-api/type.rst:247 msgid ":c:member:`~PyBufferProcs.bf_getbuffer`" msgstr "" -#: c-api/type.rst:233 +#: c-api/type.rst:248 msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`" msgstr "" -#: c-api/type.rst:235 +#: c-api/type.rst:250 msgid "" "Setting :c:data:`Py_tp_bases` may be problematic on some platforms. To avoid " "issues, use the *bases* argument of :py:func:`PyType_FromSpecWithBases` " "instead." msgstr "" -#: c-api/type.rst:241 +#: c-api/type.rst:256 +msgid "Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API." +msgstr "" + +#: c-api/type.rst:260 msgid "" "The desired value of the slot. In most cases, this is a pointer to a " "function." msgstr "" -#: c-api/type.rst:244 +#: c-api/type.rst:263 msgid "May not be ``NULL``." msgstr "" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 934218af..170b5188 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\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 "PyTypeObject Slot [#slots]_" msgstr "" -#: c-api/typeobj.rst:40 c-api/typeobj.rst:193 +#: c-api/typeobj.rst:193 msgid ":ref:`Type `" msgstr "" @@ -90,7 +90,7 @@ msgstr "" msgid " :c:member:`~PyTypeObject.tp_name`" msgstr "" -#: c-api/typeobj.rst:44 c-api/typeobj.rst:86 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:86 c-api/typeobj.rst:0 msgid "const char *" msgstr "" @@ -98,17 +98,12 @@ msgstr "" msgid "__name__" msgstr "__name__" -#: c-api/typeobj.rst:44 c-api/typeobj.rst:46 c-api/typeobj.rst:48 -#: c-api/typeobj.rst:50 c-api/typeobj.rst:52 c-api/typeobj.rst:62 -#: c-api/typeobj.rst:70 c-api/typeobj.rst:72 c-api/typeobj.rst:74 -#: c-api/typeobj.rst:76 c-api/typeobj.rst:79 c-api/typeobj.rst:84 -#: c-api/typeobj.rst:86 c-api/typeobj.rst:88 c-api/typeobj.rst:90 -#: c-api/typeobj.rst:92 c-api/typeobj.rst:99 c-api/typeobj.rst:101 -#: c-api/typeobj.rst:103 c-api/typeobj.rst:105 c-api/typeobj.rst:107 -#: c-api/typeobj.rst:109 c-api/typeobj.rst:111 c-api/typeobj.rst:115 -#: c-api/typeobj.rst:117 c-api/typeobj.rst:120 c-api/typeobj.rst:122 -#: c-api/typeobj.rst:124 c-api/typeobj.rst:126 c-api/typeobj.rst:128 -#: c-api/typeobj.rst:130 c-api/typeobj.rst:146 +#: c-api/typeobj.rst:46 c-api/typeobj.rst:50 c-api/typeobj.rst:62 +#: c-api/typeobj.rst:72 c-api/typeobj.rst:76 c-api/typeobj.rst:84 +#: c-api/typeobj.rst:88 c-api/typeobj.rst:92 c-api/typeobj.rst:101 +#: c-api/typeobj.rst:105 c-api/typeobj.rst:109 c-api/typeobj.rst:115 +#: c-api/typeobj.rst:120 c-api/typeobj.rst:124 c-api/typeobj.rst:128 +#: c-api/typeobj.rst:146 msgid "X" msgstr "" @@ -116,8 +111,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_basicsize`" msgstr "" -#: c-api/typeobj.rst:46 c-api/typeobj.rst:48 c-api/typeobj.rst:52 -#: c-api/typeobj.rst:99 c-api/typeobj.rst:120 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:48 c-api/typeobj.rst:99 c-api/typeobj.rst:0 #: c-api/typeobj.rst:406 msgid "Py_ssize_t" msgstr "" @@ -130,8 +124,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_dealloc`" msgstr "" -#: c-api/typeobj.rst:50 c-api/typeobj.rst:142 c-api/typeobj.rst:146 -#: c-api/typeobj.rst:336 +#: c-api/typeobj.rst:142 c-api/typeobj.rst:336 msgid ":c:type:`destructor`" msgstr "" @@ -143,17 +136,16 @@ msgstr "" msgid "(:c:member:`~PyTypeObject.tp_getattr`)" msgstr "" -#: c-api/typeobj.rst:54 c-api/typeobj.rst:360 +#: c-api/typeobj.rst:360 msgid ":c:type:`getattrfunc`" msgstr "" -#: c-api/typeobj.rst:54 c-api/typeobj.rst:76 +#: c-api/typeobj.rst:76 msgid "__getattribute__, __getattr__" msgstr "" -#: c-api/typeobj.rst:54 c-api/typeobj.rst:57 c-api/typeobj.rst:70 -#: c-api/typeobj.rst:76 c-api/typeobj.rst:79 c-api/typeobj.rst:88 -#: c-api/typeobj.rst:90 c-api/typeobj.rst:92 +#: c-api/typeobj.rst:57 c-api/typeobj.rst:76 c-api/typeobj.rst:88 +#: c-api/typeobj.rst:92 msgid "G" msgstr "" @@ -161,11 +153,11 @@ msgstr "" msgid "(:c:member:`~PyTypeObject.tp_setattr`)" msgstr "" -#: c-api/typeobj.rst:57 c-api/typeobj.rst:365 +#: c-api/typeobj.rst:365 msgid ":c:type:`setattrfunc`" msgstr "" -#: c-api/typeobj.rst:57 c-api/typeobj.rst:79 +#: c-api/typeobj.rst:79 msgid "__setattr__, __delattr__" msgstr "" @@ -177,13 +169,11 @@ msgstr "" msgid ":c:type:`PyAsyncMethods` *" msgstr "" -#: c-api/typeobj.rst:60 c-api/typeobj.rst:64 c-api/typeobj.rst:66 -#: c-api/typeobj.rst:68 +#: c-api/typeobj.rst:64 c-api/typeobj.rst:68 msgid ":ref:`sub-slots`" msgstr "" -#: c-api/typeobj.rst:60 c-api/typeobj.rst:64 c-api/typeobj.rst:66 -#: c-api/typeobj.rst:68 c-api/typeobj.rst:82 +#: c-api/typeobj.rst:64 c-api/typeobj.rst:68 c-api/typeobj.rst:82 msgid "%" msgstr "%" @@ -191,7 +181,7 @@ msgstr "%" msgid ":c:member:`~PyTypeObject.tp_repr`" msgstr "" -#: c-api/typeobj.rst:62 c-api/typeobj.rst:74 c-api/typeobj.rst:358 +#: c-api/typeobj.rst:74 c-api/typeobj.rst:358 msgid ":c:type:`reprfunc`" msgstr "" @@ -227,7 +217,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_hash`" msgstr "" -#: c-api/typeobj.rst:70 c-api/typeobj.rst:394 +#: c-api/typeobj.rst:394 msgid ":c:type:`hashfunc`" msgstr "" @@ -239,8 +229,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_call`" msgstr "" -#: c-api/typeobj.rst:72 c-api/typeobj.rst:227 c-api/typeobj.rst:230 -#: c-api/typeobj.rst:430 +#: c-api/typeobj.rst:227 c-api/typeobj.rst:430 msgid ":c:type:`ternaryfunc`" msgstr "" @@ -260,7 +249,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_getattro`" msgstr "" -#: c-api/typeobj.rst:76 c-api/typeobj.rst:371 +#: c-api/typeobj.rst:371 msgid ":c:type:`getattrofunc`" msgstr "" @@ -268,7 +257,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_setattro`" msgstr "" -#: c-api/typeobj.rst:79 c-api/typeobj.rst:376 +#: c-api/typeobj.rst:376 msgid ":c:type:`setattrofunc`" msgstr "" @@ -288,8 +277,7 @@ msgstr "" msgid "unsigned long" msgstr "``unsigned long``" -#: c-api/typeobj.rst:84 c-api/typeobj.rst:99 c-api/typeobj.rst:113 -#: c-api/typeobj.rst:120 c-api/typeobj.rst:124 c-api/typeobj.rst:126 +#: c-api/typeobj.rst:99 c-api/typeobj.rst:120 c-api/typeobj.rst:126 #: c-api/typeobj.rst:128 msgid "?" msgstr "" @@ -306,7 +294,7 @@ msgstr "__doc__" msgid ":c:member:`~PyTypeObject.tp_traverse`" msgstr "" -#: c-api/typeobj.rst:88 c-api/typeobj.rst:340 +#: c-api/typeobj.rst:340 msgid ":c:type:`traverseproc`" msgstr "" @@ -314,8 +302,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_clear`" msgstr "" -#: c-api/typeobj.rst:90 c-api/typeobj.rst:130 c-api/typeobj.rst:238 -#: c-api/typeobj.rst:419 +#: c-api/typeobj.rst:130 c-api/typeobj.rst:419 msgid ":c:type:`inquiry`" msgstr "" @@ -323,7 +310,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_richcompare`" msgstr "" -#: c-api/typeobj.rst:92 c-api/typeobj.rst:396 +#: c-api/typeobj.rst:396 msgid ":c:type:`richcmpfunc`" msgstr "" @@ -339,7 +326,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_iter`" msgstr "" -#: c-api/typeobj.rst:101 c-api/typeobj.rst:402 +#: c-api/typeobj.rst:402 msgid ":c:type:`getiterfunc`" msgstr "" @@ -351,7 +338,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_iternext`" msgstr "" -#: c-api/typeobj.rst:103 c-api/typeobj.rst:404 +#: c-api/typeobj.rst:404 msgid ":c:type:`iternextfunc`" msgstr "" @@ -387,7 +374,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_base`" msgstr "" -#: c-api/typeobj.rst:111 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:0 msgid ":c:type:`PyTypeObject` *" msgstr "" @@ -399,14 +386,10 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr "" -#: c-api/typeobj.rst:113 c-api/typeobj.rst:132 c-api/typeobj.rst:134 -#: c-api/typeobj.rst:136 c-api/typeobj.rst:138 c-api/typeobj.rst:140 -#: c-api/typeobj.rst:331 c-api/typeobj.rst:0 c-api/typeobj.rst:346 -#: c-api/typeobj.rst:358 c-api/typeobj.rst:360 c-api/typeobj.rst:371 -#: c-api/typeobj.rst:382 c-api/typeobj.rst:394 c-api/typeobj.rst:396 -#: c-api/typeobj.rst:402 c-api/typeobj.rst:404 c-api/typeobj.rst:406 -#: c-api/typeobj.rst:421 c-api/typeobj.rst:425 c-api/typeobj.rst:430 -#: c-api/typeobj.rst:436 +#: c-api/typeobj.rst:132 c-api/typeobj.rst:136 c-api/typeobj.rst:140 +#: c-api/typeobj.rst:0 c-api/typeobj.rst:358 c-api/typeobj.rst:371 +#: c-api/typeobj.rst:394 c-api/typeobj.rst:402 c-api/typeobj.rst:406 +#: c-api/typeobj.rst:425 c-api/typeobj.rst:436 msgid ":c:type:`PyObject` *" msgstr "" @@ -418,7 +401,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_descr_get`" msgstr "" -#: c-api/typeobj.rst:115 c-api/typeobj.rst:382 +#: c-api/typeobj.rst:382 msgid ":c:type:`descrgetfunc`" msgstr "" @@ -430,7 +413,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_descr_set`" msgstr "" -#: c-api/typeobj.rst:117 c-api/typeobj.rst:388 +#: c-api/typeobj.rst:388 msgid ":c:type:`descrsetfunc`" msgstr "" @@ -446,7 +429,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_init`" msgstr "" -#: c-api/typeobj.rst:122 c-api/typeobj.rst:352 +#: c-api/typeobj.rst:352 msgid ":c:type:`initproc`" msgstr "" @@ -458,7 +441,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_alloc`" msgstr "" -#: c-api/typeobj.rst:124 c-api/typeobj.rst:331 +#: c-api/typeobj.rst:331 msgid ":c:type:`allocfunc`" msgstr "" @@ -466,7 +449,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_new`" msgstr "" -#: c-api/typeobj.rst:126 c-api/typeobj.rst:346 +#: c-api/typeobj.rst:346 msgid ":c:type:`newfunc`" msgstr "" @@ -478,7 +461,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_free`" msgstr "" -#: c-api/typeobj.rst:128 c-api/typeobj.rst:338 +#: c-api/typeobj.rst:338 msgid ":c:type:`freefunc`" msgstr "" @@ -494,7 +477,7 @@ msgstr "" msgid "__bases__" msgstr "" -#: c-api/typeobj.rst:132 c-api/typeobj.rst:134 +#: c-api/typeobj.rst:134 msgid "~" msgstr "" @@ -601,10 +584,8 @@ msgstr "méthode spéciale" msgid ":c:member:`~PyAsyncMethods.am_await`" msgstr "" -#: c-api/typeobj.rst:196 c-api/typeobj.rst:198 c-api/typeobj.rst:200 -#: c-api/typeobj.rst:232 c-api/typeobj.rst:234 c-api/typeobj.rst:236 -#: c-api/typeobj.rst:240 c-api/typeobj.rst:267 c-api/typeobj.rst:271 -#: c-api/typeobj.rst:281 c-api/typeobj.rst:421 +#: c-api/typeobj.rst:198 c-api/typeobj.rst:232 c-api/typeobj.rst:236 +#: c-api/typeobj.rst:267 c-api/typeobj.rst:281 c-api/typeobj.rst:421 msgid ":c:type:`unaryfunc`" msgstr "" @@ -632,16 +613,11 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_add`" msgstr "" -#: c-api/typeobj.rst:204 c-api/typeobj.rst:207 c-api/typeobj.rst:209 -#: c-api/typeobj.rst:212 c-api/typeobj.rst:214 c-api/typeobj.rst:217 -#: c-api/typeobj.rst:219 c-api/typeobj.rst:222 c-api/typeobj.rst:224 -#: c-api/typeobj.rst:242 c-api/typeobj.rst:245 c-api/typeobj.rst:247 -#: c-api/typeobj.rst:250 c-api/typeobj.rst:252 c-api/typeobj.rst:255 -#: c-api/typeobj.rst:257 c-api/typeobj.rst:260 c-api/typeobj.rst:262 -#: c-api/typeobj.rst:265 c-api/typeobj.rst:273 c-api/typeobj.rst:275 -#: c-api/typeobj.rst:277 c-api/typeobj.rst:279 c-api/typeobj.rst:283 -#: c-api/typeobj.rst:286 c-api/typeobj.rst:292 c-api/typeobj.rst:301 -#: c-api/typeobj.rst:312 c-api/typeobj.rst:425 +#: c-api/typeobj.rst:207 c-api/typeobj.rst:212 c-api/typeobj.rst:217 +#: c-api/typeobj.rst:222 c-api/typeobj.rst:242 c-api/typeobj.rst:247 +#: c-api/typeobj.rst:252 c-api/typeobj.rst:257 c-api/typeobj.rst:262 +#: c-api/typeobj.rst:273 c-api/typeobj.rst:277 c-api/typeobj.rst:283 +#: c-api/typeobj.rst:292 c-api/typeobj.rst:312 c-api/typeobj.rst:425 msgid ":c:type:`binaryfunc`" msgstr "" @@ -653,7 +629,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_inplace_add`" msgstr "" -#: c-api/typeobj.rst:207 c-api/typeobj.rst:312 +#: c-api/typeobj.rst:312 msgid "__iadd__" msgstr "" @@ -685,7 +661,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_inplace_multiply`" msgstr "" -#: c-api/typeobj.rst:217 c-api/typeobj.rst:303 +#: c-api/typeobj.rst:303 msgid "__mul__" msgstr "" @@ -861,8 +837,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_reserved`" msgstr "" -#: c-api/typeobj.rst:269 c-api/typeobj.rst:336 c-api/typeobj.rst:338 -#: c-api/typeobj.rst:0 c-api/typeobj.rst:419 +#: c-api/typeobj.rst:336 c-api/typeobj.rst:0 c-api/typeobj.rst:419 msgid "void *" msgstr "" @@ -878,7 +853,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_floor_divide`" msgstr "" -#: c-api/typeobj.rst:273 c-api/typeobj.rst:275 +#: c-api/typeobj.rst:275 msgid "__floordiv__" msgstr "" @@ -890,7 +865,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_true_divide`" msgstr "" -#: c-api/typeobj.rst:277 c-api/typeobj.rst:279 +#: c-api/typeobj.rst:279 msgid "__truediv__" msgstr "" @@ -926,11 +901,11 @@ msgstr "" msgid ":c:member:`~PyMappingMethods.mp_length`" msgstr "" -#: c-api/typeobj.rst:290 c-api/typeobj.rst:299 c-api/typeobj.rst:406 +#: c-api/typeobj.rst:299 c-api/typeobj.rst:406 msgid ":c:type:`lenfunc`" msgstr "" -#: c-api/typeobj.rst:290 c-api/typeobj.rst:299 +#: c-api/typeobj.rst:299 msgid "__len__" msgstr "" @@ -938,7 +913,7 @@ msgstr "" msgid ":c:member:`~PyMappingMethods.mp_subscript`" msgstr "" -#: c-api/typeobj.rst:292 c-api/typeobj.rst:305 +#: c-api/typeobj.rst:305 msgid "__getitem__" msgstr "" @@ -946,7 +921,7 @@ msgstr "" msgid ":c:member:`~PyMappingMethods.mp_ass_subscript`" msgstr "" -#: c-api/typeobj.rst:294 c-api/typeobj.rst:451 +#: c-api/typeobj.rst:451 msgid ":c:type:`objobjargproc`" msgstr "" @@ -970,8 +945,7 @@ msgstr "" msgid ":c:member:`~PySequenceMethods.sq_repeat`" msgstr "" -#: c-api/typeobj.rst:303 c-api/typeobj.rst:305 c-api/typeobj.rst:314 -#: c-api/typeobj.rst:436 +#: c-api/typeobj.rst:305 c-api/typeobj.rst:436 msgid ":c:type:`ssizeargfunc`" msgstr "" @@ -983,7 +957,7 @@ msgstr "" msgid ":c:member:`~PySequenceMethods.sq_ass_item`" msgstr "" -#: c-api/typeobj.rst:307 c-api/typeobj.rst:441 +#: c-api/typeobj.rst:441 msgid ":c:type:`ssizeobjargproc`" msgstr "" @@ -995,7 +969,7 @@ msgstr "" msgid ":c:member:`~PySequenceMethods.sq_contains`" msgstr "" -#: c-api/typeobj.rst:310 c-api/typeobj.rst:446 +#: c-api/typeobj.rst:446 msgid ":c:type:`objobjproc`" msgstr "" @@ -1047,7 +1021,7 @@ msgstr "" msgid "Return Type" msgstr "" -#: c-api/typeobj.rst:336 c-api/typeobj.rst:338 c-api/typeobj.rst:414 +#: c-api/typeobj.rst:338 c-api/typeobj.rst:414 msgid "void" msgstr "" @@ -1055,10 +1029,8 @@ msgstr "" msgid ":c:type:`visitproc`" msgstr "" -#: c-api/typeobj.rst:340 c-api/typeobj.rst:352 c-api/typeobj.rst:365 -#: c-api/typeobj.rst:376 c-api/typeobj.rst:388 c-api/typeobj.rst:0 -#: c-api/typeobj.rst:408 c-api/typeobj.rst:419 c-api/typeobj.rst:441 -#: c-api/typeobj.rst:446 c-api/typeobj.rst:451 +#: c-api/typeobj.rst:352 c-api/typeobj.rst:376 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:419 c-api/typeobj.rst:446 c-api/typeobj.rst:451 msgid "int" msgstr "*int*" @@ -1120,26 +1092,16 @@ msgid "" "end of a run when the environment variable :envvar:`PYTHONDUMPREFS` is set." msgstr "" -#: c-api/typeobj.rst:495 c-api/typeobj.rst:508 c-api/typeobj.rst:531 -#: c-api/typeobj.rst:544 c-api/typeobj.rst:586 c-api/typeobj.rst:629 -#: c-api/typeobj.rst:675 c-api/typeobj.rst:719 c-api/typeobj.rst:738 -#: c-api/typeobj.rst:755 c-api/typeobj.rst:773 c-api/typeobj.rst:797 -#: c-api/typeobj.rst:814 c-api/typeobj.rst:826 c-api/typeobj.rst:838 -#: c-api/typeobj.rst:871 c-api/typeobj.rst:889 c-api/typeobj.rst:909 -#: c-api/typeobj.rst:930 c-api/typeobj.rst:956 c-api/typeobj.rst:975 -#: c-api/typeobj.rst:991 c-api/typeobj.rst:1028 c-api/typeobj.rst:1039 -#: c-api/typeobj.rst:1049 c-api/typeobj.rst:1059 c-api/typeobj.rst:1073 -#: c-api/typeobj.rst:1092 c-api/typeobj.rst:1115 c-api/typeobj.rst:1162 -#: c-api/typeobj.rst:1177 c-api/typeobj.rst:1245 c-api/typeobj.rst:1306 -#: c-api/typeobj.rst:1365 c-api/typeobj.rst:1395 c-api/typeobj.rst:1427 -#: c-api/typeobj.rst:1450 c-api/typeobj.rst:1463 c-api/typeobj.rst:1478 -#: c-api/typeobj.rst:1492 c-api/typeobj.rst:1522 c-api/typeobj.rst:1542 -#: c-api/typeobj.rst:1568 c-api/typeobj.rst:1586 c-api/typeobj.rst:1626 -#: c-api/typeobj.rst:1677 c-api/typeobj.rst:1694 c-api/typeobj.rst:1732 -#: c-api/typeobj.rst:1753 c-api/typeobj.rst:1785 c-api/typeobj.rst:1802 -#: c-api/typeobj.rst:1813 c-api/typeobj.rst:1823 c-api/typeobj.rst:1832 -#: c-api/typeobj.rst:1842 c-api/typeobj.rst:1856 c-api/typeobj.rst:1894 -#: c-api/typeobj.rst:1911 +#: c-api/typeobj.rst:508 c-api/typeobj.rst:544 c-api/typeobj.rst:629 +#: c-api/typeobj.rst:719 c-api/typeobj.rst:755 c-api/typeobj.rst:797 +#: c-api/typeobj.rst:826 c-api/typeobj.rst:871 c-api/typeobj.rst:909 +#: c-api/typeobj.rst:956 c-api/typeobj.rst:991 c-api/typeobj.rst:1039 +#: c-api/typeobj.rst:1059 c-api/typeobj.rst:1092 c-api/typeobj.rst:1162 +#: c-api/typeobj.rst:1245 c-api/typeobj.rst:1365 c-api/typeobj.rst:1427 +#: c-api/typeobj.rst:1463 c-api/typeobj.rst:1492 c-api/typeobj.rst:1542 +#: c-api/typeobj.rst:1586 c-api/typeobj.rst:1677 c-api/typeobj.rst:1732 +#: c-api/typeobj.rst:1785 c-api/typeobj.rst:1813 c-api/typeobj.rst:1832 +#: c-api/typeobj.rst:1856 c-api/typeobj.rst:1911 msgid "**Inheritance:**" msgstr "" @@ -1156,7 +1118,7 @@ msgid "" "objects, the instances *do* count as references." msgstr "" -#: c-api/typeobj.rst:510 c-api/typeobj.rst:546 c-api/typeobj.rst:588 +#: c-api/typeobj.rst:546 c-api/typeobj.rst:588 msgid "This field is not inherited by subtypes." msgstr "" @@ -1180,10 +1142,8 @@ msgid "" "will not change this field if it is non-zero." msgstr "" -#: c-api/typeobj.rst:533 c-api/typeobj.rst:677 c-api/typeobj.rst:799 -#: c-api/typeobj.rst:891 c-api/typeobj.rst:911 c-api/typeobj.rst:1429 -#: c-api/typeobj.rst:1452 c-api/typeobj.rst:1570 c-api/typeobj.rst:1588 -#: c-api/typeobj.rst:1679 c-api/typeobj.rst:1787 c-api/typeobj.rst:1896 +#: c-api/typeobj.rst:677 c-api/typeobj.rst:891 c-api/typeobj.rst:1429 +#: c-api/typeobj.rst:1570 c-api/typeobj.rst:1679 c-api/typeobj.rst:1896 msgid "This field is inherited by subtypes." msgstr "" @@ -1424,7 +1384,7 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:740 c-api/typeobj.rst:932 +#: c-api/typeobj.rst:932 msgid "Group: :attr:`tp_getattr`, :attr:`tp_getattro`" msgstr "" @@ -1437,7 +1397,7 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:749 c-api/typeobj.rst:945 +#: c-api/typeobj.rst:945 msgid "" "An optional pointer to the function for setting and deleting attributes." msgstr "" @@ -1450,7 +1410,7 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:757 c-api/typeobj.rst:958 +#: c-api/typeobj.rst:958 msgid "Group: :attr:`tp_setattr`, :attr:`tp_setattro`" msgstr "" @@ -1499,11 +1459,9 @@ msgid "" "``'>'`` from which both the type and the value of the object can be deduced." msgstr "" -#: c-api/typeobj.rst:801 c-api/typeobj.rst:913 c-api/typeobj.rst:938 -#: c-api/typeobj.rst:964 c-api/typeobj.rst:1006 c-api/typeobj.rst:1374 -#: c-api/typeobj.rst:1526 c-api/typeobj.rst:1547 c-api/typeobj.rst:1645 -#: c-api/typeobj.rst:1681 c-api/typeobj.rst:1699 c-api/typeobj.rst:1737 -#: c-api/typeobj.rst:1758 c-api/typeobj.rst:1789 +#: c-api/typeobj.rst:913 c-api/typeobj.rst:964 c-api/typeobj.rst:1374 +#: c-api/typeobj.rst:1547 c-api/typeobj.rst:1681 c-api/typeobj.rst:1737 +#: c-api/typeobj.rst:1789 msgid "**Default:**" msgstr "" @@ -1588,7 +1546,7 @@ msgid "" "`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:873 c-api/typeobj.rst:1367 +#: c-api/typeobj.rst:1367 msgid "Group: :attr:`tp_hash`, :attr:`tp_richcompare`" msgstr "" @@ -1758,8 +1716,7 @@ msgid "" "gets INCREF'ed or DECREF'ed)." msgstr "" -#: c-api/typeobj.rst:1030 c-api/typeobj.rst:1041 c-api/typeobj.rst:1051 -#: c-api/typeobj.rst:1061 c-api/typeobj.rst:1094 +#: c-api/typeobj.rst:1041 c-api/typeobj.rst:1061 c-api/typeobj.rst:1094 msgid "???" msgstr "" @@ -1792,7 +1749,7 @@ msgid "" "tp_clear` are present in the type object." msgstr "" -#: c-api/typeobj.rst:1075 c-api/typeobj.rst:1247 c-api/typeobj.rst:1308 +#: c-api/typeobj.rst:1247 c-api/typeobj.rst:1308 msgid "" "Group: :const:`Py_TPFLAGS_HAVE_GC`, :attr:`tp_traverse`, :attr:`tp_clear`" msgstr "" @@ -1901,7 +1858,7 @@ msgid "" "signature is::" msgstr "" -#: c-api/typeobj.rst:1189 c-api/typeobj.rst:1303 +#: c-api/typeobj.rst:1303 msgid "" "More information about Python's garbage collection scheme can be found in " "section :ref:`supporting-cycle-detection`." @@ -2374,8 +2331,7 @@ msgstr "" msgid "An optional pointer to a \"descriptor get\" function." msgstr "" -#: c-api/typeobj.rst:1562 c-api/typeobj.rst:1578 c-api/typeobj.rst:1660 -#: c-api/typeobj.rst:1690 c-api/typeobj.rst:1714 +#: c-api/typeobj.rst:1578 c-api/typeobj.rst:1690 c-api/typeobj.rst:1714 msgid "The function signature is::" msgstr "" @@ -2642,8 +2598,7 @@ msgid "" "for statically defined types." msgstr "" -#: c-api/typeobj.rst:1804 c-api/typeobj.rst:1825 c-api/typeobj.rst:1834 -#: c-api/typeobj.rst:1844 c-api/typeobj.rst:1858 +#: c-api/typeobj.rst:1825 c-api/typeobj.rst:1844 c-api/typeobj.rst:1858 msgid "This field is not inherited." msgstr "" @@ -2809,7 +2764,7 @@ msgid "" "similar name documented in the :ref:`number` section." msgstr "" -#: c-api/typeobj.rst:1976 c-api/typeobj.rst:2300 +#: c-api/typeobj.rst:2300 msgid "Here is the structure definition::" msgstr "" @@ -2960,8 +2915,7 @@ msgid "" "expose its internal data to consumer objects." msgstr "" -#: c-api/typeobj.rst:2208 c-api/typeobj.rst:2257 c-api/typeobj.rst:2310 -#: c-api/typeobj.rst:2321 c-api/typeobj.rst:2332 +#: c-api/typeobj.rst:2257 c-api/typeobj.rst:2321 c-api/typeobj.rst:2332 msgid "The signature of this function is::" msgstr "" @@ -3158,11 +3112,11 @@ msgstr "" msgid "See :c:member:`~PyTypeObject.tp_repr`." msgstr "" -#: c-api/typeobj.rst:2380 c-api/typeobj.rst:2389 +#: c-api/typeobj.rst:2389 msgid "Return the value of the named attribute for the object." msgstr "" -#: c-api/typeobj.rst:2384 c-api/typeobj.rst:2395 +#: c-api/typeobj.rst:2395 msgid "" "Set the value of the named attribute for the object. The value argument is " "set to ``NULL`` to delete the attribute." diff --git a/c-api/unicode.po b/c-api/unicode.po index 30e354d8..597da115 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-04 12:27+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -218,7 +218,7 @@ msgid "" "Unicode object (not checked)." msgstr "" -#: c-api/unicode.rst:219 c-api/unicode.rst:229 c-api/unicode.rst:769 +#: c-api/unicode.rst:229 c-api/unicode.rst:769 msgid "" "Part of the old-style Unicode API, please migrate to using :c:func:" "`PyUnicode_GET_LENGTH`." @@ -344,7 +344,7 @@ msgstr "" msgid "Return the character *ch* converted to lower case." msgstr "" -#: c-api/unicode.rst:340 c-api/unicode.rst:348 c-api/unicode.rst:356 +#: c-api/unicode.rst:348 c-api/unicode.rst:356 msgid "This function uses simple case mappings." msgstr "" @@ -486,8 +486,7 @@ msgstr "" msgid ":attr:`%c`" msgstr "" -#: c-api/unicode.rst:467 c-api/unicode.rst:470 c-api/unicode.rst:503 -#: c-api/unicode.rst:506 +#: c-api/unicode.rst:470 c-api/unicode.rst:506 msgid "int" msgstr "*int*" @@ -519,7 +518,7 @@ msgstr "" msgid ":attr:`%ld`" msgstr "" -#: c-api/unicode.rst:476 c-api/unicode.rst:479 +#: c-api/unicode.rst:479 msgid "long" msgstr "" @@ -551,7 +550,7 @@ msgstr "" msgid ":attr:`%lld`" msgstr "" -#: c-api/unicode.rst:485 c-api/unicode.rst:488 +#: c-api/unicode.rst:488 msgid "long long" msgstr "" @@ -583,7 +582,7 @@ msgstr "" msgid ":attr:`%zd`" msgstr "" -#: c-api/unicode.rst:494 c-api/unicode.rst:497 +#: c-api/unicode.rst:497 msgid "Py_ssize_t" msgstr "" @@ -658,8 +657,7 @@ msgstr "" msgid ":attr:`%A`" msgstr "" -#: c-api/unicode.rst:520 c-api/unicode.rst:523 c-api/unicode.rst:532 -#: c-api/unicode.rst:535 +#: c-api/unicode.rst:523 c-api/unicode.rst:535 msgid "PyObject\\*" msgstr "PyObject\\*" @@ -897,7 +895,7 @@ msgid "" "functions." msgstr "" -#: c-api/unicode.rst:721 c-api/unicode.rst:745 +#: c-api/unicode.rst:745 msgid "" "Part of the old-style Unicode API, please migrate to using :c:func:" "`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsWideChar`, :c:func:" @@ -979,11 +977,11 @@ msgid "" "startup)." msgstr "" -#: c-api/unicode.rst:802 c-api/unicode.rst:838 +#: c-api/unicode.rst:838 msgid "This function ignores the Python UTF-8 mode." msgstr "" -#: c-api/unicode.rst:806 c-api/unicode.rst:910 +#: c-api/unicode.rst:910 msgid "The :c:func:`Py_DecodeLocale` function." msgstr "" @@ -1016,7 +1014,7 @@ msgid "" "`Py_FileSystemDefaultEncoding` (the locale encoding read at Python startup)." msgstr "" -#: c-api/unicode.rst:842 c-api/unicode.rst:946 +#: c-api/unicode.rst:946 msgid "The :c:func:`Py_EncodeLocale` function." msgstr "" @@ -1051,7 +1049,7 @@ msgid "" "is no longer used." msgstr "" -#: c-api/unicode.rst:874 c-api/unicode.rst:891 +#: c-api/unicode.rst:891 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -1077,7 +1075,7 @@ msgid "" "`Py_FileSystemDefaultEncodeErrors` error handler." msgstr "" -#: c-api/unicode.rst:900 c-api/unicode.rst:921 c-api/unicode.rst:937 +#: c-api/unicode.rst:921 c-api/unicode.rst:937 msgid "" "If :c:data:`Py_FileSystemDefaultEncoding` is not set, fall back to the " "locale encoding." @@ -1091,7 +1089,7 @@ msgid "" "`PyUnicode_DecodeLocaleAndSize`." msgstr "" -#: c-api/unicode.rst:912 c-api/unicode.rst:926 c-api/unicode.rst:950 +#: c-api/unicode.rst:926 c-api/unicode.rst:950 msgid "Use :c:data:`Py_FileSystemDefaultEncodeErrors` error handler." msgstr "" @@ -1250,7 +1248,7 @@ msgid "" "``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1066 c-api/unicode.rst:1323 +#: c-api/unicode.rst:1323 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsEncodedString`." @@ -1307,7 +1305,7 @@ msgid "" "is not responsible for deallocating the buffer." msgstr "" -#: c-api/unicode.rst:1114 c-api/unicode.rst:1124 +#: c-api/unicode.rst:1124 msgid "The return type is now ``const char *`` rather of ``char *``." msgstr "" @@ -1344,7 +1342,7 @@ msgid "" "handling. It defaults to \"strict\"." msgstr "" -#: c-api/unicode.rst:1153 c-api/unicode.rst:1226 +#: c-api/unicode.rst:1226 msgid "" "If *byteorder* is non-``NULL``, the decoder starts decoding using the given " "byte order::" @@ -1358,18 +1356,17 @@ msgid "" "``-1`` or ``1``, any byte order mark is copied to the output." msgstr "" -#: c-api/unicode.rst:1165 c-api/unicode.rst:1239 +#: c-api/unicode.rst:1239 msgid "" "After completion, *\\*byteorder* is set to the current byte order at the end " "of input data." msgstr "" -#: c-api/unicode.rst:1168 c-api/unicode.rst:1242 +#: c-api/unicode.rst:1242 msgid "If *byteorder* is ``NULL``, the codec starts in native order mode." msgstr "" -#: c-api/unicode.rst:1170 c-api/unicode.rst:1206 c-api/unicode.rst:1244 -#: c-api/unicode.rst:1281 +#: c-api/unicode.rst:1206 c-api/unicode.rst:1281 msgid "Return ``NULL`` if an exception was raised by the codec." msgstr "" @@ -1395,7 +1392,7 @@ msgid "" "data in *s*. Output is written according to the following byte order::" msgstr "" -#: c-api/unicode.rst:1200 c-api/unicode.rst:1274 +#: c-api/unicode.rst:1274 msgid "" "If byteorder is ``0``, the output string will always start with the Unicode " "BOM mark (U+FEFF). In the other two modes, no BOM mark is prepended." diff --git a/distutils/apiref.po b/distutils/apiref.po index dff11b90..2e37b549 100644 --- a/distutils/apiref.po +++ b/distutils/apiref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-09 12:00+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" @@ -78,19 +78,19 @@ msgstr "" "La fonction ``setup`` prend un grand nombre d'arguments. Ils sont présentés " "dans le tableau suivant." -#: distutils/apiref.rst:42 distutils/apiref.rst:185 +#: distutils/apiref.rst:185 msgid "argument name" msgstr "nom de l'argument" -#: distutils/apiref.rst:42 distutils/apiref.rst:143 distutils/apiref.rst:185 +#: distutils/apiref.rst:143 distutils/apiref.rst:185 msgid "value" msgstr "valeur" -#: distutils/apiref.rst:42 distutils/apiref.rst:185 +#: distutils/apiref.rst:185 msgid "type" msgstr "type" -#: distutils/apiref.rst:44 distutils/apiref.rst:187 +#: distutils/apiref.rst:187 msgid "*name*" msgstr "*name*" @@ -98,11 +98,9 @@ msgstr "*name*" msgid "The name of the package" msgstr "Le nom du paquet" -#: distutils/apiref.rst:44 distutils/apiref.rst:46 distutils/apiref.rst:50 -#: distutils/apiref.rst:53 distutils/apiref.rst:56 distutils/apiref.rst:58 -#: distutils/apiref.rst:61 distutils/apiref.rst:68 distutils/apiref.rst:72 -#: distutils/apiref.rst:75 distutils/apiref.rst:96 distutils/apiref.rst:106 -#: distutils/apiref.rst:187 distutils/apiref.rst:278 +#: distutils/apiref.rst:46 distutils/apiref.rst:53 distutils/apiref.rst:58 +#: distutils/apiref.rst:68 distutils/apiref.rst:75 distutils/apiref.rst:106 +#: distutils/apiref.rst:278 msgid "a string" msgstr "une chaîne de caractères" @@ -193,11 +191,9 @@ msgstr "*packages*" msgid "A list of Python packages that distutils will manipulate" msgstr "Une liste des paquets Python que *distutils* va manipuler" -#: distutils/apiref.rst:77 distutils/apiref.rst:80 distutils/apiref.rst:83 -#: distutils/apiref.rst:100 distutils/apiref.rst:193 distutils/apiref.rst:207 -#: distutils/apiref.rst:223 distutils/apiref.rst:226 distutils/apiref.rst:230 -#: distutils/apiref.rst:234 distutils/apiref.rst:240 distutils/apiref.rst:247 -#: distutils/apiref.rst:258 distutils/apiref.rst:267 distutils/apiref.rst:275 +#: distutils/apiref.rst:80 distutils/apiref.rst:100 distutils/apiref.rst:207 +#: distutils/apiref.rst:226 distutils/apiref.rst:234 distutils/apiref.rst:247 +#: distutils/apiref.rst:267 distutils/apiref.rst:275 msgid "a list of strings" msgstr "une liste de chaînes de caractères" @@ -281,7 +277,7 @@ msgstr "*options*" msgid "default options for the setup script" msgstr "options par défaut pour le script d'installation" -#: distutils/apiref.rst:103 distutils/apiref.rst:113 distutils/apiref.rst:119 +#: distutils/apiref.rst:113 distutils/apiref.rst:119 msgid "a dictionary" msgstr "un dictionnaire" @@ -301,7 +297,7 @@ msgstr "*keywords*" msgid "Descriptive meta-data, see :pep:`314`" msgstr "Méta-données descriptives, voir :pep:`314`" -#: distutils/apiref.rst:108 distutils/apiref.rst:111 +#: distutils/apiref.rst:111 msgid "a list of strings or a comma-separated string" msgstr "" "Une liste de chaînes de caractères ou une chaîne de caractère dont les " @@ -372,7 +368,7 @@ msgid "" "*stop_after* tells :func:`setup` when to stop processing; possible values:" msgstr "*stop_after* dit à :func:`setup` quand s'arrêter; valeurs possibles:" -#: distutils/apiref.rst:143 distutils/apiref.rst:562 distutils/apiref.rst:1601 +#: distutils/apiref.rst:562 distutils/apiref.rst:1601 msgid "description" msgstr "description" @@ -1316,7 +1312,7 @@ msgstr "" "plateformes, c'est à l'étape de compilation que ce paramètre est pris en " "compte : le paramètre *debug* est inclus ici pour assurer une cohérence)." -#: distutils/apiref.rst:645 distutils/apiref.rst:687 +#: distutils/apiref.rst:687 msgid "" "*target_lang* is the target language for which the given objects are being " "compiled. This allows specific linkage time treatment of certain languages." @@ -2903,8 +2899,7 @@ msgstr "" "ainsi que tout espace blanc menant au premier ``'#'`` — à moins qu'il ne " "soit échappé par une antislash" -#: distutils/apiref.rst:1603 distutils/apiref.rst:1612 -#: distutils/apiref.rst:1617 +#: distutils/apiref.rst:1612 distutils/apiref.rst:1617 msgid "true" msgstr "*true*" @@ -2917,8 +2912,7 @@ msgid "strip leading whitespace from each line before returning it" msgstr "" "Efface les espaces blancs en début de chaque ligne avant de la renvoyer." -#: distutils/apiref.rst:1609 distutils/apiref.rst:1627 -#: distutils/apiref.rst:1638 +#: distutils/apiref.rst:1627 distutils/apiref.rst:1638 msgid "false" msgstr "*false*" @@ -3277,7 +3271,7 @@ msgid "" msgstr "" ":mod:`distutils.command.bdist_msi` — Construit un installateur Microsoft" -#: distutils/apiref.rst:1858 distutils/apiref.rst:1887 +#: distutils/apiref.rst:1887 msgid "Use bdist_wheel (wheel packages) instead." msgstr "Utilisez *bdist_wheel* (paquet au format *wheel*) à la place." diff --git a/distutils/builtdist.po b/distutils/builtdist.po index 38f42667..d924a0c1 100644 --- a/distutils/builtdist.po +++ b/distutils/builtdist.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-06-28 15:17+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" @@ -393,13 +393,11 @@ msgstr ":command:`bdist_msi`" msgid "msi" msgstr "msi" -#: distutils/builtdist.rst:150 distutils/builtdist.rst:308 -#: distutils/builtdist.rst:476 +#: distutils/builtdist.rst:308 distutils/builtdist.rst:476 msgid "bdist_wininst is deprecated since Python 3.8." msgstr "" -#: distutils/builtdist.rst:153 distutils/builtdist.rst:311 -#: distutils/builtdist.rst:479 +#: distutils/builtdist.rst:311 distutils/builtdist.rst:479 msgid "bdist_msi is deprecated since Python 3.9." msgstr "" @@ -474,7 +472,7 @@ msgstr "" "Beaucoup d'options du fichier :file:`.spec` sont dérivées des options du " "script de préparation suivant :" -#: distutils/builtdist.rst:204 distutils/builtdist.rst:228 +#: distutils/builtdist.rst:228 msgid "RPM :file:`.spec` file option or section" msgstr "Option de fichier RPM :file:`.spec`" @@ -506,7 +504,7 @@ msgstr "Version" msgid "``version``" msgstr "``version``" -#: distutils/builtdist.rst:212 distutils/builtdist.rst:235 +#: distutils/builtdist.rst:235 msgid "Vendor" msgstr "Vendor" @@ -600,10 +598,8 @@ msgstr "Packager" msgid "``packager``" msgstr "``packager``" -#: distutils/builtdist.rst:237 distutils/builtdist.rst:239 -#: distutils/builtdist.rst:241 distutils/builtdist.rst:243 -#: distutils/builtdist.rst:245 distutils/builtdist.rst:247 -#: distutils/builtdist.rst:249 distutils/builtdist.rst:251 +#: distutils/builtdist.rst:239 distutils/builtdist.rst:243 +#: distutils/builtdist.rst:247 distutils/builtdist.rst:251 msgid "(none)" msgstr "(none)" diff --git a/distutils/setupscript.po b/distutils/setupscript.po index f8432fc7..699a6ac2 100644 --- a/distutils/setupscript.po +++ b/distutils/setupscript.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-16 22:30+0200\n" "Last-Translator: Philippe GALVAN\n" "Language-Team: FRENCH \n" @@ -716,7 +716,7 @@ msgstr "Jetons un œil à quelques exemples :" msgid "Requires Expression" msgstr "Valeur de ``requires``" -#: distutils/setupscript.rst:400 distutils/setupscript.rst:418 +#: distutils/setupscript.rst:418 msgid "Explanation" msgstr "Explication" @@ -1047,13 +1047,12 @@ msgstr "``name``" msgid "name of the package" msgstr "nom du paquet" -#: distutils/setupscript.rst:569 distutils/setupscript.rst:571 -#: distutils/setupscript.rst:573 distutils/setupscript.rst:578 -#: distutils/setupscript.rst:585 distutils/setupscript.rst:601 +#: distutils/setupscript.rst:571 distutils/setupscript.rst:578 +#: distutils/setupscript.rst:601 msgid "short string" msgstr "courte chaîne de caractères" -#: distutils/setupscript.rst:569 distutils/setupscript.rst:583 +#: distutils/setupscript.rst:583 msgid "\\(1)" msgstr "\\(1)" @@ -1077,8 +1076,7 @@ msgstr "``author``" msgid "package author's name" msgstr "nom de l'auteur du paquet" -#: distutils/setupscript.rst:573 distutils/setupscript.rst:575 -#: distutils/setupscript.rst:578 distutils/setupscript.rst:580 +#: distutils/setupscript.rst:575 distutils/setupscript.rst:580 msgid "\\(3)" msgstr "\\(3)" @@ -1090,7 +1088,7 @@ msgstr "``author_email``" msgid "email address of the package author" msgstr "adresse courriel de l'auteur du paquet" -#: distutils/setupscript.rst:575 distutils/setupscript.rst:580 +#: distutils/setupscript.rst:580 msgid "email address" msgstr "adresse de courriel" @@ -1118,7 +1116,7 @@ msgstr "``url``" msgid "home page for the package" msgstr "page d’accueil du paquet" -#: distutils/setupscript.rst:583 distutils/setupscript.rst:592 +#: distutils/setupscript.rst:592 msgid "URL" msgstr "URL" @@ -1162,8 +1160,7 @@ msgstr "``classifiers``" msgid "a list of classifiers" msgstr "une liste de classificateurs" -#: distutils/setupscript.rst:595 distutils/setupscript.rst:597 -#: distutils/setupscript.rst:599 +#: distutils/setupscript.rst:597 distutils/setupscript.rst:599 msgid "list of strings" msgstr "liste de chaînes de caractères" @@ -1179,7 +1176,7 @@ msgstr "``platforms``" msgid "a list of platforms" msgstr "une liste de plateformes" -#: distutils/setupscript.rst:597 distutils/setupscript.rst:599 +#: distutils/setupscript.rst:599 msgid "(6)(8)" msgstr "(6)(8)" diff --git a/faq/design.po b/faq/design.po index 358d9dcb..fa18b504 100644 --- a/faq/design.po +++ b/faq/design.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-27 22:52+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: FRENCH \n" @@ -1131,17 +1131,17 @@ msgstr "" "MutableMapping`." #: faq/design.rst:575 +#, fuzzy msgid "" "For Python, many of the advantages of interface specifications can be " -"obtained by an appropriate test discipline for components. There is also a " -"tool, PyChecker, which can be used to find problems due to subclassing." +"obtained by an appropriate test discipline for components." msgstr "" "Pour Python, la plupart des avantages des spécifications d'interface peuvent " "être obtenus par une discipline de test appropriée pour les composants. Il " "existe aussi un outil, PyChecker, qui peut être utilisé pour trouver des " "problèmes d'héritage." -#: faq/design.rst:579 +#: faq/design.rst:578 msgid "" "A good test suite for a module can both provide a regression test and serve " "as a module interface specification and a set of examples. Many Python " @@ -1162,7 +1162,7 @@ msgstr "" "test tiers peuvent être utilisés pour construire des suites de tests " "exhaustives qui éprouvent chaque ligne de code dans un module." -#: faq/design.rst:587 +#: faq/design.rst:586 msgid "" "An appropriate testing discipline can help build large complex applications " "in Python as well as having interface specifications would. In fact, it can " @@ -1182,7 +1182,7 @@ msgstr "" "réellement le faire correctement, mais il est trivial de vérifier cette " "propriété dans une suite de tests." -#: faq/design.rst:595 +#: faq/design.rst:594 #, fuzzy msgid "" "Writing test suites is very helpful, and you might want to design your code " @@ -1198,11 +1198,11 @@ msgstr "" "le code réel. Bien sûr, Python vous permet d'être laxiste et de ne pas " "écrire de test du tout." -#: faq/design.rst:603 +#: faq/design.rst:602 msgid "Why is there no goto?" msgstr "Pourquoi n'y a-t-il pas de ``goto`` en Python ?" -#: faq/design.rst:605 +#: faq/design.rst:604 msgid "" "You can use exceptions to provide a \"structured goto\" that even works " "across function calls. Many feel that exceptions can conveniently emulate " @@ -1215,7 +1215,7 @@ msgstr "" "utilisation raisonnable des constructions ``go`` ou ``goto`` en C, en " "Fortran ou autres langages de programmation. Par exemple ::" -#: faq/design.rst:620 +#: faq/design.rst:619 msgid "" "This doesn't allow you to jump into the middle of a loop, but that's usually " "considered an abuse of goto anyway. Use sparingly." @@ -1224,13 +1224,13 @@ msgstr "" "tous les cas cela est généralement considéré comme un abus de ``goto``. À " "Utiliser avec parcimonie." -#: faq/design.rst:625 +#: faq/design.rst:624 msgid "Why can't raw strings (r-strings) end with a backslash?" msgstr "" "Pourquoi les chaînes de caractères brutes (r-strings) ne peuvent-elles pas " "se terminer par un *backslash* ?" -#: faq/design.rst:627 +#: faq/design.rst:626 msgid "" "More precisely, they can't end with an odd number of backslashes: the " "unpaired backslash at the end escapes the closing quote character, leaving " @@ -1240,7 +1240,7 @@ msgstr "" "*backslashes* : le *backslash* non appairé à la fin échappe le caractère de " "guillemet final, laissant une chaîne non terminée." -#: faq/design.rst:631 +#: faq/design.rst:630 msgid "" "Raw strings were designed to ease creating input for processors (chiefly " "regular expression engines) that want to do their own backslash escape " @@ -1258,7 +1258,7 @@ msgstr "" "chaîne en l'échappant avec un *antislash*. Ces règles fonctionnent bien " "lorsque les chaînes brutes sont utilisées pour leur but premier." -#: faq/design.rst:638 +#: faq/design.rst:637 msgid "" "If you're trying to build Windows pathnames, note that all Windows system " "calls accept forward slashes too::" @@ -1267,20 +1267,20 @@ msgstr "" "les appels système Windows acceptent également les *slashes* \"classiques" "\" ::" -#: faq/design.rst:643 +#: faq/design.rst:642 msgid "" "If you're trying to build a pathname for a DOS command, try e.g. one of ::" msgstr "" "Si vous essayez de construire un chemin d'accès pour une commande DOS, " "essayez par exemple l'un de ceux-là ::" -#: faq/design.rst:651 +#: faq/design.rst:650 msgid "Why doesn't Python have a \"with\" statement for attribute assignments?" msgstr "" "Pourquoi la déclaration ``with`` pour les assignations d'attributs n'existe " "pas en Python ?" -#: faq/design.rst:653 +#: faq/design.rst:652 #, fuzzy msgid "" "Python has a 'with' statement that wraps the execution of a block, calling " @@ -1291,11 +1291,11 @@ msgstr "" "appelant le code sur l'entrée et la sortie du bloc. Certains langages " "possèdent une construction qui ressemble à ceci ::" -#: faq/design.rst:661 +#: faq/design.rst:660 msgid "In Python, such a construct would be ambiguous." msgstr "En Python, une telle construction serait ambiguë." -#: faq/design.rst:663 +#: faq/design.rst:662 msgid "" "Other languages, such as Object Pascal, Delphi, and C++, use static types, " "so it's possible to know, in an unambiguous way, what member is being " @@ -1308,7 +1308,7 @@ msgstr "" "statique --le compilateur connaît *toujours* la portée de toutes les " "variables au moment de la compilation." -#: faq/design.rst:668 +#: faq/design.rst:667 msgid "" "Python uses dynamic types. It is impossible to know in advance which " "attribute will be referenced at runtime. Member attributes may be added or " @@ -1322,11 +1322,11 @@ msgstr "" "impossible de savoir, d'une simple lecture, quel attribut est référencé : " "s'il est local, global ou un attribut membre?" -#: faq/design.rst:674 +#: faq/design.rst:673 msgid "For instance, take the following incomplete snippet::" msgstr "Prenons par exemple l'extrait incomplet suivant ::" -#: faq/design.rst:680 +#: faq/design.rst:679 msgid "" "The snippet assumes that \"a\" must have a member attribute called \"x\". " "However, there is nothing in Python that tells the interpreter this. What " @@ -1340,7 +1340,7 @@ msgstr "" "\"x\" existe, sera-t-elle utilisée dans le bloc ``with`` ? Comme vous " "voyez, la nature dynamique du Python rend ces choix beaucoup plus difficiles." -#: faq/design.rst:686 +#: faq/design.rst:685 msgid "" "The primary benefit of \"with\" and similar language features (reduction of " "code volume) can, however, easily be achieved in Python by assignment. " @@ -1350,11 +1350,11 @@ msgstr "" "similaires (réduction du volume de code) peut, cependant, être facilement " "réalisé en Python par assignation. Au lieu de ::" -#: faq/design.rst:693 +#: faq/design.rst:692 msgid "write this::" msgstr "écrivez ceci ::" -#: faq/design.rst:700 +#: faq/design.rst:699 msgid "" "This also has the side-effect of increasing execution speed because name " "bindings are resolved at run-time in Python, and the second version only " @@ -1364,13 +1364,13 @@ msgstr "" "car les liaisons de noms sont résolues au moment de l'exécution en Python, " "et la deuxième version n'a besoin d'exécuter la résolution qu'une seule fois." -#: faq/design.rst:706 +#: faq/design.rst:705 msgid "Why are colons required for the if/while/def/class statements?" msgstr "" "Pourquoi les deux-points sont-ils nécessaires pour les déclarations ``if/" "while/def/class`` ?" -#: faq/design.rst:708 +#: faq/design.rst:707 msgid "" "The colon is required primarily to enhance readability (one of the results " "of the experimental ABC language). Consider this::" @@ -1378,11 +1378,11 @@ msgstr "" "Le deux-points est principalement nécessaires pour améliorer la lisibilité " "(l'un des résultats du langage expérimental ABC). Considérez ceci ::" -#: faq/design.rst:714 +#: faq/design.rst:713 msgid "versus ::" msgstr "versus ::" -#: faq/design.rst:719 +#: faq/design.rst:718 msgid "" "Notice how the second one is slightly easier to read. Notice further how a " "colon sets off the example in this FAQ answer; it's a standard usage in " @@ -1392,7 +1392,7 @@ msgstr "" "aussi comment un deux-points introduit l'exemple dans cette réponse à la " "FAQ ; c'est un usage standard en anglais." -#: faq/design.rst:722 +#: faq/design.rst:721 msgid "" "Another minor reason is that the colon makes it easier for editors with " "syntax highlighting; they can look for colons to decide when indentation " @@ -1404,12 +1404,12 @@ msgstr "" "pour décider quand l'indentation doit être augmentée au lieu d'avoir à faire " "une analyse plus élaborée du texte du programme." -#: faq/design.rst:728 +#: faq/design.rst:727 msgid "Why does Python allow commas at the end of lists and tuples?" msgstr "" "Pourquoi Python permet-il les virgules à la fin des listes et des tuples ?" -#: faq/design.rst:730 +#: faq/design.rst:729 msgid "" "Python lets you add a trailing comma at the end of lists, tuples, and " "dictionaries::" @@ -1417,11 +1417,11 @@ msgstr "" "Python vous permet d'ajouter une virgule à la fin des listes, des tuples et " "des dictionnaires ::" -#: faq/design.rst:741 +#: faq/design.rst:740 msgid "There are several reasons to allow this." msgstr "Il y a plusieurs raisons d'accepter cela." -#: faq/design.rst:743 +#: faq/design.rst:742 msgid "" "When you have a literal value for a list, tuple, or dictionary spread across " "multiple lines, it's easier to add more elements because you don't have to " @@ -1434,7 +1434,7 @@ msgstr "" "virgule à la ligne précédente. Les lignes peuvent aussi être réorganisées " "sans créer une erreur de syntaxe." -#: faq/design.rst:748 +#: faq/design.rst:747 msgid "" "Accidentally omitting the comma can lead to errors that are hard to " "diagnose. For example::" @@ -1442,7 +1442,7 @@ msgstr "" "L'omission accidentelle de la virgule peut entraîner des erreurs difficiles " "à diagnostiquer, par exemple ::" -#: faq/design.rst:758 +#: faq/design.rst:757 msgid "" "This list looks like it has four elements, but it actually contains three: " "\"fee\", \"fiefoo\" and \"fum\". Always adding the comma avoids this source " @@ -1452,7 +1452,7 @@ msgstr "" "trois : \"*fee*\", \"*fiefoo*\" et \"*fum*\". Toujours ajouter la virgule " "permet d'éviter cette source d'erreur." -#: faq/design.rst:761 +#: faq/design.rst:760 msgid "" "Allowing the trailing comma may also make programmatic code generation " "easier." diff --git a/faq/programming.po b/faq/programming.po index f42bd27d..f73a48d6 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-30 17:14+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -35,7 +35,7 @@ msgstr "" "Existe-t-il un débogueur de code source avec points d'arrêts, exécution pas-" "à-pas, etc. ?" -#: faq/programming.rst:17 faq/programming.rst:63 +#: faq/programming.rst:57 msgid "Yes." msgstr "Oui." @@ -89,29 +89,13 @@ msgstr "" #: faq/programming.rst:38 msgid "" -"`Boa Constructor `_ is an IDE and " -"GUI builder that uses wxWidgets. It offers visual frame creation and " -"manipulation, an object inspector, many views on the source like object " -"browsers, inheritance hierarchies, doc string generated html documentation, " -"an advanced debugger, integrated help, and Zope support." -msgstr "" -"`Boa Constructor `_ est un EDI et " -"un constructeur d'interface homme-machine basé sur *wxWidgets*. Il propose " -"la création et la manipulation de fenêtres, un inspecteur d'objets, de " -"nombreuses façons de visualiser des sources comme un navigateur d'objets, " -"les hiérarchies d'héritage, la documentation html générée par les " -"docstrings, un débogueur avancé, une aide intégrée et la prise en charge de " -"Zope." - -#: faq/programming.rst:44 -msgid "" "`Eric `_ is an IDE built on PyQt and " "the Scintilla editing component." msgstr "" "`Eric `_ est un EDI basé sur PyQt et " "l'outil d'édition Scintilla." -#: faq/programming.rst:47 +#: faq/programming.rst:41 msgid "" "Pydb is a version of the standard Python debugger pdb, modified for use with " "DDD (Data Display Debugger), a popular graphical debugger front end. Pydb " @@ -123,7 +107,7 @@ msgstr "" "Pydb est disponible sur http://bashdb.sourceforge.net/pydb/ et DDD est " "disponible sur https://www.gnu.org/software/ddd." -#: faq/programming.rst:52 +#: faq/programming.rst:46 msgid "" "There are a number of commercial Python IDEs that include graphical " "debuggers. They include:" @@ -131,55 +115,32 @@ msgstr "" "Il existe de nombreux EDI Python propriétaires qui embarquent un débogueur " "graphique. Notamment :" -#: faq/programming.rst:55 +#: faq/programming.rst:49 msgid "Wing IDE (https://wingware.com/)" msgstr "Wing IDE (https://wingware.com/)" -#: faq/programming.rst:56 +#: faq/programming.rst:50 msgid "Komodo IDE (https://komodoide.com/)" msgstr "Komodo IDE (https://komodoide.com/)" -#: faq/programming.rst:57 +#: faq/programming.rst:51 msgid "PyCharm (https://www.jetbrains.com/pycharm/)" msgstr "PyCharm (https://www.jetbrains.com/pycharm/)" -#: faq/programming.rst:61 -msgid "Is there a tool to help find bugs or perform static analysis?" +#: faq/programming.rst:55 +#, fuzzy +msgid "Are there tools to help find bugs or perform static analysis?" msgstr "" "Existe-t-il des outils pour aider à trouver des bogues ou faire de l'analyse " "statique de code ?" -#: faq/programming.rst:65 +#: faq/programming.rst:59 msgid "" -"PyChecker is a static analysis tool that finds bugs in Python source code " -"and warns about code complexity and style. You can get PyChecker from " -"http://pychecker.sourceforge.net/." +"`Pylint `_ and `Pyflakes `_ do basic checking that will help you catch bugs sooner." msgstr "" -"*PyChecker* est un outil d'analyse statique qui trouve les bogues dans le " -"code source Python et émet des avertissements relatifs à la complexité et au " -"style du code. *PyChecker* est disponible sur http://pychecker.sourceforge." -"net/." -#: faq/programming.rst:69 -msgid "" -"`Pylint `_ is another tool that checks if a module " -"satisfies a coding standard, and also makes it possible to write plug-ins to " -"add a custom feature. In addition to the bug checking that PyChecker " -"performs, Pylint offers some additional features such as checking line " -"length, whether variable names are well-formed according to your coding " -"standard, whether declared interfaces are fully implemented, and more. " -"https://docs.pylint.org/ provides a full list of Pylint's features." -msgstr "" -"Pylint `_ est un autre outil qui vérifie si un " -"module satisfait aux normes de développement, et qui permet en plus d'écrire " -"des greffons pour ajouter des fonctionnalités personnalisées. En plus de la " -"vérification des bogues effectuée par PyChecker, Pylint effectue quelques " -"vérifications supplémentaires comme la longueur des lignes, les conventions " -"de nommage des variables, que les interfaces déclarées sont implémentées en " -"totalité, et plus encore. https://docs.pylint.org/ fournit la liste complète " -"des fonctionnalités de Pylint." - -#: faq/programming.rst:77 +#: faq/programming.rst:63 msgid "" "Static type checkers such as `Mypy `_, `Pyre `_, and `Pytype `_ can " @@ -190,11 +151,11 @@ msgstr "" "pytype>`_ peuvent vérifier les indications de type dans du code source " "Python." -#: faq/programming.rst:84 +#: faq/programming.rst:70 msgid "How can I create a stand-alone binary from a Python script?" msgstr "Comment créer un binaire autonome à partir d'un script Python ?" -#: faq/programming.rst:86 +#: faq/programming.rst:72 msgid "" "You don't need the ability to compile Python to C code if all you want is a " "stand-alone program that users can download and run without having to " @@ -209,7 +170,7 @@ msgstr "" "requis par un programme et lient ces modules avec un binaire Python pour " "produire un seul exécutable." -#: faq/programming.rst:92 +#: faq/programming.rst:78 msgid "" "One is to use the freeze tool, which is included in the Python source tree " "as ``Tools/freeze``. It converts Python byte code to C arrays; a C compiler " @@ -222,7 +183,7 @@ msgstr "" "vos modules dans un nouveau programme, qui est ensuite lié aux modules " "standards Python." -#: faq/programming.rst:97 +#: faq/programming.rst:83 msgid "" "It works by scanning your source recursively for import statements (in both " "forms) and looking for the modules in the standard Python path as well as in " @@ -245,7 +206,7 @@ msgstr "" "généré et le lie au reste de l'interpréteur Python pour former un binaire " "autonome qui fait exactement la même chose que le script." -#: faq/programming.rst:106 +#: faq/programming.rst:92 msgid "" "Obviously, freeze requires a C compiler. There are several other utilities " "which don't. One is Thomas Heller's py2exe (Windows only) at" @@ -254,11 +215,11 @@ msgstr "" "outils qui peuvent s'en passer. Un de ceux-ci est py2exe de Thomas Heller " "(pour Windows uniquement) disponible sur" -#: faq/programming.rst:109 +#: faq/programming.rst:95 msgid "http://www.py2exe.org/" msgstr "http://www.py2exe.org/" -#: faq/programming.rst:111 +#: faq/programming.rst:97 msgid "" "Another tool is Anthony Tuininga's `cx_Freeze `_." @@ -266,13 +227,13 @@ msgstr "" "Un autre de ces outils est `cx_Freeze `_ d'Anthony Tuininga." -#: faq/programming.rst:115 +#: faq/programming.rst:101 msgid "Are there coding standards or a style guide for Python programs?" msgstr "" "Existe-t-il des normes de développement ou un guide de style pour écrire des " "programmes Python ?" -#: faq/programming.rst:117 +#: faq/programming.rst:103 msgid "" "Yes. The coding style required for standard library modules is documented " "as :pep:`8`." @@ -280,16 +241,16 @@ msgstr "" "Oui. Le style de développement que les modules de la bibliothèque standard " "doivent obligatoirement respecter est documenté dans la :pep:`8`." -#: faq/programming.rst:122 +#: faq/programming.rst:108 msgid "Core Language" msgstr "Fondamentaux" -#: faq/programming.rst:125 +#: faq/programming.rst:111 msgid "Why am I getting an UnboundLocalError when the variable has a value?" msgstr "" "Pourquoi une UnboundLocalError est levée alors qu'une variable a une valeur ?" -#: faq/programming.rst:127 +#: faq/programming.rst:113 msgid "" "It can be a surprise to get the UnboundLocalError in previously working code " "when it is modified by adding an assignment statement somewhere in the body " @@ -299,19 +260,19 @@ msgstr "" "jusqu'à présent correct, quand celui-ci est modifié en ajoutant une " "instruction d'affectation quelque part dans le corps d'une fonction." -#: faq/programming.rst:131 +#: faq/programming.rst:117 msgid "This code:" msgstr "Le code suivant :" -#: faq/programming.rst:139 +#: faq/programming.rst:125 msgid "works, but this code:" msgstr "fonctionne, mais le suivant :" -#: faq/programming.rst:146 +#: faq/programming.rst:132 msgid "results in an UnboundLocalError:" msgstr "lève une UnboundLocalError :" -#: faq/programming.rst:153 +#: faq/programming.rst:139 msgid "" "This is because when you make an assignment to a variable in a scope, that " "variable becomes local to that scope and shadows any similarly named " @@ -327,7 +288,7 @@ msgstr "" "nouvelle variable. Par conséquent, quand le ``print(x)`` essaye d'afficher " "la variable non initialisée, une erreur se produit." -#: faq/programming.rst:160 +#: faq/programming.rst:146 msgid "" "In the example above you can access the outer scope variable by declaring it " "global:" @@ -335,7 +296,7 @@ msgstr "" "Dans l'exemple ci-dessus, la variable du contexte appelant reste accessible " "en la déclarant globale :" -#: faq/programming.rst:171 +#: faq/programming.rst:157 msgid "" "This explicit declaration is required in order to remind you that (unlike " "the superficially analogous situation with class and instance variables) you " @@ -346,7 +307,7 @@ msgstr "" "d'instance), c'est la valeur de la variable du contexte appelant qui est " "modifiée :" -#: faq/programming.rst:178 +#: faq/programming.rst:164 msgid "" "You can do a similar thing in a nested scope using the :keyword:`nonlocal` " "keyword:" @@ -354,12 +315,12 @@ msgstr "" "Une alternative dans un contexte imbriqué consiste à utiliser le mot-clé :" "keyword:`nonlocal` :" -#: faq/programming.rst:195 +#: faq/programming.rst:181 msgid "What are the rules for local and global variables in Python?" msgstr "" "Quelles sont les règles pour les variables locales et globales en Python ?" -#: faq/programming.rst:197 +#: faq/programming.rst:183 msgid "" "In Python, variables that are only referenced inside a function are " "implicitly global. If a variable is assigned a value anywhere within the " @@ -371,7 +332,7 @@ msgstr "" "valeur lui est affectée, elle est considérée locale (sauf si elle est " "explicitement déclarée globale)." -#: faq/programming.rst:201 +#: faq/programming.rst:187 msgid "" "Though a bit surprising at first, a moment's consideration explains this. " "On one hand, requiring :keyword:`global` for assigned variables provides a " @@ -390,7 +351,7 @@ msgstr "" "importé. Le codé serait alors truffé de déclarations ``global``, ce qui " "nuirait à leur raison d'être : identifier les effets de bords." -#: faq/programming.rst:211 +#: faq/programming.rst:197 msgid "" "Why do lambdas defined in a loop with different values all return the same " "result?" @@ -398,7 +359,7 @@ msgstr "" "Pourquoi des expressions lambda définies dans une boucle avec des valeurs " "différentes retournent-elles le même résultat ?" -#: faq/programming.rst:213 +#: faq/programming.rst:199 msgid "" "Assume you use a for loop to define a few different lambdas (or even plain " "functions), e.g.::" @@ -406,7 +367,7 @@ msgstr "" "Supposons que l'on utilise une boucle itérative pour définir des expressions " "lambda (voire même des fonctions) différentes, par exemple ::" -#: faq/programming.rst:220 +#: faq/programming.rst:206 msgid "" "This gives you a list that contains 5 lambdas that calculate ``x**2``. You " "might expect that, when called, they would return, respectively, ``0``, " @@ -417,7 +378,7 @@ msgstr "" "chacune ``x**2``. En les exécutant, on pourrait s'attendre à obtenir ``0``, " "``1``, ``4``, ``9`` et ``16``. Elles renvoient en réalité toutes ``16`` ::" -#: faq/programming.rst:230 +#: faq/programming.rst:216 msgid "" "This happens because ``x`` is not local to the lambdas, but is defined in " "the outer scope, and it is accessed when the lambda is called --- not when " @@ -432,7 +393,7 @@ msgstr "" "renvoient ``4*2``, c.-à-d. ``16``. Ceci se vérifie également en changeant la " "valeur de ``x`` et en constatant que les résultats sont modifiés ::" -#: faq/programming.rst:240 +#: faq/programming.rst:226 msgid "" "In order to avoid this, you need to save the values in variables local to " "the lambdas, so that they don't rely on the value of the global ``x``::" @@ -441,7 +402,7 @@ msgstr "" "variables locales aux expressions lambda pour que celles-ci ne se basent " "plus sur la variable globale ``x`` ::" -#: faq/programming.rst:247 +#: faq/programming.rst:233 msgid "" "Here, ``n=x`` creates a new variable ``n`` local to the lambda and computed " "when the lambda is defined so that it has the same value that ``x`` had at " @@ -456,7 +417,7 @@ msgstr "" "troisième et ainsi de suite. Chaque expression lambda renvoie donc le " "résultat correct ::" -#: faq/programming.rst:258 +#: faq/programming.rst:244 msgid "" "Note that this behaviour is not peculiar to lambdas, but applies to regular " "functions too." @@ -464,11 +425,11 @@ msgstr "" "Ce comportement n'est pas propre aux expressions lambda, mais s'applique " "aussi aux fonctions normales." -#: faq/programming.rst:263 +#: faq/programming.rst:249 msgid "How do I share global variables across modules?" msgstr "Comment partager des variables globales entre modules ?" -#: faq/programming.rst:265 +#: faq/programming.rst:251 msgid "" "The canonical way to share information across modules within a single " "program is to create a special module (often called config or cfg). Just " @@ -484,19 +445,19 @@ msgstr "" "de chaque module, tout changement dans l'instance est propagé partout. Par " "exemple :" -#: faq/programming.rst:271 +#: faq/programming.rst:257 msgid "config.py::" msgstr "*config.py* ::" -#: faq/programming.rst:275 +#: faq/programming.rst:261 msgid "mod.py::" msgstr "*mod.py* ::" -#: faq/programming.rst:280 +#: faq/programming.rst:266 msgid "main.py::" msgstr "*main.py* ::" -#: faq/programming.rst:286 +#: faq/programming.rst:272 msgid "" "Note that using a module is also the basis for implementing the Singleton " "design pattern, for the same reason." @@ -504,12 +465,12 @@ msgstr "" "Pour les mêmes raisons, l'utilisation d'un module est aussi à la base de " "l'implémentation du patron de conception singleton." -#: faq/programming.rst:291 +#: faq/programming.rst:277 msgid "What are the \"best practices\" for using import in a module?" msgstr "" "Quelles sont les « bonnes pratiques » pour utiliser import dans un module ?" -#: faq/programming.rst:293 +#: faq/programming.rst:279 msgid "" "In general, don't use ``from modulename import *``. Doing so clutters the " "importer's namespace, and makes it much harder for linters to detect " @@ -519,7 +480,7 @@ msgstr "" "encombre l'espace de nommage de l'importateur et rend la détection de noms " "non-définis beaucoup plus ardue pour les analyseurs de code." -#: faq/programming.rst:297 +#: faq/programming.rst:283 msgid "" "Import modules at the top of a file. Doing so makes it clear what other " "modules your code requires and avoids questions of whether the module name " @@ -532,17 +493,17 @@ msgstr "" "rend l'ajout et la suppression d'une importation de module plus aisé, mais " "importer plusieurs modules sur une même ligne prend moins d'espace." -#: faq/programming.rst:302 +#: faq/programming.rst:288 msgid "It's good practice if you import modules in the following order:" msgstr "Il est recommandé d'importer les modules dans l'ordre suivant :" -#: faq/programming.rst:304 +#: faq/programming.rst:290 msgid "standard library modules -- e.g. ``sys``, ``os``, ``getopt``, ``re``" msgstr "" "les modules de la bibliothèque standard — e.g. ``sys``, ``os``, ``getopt``, " "``re``" -#: faq/programming.rst:305 +#: faq/programming.rst:291 msgid "" "third-party library modules (anything installed in Python's site-packages " "directory) -- e.g. mx.DateTime, ZODB, PIL.Image, etc." @@ -550,11 +511,11 @@ msgstr "" "les modules externes (tout ce qui est installé dans le dossier *site-" "packages* de Python) — e.g. *mx.DateTime, ZODB, PIL.Image*, etc." -#: faq/programming.rst:307 +#: faq/programming.rst:293 msgid "locally-developed modules" msgstr "les modules développés en local" -#: faq/programming.rst:309 +#: faq/programming.rst:295 msgid "" "It is sometimes necessary to move imports to a function or class to avoid " "problems with circular imports. Gordon McMillan says:" @@ -563,7 +524,7 @@ msgstr "" "une classe pour éviter les problèmes d'importations circulaires. Comme le " "souligne Gordon McMillan :" -#: faq/programming.rst:312 +#: faq/programming.rst:298 msgid "" "Circular imports are fine where both modules use the \"import \" " "form of import. They fail when the 2nd module wants to grab a name out of " @@ -578,7 +539,7 @@ msgstr "" "fichier. Les noms du premier module ne sont en effet pas encore disponibles " "car le premier module est occupé à importer le second." -#: faq/programming.rst:318 +#: faq/programming.rst:304 msgid "" "In this case, if the second module is only used in one function, then the " "import can easily be moved into that function. By the time the import is " @@ -590,7 +551,7 @@ msgstr "" "où l'importation sera appelée, le premier module aura fini de s'initialiser " "et le second pourra faire son importation." -#: faq/programming.rst:323 +#: faq/programming.rst:309 msgid "" "It may also be necessary to move imports out of the top level of code if " "some of the modules are platform-specific. In that case, it may not even be " @@ -605,7 +566,7 @@ msgstr "" "recommandé d'importer les modules adéquats dans le code spécifique à la " "machine." -#: faq/programming.rst:328 +#: faq/programming.rst:314 msgid "" "Only move imports into a local scope, such as inside a function definition, " "if it's necessary to solve a problem such as avoiding a circular import or " @@ -631,11 +592,11 @@ msgstr "" "dictionnaire. Même si le nom du module est sorti du contexte courant, le " "module est probablement disponible dans :data:`sys.modules`." -#: faq/programming.rst:341 +#: faq/programming.rst:327 msgid "Why are default values shared between objects?" msgstr "Pourquoi les arguments par défaut sont-ils partagés entre les objets ?" -#: faq/programming.rst:343 +#: faq/programming.rst:329 msgid "" "This type of bug commonly bites neophyte programmers. Consider this " "function::" @@ -643,7 +604,7 @@ msgstr "" "C'est un problème que rencontrent souvent les programmeurs débutants. " "Examinons la fonction suivante ::" -#: faq/programming.rst:350 +#: faq/programming.rst:336 msgid "" "The first time you call this function, ``mydict`` contains a single item. " "The second time, ``mydict`` contains two items because when ``foo()`` begins " @@ -653,7 +614,7 @@ msgstr "" "élément. Au second appel, ``mydict`` contient deux éléments car quand " "``foo()`` commence son exécution, ``mydict`` contient déjà un élément." -#: faq/programming.rst:354 +#: faq/programming.rst:340 msgid "" "It is often expected that a function call creates new objects for default " "values. This is not what happens. Default values are created exactly once, " @@ -667,7 +628,7 @@ msgstr "" "définie. Si l'objet est modifié, comme le dictionnaire dans cet exemple, les " "appels suivants à cette fonction font référence à l'objet ainsi modifié." -#: faq/programming.rst:359 +#: faq/programming.rst:345 msgid "" "By definition, immutable objects such as numbers, strings, tuples, and " "``None``, are safe from change. Changes to mutable objects such as " @@ -678,7 +639,7 @@ msgstr "" "sur des objets muables comme les dictionnaires, les listes et les instances " "de classe peuvent porter à confusion." -#: faq/programming.rst:363 +#: faq/programming.rst:349 msgid "" "Because of this feature, it is good programming practice to not use mutable " "objects as default values. Instead, use ``None`` as the default value and " @@ -691,11 +652,11 @@ msgstr "" "est à ``None`` et créer une nouvelle liste, dictionnaire ou autre, le cas " "échéant. Par exemple, il ne faut pas écrire ::" -#: faq/programming.rst:371 +#: faq/programming.rst:357 msgid "but::" msgstr "mais plutôt ::" -#: faq/programming.rst:377 +#: faq/programming.rst:363 msgid "" "This feature can be useful. When you have a function that's time-consuming " "to compute, a common technique is to cache the parameters and the resulting " @@ -709,7 +670,7 @@ msgstr "" "appel est ré-effectué. C'est la technique dite de « mémoïsation », qui " "s'implémente de la manière suivante ::" -#: faq/programming.rst:392 +#: faq/programming.rst:378 msgid "" "You could use a global variable containing a dictionary instead of the " "default value; it's a matter of taste." @@ -717,13 +678,13 @@ msgstr "" "Il est possible d'utiliser une variable globale contenant un dictionnaire à " "la place de la valeur par défaut ; ce n'est qu'une question de goût." -#: faq/programming.rst:397 +#: faq/programming.rst:383 msgid "" "How can I pass optional or keyword parameters from one function to another?" msgstr "" "Comment passer des paramètres optionnels ou nommés d'une fonction à l'autre ?" -#: faq/programming.rst:399 +#: faq/programming.rst:385 msgid "" "Collect the arguments using the ``*`` and ``**`` specifiers in the " "function's parameter list; this gives you the positional arguments as a " @@ -736,11 +697,11 @@ msgstr "" "de dictionnaire. Ces arguments peuvent être passés à une autre fonction en " "utilisant ``*`` et ``**`` ::" -#: faq/programming.rst:418 +#: faq/programming.rst:404 msgid "What is the difference between arguments and parameters?" msgstr "Quelle est la différence entre les arguments et les paramètres ?" -#: faq/programming.rst:420 +#: faq/programming.rst:406 msgid "" ":term:`Parameters ` are defined by the names that appear in a " "function definition, whereas :term:`arguments ` are the values " @@ -754,7 +715,7 @@ msgstr "" "ci. Les paramètres définissent les types des arguments qu'une fonction " "accepte. Ainsi, avec la définition de fonction suivante ::" -#: faq/programming.rst:428 +#: faq/programming.rst:414 msgid "" "*foo*, *bar* and *kwargs* are parameters of ``func``. However, when calling " "``func``, for example::" @@ -762,30 +723,30 @@ msgstr "" "*foo*, *bar* et *kwargs* sont des paramètres de ``func``. Mais à l'appel de " "``func`` avec, par exemple ::" -#: faq/programming.rst:433 +#: faq/programming.rst:419 msgid "the values ``42``, ``314``, and ``somevar`` are arguments." msgstr "les valeurs ``42``, ``314``, et ``somevar`` sont des arguments." -#: faq/programming.rst:437 +#: faq/programming.rst:423 msgid "Why did changing list 'y' also change list 'x'?" msgstr "Pourquoi modifier la liste 'y' modifie aussi la liste 'x' ?" -#: faq/programming.rst:439 +#: faq/programming.rst:425 msgid "If you wrote code like::" msgstr "Si vous avez écrit du code comme ::" -#: faq/programming.rst:449 +#: faq/programming.rst:435 msgid "" "you might be wondering why appending an element to ``y`` changed ``x`` too." msgstr "" "vous vous demandez peut-être pourquoi l'ajout d'un élément à ``y`` a aussi " "changé ``x``." -#: faq/programming.rst:451 +#: faq/programming.rst:437 msgid "There are two factors that produce this result:" msgstr "Il y a deux raisons qui conduisent à ce comportement :" -#: faq/programming.rst:453 +#: faq/programming.rst:439 msgid "" "Variables are simply names that refer to objects. Doing ``y = x`` doesn't " "create a copy of the list -- it creates a new variable ``y`` that refers to " @@ -797,14 +758,14 @@ msgstr "" "variable ``y`` qui pointe sur le même objet que ``x``. Ceci signifie qu'il " "n'existe qu'un seul objet (la liste) auquel ``x`` et ``y`` font référence." -#: faq/programming.rst:457 +#: faq/programming.rst:443 msgid "" "Lists are :term:`mutable`, which means that you can change their content." msgstr "" "Les listes sont des :term:`muable`, ce qui signifie que leur contenu peut " "être modifié." -#: faq/programming.rst:459 +#: faq/programming.rst:445 msgid "" "After the call to :meth:`~list.append`, the content of the mutable object " "has changed from ``[]`` to ``[10]``. Since both the variables refer to the " @@ -815,11 +776,11 @@ msgstr "" "objet, il est possible d'accéder à la valeur modifiée ``[10]`` avec chacun " "des noms." -#: faq/programming.rst:463 +#: faq/programming.rst:449 msgid "If we instead assign an immutable object to ``x``::" msgstr "Si au contraire, on affecte un objet immuable à ``x`` ::" -#: faq/programming.rst:473 +#: faq/programming.rst:459 msgid "" "we can see that in this case ``x`` and ``y`` are not equal anymore. This is " "because integers are :term:`immutable`, and when we do ``x = x + 1`` we are " @@ -838,7 +799,7 @@ msgstr "" "(``x`` fait désormais référence à ``6`` mais ``y`` fait toujours référence à " "``5``)." -#: faq/programming.rst:481 +#: faq/programming.rst:467 msgid "" "Some operations (for example ``y.append(10)`` and ``y.sort()``) mutate the " "object, whereas superficially similar operations (for example ``y = y + " @@ -858,7 +819,7 @@ msgstr "" "obtenir une copie triée de ``y`` donne ``None``, ce qui conduit très souvent " "le programme à générer une erreur facile à diagnostiquer." -#: faq/programming.rst:490 +#: faq/programming.rst:476 msgid "" "However, there is one class of operations where the same operation sometimes " "has different behaviors with different types: the augmented assignment " @@ -874,11 +835,11 @@ msgstr "" "alors que ``some_tuple += (1, 2, 3)`` et ``some_int += 1`` créent de " "nouveaux objets)." -#: faq/programming.rst:497 +#: faq/programming.rst:483 msgid "In other words:" msgstr "En d'autres termes :" -#: faq/programming.rst:499 +#: faq/programming.rst:485 msgid "" "If we have a mutable object (:class:`list`, :class:`dict`, :class:`set`, " "etc.), we can use some specific operations to mutate it and all the " @@ -888,7 +849,7 @@ msgstr "" "class:`list`, :class:`dict`, :class:`set`, etc.) et toutes les variables qui " "y font référence verront le changement." -#: faq/programming.rst:502 +#: faq/programming.rst:488 msgid "" "If we have an immutable object (:class:`str`, :class:`int`, :class:`tuple`, " "etc.), all the variables that refer to it will always see the same value, " @@ -900,7 +861,7 @@ msgstr "" "opérations qui transforment cette valeur en une nouvelle valeur renvoient " "toujours un nouvel objet." -#: faq/programming.rst:507 +#: faq/programming.rst:493 msgid "" "If you want to know if two variables refer to the same object or not, you " "can use the :keyword:`is` operator, or the built-in function :func:`id`." @@ -908,13 +869,13 @@ msgstr "" "L'opérateur :keyword:`is` ou la fonction native :func:`id` permettent de " "savoir si deux variables font référence au même objet." -#: faq/programming.rst:512 +#: faq/programming.rst:498 msgid "How do I write a function with output parameters (call by reference)?" msgstr "" "Comment écrire une fonction qui modifie ses paramètres ? (passage par " "référence)" -#: faq/programming.rst:514 +#: faq/programming.rst:500 msgid "" "Remember that arguments are passed by assignment in Python. Since " "assignment just creates references to objects, there's no alias between an " @@ -927,15 +888,15 @@ msgstr "" "de passage par référence en soi. Il y a cependant plusieurs façons d'en " "émuler un." -#: faq/programming.rst:519 +#: faq/programming.rst:505 msgid "By returning a tuple of the results::" msgstr "En renvoyant un n-uplet de résultats ::" -#: faq/programming.rst:530 +#: faq/programming.rst:516 msgid "This is almost always the clearest solution." msgstr "C'est presque toujours la meilleure solution." -#: faq/programming.rst:532 +#: faq/programming.rst:518 msgid "" "By using global variables. This isn't thread-safe, and is not recommended." msgstr "" @@ -943,33 +904,33 @@ msgstr "" "des contextes à plusieurs fils d'exécution (elle n'est pas *thread-safe*), " "et n'est donc pas recommandée." -#: faq/programming.rst:534 +#: faq/programming.rst:520 msgid "By passing a mutable (changeable in-place) object::" msgstr "En passant un objet muable (modifiable sur place) ::" -#: faq/programming.rst:545 +#: faq/programming.rst:531 msgid "By passing in a dictionary that gets mutated::" msgstr "En passant un dictionnaire, qui sera modifié ::" -#: faq/programming.rst:556 +#: faq/programming.rst:542 msgid "Or bundle up values in a class instance::" msgstr "Ou regrouper les valeurs dans une instance de classe ::" -#: faq/programming.rst:573 +#: faq/programming.rst:559 msgid "There's almost never a good reason to get this complicated." msgstr "Faire quelque chose d'aussi compliqué est rarement une bonne idée." -#: faq/programming.rst:575 +#: faq/programming.rst:561 msgid "Your best choice is to return a tuple containing the multiple results." msgstr "" "La meilleure option reste de renvoyer un n-uplet contenant les différents " "résultats." -#: faq/programming.rst:579 +#: faq/programming.rst:565 msgid "How do you make a higher order function in Python?" msgstr "Comment construire une fonction d'ordre supérieur en Python ?" -#: faq/programming.rst:581 +#: faq/programming.rst:567 msgid "" "You have two choices: you can use nested scopes or you can use callable " "objects. For example, suppose you wanted to define ``linear(a,b)`` which " @@ -981,19 +942,19 @@ msgstr "" "``linear(a, b)`` qui renvoie une fonction ``f(x)`` qui calcule la valeur " "``a*x+b``. En utilisant les portées imbriquées ::" -#: faq/programming.rst:590 +#: faq/programming.rst:576 msgid "Or using a callable object::" msgstr "Ou en utilisant un objet appelable ::" -#: faq/programming.rst:600 +#: faq/programming.rst:586 msgid "In both cases, ::" msgstr "Dans les deux cas ::" -#: faq/programming.rst:604 +#: faq/programming.rst:590 msgid "gives a callable object where ``taxes(10e6) == 0.3 * 10e6 + 2``." msgstr "donne un objet appelable où ``taxes(10e6) == 0.3 * 10e6 + 2``." -#: faq/programming.rst:606 +#: faq/programming.rst:592 msgid "" "The callable object approach has the disadvantage that it is a bit slower " "and results in slightly longer code. However, note that a collection of " @@ -1004,11 +965,11 @@ msgstr "" "collection d'objet appelables peuvent partager leurs signatures par " "héritage ::" -#: faq/programming.rst:615 +#: faq/programming.rst:601 msgid "Object can encapsulate state for several methods::" msgstr "Les objets peuvent encapsuler un état pour plusieurs méthodes ::" -#: faq/programming.rst:633 +#: faq/programming.rst:619 msgid "" "Here ``inc()``, ``dec()`` and ``reset()`` act like functions which share the " "same counting variable." @@ -1016,11 +977,11 @@ msgstr "" "Ici ``inc()``, ``dec()`` et ``reset()`` agissent comme des fonctions " "partageant une même variable compteur." -#: faq/programming.rst:638 +#: faq/programming.rst:624 msgid "How do I copy an object in Python?" msgstr "Comment copier un objet en Python ?" -#: faq/programming.rst:640 +#: faq/programming.rst:626 msgid "" "In general, try :func:`copy.copy` or :func:`copy.deepcopy` for the general " "case. Not all objects can be copied, but most can." @@ -1028,7 +989,7 @@ msgstr "" "En général, essayez :func:`copy.copy` ou :func:`copy.deepcopy`. Tous les " "objets ne peuvent pas être copiés, mais la plupart le peuvent." -#: faq/programming.rst:643 +#: faq/programming.rst:629 msgid "" "Some objects can be copied more easily. Dictionaries have a :meth:`~dict." "copy` method::" @@ -1036,15 +997,15 @@ msgstr "" "Certains objets peuvent être copiés plus facilement que d'autres. Les " "dictionnaires ont une méthode :meth:`~dict.copy` ::" -#: faq/programming.rst:648 +#: faq/programming.rst:634 msgid "Sequences can be copied by slicing::" msgstr "Les séquences peuvent être copiées via la syntaxe des tranches ::" -#: faq/programming.rst:654 +#: faq/programming.rst:640 msgid "How can I find the methods or attributes of an object?" msgstr "Comment récupérer les méthodes ou les attributs d'un objet ?" -#: faq/programming.rst:656 +#: faq/programming.rst:642 msgid "" "For an instance x of a user-defined class, ``dir(x)`` returns an " "alphabetized list of the names containing the instance attributes and " @@ -1054,11 +1015,11 @@ msgstr "" "renvoie une liste alphabétique des noms contenants les attributs de " "l'instance, et les attributs et méthodes définies par sa classe." -#: faq/programming.rst:662 +#: faq/programming.rst:648 msgid "How can my code discover the name of an object?" msgstr "Comment un code peut-il obtenir le nom d'un objet ?" -#: faq/programming.rst:664 +#: faq/programming.rst:650 msgid "" "Generally speaking, it can't, because objects don't really have names. " "Essentially, assignment always binds a name to a value; the same is true of " @@ -1071,7 +1032,7 @@ msgstr "" "différence près que, dans ce cas, la valeur est un appelable. Par exemple, " "dans le code suivant ::" -#: faq/programming.rst:680 +#: faq/programming.rst:666 msgid "" "Arguably the class has a name: even though it is bound to two names and " "invoked through the name B the created instance is still reported as an " @@ -1084,7 +1045,7 @@ msgstr "" "dire si le nom de l'instance est a ou b, les deux noms étant attachés à la " "même valeur." -#: faq/programming.rst:685 +#: faq/programming.rst:671 msgid "" "Generally speaking it should not be necessary for your code to \"know the " "names\" of particular values. Unless you are deliberately writing " @@ -1096,7 +1057,7 @@ msgstr "" "train d'écrire un programme introspectif, c'est souvent l'indication qu'un " "changement d'approche serait bénéfique." -#: faq/programming.rst:690 +#: faq/programming.rst:676 msgid "" "In comp.lang.python, Fredrik Lundh once gave an excellent analogy in answer " "to this question:" @@ -1104,7 +1065,7 @@ msgstr "" "Sur *comp.lang.python*, Fredrik Lundh a donné un jour une excellente " "analogie pour répondre à cette question :" -#: faq/programming.rst:693 +#: faq/programming.rst:679 msgid "" "The same way as you get the name of that cat you found on your porch: the " "cat (object) itself cannot tell you its name, and it doesn't really care -- " @@ -1116,7 +1077,7 @@ msgstr "" "­– alors le meilleur moyen de savoir comment il s'appelle est de demander à " "tous vos voisins (espaces de nommage) si c'est leur chat (objet)…" -#: faq/programming.rst:698 +#: faq/programming.rst:684 msgid "" "....and don't be surprised if you'll find that it's known by many names, or " "no name at all!" @@ -1124,16 +1085,16 @@ msgstr "" "…et ne soyez pas surpris si vous découvrez qu'il est connu sous plusieurs " "noms, ou s'il n'a pas de nom du tout !" -#: faq/programming.rst:703 +#: faq/programming.rst:689 msgid "What's up with the comma operator's precedence?" msgstr "Qu'en est-il de la précédence de l'opérateur virgule ?" -#: faq/programming.rst:705 +#: faq/programming.rst:691 msgid "Comma is not an operator in Python. Consider this session::" msgstr "" "La virgule n'est pas un opérateur en Python. Observez le code suivant ::" -#: faq/programming.rst:710 +#: faq/programming.rst:696 msgid "" "Since the comma is not an operator, but a separator between expressions the " "above is evaluated as if you had entered::" @@ -1142,11 +1103,11 @@ msgstr "" "expressions, l'expression ci-dessus est évaluée de la même façon que si vous " "aviez écrit ::" -#: faq/programming.rst:715 +#: faq/programming.rst:701 msgid "not::" msgstr "et non ::" -#: faq/programming.rst:719 +#: faq/programming.rst:705 msgid "" "The same is true of the various assignment operators (``=``, ``+=`` etc). " "They are not truly operators but syntactic delimiters in assignment " @@ -1156,15 +1117,15 @@ msgstr "" "ne sont pas vraiment des opérateurs mais plutôt des délimiteurs syntaxiques " "dans les instructions d'affectation." -#: faq/programming.rst:724 +#: faq/programming.rst:710 msgid "Is there an equivalent of C's \"?:\" ternary operator?" msgstr "Existe-t-il un équivalent à l'opérateur ternaire \"?:\" du C ?" -#: faq/programming.rst:726 +#: faq/programming.rst:712 msgid "Yes, there is. The syntax is as follows::" msgstr "Oui. Sa syntaxe est la suivante ::" -#: faq/programming.rst:733 +#: faq/programming.rst:719 msgid "" "Before this syntax was introduced in Python 2.5, a common idiom was to use " "logical operators::" @@ -1172,7 +1133,7 @@ msgstr "" "Avant l'introduction de cette syntaxe dans Python 2.5, il était courant " "d'utiliser les opérateurs de logique ::" -#: faq/programming.rst:738 +#: faq/programming.rst:724 msgid "" "However, this idiom is unsafe, as it can give wrong results when *on_true* " "has a false boolean value. Therefore, it is always better to use the ``... " @@ -1182,13 +1143,13 @@ msgstr "" "la valeur booléenne fausse. Il faut donc toujours utiliser la forme ``... " "if ... else ...``." -#: faq/programming.rst:744 +#: faq/programming.rst:730 msgid "Is it possible to write obfuscated one-liners in Python?" msgstr "" "Est-il possible d'écrire des programmes obscurcis (*obfuscated*) d'une ligne " "en Python ?" -#: faq/programming.rst:746 +#: faq/programming.rst:732 msgid "" "Yes. Usually this is done by nesting :keyword:`lambda` within :keyword:`!" "lambda`. See the following three examples, due to Ulf Bartelt::" @@ -1197,17 +1158,17 @@ msgstr "" "keyword:`!lambda`. Par exemple les trois morceaux de code suivants, créés " "par Ulf Bartelt ::" -#: faq/programming.rst:773 +#: faq/programming.rst:759 msgid "Don't try this at home, kids!" msgstr "Les enfants, ne faites pas ça chez vous !" -#: faq/programming.rst:779 +#: faq/programming.rst:765 msgid "What does the slash(/) in the parameter list of a function mean?" msgstr "" "Que signifie la barre oblique (/) dans la liste des paramètres d'une " "fonction ?" -#: faq/programming.rst:781 +#: faq/programming.rst:767 msgid "" "A slash in the argument list of a function denotes that the parameters prior " "to it are positional-only. Positional-only parameters are the ones without " @@ -1225,7 +1186,7 @@ msgstr "" "que des paramètres uniquement positionnels. Sa documentation est la " "suivante ::" -#: faq/programming.rst:794 +#: faq/programming.rst:780 msgid "" "The slash at the end of the parameter list means that both parameters are " "positional-only. Thus, calling :func:`divmod` with keyword arguments would " @@ -1235,15 +1196,15 @@ msgstr "" "paramètres sont uniquement positionnels. Et donc, appeler :func:`divmod` " "avec des arguments nommés provoque une erreur ::" -#: faq/programming.rst:805 +#: faq/programming.rst:791 msgid "Numbers and strings" msgstr "Nombres et chaînes de caractères" -#: faq/programming.rst:808 +#: faq/programming.rst:794 msgid "How do I specify hexadecimal and octal integers?" msgstr "Comment écrire des entiers hexadécimaux ou octaux ?" -#: faq/programming.rst:810 +#: faq/programming.rst:796 msgid "" "To specify an octal digit, precede the octal value with a zero, and then a " "lower or uppercase \"o\". For example, to set the variable \"a\" to the " @@ -1253,7 +1214,7 @@ msgstr "" "puis un \"o\" majuscule ou minuscule. Par exemple pour affecter la valeur " "octale \"10\" (8 en décimal) à la variable \"a\", tapez ::" -#: faq/programming.rst:818 +#: faq/programming.rst:804 msgid "" "Hexadecimal is just as easy. Simply precede the hexadecimal number with a " "zero, and then a lower or uppercase \"x\". Hexadecimal digits can be " @@ -1264,11 +1225,11 @@ msgstr "" "peuvent être écrits en majuscules ou en minuscules. Par exemple, dans " "l'interpréteur Python ::" -#: faq/programming.rst:831 +#: faq/programming.rst:817 msgid "Why does -22 // 10 return -3?" msgstr "Pourquoi ``-22 // 10`` donne-t-il ``-3`` ?" -#: faq/programming.rst:833 +#: faq/programming.rst:819 msgid "" "It's primarily driven by the desire that ``i % j`` have the same sign as " "``j``. If you want that, and also want::" @@ -1276,7 +1237,7 @@ msgstr "" "Cela est principalement dû à la volonté que ``i % j`` ait le même signe que " "j. Si vous voulez en plus que ::" -#: faq/programming.rst:838 +#: faq/programming.rst:824 msgid "" "then integer division has to return the floor. C also requires that " "identity to hold, and then compilers that truncate ``i // j`` need to make " @@ -1286,7 +1247,7 @@ msgstr "" "également que cette égalité soit vérifiée, et donc les compilateurs qui " "tronquent ``i // j`` ont besoin que ``i % j`` ait le même signe que ``i``." -#: faq/programming.rst:842 +#: faq/programming.rst:828 msgid "" "There are few real use cases for ``i % j`` when ``j`` is negative. When " "``j`` is positive, there are many, and in virtually all of them it's more " @@ -1300,11 +1261,11 @@ msgstr "" "10 h maintenant, qu'affichait-elle il y a 200 heures ? ``-190 % 12 == 2`` " "est utile ; ``-190 % 12 == -10`` est un bogue en puissance." -#: faq/programming.rst:850 +#: faq/programming.rst:836 msgid "How do I convert a string to a number?" msgstr "Comment convertir une chaîne de caractères en nombre ?" -#: faq/programming.rst:852 +#: faq/programming.rst:838 msgid "" "For integers, use the built-in :func:`int` type constructor, e.g. " "``int('144') == 144``. Similarly, :func:`float` converts to floating-point, " @@ -1314,7 +1275,7 @@ msgstr "" "``int('144') == 144``. De façon similaire, :func:`float` donne la valeur " "flottante, par exemple ``float('144') == 144.0``." -#: faq/programming.rst:856 +#: faq/programming.rst:842 #, fuzzy msgid "" "By default, these interpret the number as decimal, so that ``int('0144') == " @@ -1331,7 +1292,7 @@ msgstr "" "donnée est 0, le nombre est interprété selon les règles Python : un préfixe " "``0o`` indique de l'octal et ``0x`` indique de l'hexadécimal." -#: faq/programming.rst:863 +#: faq/programming.rst:849 msgid "" "Do not use the built-in function :func:`eval` if all you need is to convert " "strings to numbers. :func:`eval` will be significantly slower and it " @@ -1347,7 +1308,7 @@ msgstr "" "pourrait passer ``__import__('os').system(\"rm -rf $HOME\")`` ce qui " "effacerait votre répertoire personnel." -#: faq/programming.rst:870 +#: faq/programming.rst:856 msgid "" ":func:`eval` also has the effect of interpreting numbers as Python " "expressions, so that e.g. ``eval('09')`` gives a syntax error because Python " @@ -1358,11 +1319,11 @@ msgstr "" "parce que Python ne permet pas les '0' en tête d'un nombre décimal (à " "l'exception du nombre '0')." -#: faq/programming.rst:876 +#: faq/programming.rst:862 msgid "How do I convert a number to a string?" msgstr "Comment convertir un nombre en chaîne de caractères ?" -#: faq/programming.rst:878 +#: faq/programming.rst:864 msgid "" "To convert, e.g., the number 144 to the string '144', use the built-in type " "constructor :func:`str`. If you want a hexadecimal or octal representation, " @@ -1379,11 +1340,11 @@ msgstr "" "`formatstrings`, e.g. ``\"{:04d}\".format(144)`` produit ``'0144'`` et ``" "\"{:.3f}\".format(1.0/3.0)`` produit ``'0.333'``." -#: faq/programming.rst:887 +#: faq/programming.rst:873 msgid "How do I modify a string in place?" msgstr "Comment modifier une chaîne de caractères « sur place » ?" -#: faq/programming.rst:889 +#: faq/programming.rst:875 msgid "" "You can't, because strings are immutable. In most situations, you should " "simply construct a new string from the various parts you want to assemble it " @@ -1397,17 +1358,17 @@ msgstr "" "capable de modifier de la donnée Unicode « sur place », essayez d'utiliser " "un objet :class:`io.StringIO` ou le module :mod:`array` ::" -#: faq/programming.rst:919 +#: faq/programming.rst:905 msgid "How do I use strings to call functions/methods?" msgstr "" "Comment utiliser des chaînes de caractères pour appeler des fonctions/" "méthodes ?" -#: faq/programming.rst:921 +#: faq/programming.rst:907 msgid "There are various techniques." msgstr "Il y a plusieurs façons de faire." -#: faq/programming.rst:923 +#: faq/programming.rst:909 msgid "" "The best is to use a dictionary that maps strings to functions. The primary " "advantage of this technique is that the strings do not need to match the " @@ -1420,11 +1381,11 @@ msgstr "" "fonctions. C'est aussi la façon principale d'imiter la construction \"case" "\" ::" -#: faq/programming.rst:938 +#: faq/programming.rst:924 msgid "Use the built-in function :func:`getattr`::" msgstr "Utiliser la fonction :func:`getattr` ::" -#: faq/programming.rst:943 +#: faq/programming.rst:929 msgid "" "Note that :func:`getattr` works on any object, including classes, class " "instances, modules, and so on." @@ -1432,19 +1393,19 @@ msgstr "" "Notez que :func:`getattr` marche sur n'importe quel objet, ceci inclut les " "classes, les instances de classes, les modules et ainsi de suite." -#: faq/programming.rst:946 +#: faq/programming.rst:932 msgid "This is used in several places in the standard library, like this::" msgstr "" "Ceci est utilisé à plusieurs reprises dans la bibliothèque standard, de " "cette façon ::" -#: faq/programming.rst:959 +#: faq/programming.rst:945 msgid "Use :func:`locals` or :func:`eval` to resolve the function name::" msgstr "" "Utilisez :func:`locals` ou :func:`eval` pour résoudre le nom de la " "fonction ::" -#: faq/programming.rst:972 +#: faq/programming.rst:958 msgid "" "Note: Using :func:`eval` is slow and dangerous. If you don't have absolute " "control over the contents of the string, someone could pass a string that " @@ -1455,7 +1416,7 @@ msgstr "" "pourrait passer une chaîne de caractères pouvant appeler n'importe quelle " "fonction." -#: faq/programming.rst:977 +#: faq/programming.rst:963 msgid "" "Is there an equivalent to Perl's chomp() for removing trailing newlines from " "strings?" @@ -1463,7 +1424,7 @@ msgstr "" "Existe-t-il un équivalent à la fonction ``chomp()`` de Perl, pour retirer " "les caractères de fin de ligne d'une chaîne de caractères ?" -#: faq/programming.rst:979 +#: faq/programming.rst:965 msgid "" "You can use ``S.rstrip(\"\\r\\n\")`` to remove all occurrences of any line " "terminator from the end of the string ``S`` without removing other trailing " @@ -1477,7 +1438,7 @@ msgstr "" "représente plus d'une ligne, avec plusieurs lignes vides, les marqueurs de " "fin de ligne de chaque ligne vide seront retirés ::" -#: faq/programming.rst:991 +#: faq/programming.rst:977 msgid "" "Since this is typically only desired when reading text one line at a time, " "using ``S.rstrip()`` this way works well." @@ -1485,15 +1446,15 @@ msgstr "" "Vu que cela ne sert presque qu'à lire un texte ligne à ligne, utiliser ``S." "rstrip()`` de cette manière fonctionne correctement." -#: faq/programming.rst:996 +#: faq/programming.rst:982 msgid "Is there a scanf() or sscanf() equivalent?" msgstr "Existe-t-il un équivalent à ``scanf()`` ou ``sscanf()`` ?" -#: faq/programming.rst:998 +#: faq/programming.rst:984 msgid "Not as such." msgstr "Pas exactement." -#: faq/programming.rst:1000 +#: faq/programming.rst:986 msgid "" "For simple input parsing, the easiest approach is usually to split the line " "into whitespace-delimited words using the :meth:`~str.split` method of " @@ -1510,7 +1471,7 @@ msgstr "" "paramètre optionnel \"sep\" qui est utile si la ligne utilise autre chose " "que des espaces comme séparateurs." -#: faq/programming.rst:1006 +#: faq/programming.rst:992 msgid "" "For more complicated input parsing, regular expressions are more powerful " "than C's :c:func:`sscanf` and better suited for the task." @@ -1519,24 +1480,24 @@ msgstr "" "puissantes que la fonction :c:func:`sscanf` de C et mieux adaptées à la " "tâche." -#: faq/programming.rst:1011 +#: faq/programming.rst:997 msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?" msgstr "" "Que signifient les erreurs ``UnicodeDecodeError`` ou ``UnicodeEncodeError`` ?" -#: faq/programming.rst:1013 +#: faq/programming.rst:999 msgid "See the :ref:`unicode-howto`." msgstr "Voir :ref:`unicode-howto`." -#: faq/programming.rst:1017 +#: faq/programming.rst:1003 msgid "Performance" msgstr "Performances" -#: faq/programming.rst:1020 +#: faq/programming.rst:1006 msgid "My program is too slow. How do I speed it up?" msgstr "Mon programme est trop lent. Comment l'accélérer ?" -#: faq/programming.rst:1022 +#: faq/programming.rst:1008 msgid "" "That's a tough one, in general. First, here are a list of things to " "remember before diving further:" @@ -1544,7 +1505,7 @@ msgstr "" "Question difficile en général. Il faut garder en tête les points suivants " "avant d'aller plus loin :" -#: faq/programming.rst:1025 +#: faq/programming.rst:1011 msgid "" "Performance characteristics vary across Python implementations. This FAQ " "focuses on :term:`CPython`." @@ -1552,7 +1513,7 @@ msgstr "" "Les performances varient en fonction des implémentations de Python. Cette " "FAQ ne traite que de :term:`CPython`." -#: faq/programming.rst:1027 +#: faq/programming.rst:1013 msgid "" "Behaviour can vary across operating systems, especially when talking about I/" "O or multi-threading." @@ -1561,7 +1522,7 @@ msgstr "" "tout particulièrement quand il s'agit d'entrée/sortie ou de fils d'exécution " "multiples." -#: faq/programming.rst:1029 +#: faq/programming.rst:1015 msgid "" "You should always find the hot spots in your program *before* attempting to " "optimize any code (see the :mod:`profile` module)." @@ -1570,7 +1531,7 @@ msgstr "" "programme *avant* d'essayer d'optimiser du code (voir le module :mod:" "`profile`)." -#: faq/programming.rst:1031 +#: faq/programming.rst:1017 msgid "" "Writing benchmark scripts will allow you to iterate quickly when searching " "for improvements (see the :mod:`timeit` module)." @@ -1578,7 +1539,7 @@ msgstr "" "Écrire des scripts d'évaluation de performances permet de progresser " "rapidement dans la recherche d'améliorations (voir le module :mod:`timeit`)." -#: faq/programming.rst:1033 +#: faq/programming.rst:1019 msgid "" "It is highly recommended to have good code coverage (through unit testing or " "any other technique) before potentially introducing regressions hidden in " @@ -1588,7 +1549,7 @@ msgstr "" "des tests unitaires ou autre) avant d'ajouter des erreurs dans des " "optimisations sophistiquées." -#: faq/programming.rst:1037 +#: faq/programming.rst:1023 msgid "" "That being said, there are many tricks to speed up Python code. Here are " "some general principles which go a long way towards reaching acceptable " @@ -1598,7 +1559,7 @@ msgstr "" "Voici quelques principes généraux qui peuvent aider à atteindre des niveaux " "de performance satisfaisants :" -#: faq/programming.rst:1041 +#: faq/programming.rst:1027 msgid "" "Making your algorithms faster (or changing to faster ones) can yield much " "larger benefits than trying to sprinkle micro-optimization tricks all over " @@ -1608,7 +1569,7 @@ msgstr "" "produire de bien meilleurs résultats que d'optimiser ça et là de petites " "portions du code." -#: faq/programming.rst:1045 +#: faq/programming.rst:1031 msgid "" "Use the right data structures. Study documentation for the :ref:`bltin-" "types` and the :mod:`collections` module." @@ -1616,7 +1577,7 @@ msgstr "" "Utiliser les structures de données adaptées. Se référer à la documentation " "des :ref:`bltin-types` et du module :mod:`collections`." -#: faq/programming.rst:1048 +#: faq/programming.rst:1034 msgid "" "When the standard library provides a primitive for doing something, it is " "likely (although not guaranteed) to be faster than any alternative you may " @@ -1635,7 +1596,7 @@ msgstr "" "référer à la section :ref:`sortinghowto` pour des exemples d'utilisation " "courante)." -#: faq/programming.rst:1056 +#: faq/programming.rst:1042 msgid "" "Abstractions tend to create indirections and force the interpreter to work " "more. If the levels of indirection outweigh the amount of useful work done, " @@ -1649,7 +1610,7 @@ msgstr "" "éviter trop d'indirections, en particulier sous la forme de fonctions ou " "méthodes trop petites (qui nuisent aussi souvent à la clarté du code)." -#: faq/programming.rst:1062 +#: faq/programming.rst:1048 msgid "" "If you have reached the limit of what pure Python can allow, there are tools " "to take you further away. For example, `Cython `_ can " @@ -1670,7 +1631,7 @@ msgstr "" "vous pouvez aussi :ref:`écrire un module d'extension en C` " "vous-même." -#: faq/programming.rst:1072 +#: faq/programming.rst:1058 msgid "" "The wiki page devoted to `performance tips `_." @@ -1678,13 +1639,13 @@ msgstr "" "La page wiki dédiée aux `astuces de performance `_." -#: faq/programming.rst:1078 +#: faq/programming.rst:1064 msgid "What is the most efficient way to concatenate many strings together?" msgstr "" "Quelle est la manière la plus efficace de concaténer un grand nombre de " "chaînes de caractères ?" -#: faq/programming.rst:1080 +#: faq/programming.rst:1066 msgid "" ":class:`str` and :class:`bytes` objects are immutable, therefore " "concatenating many strings together is inefficient as each concatenation " @@ -1697,7 +1658,7 @@ msgstr "" "général, la complexité est quadratique par rapport à la taille totale de la " "chaîne." -#: faq/programming.rst:1085 +#: faq/programming.rst:1071 msgid "" "To accumulate many :class:`str` objects, the recommended idiom is to place " "them into a list and call :meth:`str.join` at the end::" @@ -1706,13 +1667,13 @@ msgstr "" "recommandée consiste à toutes les mettre dans une liste et appeler la " "méthode :meth:`str.join` à la fin ::" -#: faq/programming.rst:1093 +#: faq/programming.rst:1079 msgid "(another reasonably efficient idiom is to use :class:`io.StringIO`)" msgstr "" "(une autre technique relativement efficace consiste à utiliser :class:`io." "StringIO`)" -#: faq/programming.rst:1095 +#: faq/programming.rst:1081 msgid "" "To accumulate many :class:`bytes` objects, the recommended idiom is to " "extend a :class:`bytearray` object using in-place concatenation (the ``+=`` " @@ -1722,15 +1683,15 @@ msgstr "" "recommandée consiste à étendre un objet :class:`bytearray` en utilisant la " "concaténation en-place (l'opérateur ``+=``) ::" -#: faq/programming.rst:1104 +#: faq/programming.rst:1090 msgid "Sequences (Tuples/Lists)" msgstr "Séquences (n-uplets / listes)" -#: faq/programming.rst:1107 +#: faq/programming.rst:1093 msgid "How do I convert between tuples and lists?" msgstr "Comment convertir les listes en n-uplets et inversement ?" -#: faq/programming.rst:1109 +#: faq/programming.rst:1095 msgid "" "The type constructor ``tuple(seq)`` converts any sequence (actually, any " "iterable) into a tuple with the same items in the same order." @@ -1739,7 +1700,7 @@ msgstr "" "précisément, tout itérable) en un n-uplet avec les mêmes éléments dans le " "même ordre." -#: faq/programming.rst:1112 +#: faq/programming.rst:1098 msgid "" "For example, ``tuple([1, 2, 3])`` yields ``(1, 2, 3)`` and ``tuple('abc')`` " "yields ``('a', 'b', 'c')``. If the argument is a tuple, it does not make a " @@ -1752,7 +1713,7 @@ msgstr "" "fonction économique à appeler quand vous ne savez pas si votre objet est " "déjà un n-uplet." -#: faq/programming.rst:1117 +#: faq/programming.rst:1103 msgid "" "The type constructor ``list(seq)`` converts any sequence or iterable into a " "list with the same items in the same order. For example, ``list((1, 2, " @@ -1765,11 +1726,11 @@ msgstr "" "``['a','b','c']``. Si l'argument est une liste, il renvoie une copie, de la " "même façon que ``seq[:]``." -#: faq/programming.rst:1124 +#: faq/programming.rst:1110 msgid "What's a negative index?" msgstr "Qu'est-ce qu'un index négatif ?" -#: faq/programming.rst:1126 +#: faq/programming.rst:1112 msgid "" "Python sequences are indexed with positive numbers and negative numbers. " "For positive numbers 0 is the first index 1 is the second index and so " @@ -1783,7 +1744,7 @@ msgstr "" "dernier index, ``-2`` est le pénultième (avant-dernier), et ainsi de suite. " "On peut aussi dire que ``seq[-n]`` est équivalent à ``seq[len(seq)-n]``." -#: faq/programming.rst:1131 +#: faq/programming.rst:1117 msgid "" "Using negative indices can be very convenient. For example ``S[:-1]`` is " "all of the string except for its last character, which is useful for " @@ -1794,18 +1755,18 @@ msgstr "" "caractère, ce qui est pratique pour retirer un caractère de fin de ligne à " "la fin d'une chaîne." -#: faq/programming.rst:1137 +#: faq/programming.rst:1123 msgid "How do I iterate over a sequence in reverse order?" msgstr "Comment itérer à rebours sur une séquence ?" -#: faq/programming.rst:1139 +#: faq/programming.rst:1125 msgid "" "Use the :func:`reversed` built-in function, which is new in Python 2.4::" msgstr "" "Utilisez la fonction native :func:`reversed`, qui a été introduite en Python " "2.4 ::" -#: faq/programming.rst:1144 +#: faq/programming.rst:1130 msgid "" "This won't touch your original sequence, but build a new copy with reversed " "order to iterate over." @@ -1813,25 +1774,25 @@ msgstr "" "Cela ne modifie pas la séquence initiale, mais construit à la place une " "copie en ordre inverse pour itérer dessus." -#: faq/programming.rst:1147 +#: faq/programming.rst:1133 msgid "With Python 2.3, you can use an extended slice syntax::" msgstr "Avec Python 2.3 vous pouvez utiliser la syntaxe étendue de tranches ::" -#: faq/programming.rst:1154 +#: faq/programming.rst:1140 msgid "How do you remove duplicates from a list?" msgstr "Comment retirer les doublons d'une liste ?" -#: faq/programming.rst:1156 +#: faq/programming.rst:1142 msgid "See the Python Cookbook for a long discussion of many ways to do this:" msgstr "" "Lisez le « livre de recettes » Python pour trouver une longue discussion sur " "les nombreuses approches possibles :" -#: faq/programming.rst:1158 +#: faq/programming.rst:1144 msgid "https://code.activestate.com/recipes/52560/" msgstr "https://code.activestate.com/recipes/52560/" -#: faq/programming.rst:1160 +#: faq/programming.rst:1146 msgid "" "If you don't mind reordering the list, sort it and then scan from the end of " "the list, deleting duplicates as you go::" @@ -1840,7 +1801,7 @@ msgstr "" "celle-ci, puis parcourez-la d'un bout à l'autre, en supprimant les doublons " "trouvés en chemin ::" -#: faq/programming.rst:1172 +#: faq/programming.rst:1158 msgid "" "If all elements of the list may be used as set keys (i.e. they are all :term:" "`hashable`) this is often faster ::" @@ -1849,7 +1810,7 @@ msgstr "" "dictionnaire (c'est à dire, qu'elles sont toutes :term:`hachables " "`) ceci est souvent plus rapide ::" -#: faq/programming.rst:1177 +#: faq/programming.rst:1163 msgid "" "This converts the list into a set, thereby removing duplicates, and then " "back into a list." @@ -1857,15 +1818,32 @@ msgstr "" "Ceci convertit la liste en un ensemble, ce qui supprime automatiquement les " "doublons, puis la transforme à nouveau en liste." -#: faq/programming.rst:1182 +#: faq/programming.rst:1168 +#, fuzzy +msgid "How do you remove multiple items from a list" +msgstr "Comment retirer les doublons d'une liste ?" + +#: faq/programming.rst:1170 +msgid "" +"As with removing duplicates, explicitly iterating in reverse with a delete " +"condition is one possibility. However, it is easier and faster to use slice " +"replacement with an implicit or explicit forward iteration. Here are three " +"variations.::" +msgstr "" + +#: faq/programming.rst:1179 +msgid "If space is not an issue, the list comprehension may be fastest." +msgstr "" + +#: faq/programming.rst:1183 msgid "How do you make an array in Python?" msgstr "Comment construire un tableau en Python ?" -#: faq/programming.rst:1184 +#: faq/programming.rst:1185 msgid "Use a list::" msgstr "Utilisez une liste ::" -#: faq/programming.rst:1188 +#: faq/programming.rst:1189 msgid "" "Lists are equivalent to C or Pascal arrays in their time complexity; the " "primary difference is that a Python list can contain objects of many " @@ -1875,7 +1853,7 @@ msgstr "" "principale différence est qu'une liste Python peut contenir des objets de " "différents types." -#: faq/programming.rst:1191 +#: faq/programming.rst:1192 msgid "" "The ``array`` module also provides methods for creating arrays of fixed " "types with compact representations, but they are slower to index than " @@ -1888,14 +1866,14 @@ msgstr "" "fournissent différentes structures de type tableaux, avec des " "caractéristiques différentes." -#: faq/programming.rst:1196 +#: faq/programming.rst:1197 msgid "" "To get Lisp-style linked lists, you can emulate cons cells using tuples::" msgstr "" "Pour obtenir des listes chaînées à la sauce Lisp, vous pouvez émuler les " "*cons cells* en utilisant des n-uplets ::" -#: faq/programming.rst:1200 +#: faq/programming.rst:1201 msgid "" "If mutability is desired, you could use lists instead of tuples. Here the " "analogue of lisp car is ``lisp_list[0]`` and the analogue of cdr is " @@ -1908,27 +1886,27 @@ msgstr "" "ceci que si vous êtes réellement sûr d'en avoir besoin, cette méthode est en " "général bien plus lente que les listes Python." -#: faq/programming.rst:1209 +#: faq/programming.rst:1210 msgid "How do I create a multidimensional list?" msgstr "Comment créer une liste à plusieurs dimensions ?" -#: faq/programming.rst:1211 +#: faq/programming.rst:1212 msgid "You probably tried to make a multidimensional array like this::" msgstr "" "Vous avez probablement essayé de créer une liste à plusieurs dimensions de " "cette façon ::" -#: faq/programming.rst:1215 +#: faq/programming.rst:1216 msgid "This looks correct if you print it:" msgstr "Elle semble correcte si on l'affiche :" -#: faq/programming.rst:1226 +#: faq/programming.rst:1227 msgid "But when you assign a value, it shows up in multiple places:" msgstr "" "Mais quand vous affectez une valeur, celle-ci apparaît à plusieurs " "endroits ::" -#: faq/programming.rst:1238 +#: faq/programming.rst:1239 msgid "" "The reason is that replicating a list with ``*`` doesn't create copies, it " "only creates references to the existing objects. The ``*3`` creates a list " @@ -1941,7 +1919,7 @@ msgstr "" "dans une colonne apparaîtra donc dans toutes les colonnes, ce qui n'est très " "probablement pas ce que vous souhaitiez." -#: faq/programming.rst:1243 +#: faq/programming.rst:1244 msgid "" "The suggested approach is to create a list of the desired length first and " "then fill in each element with a newly created list::" @@ -1949,7 +1927,7 @@ msgstr "" "L'approche suggérée est d'abord de créer une liste de la longueur désirée, " "puis de remplir tous les éléments avec une nouvelle chaîne ::" -#: faq/programming.rst:1250 +#: faq/programming.rst:1251 msgid "" "This generates a list containing 3 different lists of length two. You can " "also use a list comprehension::" @@ -1958,7 +1936,7 @@ msgstr "" "longueur deux. Vous pouvez aussi utiliser la syntaxe des listes en " "compréhension ::" -#: faq/programming.rst:1256 +#: faq/programming.rst:1257 msgid "" "Or, you can use an extension that provides a matrix datatype; `NumPy `_ is the best known." @@ -1966,22 +1944,22 @@ msgstr "" "Vous pouvez aussi utiliser une extension qui fournit un type matriciel " "natif ; `NumPy `_ est la plus répandue." -#: faq/programming.rst:1261 +#: faq/programming.rst:1262 msgid "How do I apply a method to a sequence of objects?" msgstr "Comment appliquer une méthode à une séquence d'objets ?" -#: faq/programming.rst:1263 +#: faq/programming.rst:1264 msgid "Use a list comprehension::" msgstr "Utilisez une liste en compréhension ::" -#: faq/programming.rst:1270 +#: faq/programming.rst:1271 msgid "" "Why does a_tuple[i] += ['item'] raise an exception when the addition works?" msgstr "" "Pourquoi ``a_tuple[i] += ['item']`` lève-t-il une exception alors que " "l'addition fonctionne ?" -#: faq/programming.rst:1272 +#: faq/programming.rst:1273 msgid "" "This is because of a combination of the fact that augmented assignment " "operators are *assignment* operators, and the difference between mutable and " @@ -1991,7 +1969,7 @@ msgstr "" "d'affectation incrémentaux sont des opérateurs d'*affectation* et à la " "différence entre les objets muables et immuables en Python." -#: faq/programming.rst:1276 +#: faq/programming.rst:1277 msgid "" "This discussion applies in general when augmented assignment operators are " "applied to elements of a tuple that point to mutable objects, but we'll use " @@ -2001,11 +1979,11 @@ msgstr "" "incrémentale sont appliqués aux éléments d'un n-uplet qui pointe sur des " "objets muables, mais on prendra ``list`` et ``+=`` comme exemple." -#: faq/programming.rst:1280 +#: faq/programming.rst:1281 msgid "If you wrote::" msgstr "Si vous écrivez ::" -#: faq/programming.rst:1288 +#: faq/programming.rst:1289 msgid "" "The reason for the exception should be immediately clear: ``1`` is added to " "the object ``a_tuple[0]`` points to (``1``), producing the result object, " @@ -2019,7 +1997,7 @@ msgstr "" "l'élément ``0`` du n-uplet, on obtient une erreur car il est impossible de " "modifier la cible sur laquelle pointe un élément d'un n-uplet." -#: faq/programming.rst:1294 +#: faq/programming.rst:1295 msgid "" "Under the covers, what this augmented assignment statement is doing is " "approximately this::" @@ -2027,7 +2005,7 @@ msgstr "" "Sous le capot, une instruction d'affectation incrémentale fait à peu près " "ceci ::" -#: faq/programming.rst:1303 +#: faq/programming.rst:1304 msgid "" "It is the assignment part of the operation that produces the error, since a " "tuple is immutable." @@ -2035,11 +2013,11 @@ msgstr "" "C'est la partie de l'affectation de l'opération qui génère l'erreur, vu " "qu'un n-uplet est immuable." -#: faq/programming.rst:1306 +#: faq/programming.rst:1307 msgid "When you write something like::" msgstr "Quand vous écrivez un code du style ::" -#: faq/programming.rst:1314 +#: faq/programming.rst:1315 msgid "" "The exception is a bit more surprising, and even more surprising is the fact " "that even though there was an error, the append worked::" @@ -2047,7 +2025,7 @@ msgstr "" "L'exception est un peu plus surprenante et, chose encore plus étrange, " "malgré l'erreur, l'ajout a fonctionné ::" -#: faq/programming.rst:1320 +#: faq/programming.rst:1321 msgid "" "To see why this happens, you need to know that (a) if an object implements " "an ``__iadd__`` magic method, it gets called when the ``+=`` augmented " @@ -2064,11 +2042,11 @@ msgstr "" "renvoyer celle-ci. C'est pour cette raison que l'on dit que pour les listes, " "``+=`` est un \"raccourci\" pour ``list.extend`` ::" -#: faq/programming.rst:1332 +#: faq/programming.rst:1333 msgid "This is equivalent to::" msgstr "C’est équivalent à ::" -#: faq/programming.rst:1337 +#: faq/programming.rst:1338 msgid "" "The object pointed to by a_list has been mutated, and the pointer to the " "mutated object is assigned back to ``a_list``. The end result of the " @@ -2080,13 +2058,13 @@ msgstr "" "change rien, puisque c'est un pointeur vers le même objet que sur lequel " "pointait ``a_list``, mais l'affectation a tout de même lieu." -#: faq/programming.rst:1342 +#: faq/programming.rst:1343 msgid "Thus, in our tuple example what is happening is equivalent to::" msgstr "" "Donc, dans notre exemple avec un n-uplet, il se passe quelque chose " "équivalent à ::" -#: faq/programming.rst:1350 +#: faq/programming.rst:1351 msgid "" "The ``__iadd__`` succeeds, and thus the list is extended, but even though " "``result`` points to the same object that ``a_tuple[0]`` already points to, " @@ -2097,7 +2075,7 @@ msgstr "" "``result`` pointe sur le même objet que ``a_tuple[0]``, l'affectation finale " "échoue car les n-uplets ne sont pas muables." -#: faq/programming.rst:1356 +#: faq/programming.rst:1357 msgid "" "I want to do a complicated sort: can you do a Schwartzian Transform in " "Python?" @@ -2105,7 +2083,7 @@ msgstr "" "Je souhaite faire un classement compliqué : peut on faire une transformation " "de Schwartz en Python ?" -#: faq/programming.rst:1358 +#: faq/programming.rst:1359 msgid "" "The technique, attributed to Randal Schwartz of the Perl community, sorts " "the elements of a list by a metric which maps each element to its \"sort " @@ -2117,11 +2095,11 @@ msgstr "" "chaque élément à sa \"valeur de tri\". En Python, ceci est géré par " "l'argument ``key`` de la méthode :meth:`list.sort` ::" -#: faq/programming.rst:1367 +#: faq/programming.rst:1368 msgid "How can I sort one list by values from another list?" msgstr "Comment ordonner une liste en fonction des valeurs d'une autre liste ?" -#: faq/programming.rst:1369 +#: faq/programming.rst:1370 msgid "" "Merge them into an iterator of tuples, sort the resulting list, and then " "pick out the element you want. ::" @@ -2129,11 +2107,11 @@ msgstr "" "Fusionnez-les dans un itérateur de n-uplets, ordonnez la liste obtenue, puis " "choisissez l'élément que vous voulez ::" -#: faq/programming.rst:1383 +#: faq/programming.rst:1384 msgid "An alternative for the last step is::" msgstr "Vous pouvez remplacer la dernière étape par ::" -#: faq/programming.rst:1388 +#: faq/programming.rst:1389 msgid "" "If you find this more legible, you might prefer to use this instead of the " "final list comprehension. However, it is almost twice as slow for long " @@ -2153,15 +2131,15 @@ msgstr "" "supplémentaire à un attribut et, enfin, parce que tous ces appels de " "fonctions réduisent la vitesse d'exécution." -#: faq/programming.rst:1398 +#: faq/programming.rst:1399 msgid "Objects" msgstr "Objets" -#: faq/programming.rst:1401 +#: faq/programming.rst:1402 msgid "What is a class?" msgstr "Qu'est-ce qu'une classe ?" -#: faq/programming.rst:1403 +#: faq/programming.rst:1404 msgid "" "A class is the particular object type created by executing a class " "statement. Class objects are used as templates to create instance objects, " @@ -2173,7 +2151,7 @@ msgstr "" "créer des objets, qui incarnent à la fois les données (attributs) et le code " "(méthodes) spécifiques à un type de données." -#: faq/programming.rst:1407 +#: faq/programming.rst:1408 msgid "" "A class can be based on one or more other classes, called its base " "class(es). It then inherits the attributes and methods of its base classes. " @@ -2191,11 +2169,11 @@ msgstr "" "``MaildirMailbox``, ``OutlookMailbox`` qui gèrent les plusieurs formats " "spécifiques de boîtes aux lettres." -#: faq/programming.rst:1416 +#: faq/programming.rst:1417 msgid "What is a method?" msgstr "Qu'est-ce qu'une méthode ?" -#: faq/programming.rst:1418 +#: faq/programming.rst:1419 msgid "" "A method is a function on some object ``x`` that you normally call as ``x." "name(arguments...)``. Methods are defined as functions inside the class " @@ -2205,11 +2183,11 @@ msgstr "" "générale sous la forme ``x.name(arguments…)``. Les méthodes sont définies " "comme des fonctions à l'intérieur de la définition de classe ::" -#: faq/programming.rst:1428 +#: faq/programming.rst:1429 msgid "What is self?" msgstr "Qu'est-ce que self ?" -#: faq/programming.rst:1430 +#: faq/programming.rst:1431 msgid "" "Self is merely a conventional name for the first argument of a method. A " "method defined as ``meth(self, a, b, c)`` should be called as ``x.meth(a, b, " @@ -2222,11 +2200,11 @@ msgstr "" "est définie ; tout se passe comme si la méthode était appelée comme " "``meth(x, a, b, c)``." -#: faq/programming.rst:1435 +#: faq/programming.rst:1436 msgid "See also :ref:`why-self`." msgstr "Voir aussi :ref:`why-self`." -#: faq/programming.rst:1439 +#: faq/programming.rst:1440 msgid "" "How do I check if an object is an instance of a given class or of a subclass " "of it?" @@ -2234,7 +2212,7 @@ msgstr "" "Comment vérifier si un objet est une instance d'une classe donnée ou d'une " "sous-classe de celle-ci ?" -#: faq/programming.rst:1441 +#: faq/programming.rst:1442 msgid "" "Use the built-in function ``isinstance(obj, cls)``. You can check if an " "object is an instance of any of a number of classes by providing a tuple " @@ -2249,7 +2227,7 @@ msgstr "" "l'un des types natifs de Python, par exemple ``isinstance(obj, str)`` ou " "``isinstance(obj, (int, float, complex))``." -#: faq/programming.rst:1447 +#: faq/programming.rst:1448 msgid "" "Note that most programs do not use :func:`isinstance` on user-defined " "classes very often. If you are developing the classes yourself, a more " @@ -2265,7 +2243,7 @@ msgstr "" "plutôt que de vérifier la classe de l'objet et de faire un traitement ad-" "hoc. Par exemple, si vous avez une fonction qui fait quelque chose ::" -#: faq/programming.rst:1461 +#: faq/programming.rst:1462 msgid "" "A better approach is to define a ``search()`` method on all the classes and " "just call it::" @@ -2273,11 +2251,11 @@ msgstr "" "Une meilleure approche est de définir une méthode ``search()`` dans toutes " "les classes et qu'il suffit d'appeler de la manière suivante ::" -#: faq/programming.rst:1476 +#: faq/programming.rst:1477 msgid "What is delegation?" msgstr "Qu'est-ce que la délégation ?" -#: faq/programming.rst:1478 +#: faq/programming.rst:1479 msgid "" "Delegation is an object oriented technique (also called a design pattern). " "Let's say you have an object ``x`` and want to change the behaviour of just " @@ -2292,7 +2270,7 @@ msgstr "" "dans l'évolution et qui délègue toute autre méthode à la méthode " "correspondante de ``x``." -#: faq/programming.rst:1484 +#: faq/programming.rst:1485 msgid "" "Python programmers can easily implement delegation. For example, the " "following class implements a class that behaves like a file but converts all " @@ -2302,7 +2280,7 @@ msgstr "" "Par exemple, la classe suivante implémente une classe qui se comporte comme " "un fichier, mais convertit toutes les données écrites en majuscules ::" -#: faq/programming.rst:1499 +#: faq/programming.rst:1500 msgid "" "Here the ``UpperOut`` class redefines the ``write()`` method to convert the " "argument string to uppercase before calling the underlying ``self._outfile." @@ -2319,7 +2297,7 @@ msgstr "" "` pour plus d'informations sur la personnalisation de " "l’accès aux attributs." -#: faq/programming.rst:1506 +#: faq/programming.rst:1507 msgid "" "Note that for more general cases delegation can get trickier. When " "attributes must be set as well as retrieved, the class must define a :meth:" @@ -2333,7 +2311,7 @@ msgstr "" "et il doit le faire avec soin. La mise en œuvre basique de la méthode :meth:" "`__setattr__` est à peu près équivalent à ce qui suit ::" -#: faq/programming.rst:1517 +#: faq/programming.rst:1518 msgid "" "Most :meth:`__setattr__` implementations must modify ``self.__dict__`` to " "store local state for self without causing an infinite recursion." @@ -2342,7 +2320,7 @@ msgstr "" "``self.__dict__`` pour stocker l'état local de self sans provoquer une " "récursion infinie." -#: faq/programming.rst:1522 +#: faq/programming.rst:1523 msgid "" "How do I call a method defined in a base class from a derived class that " "overrides it?" @@ -2350,11 +2328,11 @@ msgstr "" "Comment appeler une méthode définie dans une classe de base depuis une " "classe dérivée qui la surcharge ?" -#: faq/programming.rst:1524 +#: faq/programming.rst:1525 msgid "Use the built-in :func:`super` function::" msgstr "Utilisez la fonction native :func:`super` ::" -#: faq/programming.rst:1530 +#: faq/programming.rst:1531 msgid "" "For version prior to 3.0, you may be using classic classes: For a class " "definition such as ``class Derived(Base): ...`` you can call method " @@ -2369,13 +2347,13 @@ msgstr "" "arguments...)``. Ici, ``Base.meth`` est une méthode non liée, il faut donc " "fournir l'argument ``self``." -#: faq/programming.rst:1538 +#: faq/programming.rst:1539 msgid "How can I organize my code to make it easier to change the base class?" msgstr "" "Comment organiser un code pour permettre de changer la classe de base plus " "facilement ?" -#: faq/programming.rst:1540 +#: faq/programming.rst:1541 msgid "" "You could define an alias for the base class, assign the real base class to " "it before your class definition, and use the alias throughout your class. " @@ -2391,13 +2369,13 @@ msgstr "" "vous voulez déterminer dynamiquement (par exemple en fonction de la " "disponibilité des ressources) la classe de base à utiliser. Exemple ::" -#: faq/programming.rst:1555 +#: faq/programming.rst:1556 msgid "How do I create static class data and static class methods?" msgstr "" "Comment créer des données statiques de classe et des méthodes statiques de " "classe ?" -#: faq/programming.rst:1557 +#: faq/programming.rst:1558 msgid "" "Both static data and static methods (in the sense of C++ or Java) are " "supported in Python." @@ -2405,7 +2383,7 @@ msgstr "" "Les données statiques et les méthodes statiques (au sens C++ ou Java) sont " "prises en charge en Python." -#: faq/programming.rst:1560 +#: faq/programming.rst:1561 msgid "" "For static data, simply define a class attribute. To assign a new value to " "the attribute, you have to explicitly use the class name in the assignment::" @@ -2414,7 +2392,7 @@ msgstr "" "attribuer une nouvelle valeur à l'attribut, vous devez explicitement " "utiliser le nom de classe dans l'affectation ::" -#: faq/programming.rst:1572 +#: faq/programming.rst:1573 msgid "" "``c.count`` also refers to ``C.count`` for any ``c`` such that " "``isinstance(c, C)`` holds, unless overridden by ``c`` itself or by some " @@ -2425,7 +2403,7 @@ msgstr "" "une classe sur le chemin de recherche de classe de base de ``c.__class__`` " "jusqu'à ``C``." -#: faq/programming.rst:1576 +#: faq/programming.rst:1577 msgid "" "Caution: within a method of C, an assignment like ``self.count = 42`` " "creates a new and unrelated instance named \"count\" in ``self``'s own " @@ -2438,11 +2416,11 @@ msgstr "" "de classe doit toujours spécifier la classe, que l'on soit à l'intérieur " "d'une méthode ou non ::" -#: faq/programming.rst:1583 +#: faq/programming.rst:1584 msgid "Static methods are possible::" msgstr "Il est possible d'utiliser des méthodes statiques ::" -#: faq/programming.rst:1591 +#: faq/programming.rst:1592 msgid "" "However, a far more straightforward way to get the effect of a static method " "is via a simple module-level function::" @@ -2450,7 +2428,7 @@ msgstr "" "Cependant, d'une manière beaucoup plus simple pour obtenir l'effet d'une " "méthode statique se fait par une simple fonction au niveau du module ::" -#: faq/programming.rst:1597 +#: faq/programming.rst:1598 msgid "" "If your code is structured so as to define one class (or tightly related " "class hierarchy) per module, this supplies the desired encapsulation." @@ -2459,11 +2437,11 @@ msgstr "" "hiérarchie des classes connexes) par module, ceci fournira l'encapsulation " "souhaitée." -#: faq/programming.rst:1602 +#: faq/programming.rst:1603 msgid "How can I overload constructors (or methods) in Python?" msgstr "Comment surcharger les constructeurs (ou méthodes) en Python ?" -#: faq/programming.rst:1604 +#: faq/programming.rst:1605 msgid "" "This answer actually applies to all methods, but the question usually comes " "up first in the context of constructors." @@ -2471,11 +2449,11 @@ msgstr "" "Cette réponse s'applique en fait à toutes les méthodes, mais la question se " "pose généralement dans le contexte des constructeurs." -#: faq/programming.rst:1607 +#: faq/programming.rst:1608 msgid "In C++ you'd write" msgstr "En C++, on écrirait" -#: faq/programming.rst:1616 +#: faq/programming.rst:1617 msgid "" "In Python you have to write a single constructor that catches all cases " "using default arguments. For example::" @@ -2483,29 +2461,29 @@ msgstr "" "En Python, vous devez écrire un constructeur unique qui considère tous les " "cas en utilisant des arguments par défaut. Par exemple ::" -#: faq/programming.rst:1626 +#: faq/programming.rst:1627 msgid "This is not entirely equivalent, but close enough in practice." msgstr "" "Ce n'est pas tout à fait équivalent, mais suffisamment proche dans la " "pratique." -#: faq/programming.rst:1628 +#: faq/programming.rst:1629 msgid "You could also try a variable-length argument list, e.g. ::" msgstr "" "Vous pouvez aussi utiliser une liste d'arguments de longueur variable, par " "exemple ::" -#: faq/programming.rst:1633 +#: faq/programming.rst:1634 msgid "The same approach works for all method definitions." msgstr "La même approche fonctionne pour toutes les définitions de méthode." -#: faq/programming.rst:1637 +#: faq/programming.rst:1638 msgid "I try to use __spam and I get an error about _SomeClassName__spam." msgstr "" "J'essaie d'utiliser ``__spam`` et j'obtiens une erreur à propos de " "``_SomeClassName__spam``." -#: faq/programming.rst:1639 +#: faq/programming.rst:1640 msgid "" "Variable names with double leading underscores are \"mangled\" to provide a " "simple but effective way to define class private variables. Any identifier " @@ -2521,7 +2499,7 @@ msgstr "" "remplacé par ``_classname__spam``, où ``classname`` est le nom de la classe " "en cours sans les éventuels tirets bas du début." -#: faq/programming.rst:1645 +#: faq/programming.rst:1646 msgid "" "This doesn't guarantee privacy: an outside user can still deliberately " "access the \"_classname__spam\" attribute, and private values are visible in " @@ -2533,17 +2511,17 @@ msgstr "" "privées sont visibles dans l'objet ``__dict__``. De nombreux programmeurs " "Python ne prennent jamais la peine d'utiliser des noms de variable privés." -#: faq/programming.rst:1652 +#: faq/programming.rst:1653 msgid "My class defines __del__ but it is not called when I delete the object." msgstr "" "Ma classe définit ``__del__`` mais elle n'est pas appelée lorsque je " "supprime l'objet." -#: faq/programming.rst:1654 +#: faq/programming.rst:1655 msgid "There are several possible reasons for this." msgstr "Il y a plusieurs explications possibles." -#: faq/programming.rst:1656 +#: faq/programming.rst:1657 msgid "" "The del statement does not necessarily call :meth:`__del__` -- it simply " "decrements the object's reference count, and if this reaches zero :meth:" @@ -2553,7 +2531,7 @@ msgstr "" "simplement le compteur de références de l'objet et, si celui-ci arrive à " "zéro, :meth:`__del__` est appelée." -#: faq/programming.rst:1660 +#: faq/programming.rst:1661 msgid "" "If your data structures contain circular links (e.g. a tree where each child " "has a parent reference and each parent has a list of children) the reference " @@ -2579,7 +2557,7 @@ msgstr "" "miettes avec la fonction :func:`gc.collect`, mais il existe certains cas où " "les objets ne seront jamais nettoyés." -#: faq/programming.rst:1671 +#: faq/programming.rst:1672 msgid "" "Despite the cycle collector, it's still a good idea to define an explicit " "``close()`` method on objects to be called whenever you're done with them. " @@ -2596,7 +2574,7 @@ msgstr "" "`__del__` devrait appeler la méthode ``close()`` et ``close()`` doit pouvoir " "être appelée plusieurs fois sur le même objet." -#: faq/programming.rst:1678 +#: faq/programming.rst:1679 msgid "" "Another way to avoid cyclical references is to use the :mod:`weakref` " "module, which allows you to point to objects without incrementing their " @@ -2609,7 +2587,7 @@ msgstr "" "d'arbres devraient utiliser des références faibles entre pères et fils (si " "nécessaire !)." -#: faq/programming.rst:1691 +#: faq/programming.rst:1692 msgid "" "Finally, if your :meth:`__del__` method raises an exception, a warning " "message is printed to :data:`sys.stderr`." @@ -2617,11 +2595,11 @@ msgstr "" "Enfin, si la méthode :meth:`__del__` lève une exception, un message " "d'avertissement s'affiche dans :data:`sys.stderr`." -#: faq/programming.rst:1696 +#: faq/programming.rst:1697 msgid "How do I get a list of all instances of a given class?" msgstr "Comment obtenir toutes les instances d'une classe ?" -#: faq/programming.rst:1698 +#: faq/programming.rst:1699 msgid "" "Python does not keep track of all instances of a class (or of a built-in " "type). You can program the class's constructor to keep track of all " @@ -2632,13 +2610,13 @@ msgstr "" "constructeur de la classe de façon à tenir un tel registre, en maintenant " "une liste de références faibles vers chaque instance." -#: faq/programming.rst:1704 +#: faq/programming.rst:1705 msgid "Why does the result of ``id()`` appear to be not unique?" msgstr "" "Pourquoi le résultat de ``id()`` peut-il être le même pour deux objets " "différents ?" -#: faq/programming.rst:1706 +#: faq/programming.rst:1707 msgid "" "The :func:`id` builtin returns an integer that is guaranteed to be unique " "during the lifetime of the object. Since in CPython, this is the object's " @@ -2652,7 +2630,7 @@ msgstr "" "à une adresse mémoire identique à celle d'un objet venant d'être supprimé. " "Comme l'illustre le code suivant :" -#: faq/programming.rst:1717 +#: faq/programming.rst:1718 msgid "" "The two ids belong to different integer objects that are created before, and " "deleted immediately after execution of the ``id()`` call. To be sure that " @@ -2664,15 +2642,15 @@ msgstr "" "objets dont on veut examiner les identifiants sont toujours en vie, créons " "une nouvelle référence à l'objet :" -#: faq/programming.rst:1730 +#: faq/programming.rst:1731 msgid "Modules" msgstr "Modules" -#: faq/programming.rst:1733 +#: faq/programming.rst:1734 msgid "How do I create a .pyc file?" msgstr "Comment créer des fichiers ``.pyc`` ?" -#: faq/programming.rst:1735 +#: faq/programming.rst:1736 msgid "" "When a module is imported for the first time (or when the source file has " "changed since the current compiled file was created) a ``.pyc`` file " @@ -2690,7 +2668,7 @@ msgstr "" "centrale qui dépend du binaire ``python`` qui l'a créé (voir la :pep:`3147` " "pour de plus amples précisions)." -#: faq/programming.rst:1743 +#: faq/programming.rst:1744 msgid "" "One reason that a ``.pyc`` file may not be created is a permissions problem " "with the directory containing the source file, meaning that the " @@ -2705,7 +2683,7 @@ msgstr "" "utilisateur, mais que le code est exécuté en tant qu'un autre utilisateur, " "par exemple pour tester un serveur Web." -#: faq/programming.rst:1748 +#: faq/programming.rst:1749 msgid "" "Unless the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable is set, " "creation of a .pyc file is automatic if you're importing a module and Python " @@ -2719,7 +2697,7 @@ msgstr "" "sous-répertoire, à moins que la variable d'environnement :envvar:" "`PYTHONDONTWRITEBYTECODE` soit définie." -#: faq/programming.rst:1753 +#: faq/programming.rst:1754 msgid "" "Running Python on a top level script is not considered an import and no ``." "pyc`` will be created. For example, if you have a top-level module ``foo." @@ -2735,7 +2713,7 @@ msgstr "" "console), un fichier ``.pyc`` est créé pour ``xyz`` mais pas pour ``foo`` " "car ``foo.py`` n'est pas importé." -#: faq/programming.rst:1760 +#: faq/programming.rst:1761 msgid "" "If you need to create a ``.pyc`` file for ``foo`` -- that is, to create a ``." "pyc`` file for a module that is not imported -- you can, using the :mod:" @@ -2745,7 +2723,7 @@ msgstr "" "``.pyc`` pour un module qui n'est pas importé — il existe les modules :mod:" "`py_compile` et :mod:`compileall`." -#: faq/programming.rst:1764 +#: faq/programming.rst:1765 msgid "" "The :mod:`py_compile` module can manually compile any module. One way is to " "use the ``compile()`` function in that module interactively::" @@ -2754,7 +2732,7 @@ msgstr "" "manuellement. Il est ainsi possible d'appeler la fonction ``compile()`` de " "manière interactive ::" -#: faq/programming.rst:1770 +#: faq/programming.rst:1771 msgid "" "This will write the ``.pyc`` to a ``__pycache__`` subdirectory in the same " "location as ``foo.py`` (or you can override that with the optional parameter " @@ -2764,7 +2742,7 @@ msgstr "" "de ``foo.py`` (le paramètre optionnel ``cfile`` permet de changer ce " "comportement)." -#: faq/programming.rst:1774 +#: faq/programming.rst:1775 msgid "" "You can also automatically compile all files in a directory or directories " "using the :mod:`compileall` module. You can do it from the shell prompt by " @@ -2776,11 +2754,11 @@ msgstr "" "en exécutant ``compileall.py`` avec le chemin du dossier contenant les " "fichiers Python à compiler ::" -#: faq/programming.rst:1783 +#: faq/programming.rst:1784 msgid "How do I find the current module name?" msgstr "Comment obtenir le nom du module actuel ?" -#: faq/programming.rst:1785 +#: faq/programming.rst:1786 msgid "" "A module can find out its own module name by looking at the predefined " "global variable ``__name__``. If this has the value ``'__main__'``, the " @@ -2795,62 +2773,62 @@ msgstr "" "interface en ligne de commande ou un test automatique. Ils n'exécutent cette " "portion du code qu'après avoir vérifié la valeur de ``__name__`` ::" -#: faq/programming.rst:1800 +#: faq/programming.rst:1801 msgid "How can I have modules that mutually import each other?" msgstr "Comment avoir des modules qui s'importent mutuellement ?" -#: faq/programming.rst:1802 +#: faq/programming.rst:1803 msgid "Suppose you have the following modules:" msgstr "Considérons les modules suivants :" -#: faq/programming.rst:1804 +#: faq/programming.rst:1805 msgid "foo.py::" msgstr "*foo.py* ::" -#: faq/programming.rst:1809 +#: faq/programming.rst:1810 msgid "bar.py::" msgstr "*bar.py* ::" -#: faq/programming.rst:1814 +#: faq/programming.rst:1815 msgid "The problem is that the interpreter will perform the following steps:" msgstr "Le problème réside dans les étapes que l'interpréteur va réaliser :" -#: faq/programming.rst:1816 +#: faq/programming.rst:1817 msgid "main imports foo" msgstr "*main* importe *foo*" -#: faq/programming.rst:1817 +#: faq/programming.rst:1818 msgid "Empty globals for foo are created" msgstr "Les variables globales (vides) de *foo* sont créées" -#: faq/programming.rst:1818 +#: faq/programming.rst:1819 msgid "foo is compiled and starts executing" msgstr "*foo* est compilé et commence à s'exécuter" -#: faq/programming.rst:1819 +#: faq/programming.rst:1820 msgid "foo imports bar" msgstr "*foo* importe *bar*" -#: faq/programming.rst:1820 +#: faq/programming.rst:1821 msgid "Empty globals for bar are created" msgstr "Les variables globales (vides) de *bar* sont créées" -#: faq/programming.rst:1821 +#: faq/programming.rst:1822 msgid "bar is compiled and starts executing" msgstr "*bar* est compilé et commence à s'exécuter" -#: faq/programming.rst:1822 +#: faq/programming.rst:1823 msgid "" "bar imports foo (which is a no-op since there already is a module named foo)" msgstr "" "*bar* importe *foo* (en réalité, rien ne passe car il y a déjà un module " "appelé *foo*)" -#: faq/programming.rst:1823 +#: faq/programming.rst:1824 msgid "bar.foo_var = foo.foo_var" msgstr "bar.foo_var = foo.foo_var" -#: faq/programming.rst:1825 +#: faq/programming.rst:1826 msgid "" "The last step fails, because Python isn't done with interpreting ``foo`` yet " "and the global symbol dictionary for ``foo`` is still empty." @@ -2858,7 +2836,7 @@ msgstr "" "La dernière étape échoue car Python n'a pas fini d'interpréter ``foo`` et le " "dictionnaire global des symboles de ``foo`` est encore vide." -#: faq/programming.rst:1828 +#: faq/programming.rst:1829 msgid "" "The same thing happens when you use ``import foo``, and then try to access " "``foo.foo_var`` in global code." @@ -2866,11 +2844,11 @@ msgstr "" "Le même phénomène arrive quand on utilise ``import foo``, et qu'on essaye " "ensuite d'accéder à ``foo.foo_var`` dans le code global." -#: faq/programming.rst:1831 +#: faq/programming.rst:1832 msgid "There are (at least) three possible workarounds for this problem." msgstr "Il y a (au moins) trois façons de contourner ce problème." -#: faq/programming.rst:1833 +#: faq/programming.rst:1834 msgid "" "Guido van Rossum recommends avoiding all uses of ``from import ..." "``, and placing all code inside functions. Initializations of global " @@ -2884,14 +2862,14 @@ msgstr "" "des fonctions natives. Ceci implique que tout ce qui est fourni par un " "module soit référencé par ``.``." -#: faq/programming.rst:1838 +#: faq/programming.rst:1839 msgid "" "Jim Roskind suggests performing steps in the following order in each module:" msgstr "" "Jim Roskind recommande d'effectuer les étapes suivantes dans cet ordre dans " "chaque module :" -#: faq/programming.rst:1840 +#: faq/programming.rst:1841 msgid "" "exports (globals, functions, and classes that don't need imported base " "classes)" @@ -2899,18 +2877,18 @@ msgstr "" "les exportations (variables globales, fonctions et les classes qui ne " "nécessitent d'importer des classes de base)" -#: faq/programming.rst:1842 +#: faq/programming.rst:1843 msgid "``import`` statements" msgstr "les instructions ``import``" -#: faq/programming.rst:1843 +#: faq/programming.rst:1844 msgid "" "active code (including globals that are initialized from imported values)." msgstr "" "le code (avec les variables globales qui sont initialisées à partir de " "valeurs importées)." -#: faq/programming.rst:1845 +#: faq/programming.rst:1846 msgid "" "van Rossum doesn't like this approach much because the imports appear in a " "strange place, but it does work." @@ -2918,7 +2896,7 @@ msgstr "" "van Rossum désapprouve cette approche car les importations se trouvent à un " "endroit bizarre, mais cela fonctionne." -#: faq/programming.rst:1848 +#: faq/programming.rst:1849 msgid "" "Matthias Urlichs recommends restructuring your code so that the recursive " "import is not necessary in the first place." @@ -2926,16 +2904,16 @@ msgstr "" "Matthias Urlichs conseille de restructurer le code pour éviter les " "importations récursives." -#: faq/programming.rst:1851 +#: faq/programming.rst:1852 msgid "These solutions are not mutually exclusive." msgstr "Ces solutions peuvent être combinées." -#: faq/programming.rst:1855 +#: faq/programming.rst:1856 msgid "__import__('x.y.z') returns ; how do I get z?" msgstr "" "``__import__('x.y.z')`` renvoie ```` ; comment accéder à ``z`` ?" -#: faq/programming.rst:1857 +#: faq/programming.rst:1858 msgid "" "Consider using the convenience function :func:`~importlib.import_module` " "from :mod:`importlib` instead::" @@ -2943,7 +2921,7 @@ msgstr "" "Utilisez plutôt la fonction :func:`~importlib.import_module` de :mod:" "`importlib` ::" -#: faq/programming.rst:1864 +#: faq/programming.rst:1865 msgid "" "When I edit an imported module and reimport it, the changes don't show up. " "Why does this happen?" @@ -2951,7 +2929,7 @@ msgstr "" "Quand j'édite un module et que je le réimporte, je ne vois pas les " "changements. Pourquoi ?" -#: faq/programming.rst:1866 +#: faq/programming.rst:1867 msgid "" "For reasons of efficiency as well as consistency, Python only reads the " "module file on the first time a module is imported. If it didn't, in a " @@ -2966,7 +2944,7 @@ msgstr "" "ré-analysé un très grand nombre de fois. Pour forcer la relecture d'un " "module, il faut faire ::" -#: faq/programming.rst:1876 +#: faq/programming.rst:1877 msgid "" "Warning: this technique is not 100% fool-proof. In particular, modules " "containing statements like ::" @@ -2974,7 +2952,7 @@ msgstr "" "Attention, cette technique ne marche pas systématiquement. En particulier, " "les modules qui contiennent des instructions comme ::" -#: faq/programming.rst:1881 +#: faq/programming.rst:1882 msgid "" "will continue to work with the old version of the imported objects. If the " "module contains class definitions, existing class instances will *not* be " @@ -2986,10 +2964,54 @@ msgstr "" "celle-ci ne sont *pas* mises à jour avec la nouvelle définition de la " "classe. Ceci peut conduire au comportement paradoxal suivant ::" -#: faq/programming.rst:1894 +#: faq/programming.rst:1895 msgid "" "The nature of the problem is made clear if you print out the \"identity\" of " "the class objects::" msgstr "" "La nature du problème apparaît clairement en affichant « l'identité » des " "objets de la classe ::" + +#~ msgid "" +#~ "`Boa Constructor `_ is an IDE " +#~ "and GUI builder that uses wxWidgets. It offers visual frame creation and " +#~ "manipulation, an object inspector, many views on the source like object " +#~ "browsers, inheritance hierarchies, doc string generated html " +#~ "documentation, an advanced debugger, integrated help, and Zope support." +#~ msgstr "" +#~ "`Boa Constructor `_ est un EDI " +#~ "et un constructeur d'interface homme-machine basé sur *wxWidgets*. Il " +#~ "propose la création et la manipulation de fenêtres, un inspecteur " +#~ "d'objets, de nombreuses façons de visualiser des sources comme un " +#~ "navigateur d'objets, les hiérarchies d'héritage, la documentation html " +#~ "générée par les docstrings, un débogueur avancé, une aide intégrée et la " +#~ "prise en charge de Zope." + +#~ msgid "" +#~ "PyChecker is a static analysis tool that finds bugs in Python source code " +#~ "and warns about code complexity and style. You can get PyChecker from " +#~ "http://pychecker.sourceforge.net/." +#~ msgstr "" +#~ "*PyChecker* est un outil d'analyse statique qui trouve les bogues dans le " +#~ "code source Python et émet des avertissements relatifs à la complexité et " +#~ "au style du code. *PyChecker* est disponible sur http://pychecker." +#~ "sourceforge.net/." + +#~ msgid "" +#~ "`Pylint `_ is another tool that checks if a " +#~ "module satisfies a coding standard, and also makes it possible to write " +#~ "plug-ins to add a custom feature. In addition to the bug checking that " +#~ "PyChecker performs, Pylint offers some additional features such as " +#~ "checking line length, whether variable names are well-formed according to " +#~ "your coding standard, whether declared interfaces are fully implemented, " +#~ "and more. https://docs.pylint.org/ provides a full list of Pylint's " +#~ "features." +#~ msgstr "" +#~ "Pylint `_ est un autre outil qui vérifie si un " +#~ "module satisfait aux normes de développement, et qui permet en plus " +#~ "d'écrire des greffons pour ajouter des fonctionnalités personnalisées. " +#~ "En plus de la vérification des bogues effectuée par PyChecker, Pylint " +#~ "effectue quelques vérifications supplémentaires comme la longueur des " +#~ "lignes, les conventions de nommage des variables, que les interfaces " +#~ "déclarées sont implémentées en totalité, et plus encore. https://docs." +#~ "pylint.org/ fournit la liste complète des fonctionnalités de Pylint." diff --git a/glossary.po b/glossary.po index f0ae3693..02d4743d 100644 --- a/glossary.po +++ b/glossary.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-19 23:06+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -1529,7 +1529,7 @@ msgstr "" msgid "keyword argument" msgstr "argument nommé" -#: glossary.rst:643 glossary.rst:920 +#: glossary.rst:920 msgid "See :term:`argument`." msgstr "Voir :term:`argument`." @@ -2555,19 +2555,19 @@ msgstr "" "Les alias de types sont utiles pour simplifier les :term:`indications de " "types `. Par exemple ::" -#: glossary.rst:1093 +#: glossary.rst:1091 msgid "could be made more readable like this::" msgstr "pourrait être rendu plus lisible comme ceci ::" -#: glossary.rst:1102 glossary.rst:1116 +#: glossary.rst:1112 msgid "See :mod:`typing` and :pep:`484`, which describe this functionality." msgstr "Voir :mod:`typing` et :pep:`484`, qui décrivent cette fonctionnalité." -#: glossary.rst:1103 +#: glossary.rst:1099 msgid "type hint" msgstr "indication de type" -#: glossary.rst:1105 +#: glossary.rst:1101 msgid "" "An :term:`annotation` that specifies the expected type for a variable, a " "class attribute, or a function parameter or return value." @@ -2575,7 +2575,7 @@ msgstr "" "Le :term:`annotation` qui spécifie le type attendu pour une variable, un " "attribut de classe, un paramètre de fonction ou une valeur de retour." -#: glossary.rst:1108 +#: glossary.rst:1104 msgid "" "Type hints are optional and are not enforced by Python but they are useful " "to static type analysis tools, and aid IDEs with code completion and " @@ -2586,7 +2586,7 @@ msgstr "" "statique et aident les IDE à compléter et à réusiner (*code refactoring* en " "anglais) le code." -#: glossary.rst:1112 +#: glossary.rst:1108 msgid "" "Type hints of global variables, class attributes, and functions, but not " "local variables, can be accessed using :func:`typing.get_type_hints`." @@ -2595,11 +2595,11 @@ msgstr "" "fonctions, mais pas de variables locales, peuvent être consultés en " "utilisant :func:`typing.get_type_hints`." -#: glossary.rst:1117 +#: glossary.rst:1113 msgid "universal newlines" msgstr "retours à la ligne universels" -#: glossary.rst:1119 +#: glossary.rst:1115 msgid "" "A manner of interpreting text streams in which all of the following are " "recognized as ending a line: the Unix end-of-line convention ``'\\n'``, the " @@ -2613,22 +2613,22 @@ msgstr "" "``'\\r'``. Voir la :pep:`278` et la :pep:`3116`, ainsi que la fonction :func:" "`bytes.splitlines` pour d'autres usages." -#: glossary.rst:1124 +#: glossary.rst:1120 msgid "variable annotation" msgstr "annotation de variable" -#: glossary.rst:1126 +#: glossary.rst:1122 msgid "An :term:`annotation` of a variable or a class attribute." msgstr ":term:`annotation` d'une variable ou d'un attribut de classe." -#: glossary.rst:1128 +#: glossary.rst:1124 msgid "" "When annotating a variable or a class attribute, assignment is optional::" msgstr "" "Lorsque vous annotez une variable ou un attribut de classe, l'affectation " "est facultative ::" -#: glossary.rst:1133 +#: glossary.rst:1129 msgid "" "Variable annotations are usually used for :term:`type hints `: " "for example this variable is expected to take :class:`int` values::" @@ -2637,13 +2637,13 @@ msgstr "" "`indications de types ` : par exemple, cette variable devrait " "prendre des valeurs de type :class:`int` ::" -#: glossary.rst:1139 +#: glossary.rst:1135 msgid "Variable annotation syntax is explained in section :ref:`annassign`." msgstr "" "La syntaxe d'annotation de la variable est expliquée dans la section :ref:" "`annassign`." -#: glossary.rst:1141 +#: glossary.rst:1137 msgid "" "See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe " "this functionality." @@ -2651,11 +2651,11 @@ msgstr "" "Reportez-vous à :term:`function annotation`, à la :pep:`484` et à la :pep:" "`526` qui décrivent cette fonctionnalité." -#: glossary.rst:1143 +#: glossary.rst:1139 msgid "virtual environment" msgstr "environnement virtuel" -#: glossary.rst:1145 +#: glossary.rst:1141 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -2667,15 +2667,15 @@ msgstr "" "des paquets sans interférer avec d'autres applications Python fonctionnant " "sur le même système." -#: glossary.rst:1150 +#: glossary.rst:1146 msgid "See also :mod:`venv`." msgstr "Voir aussi :mod:`venv`." -#: glossary.rst:1151 +#: glossary.rst:1147 msgid "virtual machine" msgstr "machine virtuelle" -#: glossary.rst:1153 +#: glossary.rst:1149 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -2684,11 +2684,11 @@ msgstr "" "(*virtual machine*) de Python exécute le :term:`bytecode` produit par le " "compilateur de *bytecode*." -#: glossary.rst:1155 +#: glossary.rst:1151 msgid "Zen of Python" msgstr "Le zen de Python" -#: glossary.rst:1157 +#: glossary.rst:1153 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " diff --git a/howto/argparse.po b/howto/argparse.po index 4676cea2..07f93a53 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-07-25 16:44+0200\n" "Last-Translator: Antonin Décimo \n" "Language-Team: FRENCH \n" @@ -120,11 +120,11 @@ msgstr "Les bases" msgid "Let us start with a very simple example which does (almost) nothing::" msgstr "Commençons par un exemple très simple qui ne fait (quasiment) rien ::" -#: howto/argparse.rst:78 howto/argparse.rst:186 howto/argparse.rst:207 +#: howto/argparse.rst:186 howto/argparse.rst:207 msgid "Following is a result of running the code:" msgstr "Ce qui suit est le résultat de l'exécution du code :" -#: howto/argparse.rst:95 howto/argparse.rst:252 howto/argparse.rst:296 +#: howto/argparse.rst:252 howto/argparse.rst:296 msgid "Here is what is happening:" msgstr "Voilà ce qu'il se passe :" @@ -261,8 +261,7 @@ msgstr "" "Jusqu'à maintenant, on a joué avec les arguments positionnels. Regardons " "comment ajouter des paramètres optionnels ::" -#: howto/argparse.rst:234 howto/argparse.rst:280 howto/argparse.rst:396 -#: howto/argparse.rst:430 +#: howto/argparse.rst:280 howto/argparse.rst:430 msgid "And the output:" msgstr "Et le résultat :" @@ -542,7 +541,7 @@ msgstr "" "Qu'en est-il si nous souhaitons étendre notre mini programme pour le rendre " "capable de calculer d'autres puissances, et pas seulement des carrés ::" -#: howto/argparse.rst:615 howto/argparse.rst:653 +#: howto/argparse.rst:653 msgid "Output:" msgstr "Sortie :" diff --git a/howto/clinic.po b/howto/clinic.po index 201fac98..256f358a 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-03-26 17:29+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -398,9 +398,8 @@ msgstr "" "une fonction native, la première ligne sera construite automatiquement à " "partir de la signature de la fonction.)" -#: howto/clinic.rst:205 howto/clinic.rst:226 howto/clinic.rst:250 -#: howto/clinic.rst:308 howto/clinic.rst:348 howto/clinic.rst:375 -#: howto/clinic.rst:481 howto/clinic.rst:533 +#: howto/clinic.rst:226 howto/clinic.rst:308 howto/clinic.rst:375 +#: howto/clinic.rst:533 msgid "Sample::" msgstr "Échantillon ::" @@ -1128,7 +1127,7 @@ msgid "" "Clinic converters accept the following arguments:" msgstr "" -#: howto/clinic.rst:764 howto/clinic.rst:1252 +#: howto/clinic.rst:1252 msgid "``c_default``" msgstr "" @@ -1183,7 +1182,7 @@ msgid "" "even for negative values." msgstr "" -#: howto/clinic.rst:790 howto/clinic.rst:1266 +#: howto/clinic.rst:1266 msgid "``converter``" msgstr "" @@ -1214,7 +1213,7 @@ msgid "" "be a subclass of a Python type, as expressed in C." msgstr "" -#: howto/clinic.rst:804 howto/clinic.rst:1238 +#: howto/clinic.rst:1238 msgid "``type``" msgstr "``type``" @@ -2267,7 +2266,7 @@ msgid "" "in destinations:" msgstr "" -#: howto/clinic.rst:1411 howto/clinic.rst:1486 howto/clinic.rst:1564 +#: howto/clinic.rst:1486 howto/clinic.rst:1564 msgid "``block``" msgstr "" @@ -2277,7 +2276,7 @@ msgid "" "block." msgstr "" -#: howto/clinic.rst:1417 howto/clinic.rst:1513 howto/clinic.rst:1567 +#: howto/clinic.rst:1513 howto/clinic.rst:1567 msgid "``buffer``" msgstr "" @@ -2288,7 +2287,7 @@ msgid "" "buffer when Clinic finishes processing a file." msgstr "" -#: howto/clinic.rst:1428 howto/clinic.rst:1499 howto/clinic.rst:1593 +#: howto/clinic.rst:1499 howto/clinic.rst:1593 msgid "``file``" msgstr "" @@ -2307,7 +2306,7 @@ msgid "" "**the generated file!**" msgstr "" -#: howto/clinic.rst:1433 howto/clinic.rst:1526 howto/clinic.rst:1597 +#: howto/clinic.rst:1526 howto/clinic.rst:1597 msgid "``two-pass``" msgstr "" @@ -2318,7 +2317,7 @@ msgid "" "Clinic blocks *after* the dumping point." msgstr "" -#: howto/clinic.rst:1437 howto/clinic.rst:1560 +#: howto/clinic.rst:1560 msgid "``suppress``" msgstr "" diff --git a/howto/curses.po b/howto/curses.po index 4de1d34e..d52a8288 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-04 23:34+0200\n" "Last-Translator: Khaïs COLIN \n" "Language-Team: FRENCH \n" @@ -520,7 +520,7 @@ msgstr "" msgid "Form" msgstr "Forme" -#: howto/curses.rst:281 howto/curses.rst:350 +#: howto/curses.rst:350 msgid "Description" msgstr "Description" diff --git a/howto/descriptor.po b/howto/descriptor.po index 31b54169..f987624e 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-03-28 20:32+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -514,7 +514,7 @@ msgstr "fonction" msgid "f(obj, \\*args)" msgstr "f(obj, \\*args)" -#: howto/descriptor.rst:340 howto/descriptor.rst:342 +#: howto/descriptor.rst:342 msgid "f(\\*args)" msgstr "f(\\*args)" diff --git a/howto/instrumentation.po b/howto/instrumentation.po index db901ab3..e183a3c9 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-10-31 16:04+0100\n" "Last-Translator: Pierre Bousquié \n" "Language-Team: FRENCH \n" @@ -164,11 +164,11 @@ msgstr "" "En d'autres termes, les appels de fonctions lors de la phase d'import ne " "seront pas répertoriées ::" -#: howto/instrumentation.rst:170 howto/instrumentation.rst:228 +#: howto/instrumentation.rst:228 msgid "It can be invoked like this::" msgstr "Il peut être utilisé de cette manière ::" -#: howto/instrumentation.rst:174 howto/instrumentation.rst:234 +#: howto/instrumentation.rst:234 msgid "The output looks like this:" msgstr "La sortie ressemble à ceci ::" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index d7185d90..5bdf06bc 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -785,16 +785,16 @@ msgstr "" #: howto/logging-cookbook.rst:1370 msgid "" "Below is an example of a logging configuration dictionary - it's taken from " -"the `documentation on the Django project `_. This dictionary is passed to :" +"the `documentation on the Django project `_. This dictionary is passed to :" "func:`~config.dictConfig` to put the configuration into effect::" msgstr "" #: howto/logging-cookbook.rst:1426 msgid "" "For more information about this configuration, you can see the `relevant " -"section `_ of the Django documentation." +"section `_ of the Django documentation." msgstr "" #: howto/logging-cookbook.rst:1433 diff --git a/howto/logging.po b/howto/logging.po index 53344f13..b8ff541e 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-06-10 15:38+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -161,7 +161,7 @@ msgstr "" "sévérité des évènements qu'elles suivent. Les niveaux standards et leurs " "applications sont décrits ci-dessous (par ordre croissant de sévérité) :" -#: howto/logging.rst:69 howto/logging.rst:855 +#: howto/logging.rst:855 msgid "Level" msgstr "Niveau" @@ -169,7 +169,7 @@ msgstr "Niveau" msgid "When it's used" msgstr "Quand il est utilisé" -#: howto/logging.rst:71 howto/logging.rst:865 +#: howto/logging.rst:865 msgid "``DEBUG``" msgstr "``DEBUG``" @@ -180,7 +180,7 @@ msgstr "" "Information détaillée, intéressante seulement lorsqu'on diagnostique un " "problème." -#: howto/logging.rst:74 howto/logging.rst:863 +#: howto/logging.rst:863 msgid "``INFO``" msgstr "``INFO``" @@ -188,7 +188,7 @@ msgstr "``INFO``" msgid "Confirmation that things are working as expected." msgstr "Confirmation que tout fonctionne comme prévu." -#: howto/logging.rst:77 howto/logging.rst:861 +#: howto/logging.rst:861 msgid "``WARNING``" msgstr "``WARNING``" @@ -202,7 +202,7 @@ msgstr "" "d'un problème dans un futur proche (par exemple « espace disque faible »). " "Le logiciel fonctionne encore normalement." -#: howto/logging.rst:82 howto/logging.rst:859 +#: howto/logging.rst:859 msgid "``ERROR``" msgstr "``ERROR``" @@ -214,7 +214,7 @@ msgstr "" "Du fait d'un problème plus sérieux, le logiciel n'a pas été capable de " "réaliser une tâche." -#: howto/logging.rst:85 howto/logging.rst:857 +#: howto/logging.rst:857 msgid "``CRITICAL``" msgstr "``CRITICAL``" diff --git a/howto/pyporting.po b/howto/pyporting.po index 23f23055..a82d1789 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-03-28 16:08+0100\n" "Last-Translator: Loc Cosnier \n" "Language-Team: FRENCH \n" @@ -94,7 +94,7 @@ msgstr "" "S'assurer d'une bonne couverture des tests (coverage.py_ peut aider ; ``pip " "install coverage``)" -#: howto/pyporting.rst:35 howto/pyporting.rst:122 +#: howto/pyporting.rst:122 msgid "Learn the differences between Python 2 & 3" msgstr "Apprendre les différences entre Python 2 et 3" diff --git a/howto/regex.po b/howto/regex.po index d4215f93..509dae33 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-27 22:24+0200\n" "Last-Translator: Nabil Bendafi \n" "Language-Team: FRENCH \n" @@ -492,7 +492,7 @@ msgstr "" msgid "3" msgstr "3" -#: howto/regex.rst:197 howto/regex.rst:205 +#: howto/regex.rst:205 msgid "*Failure*" msgstr "*échec*" @@ -508,7 +508,7 @@ msgstr "" msgid "4" msgstr "4" -#: howto/regex.rst:202 howto/regex.rst:213 +#: howto/regex.rst:213 msgid "``abcb``" msgstr "``abcb``" @@ -530,7 +530,7 @@ msgstr "" "Essaie encore ``b``, mais la position courante est le dernier caractère, qui " "est ``'d'``." -#: howto/regex.rst:209 howto/regex.rst:213 +#: howto/regex.rst:213 msgid "6" msgstr "6" @@ -769,7 +769,7 @@ msgstr "``\\\\section``" msgid "Escaped backslash for :func:`re.compile`" msgstr "Barre oblique inverse échappée pour :func:`re.compile`" -#: howto/regex.rst:318 howto/regex.rst:345 +#: howto/regex.rst:345 msgid "``\"\\\\\\\\section\"``" msgstr "``\"\\\\\\\\section\"``" @@ -870,11 +870,11 @@ msgstr "" "attributs. Seuls les plus significatifs seront couverts ici ; consultez la " "documentation :mod:`re` pour la liste complète." -#: howto/regex.rst:360 howto/regex.rst:418 howto/regex.rst:1064 +#: howto/regex.rst:418 howto/regex.rst:1064 msgid "Method/Attribute" msgstr "Méthode/Attribut" -#: howto/regex.rst:360 howto/regex.rst:418 howto/regex.rst:1064 +#: howto/regex.rst:418 howto/regex.rst:1064 msgid "Purpose" msgstr "Objectif" diff --git a/howto/unicode.po b/howto/unicode.po index 763b8ca8..8f092f73 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-10-31 12:03+0100\n" "Last-Translator: Melançon Victor \n" "Language-Team: FRENCH \n" @@ -327,7 +327,7 @@ msgstr "" "processeurs (*words*), comme UTF-16 et UTF-32, où la séquence des octets " "varie en fonction du matériel sur lequel la chaîne a été encodée." -#: howto/unicode.rst:158 howto/unicode.rst:514 howto/unicode.rst:735 +#: howto/unicode.rst:514 howto/unicode.rst:735 msgid "References" msgstr "Références" diff --git a/install/index.po b/install/index.po index 79561e1a..3d496d6a 100644 --- a/install/index.po +++ b/install/index.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-27 22:25+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -398,7 +398,7 @@ msgstr "Emplacement standard de l'installation" msgid "Default value" msgstr "Valeur par défaut" -#: install/index.rst:209 install/index.rst:735 install/index.rst:747 +#: install/index.rst:735 install/index.rst:747 msgid "Notes" msgstr "Notes" @@ -406,15 +406,15 @@ msgstr "Notes" msgid "Unix (pure)" msgstr "UNIX (pur)" -#: install/index.rst:211 install/index.rst:424 +#: install/index.rst:424 msgid ":file:`{prefix}/lib/python{X.Y}/site-packages`" msgstr ":file:`{prefix}/lib/python{X.Y}/site-packages`" -#: install/index.rst:211 install/index.rst:213 +#: install/index.rst:213 msgid ":file:`/usr/local/lib/python{X.Y}/site-packages`" msgstr ":file:`/usr/local/lib/python{X.Y}/site-packages`" -#: install/index.rst:211 install/index.rst:213 install/index.rst:737 +#: install/index.rst:213 install/index.rst:737 msgid "\\(1)" msgstr "\\(1)" @@ -422,7 +422,7 @@ msgstr "\\(1)" msgid "Unix (non-pure)" msgstr "UNIX (non-pur)" -#: install/index.rst:213 install/index.rst:425 +#: install/index.rst:425 msgid ":file:`{exec-prefix}/lib/python{X.Y}/site-packages`" msgstr ":file:`{exec-prefix}/lib/python{X.Y}/site-packages`" @@ -430,7 +430,7 @@ msgstr ":file:`{exec-prefix}/lib/python{X.Y}/site-packages`" msgid "Windows" msgstr "Windows" -#: install/index.rst:215 install/index.rst:476 +#: install/index.rst:476 msgid ":file:`{prefix}\\\\Lib\\\\site-packages`" msgstr ":file:`{prefix}\\\\Lib\\\\site-packages`" @@ -438,11 +438,11 @@ msgstr ":file:`{prefix}\\\\Lib\\\\site-packages`" msgid ":file:`C:\\\\Python{XY}\\\\Lib\\\\site-packages`" msgstr ":file:`C:\\\\Python{XY}\\\\Lib\\\\site-packages`" -#: install/index.rst:215 install/index.rst:739 +#: install/index.rst:739 msgid "\\(2)" msgstr "\\(2)" -#: install/index.rst:218 install/index.rst:759 +#: install/index.rst:759 msgid "Notes:" msgstr "Notes :" @@ -612,19 +612,16 @@ msgstr "" "sous le nom de :data:`site.USER_SITE`).Voici les valeurs pour UNIX, y " "compris Mac OS X ::" -#: install/index.rst:311 install/index.rst:322 install/index.rst:373 -#: install/index.rst:422 install/index.rst:474 install/index.rst:499 -#: install/index.rst:735 install/index.rst:747 +#: install/index.rst:322 install/index.rst:422 install/index.rst:499 +#: install/index.rst:747 msgid "Type of file" msgstr "Type de fichier" -#: install/index.rst:311 install/index.rst:322 install/index.rst:373 -#: install/index.rst:422 install/index.rst:474 +#: install/index.rst:322 install/index.rst:422 install/index.rst:474 msgid "Installation directory" msgstr "Dossier d'installation" -#: install/index.rst:313 install/index.rst:324 install/index.rst:375 -#: install/index.rst:476 +#: install/index.rst:324 install/index.rst:476 msgid "modules" msgstr "modules" @@ -632,8 +629,7 @@ msgstr "modules" msgid ":file:`{userbase}/lib/python{X.Y}/site-packages`" msgstr ":file:`{userbase}/lib/python{X.Y}/site-packages`" -#: install/index.rst:314 install/index.rst:325 install/index.rst:376 -#: install/index.rst:426 install/index.rst:477 install/index.rst:504 +#: install/index.rst:325 install/index.rst:426 install/index.rst:504 msgid "scripts" msgstr "scripts" @@ -641,17 +637,15 @@ msgstr "scripts" msgid ":file:`{userbase}/bin`" msgstr ":file:`{userbase}/bin`" -#: install/index.rst:315 install/index.rst:326 install/index.rst:377 -#: install/index.rst:427 install/index.rst:478 install/index.rst:505 +#: install/index.rst:326 install/index.rst:427 install/index.rst:505 msgid "data" msgstr "données" -#: install/index.rst:315 install/index.rst:326 +#: install/index.rst:326 msgid ":file:`{userbase}`" msgstr ":file:`{userbase}`" -#: install/index.rst:316 install/index.rst:327 install/index.rst:378 -#: install/index.rst:428 install/index.rst:479 install/index.rst:506 +#: install/index.rst:327 install/index.rst:428 install/index.rst:506 msgid "C headers" msgstr "en-têtes C" @@ -855,11 +849,11 @@ msgstr "" "n’est pas fournie, elle vaut par défaut :option:`!--prefix`. Les fichiers " "sont installés ainsi :" -#: install/index.rst:424 install/index.rst:501 +#: install/index.rst:501 msgid "Python modules" msgstr "Modules Python" -#: install/index.rst:425 install/index.rst:502 +#: install/index.rst:502 msgid "extension modules" msgstr "modules d'extension" @@ -867,7 +861,7 @@ msgstr "modules d'extension" msgid ":file:`{prefix}/bin`" msgstr ":file:`{prefix}/bin`" -#: install/index.rst:427 install/index.rst:478 +#: install/index.rst:478 msgid ":file:`{prefix}`" msgstr ":file:`{prefix}`" @@ -1268,11 +1262,11 @@ msgid "" "order they are processed) are:" msgstr "" -#: install/index.rst:735 install/index.rst:747 +#: install/index.rst:747 msgid "Location and filename" msgstr "" -#: install/index.rst:737 install/index.rst:749 +#: install/index.rst:749 msgid "system" msgstr "" @@ -1280,7 +1274,7 @@ msgstr "" msgid ":file:`{prefix}/lib/python{ver}/distutils/distutils.cfg`" msgstr "" -#: install/index.rst:739 install/index.rst:751 +#: install/index.rst:751 msgid "personal" msgstr "" @@ -1288,15 +1282,15 @@ msgstr "" msgid ":file:`$HOME/.pydistutils.cfg`" msgstr "" -#: install/index.rst:741 install/index.rst:753 +#: install/index.rst:753 msgid "local" msgstr "" -#: install/index.rst:741 install/index.rst:753 +#: install/index.rst:753 msgid ":file:`setup.cfg`" msgstr "" -#: install/index.rst:741 install/index.rst:753 +#: install/index.rst:753 msgid "\\(3)" msgstr "\\(3)" diff --git a/library/2to3.po b/library/2to3.po index 8fc0dd0b..68e0a13f 100644 --- a/library/2to3.po +++ b/library/2to3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-16 10:54+0200\n" "Last-Translator: Léa Klein \n" "Language-Team: FRENCH \n" @@ -272,11 +272,11 @@ msgstr "" "Remplace les noms de méthodes obsolètes du module :mod:`unittest` par les " "bons." -#: library/2to3.rst:162 library/2to3.rst:350 +#: library/2to3.rst:350 msgid "From" msgstr "De" -#: library/2to3.rst:162 library/2to3.rst:350 +#: library/2to3.rst:350 msgid "To" msgstr "À" @@ -284,7 +284,7 @@ msgstr "À" msgid "``failUnlessEqual(a, b)``" msgstr "``failUnlessEqual(a, b)``" -#: library/2to3.rst:164 library/2to3.rst:166 +#: library/2to3.rst:166 msgid ":meth:`assertEqual(a, b) `" msgstr ":meth:`assertEqual(a, b) `" @@ -296,7 +296,7 @@ msgstr "``assertEquals(a, b)``" msgid "``failIfEqual(a, b)``" msgstr "``failIfEqual(a, b)``" -#: library/2to3.rst:168 library/2to3.rst:170 +#: library/2to3.rst:170 msgid ":meth:`assertNotEqual(a, b) `" msgstr ":meth:`assertNotEqual(a, b) `" @@ -308,7 +308,7 @@ msgstr "``assertNotEquals(a, b)``" msgid "``failUnless(a)``" msgstr "``failUnless(a)``" -#: library/2to3.rst:172 library/2to3.rst:174 +#: library/2to3.rst:174 msgid ":meth:`assertTrue(a) `" msgstr ":meth:`assertTrue(a) `" @@ -336,7 +336,7 @@ msgstr ":meth:`assertRaises(exc, cal) `" msgid "``failUnlessAlmostEqual(a, b)``" msgstr "``failUnlessAlmostEqual(a, b)``" -#: library/2to3.rst:180 library/2to3.rst:182 +#: library/2to3.rst:182 msgid ":meth:`assertAlmostEqual(a, b) `" msgstr ":meth:`assertAlmostEqual(a, b) `" @@ -348,7 +348,7 @@ msgstr "``assertAlmostEquals(a, b)``" msgid "``failIfAlmostEqual(a, b)``" msgstr "``failIfAlmostEqual(a, b)``" -#: library/2to3.rst:184 library/2to3.rst:186 +#: library/2to3.rst:186 msgid "" ":meth:`assertNotAlmostEqual(a, b) `" msgstr "" diff --git a/library/__future__.po b/library/__future__.po index c8c65d18..9b5db454 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-06-01 23:02+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -197,8 +197,7 @@ msgstr "division" msgid "2.2.0a2" msgstr "2.2.0a2" -#: library/__future__.rst:75 library/__future__.rst:78 -#: library/__future__.rst:84 library/__future__.rst:87 +#: library/__future__.rst:78 library/__future__.rst:87 msgid "3.0" msgstr "3.0" @@ -210,7 +209,7 @@ msgstr ":pep:`238` : *Changement de l'opérateur de division*" msgid "absolute_import" msgstr "absolute_import" -#: library/__future__.rst:78 library/__future__.rst:81 +#: library/__future__.rst:81 msgid "2.5.0a1" msgstr "2.5.0a1" @@ -236,7 +235,7 @@ msgstr ":pep:`343` : *L'instruction \"with\"*" msgid "print_function" msgstr "print_function" -#: library/__future__.rst:84 library/__future__.rst:87 +#: library/__future__.rst:87 msgid "2.6.0a2" msgstr "2.6.0a2" diff --git a/library/aifc.po b/library/aifc.po index a18f7cde..d1eb5920 100644 --- a/library/aifc.po +++ b/library/aifc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -237,7 +237,7 @@ msgid "" "audio file parameters have been set." msgstr "" -#: library/aifc.rst:222 library/aifc.rst:231 +#: library/aifc.rst:231 msgid "Any :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." diff --git a/library/argparse.po b/library/argparse.po index a3514e04..72f569d7 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-20 10:51+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-11 12:04-0700\n" "Last-Translator: Yannick Gingras \n" "Language-Team: FRENCH \n" @@ -300,7 +300,7 @@ msgstr "" msgid "*exit_on_error* parameter was added." msgstr "Le paramètre *exit_on_error* est ajouté." -#: library/argparse.rst:195 library/argparse.rst:715 +#: library/argparse.rst:715 msgid "The following sections describe how each of these are used." msgstr "" "Les sections suivantes décrivent comment chacune de ces options sont " diff --git a/library/array.po b/library/array.po index c878c288..68974331 100644 --- a/library/array.po +++ b/library/array.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-10-31 12:47+0100\n" "Last-Translator: Cléo Buck \n" "Language-Team: FRENCH \n" @@ -64,14 +64,12 @@ msgstr "``'b'``" msgid "signed char" msgstr "``signed char``" -#: library/array.rst:21 library/array.rst:23 library/array.rst:27 -#: library/array.rst:29 library/array.rst:31 library/array.rst:33 -#: library/array.rst:35 library/array.rst:37 library/array.rst:39 -#: library/array.rst:41 +#: library/array.rst:23 library/array.rst:29 library/array.rst:33 +#: library/array.rst:37 library/array.rst:41 msgid "int" msgstr "*int*" -#: library/array.rst:21 library/array.rst:23 +#: library/array.rst:23 msgid "1" msgstr "1" @@ -95,8 +93,7 @@ msgstr "" msgid "Unicode character" msgstr "Caractère Unicode" -#: library/array.rst:25 library/array.rst:27 library/array.rst:29 -#: library/array.rst:31 library/array.rst:33 +#: library/array.rst:27 library/array.rst:31 library/array.rst:33 msgid "2" msgstr "2" @@ -144,7 +141,7 @@ msgstr "``'l'``" msgid "signed long" msgstr "``signed long``" -#: library/array.rst:35 library/array.rst:37 library/array.rst:43 +#: library/array.rst:37 library/array.rst:43 msgid "4" msgstr "4" @@ -164,7 +161,7 @@ msgstr "``'q'``" msgid "signed long long" msgstr "``signed long long``" -#: library/array.rst:39 library/array.rst:41 library/array.rst:45 +#: library/array.rst:41 library/array.rst:45 msgid "8" msgstr "8" @@ -180,7 +177,7 @@ msgstr "``unsigned long long``" msgid "``'f'``" msgstr "``'f'``" -#: library/array.rst:43 library/array.rst:45 +#: library/array.rst:45 msgid "float" msgstr "*float*" diff --git a/library/ast.po b/library/ast.po index 665f68d6..46dbef94 100644 --- a/library/ast.po +++ b/library/ast.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-09-11 07:42+0200\n" "Last-Translator: Julien VITARD \n" "Language-Team: FRENCH \n" @@ -500,8 +500,7 @@ msgid "" "``targets``." msgstr "" -#: library/ast.rst:745 library/ast.rst:1032 library/ast.rst:1205 -#: library/ast.rst:1258 +#: library/ast.rst:1032 library/ast.rst:1258 msgid "" "``type_comment`` is an optional string with the type annotation as a comment." msgstr "" @@ -852,7 +851,7 @@ msgid "" "version is ``(3, 4)``; the highest is ``sys.version_info[0:2]``." msgstr "" -#: library/ast.rst:1540 library/ast.rst:1579 +#: library/ast.rst:1579 msgid "" "It is possible to crash the Python interpreter with a sufficiently large/" "complex string due to stack depth limitations in Python's AST compiler." diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index cbf972b8..4787e5fd 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-13 17:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -156,70 +156,83 @@ msgid "" "in." msgstr "" -#: library/asyncio-dev.rst:114 +#: library/asyncio-dev.rst:110 +msgid "" +"There is currently no way to schedule coroutines or callbacks directly from " +"a different process (such as one started with :mod:`multiprocessing`). The :" +"ref:`Event Loop Methods ` section lists APIs that can " +"read from pipes and watch file descriptors without blocking the event loop. " +"In addition, asyncio's :ref:`Subprocess ` APIs provide a " +"way to start a process and communicate with it from the event loop. Lastly, " +"the aforementioned :meth:`loop.run_in_executor` method can also be used with " +"a :class:`concurrent.futures.ProcessPoolExecutor` to execute code in a " +"different process." +msgstr "" + +#: library/asyncio-dev.rst:124 msgid "Running Blocking Code" msgstr "" -#: library/asyncio-dev.rst:116 +#: library/asyncio-dev.rst:126 msgid "" "Blocking (CPU-bound) code should not be called directly. For example, if a " "function performs a CPU-intensive calculation for 1 second, all concurrent " "asyncio Tasks and IO operations would be delayed by 1 second." msgstr "" -#: library/asyncio-dev.rst:121 +#: library/asyncio-dev.rst:131 msgid "" "An executor can be used to run a task in a different thread or even in a " "different process to avoid blocking the OS thread with the event loop. See " "the :meth:`loop.run_in_executor` method for more details." msgstr "" -#: library/asyncio-dev.rst:130 +#: library/asyncio-dev.rst:140 msgid "Logging" msgstr "Journalisation" -#: library/asyncio-dev.rst:132 +#: library/asyncio-dev.rst:142 msgid "" "asyncio uses the :mod:`logging` module and all logging is performed via the " "``\"asyncio\"`` logger." msgstr "" -#: library/asyncio-dev.rst:135 +#: library/asyncio-dev.rst:145 msgid "" "The default log level is :py:data:`logging.INFO`, which can be easily " "adjusted::" msgstr "" -#: library/asyncio-dev.rst:144 +#: library/asyncio-dev.rst:154 msgid "Detect never-awaited coroutines" msgstr "" -#: library/asyncio-dev.rst:146 +#: library/asyncio-dev.rst:156 msgid "" "When a coroutine function is called, but not awaited (e.g. ``coro()`` " "instead of ``await coro()``) or the coroutine is not scheduled with :meth:" "`asyncio.create_task`, asyncio will emit a :exc:`RuntimeWarning`::" msgstr "" -#: library/asyncio-dev.rst:161 library/asyncio-dev.rst:206 +#: library/asyncio-dev.rst:216 msgid "Output::" msgstr "Sortie ::" -#: library/asyncio-dev.rst:166 library/asyncio-dev.rst:222 +#: library/asyncio-dev.rst:232 msgid "Output in debug mode::" msgstr "Affichage en mode débogage ::" -#: library/asyncio-dev.rst:179 +#: library/asyncio-dev.rst:189 msgid "" "The usual fix is to either await the coroutine or call the :meth:`asyncio." "create_task` function::" msgstr "" -#: library/asyncio-dev.rst:187 +#: library/asyncio-dev.rst:197 msgid "Detect never-retrieved exceptions" msgstr "" -#: library/asyncio-dev.rst:189 +#: library/asyncio-dev.rst:199 msgid "" "If a :meth:`Future.set_exception` is called but the Future object is never " "awaited on, the exception would never be propagated to the user code. In " @@ -227,11 +240,11 @@ msgid "" "garbage collected." msgstr "" -#: library/asyncio-dev.rst:194 +#: library/asyncio-dev.rst:204 msgid "Example of an unhandled exception::" msgstr "" -#: library/asyncio-dev.rst:217 +#: library/asyncio-dev.rst:227 msgid "" ":ref:`Enable the debug mode ` to get the traceback where " "the task was created::" diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 1f21454a..b908f0f7 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -145,7 +145,7 @@ msgid "" "`set_exception` method, this method raises the exception." msgstr "" -#: library/asyncio-future.rst:103 library/asyncio-future.rst:191 +#: library/asyncio-future.rst:191 #, fuzzy msgid "" "If the Future has been *cancelled*, this method raises a :exc:" @@ -168,7 +168,7 @@ msgstr "" msgid "Mark the Future as *done* and set its result." msgstr "Marque le futur comme terminé et définit son résultat." -#: library/asyncio-future.rst:113 library/asyncio-future.rst:120 +#: library/asyncio-future.rst:120 msgid "" "Raises a :exc:`InvalidStateError` error if the Future is already *done*." msgstr "" diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index df845a09..950e9de1 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-17 01:26+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -109,7 +109,7 @@ msgstr "" "Renvoie un objet de boucle d'événements en implémentant l'interface :class:" "`AbstractEventLoop`." -#: library/asyncio-policy.rst:59 library/asyncio-policy.rst:71 +#: library/asyncio-policy.rst:71 msgid "This method should never return ``None``." msgstr "Cette méthode ne devrait jamais renvoyer ``None``." @@ -133,7 +133,7 @@ msgstr "" "Renvoie un objet observateur implémentant l'interface :class:" "`AbstractChildWatcher`." -#: library/asyncio-policy.rst:80 library/asyncio-policy.rst:86 +#: library/asyncio-policy.rst:86 msgid "This function is Unix specific." msgstr "Cette fonction est spécifique à Unix." @@ -174,7 +174,7 @@ msgstr "" "Stratégie de boucle d'événements alternative utilisant l'implémentation de " "la boucle d'événements :class:`ProactorEventLoop`." -#: library/asyncio-policy.rst:110 library/asyncio-policy.rst:118 +#: library/asyncio-policy.rst:118 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -373,7 +373,7 @@ msgid "" "handler for `SIGCHLD`. signal)." msgstr "" -#: library/asyncio-policy.rst:224 library/asyncio-policy.rst:242 +#: library/asyncio-policy.rst:242 msgid "" "The watcher avoids disrupting other code spawning processes by polling every " "process explicitly on a :py:data:`SIGCHLD` signal." diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 4fb0b27d..d5337ffe 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-06 13:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -66,7 +66,7 @@ msgid "" "when this function is awaited from a coroutine." msgstr "" -#: library/asyncio-stream.rst:65 library/asyncio-stream.rst:98 +#: 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." @@ -78,7 +78,7 @@ msgid "" "create_connection`." msgstr "" -#: library/asyncio-stream.rst:74 library/asyncio-stream.rst:127 +#: library/asyncio-stream.rst:127 msgid "The *ssl_handshake_timeout* parameter." msgstr "" @@ -112,7 +112,7 @@ msgid "" "The rest of the arguments are passed directly to :meth:`loop.create_server`." msgstr "" -#: library/asyncio-stream.rst:107 library/asyncio-stream.rst:149 +#: library/asyncio-stream.rst:149 msgid "The *ssl_handshake_timeout* and *start_serving* parameters." msgstr "" @@ -133,7 +133,7 @@ msgstr "" msgid "See also the documentation of :meth:`loop.create_unix_connection`." msgstr "" -#: library/asyncio-stream.rst:124 library/asyncio-stream.rst:146 +#: library/asyncio-stream.rst:146 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -264,7 +264,7 @@ msgid "" "until it can be sent." msgstr "" -#: library/asyncio-stream.rst:238 library/asyncio-stream.rst:250 +#: library/asyncio-stream.rst:250 msgid "The method should be used along with the ``drain()`` method::" msgstr "" diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 093adcb7..36925ff6 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-15 00:46+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -84,13 +84,11 @@ msgstr "" msgid "The preferred way to use a Lock is an :keyword:`async with` statement::" msgstr "" -#: library/asyncio-sync.rst:55 library/asyncio-sync.rst:200 -#: library/asyncio-sync.rst:300 +#: library/asyncio-sync.rst:200 library/asyncio-sync.rst:300 msgid "which is equivalent to::" msgstr "" -#: library/asyncio-sync.rst:68 library/asyncio-sync.rst:114 -#: library/asyncio-sync.rst:190 library/asyncio-sync.rst:290 +#: library/asyncio-sync.rst:114 library/asyncio-sync.rst:290 #: library/asyncio-sync.rst:345 msgid "The *loop* parameter." msgstr "" @@ -241,7 +239,7 @@ msgid "" "method is no-op if no tasks are waiting." msgstr "" -#: library/asyncio-sync.rst:223 library/asyncio-sync.rst:238 +#: 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 " diff --git a/library/asyncio-task.po b/library/asyncio-task.po index a3dffa79..b727ae1b 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-22 17:11+0200\n" "Last-Translator: Philippe GALVAN \n" "Language-Team: FRENCH \n" @@ -27,7 +27,7 @@ msgstr "" "Cette section donne un aperçu des API de haut-niveau du module *asyncio* " "pour utiliser les coroutines et les tâches." -#: library/asyncio-task.rst:19 library/asyncio-task.rst:121 +#: library/asyncio-task.rst:121 msgid "Coroutines" msgstr "Coroutines" @@ -267,8 +267,7 @@ 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." -#: library/asyncio-task.rst:230 library/asyncio-task.rst:356 -#: library/asyncio-task.rst:474 library/asyncio-task.rst:606 +#: library/asyncio-task.rst:356 library/asyncio-task.rst:606 msgid "Example::" msgstr "Exemple ::" @@ -322,7 +321,7 @@ msgstr "" "antérieures à la 3.7, la fonction de bas-niveau :func:`asyncio." "ensure_future` peut-être utilisée ::" -#: library/asyncio-task.rst:279 library/asyncio-task.rst:788 +#: library/asyncio-task.rst:788 msgid "Added the ``name`` parameter." msgstr "ajout du paramètre ``name``." @@ -349,10 +348,8 @@ msgstr "" "``sleep()`` suspend systématiquement la tâche courante, ce qui permet aux " "autres tâches de s'exécuter." -#: library/asyncio-task.rst:298 library/asyncio-task.rst:353 -#: library/asyncio-task.rst:440 library/asyncio-task.rst:471 -#: library/asyncio-task.rst:558 library/asyncio-task.rst:605 -#: library/asyncio-task.rst:793 +#: library/asyncio-task.rst:353 library/asyncio-task.rst:471 +#: library/asyncio-task.rst:605 library/asyncio-task.rst:793 msgid "The *loop* parameter." msgstr "Le paramètre *loop*." @@ -464,7 +461,7 @@ msgstr "" "Empêche qu'un objet :ref:`awaitable ` puisse être :meth:" "`annulé `." -#: library/asyncio-task.rst:411 library/asyncio-task.rst:451 +#: library/asyncio-task.rst:451 msgid "If *aw* is a coroutine it is automatically scheduled as a Task." msgstr "" "Si *aw* est une coroutine, elle est planifiée automatiquement comme une " @@ -1019,7 +1016,7 @@ msgstr "" "renvoyé (sinon, dans le cas où la coroutine a levé une exception, cette " "exception est de nouveau levée)." -#: library/asyncio-task.rst:874 library/asyncio-task.rst:888 +#: library/asyncio-task.rst:888 msgid "" "If the Task has been *cancelled*, this method raises a :exc:`CancelledError` " "exception." @@ -1061,7 +1058,7 @@ msgstr "" "Ajoute une fonction de rappel qui sera exécutée quand la tâche sera " "*achevée*." -#: library/asyncio-task.rst:898 library/asyncio-task.rst:907 +#: library/asyncio-task.rst:907 msgid "This method should only be used in low-level callback-based code." msgstr "" "Cette méthode ne doit être utilisée que dans du code basé sur les fonctions " @@ -1185,7 +1182,7 @@ msgstr "" "Dans l’implémentation par défaut de *Task*, le nom sera visible dans le " "résultat de :func:`repr` d’un objet *Task*." -#: ../Doc/library/asyncio-task.rst:977 +#: library/asyncio-task.rst:977 msgid "Generator-based Coroutines" msgstr "Coroutines basées sur des générateurs" diff --git a/library/asyncore.po b/library/asyncore.po index c29139d7..2c366d3d 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-27 23:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -329,7 +329,7 @@ msgid "" "`file_wrapper` constructor." msgstr "" -#: library/asyncore.rst:278 library/asyncore.rst:287 +#: library/asyncore.rst:287 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." diff --git a/library/base64.po b/library/base64.po index 8c348f63..be41c8a3 100644 --- a/library/base64.po +++ b/library/base64.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-08-20 15:51+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -225,7 +225,7 @@ msgstr "" "de caractères ASCII *s* encodé en base32 et renvoie les :class:`bytes` " "décodés." -#: library/base64.rst:123 library/base64.rst:150 +#: library/base64.rst:150 msgid "" "Optional *casefold* is a flag specifying whether a lowercase alphabet is " "acceptable as input. For security purposes, the default is ``False``." @@ -252,7 +252,7 @@ msgstr "" "la lettre O). Pour des raisons de sécurité, le défaut est ``None``, de telle " "sorte que 0 et 1 ne sont pas autorisés dans l'entrée." -#: library/base64.rst:134 library/base64.rst:154 +#: library/base64.rst:154 msgid "" "A :exc:`binascii.Error` is raised if *s* is incorrectly padded or if there " "are non-alphabet characters present in the input." diff --git a/library/bz2.po b/library/bz2.po index 65ed90e1..bec1116e 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -5,9 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-25 16:52-0600\n" -"Last-Translator: Yannick Gingras \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" @@ -129,11 +128,11 @@ msgstr "" "instance :class:`io.TextIOWrapper` avec l'encodage spécifié, le comportement " "de gestion des erreurs et les fins de ligne." -#: library/bz2.rst:61 library/bz2.rst:126 +#: library/bz2.rst:126 msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "Le mode ``'x'`` (création exclusive) est ajouté." -#: library/bz2.rst:64 library/bz2.rst:133 +#: library/bz2.rst:133 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -290,7 +289,7 @@ msgstr "" "compresser les données de manière incrémentielle. Pour une compression en " "une seule fois, utilisez à la place la fonction :func:`compress`." -#: library/bz2.rst:153 library/bz2.rst:241 +#: library/bz2.rst:241 msgid "" "*compresslevel*, if given, must be an integer between ``1`` and ``9``. The " "default is ``9``." diff --git a/library/chunk.po b/library/chunk.po index 3a4eda31..41ca71bb 100644 --- a/library/chunk.po +++ b/library/chunk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -51,7 +51,7 @@ msgstr "Sommaire" msgid "0" msgstr "0" -#: library/chunk.rst:31 library/chunk.rst:33 +#: library/chunk.rst:33 msgid "4" msgstr "4" diff --git a/library/codecs.po b/library/codecs.po index fd10d5ea..50228ad7 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-02-23 23:00+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -184,8 +184,7 @@ msgstr "" "Recherche le codec pour l'encodage *encoding* et renvoie sa fonction " "d'encodage." -#: library/codecs.rst:113 library/codecs.rst:120 library/codecs.rst:146 -#: library/codecs.rst:154 +#: library/codecs.rst:120 library/codecs.rst:154 msgid "Raises a :exc:`LookupError` in case the encoding cannot be found." msgstr "Lève une :exc:`LookupError` si l'encodage *encoding* n'est pas trouvé." @@ -504,12 +503,11 @@ msgstr "" "les gestionnaires correspondants implémentés par tous les codecs Python " "standards :" -#: library/codecs.rst:301 library/codecs.rst:324 library/codecs.rst:357 +#: library/codecs.rst:324 library/codecs.rst:357 msgid "Value" msgstr "Valeur" -#: library/codecs.rst:301 library/codecs.rst:324 library/codecs.rst:357 -#: library/codecs.rst:1269 library/codecs.rst:1336 library/codecs.rst:1391 +#: library/codecs.rst:324 library/codecs.rst:1269 library/codecs.rst:1391 msgid "Meaning" msgstr "Signification" @@ -783,7 +781,7 @@ msgid "" "``iso-8859-1``)." msgstr "" -#: library/codecs.rst:473 library/codecs.rst:495 +#: library/codecs.rst:495 msgid "" "The *errors* argument defines the error handling to apply. It defaults to " "``'strict'`` handling." @@ -1216,7 +1214,7 @@ msgid "" "streams which work in both read and write modes." msgstr "" -#: library/codecs.rst:809 library/codecs.rst:833 +#: library/codecs.rst:833 msgid "" "The design is such that one can use the factory functions returned by the :" "func:`lookup` function to construct the instance." @@ -1513,13 +1511,11 @@ msgstr "" msgid "an IBM PC code page, which is ASCII compatible" msgstr "" -#: library/codecs.rst:1014 library/codecs.rst:1269 library/codecs.rst:1336 -#: library/codecs.rst:1391 +#: library/codecs.rst:1269 library/codecs.rst:1391 msgid "Codec" msgstr "" -#: library/codecs.rst:1014 library/codecs.rst:1269 library/codecs.rst:1336 -#: library/codecs.rst:1391 +#: library/codecs.rst:1269 library/codecs.rst:1391 msgid "Aliases" msgstr "" @@ -1535,7 +1531,7 @@ msgstr "*ascii*" msgid "646, us-ascii" msgstr "*646*, *us-ascii*" -#: library/codecs.rst:1016 library/codecs.rst:1022 library/codecs.rst:1030 +#: library/codecs.rst:1022 library/codecs.rst:1030 msgid "English" msgstr "Anglais" @@ -1547,7 +1543,7 @@ msgstr "*big5*" msgid "big5-tw, csbig5" msgstr "*big5-tw*, *csbig5*" -#: library/codecs.rst:1018 library/codecs.rst:1020 library/codecs.rst:1078 +#: library/codecs.rst:1020 library/codecs.rst:1078 msgid "Traditional Chinese" msgstr "Chinois Traditionnel" @@ -1587,8 +1583,7 @@ msgstr "*cp424*" msgid "EBCDIC-CP-HE, IBM424" msgstr "*EBCDIC-CP-HE*, *IBM424*" -#: library/codecs.rst:1028 library/codecs.rst:1048 library/codecs.rst:1058 -#: library/codecs.rst:1101 library/codecs.rst:1164 +#: library/codecs.rst:1048 library/codecs.rst:1101 library/codecs.rst:1164 msgid "Hebrew" msgstr "Hébreux" @@ -1608,9 +1603,8 @@ msgstr "*cp500*" msgid "EBCDIC-CP-BE, EBCDIC-CP-CH, IBM500" msgstr "*EBCDIC-CP-BE*, *EBCDIC-CP-CH*, *IBM500*" -#: library/codecs.rst:1032 library/codecs.rst:1041 library/codecs.rst:1052 -#: library/codecs.rst:1088 library/codecs.rst:1095 library/codecs.rst:1148 -#: library/codecs.rst:1176 library/codecs.rst:1204 +#: library/codecs.rst:1041 library/codecs.rst:1088 library/codecs.rst:1148 +#: library/codecs.rst:1204 msgid "Western Europe" msgstr "Europe de l'ouest" @@ -1618,8 +1612,7 @@ msgstr "Europe de l'ouest" msgid "cp720" msgstr "*cp720*" -#: library/codecs.rst:1035 library/codecs.rst:1062 library/codecs.rst:1103 -#: library/codecs.rst:1160 +#: library/codecs.rst:1062 library/codecs.rst:1160 msgid "Arabic" msgstr "Arabe" @@ -1627,8 +1620,7 @@ msgstr "Arabe" msgid "cp737" msgstr "*cp737*" -#: library/codecs.rst:1037 library/codecs.rst:1068 library/codecs.rst:1072 -#: library/codecs.rst:1097 library/codecs.rst:1162 library/codecs.rst:1197 +#: library/codecs.rst:1068 library/codecs.rst:1097 library/codecs.rst:1197 msgid "Greek" msgstr "Grec" @@ -1640,8 +1632,7 @@ msgstr "*cp775*" msgid "IBM775" msgstr "*IBM775*" -#: library/codecs.rst:1039 library/codecs.rst:1105 library/codecs.rst:1155 -#: library/codecs.rst:1172 +#: library/codecs.rst:1105 library/codecs.rst:1172 msgid "Baltic languages" msgstr "Langues Baltiques" @@ -1661,8 +1652,7 @@ msgstr "*cp852*" msgid "852, IBM852" msgstr "*852*, *IBM852*" -#: library/codecs.rst:1043 library/codecs.rst:1090 library/codecs.rst:1151 -#: library/codecs.rst:1201 +#: library/codecs.rst:1090 library/codecs.rst:1201 msgid "Central and Eastern Europe" msgstr "Europe centrale et Europe de l'Est" @@ -1674,8 +1664,7 @@ msgstr "*cp855*" msgid "855, IBM855" msgstr "*855*, *IBM855*" -#: library/codecs.rst:1045 library/codecs.rst:1092 library/codecs.rst:1157 -#: library/codecs.rst:1194 +#: library/codecs.rst:1092 library/codecs.rst:1194 msgid "Bulgarian, Byelorussian, Macedonian, Russian, Serbian" msgstr "Bulgare, Biélorusse, Macédonien, Russe, Serbe" @@ -1691,8 +1680,7 @@ msgstr "*cp857*" msgid "857, IBM857" msgstr "*857*, *IBM857*" -#: library/codecs.rst:1050 library/codecs.rst:1082 library/codecs.rst:1099 -#: library/codecs.rst:1166 library/codecs.rst:1206 +#: library/codecs.rst:1082 library/codecs.rst:1166 library/codecs.rst:1206 msgid "Turkish" msgstr "Turc" @@ -1724,7 +1712,7 @@ msgstr "*cp861*" msgid "861, CP-IS, IBM861" msgstr "*861*, *CP-IS*, *IBM861*" -#: library/codecs.rst:1056 library/codecs.rst:1199 +#: library/codecs.rst:1199 msgid "Icelandic" msgstr "Islandais" @@ -1776,7 +1764,7 @@ msgstr "*cp866*" msgid "866, IBM866" msgstr "*866*, *IBM866*" -#: library/codecs.rst:1066 library/codecs.rst:1182 +#: library/codecs.rst:1182 msgid "Russian" msgstr "Russe" @@ -1808,10 +1796,8 @@ msgstr "*cp932*" msgid "932, ms932, mskanji, ms-kanji" msgstr "*932*, *ms932*, *mskanji*, *ms-kanji*" -#: library/codecs.rst:1074 library/codecs.rst:1109 library/codecs.rst:1111 -#: library/codecs.rst:1113 library/codecs.rst:1130 library/codecs.rst:1133 -#: library/codecs.rst:1138 library/codecs.rst:1141 library/codecs.rst:1143 -#: library/codecs.rst:1211 library/codecs.rst:1214 library/codecs.rst:1217 +#: library/codecs.rst:1109 library/codecs.rst:1113 library/codecs.rst:1133 +#: library/codecs.rst:1141 library/codecs.rst:1211 library/codecs.rst:1217 msgid "Japanese" msgstr "" @@ -1823,8 +1809,7 @@ msgstr "*cp949*" msgid "949, ms949, uhc" msgstr "*949*, *ms949*, *uhc*" -#: library/codecs.rst:1076 library/codecs.rst:1115 library/codecs.rst:1145 -#: library/codecs.rst:1180 +#: library/codecs.rst:1115 library/codecs.rst:1180 msgid "Korean" msgstr "" @@ -1860,7 +1845,7 @@ msgstr "*cp1125*" msgid "1125, ibm1125, cp866u, ruscii" msgstr "*1125*, *ibm1125*, *cp866u*, *ruscii*" -#: library/codecs.rst:1084 library/codecs.rst:1188 +#: library/codecs.rst:1188 msgid "Ukrainian" msgstr "" @@ -1994,7 +1979,7 @@ msgstr "" "*chinese*, *csiso58gb231280*, *euc-cn*, *euccn*, *eucgb2312-cn*, " "*gb2312-1980*, *gb2312-80*, *iso-ir-58*" -#: library/codecs.rst:1119 library/codecs.rst:1128 +#: library/codecs.rst:1128 msgid "Simplified Chinese" msgstr "" @@ -2006,7 +1991,7 @@ msgstr "*gbk*" msgid "936, cp936, ms936" msgstr "*936*, *cp936*, *ms936*" -#: library/codecs.rst:1124 library/codecs.rst:1126 +#: library/codecs.rst:1126 msgid "Unified Chinese" msgstr "" @@ -2258,7 +2243,7 @@ msgstr "*kz1048*" msgid "kz_1048, strk1048_2002, rk1048" msgstr "*kz_1048*, *strk1048_2002*, *rk1048*" -#: library/codecs.rst:1190 library/codecs.rst:1208 +#: library/codecs.rst:1208 msgid "Kazakh" msgstr "" @@ -2351,9 +2336,8 @@ msgstr "*utf_32*" msgid "U32, utf32" msgstr "*U32*, *utf32*" -#: library/codecs.rst:1220 library/codecs.rst:1222 library/codecs.rst:1224 -#: library/codecs.rst:1226 library/codecs.rst:1228 library/codecs.rst:1230 -#: library/codecs.rst:1232 library/codecs.rst:1234 library/codecs.rst:1236 +#: library/codecs.rst:1222 library/codecs.rst:1226 library/codecs.rst:1230 +#: library/codecs.rst:1234 library/codecs.rst:1236 msgid "all languages" msgstr "" diff --git a/library/collections.abc.po b/library/collections.abc.po index 2080814a..e37bc39b 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-09-27 15:04+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -83,16 +83,15 @@ msgstr ":class:`Hashable`" msgid "``__hash__``" msgstr "``__hash__``" -#: library/collections.abc.rst:42 library/collections.abc.rst:43 -#: library/collections.abc.rst:44 +#: library/collections.abc.rst:43 library/collections.abc.rst:44 msgid ":class:`Iterable`" msgstr ":class:`Iterable`" -#: library/collections.abc.rst:42 library/collections.abc.rst:43 +#: library/collections.abc.rst:43 msgid "``__iter__``" msgstr "``__iter__``" -#: library/collections.abc.rst:43 library/collections.abc.rst:45 +#: library/collections.abc.rst:45 msgid ":class:`Iterator`" msgstr ":class:`Iterator`" @@ -112,7 +111,7 @@ msgstr "``__reversed__``" msgid ":class:`Generator`" msgstr ":class:`Generator`" -#: library/collections.abc.rst:45 library/collections.abc.rst:93 +#: library/collections.abc.rst:93 msgid "``send``, ``throw``" msgstr "``send``, ``throw``" @@ -120,11 +119,11 @@ msgstr "``send``, ``throw``" msgid "``close``, ``__iter__``, ``__next__``" msgstr "``close``, ``__iter__``, ``__next__``" -#: library/collections.abc.rst:46 library/collections.abc.rst:85 +#: library/collections.abc.rst:85 msgid ":class:`Sized`" msgstr ":class:`Sized`" -#: library/collections.abc.rst:46 library/collections.abc.rst:85 +#: library/collections.abc.rst:85 msgid "``__len__``" msgstr "``__len__``" @@ -136,8 +135,7 @@ msgstr ":class:`Callable`" msgid "``__call__``" msgstr "``__call__``" -#: library/collections.abc.rst:48 library/collections.abc.rst:64 -#: library/collections.abc.rst:74 +#: library/collections.abc.rst:64 library/collections.abc.rst:74 msgid ":class:`Collection`" msgstr ":class:`Collection`" @@ -145,12 +143,11 @@ msgstr ":class:`Collection`" msgid ":class:`Sized`, :class:`Iterable`, :class:`Container`" msgstr ":class:`Sized`, :class:`Iterable`, :class:`Container`" -#: library/collections.abc.rst:48 library/collections.abc.rst:64 +#: library/collections.abc.rst:64 msgid "``__contains__``, ``__iter__``, ``__len__``" msgstr "``__contains__``, ``__iter__``, ``__len__``" -#: library/collections.abc.rst:52 library/collections.abc.rst:55 -#: library/collections.abc.rst:61 +#: library/collections.abc.rst:55 library/collections.abc.rst:61 msgid ":class:`Sequence`" msgstr ":class:`Sequence`" @@ -158,7 +155,7 @@ msgstr ":class:`Sequence`" msgid ":class:`Reversible`, :class:`Collection`" msgstr ":class:`Reversible`, :class:`Collection`" -#: library/collections.abc.rst:52 library/collections.abc.rst:61 +#: library/collections.abc.rst:61 msgid "``__getitem__``, ``__len__``" msgstr "``__getitem__``, ``__len__``" @@ -194,7 +191,7 @@ msgstr ":class:`ByteString`" msgid "Inherited :class:`Sequence` methods" msgstr "Méthodes héritées de :class:`Sequence`" -#: library/collections.abc.rst:64 library/collections.abc.rst:68 +#: library/collections.abc.rst:68 msgid ":class:`Set`" msgstr ":class:`Set`" @@ -222,7 +219,7 @@ msgstr "" "Méthodes héritées de :class:`Set`, et ``clear``, ``pop``, ``remove``, " "``__ior__``, ``__iand__``, ``__ixor__`` et ``__isub__``" -#: library/collections.abc.rst:74 library/collections.abc.rst:78 +#: library/collections.abc.rst:78 msgid ":class:`Mapping`" msgstr ":class:`Mapping`" @@ -264,12 +261,11 @@ msgstr ":class:`MappingView`" msgid ":class:`ItemsView`" msgstr ":class:`ItemsView`" -#: library/collections.abc.rst:86 library/collections.abc.rst:88 +#: library/collections.abc.rst:88 msgid ":class:`MappingView`, :class:`Set`" msgstr ":class:`MappingView`, :class:`Set`" -#: library/collections.abc.rst:86 library/collections.abc.rst:88 -#: library/collections.abc.rst:90 +#: library/collections.abc.rst:88 library/collections.abc.rst:90 msgid "``__contains__``, ``__iter__``" msgstr "``__contains__``, ``__iter__``" @@ -285,7 +281,7 @@ msgstr ":class:`ValuesView`" msgid ":class:`MappingView`, :class:`Collection`" msgstr ":class:`MappingView`, :class:`Collection`" -#: library/collections.abc.rst:92 library/collections.abc.rst:93 +#: library/collections.abc.rst:93 msgid ":class:`Awaitable`" msgstr ":class:`Awaitable`" @@ -301,15 +297,15 @@ msgstr ":class:`Coroutine`" msgid "``close``" msgstr "``close``" -#: library/collections.abc.rst:94 library/collections.abc.rst:95 +#: library/collections.abc.rst:95 msgid ":class:`AsyncIterable`" msgstr ":class:`AsyncIterable`" -#: library/collections.abc.rst:94 library/collections.abc.rst:95 +#: library/collections.abc.rst:95 msgid "``__aiter__``" msgstr "``__aiter__``" -#: library/collections.abc.rst:95 library/collections.abc.rst:96 +#: library/collections.abc.rst:96 msgid ":class:`AsyncIterator`" msgstr ":class:`AsyncIterator`" diff --git a/library/collections.po b/library/collections.po index 0ce0ad7a..91b1e8e4 100644 --- a/library/collections.po +++ b/library/collections.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-25 19:17-0600\n" "Last-Translator: Yannick Gingras \n" "Language-Team: FRENCH \n" @@ -1035,7 +1035,7 @@ msgstr "" "initialisé par le premier argument passé au constructeur, s'il est spécifié, " "sinon par ``None``." -#: library/collections.rst:735 library/collections.rst:1129 +#: library/collections.rst:1129 msgid "" "Added merge (``|``) and update (``|=``) operators, specified in :pep:`584`." msgstr "" diff --git a/library/compileall.po b/library/compileall.po index 565e376f..1b631de3 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -220,14 +220,14 @@ msgid "" "skipped." msgstr "" -#: library/compileall.rst:173 library/compileall.rst:249 +#: library/compileall.rst:249 msgid "" "If *quiet* is ``False`` or ``0`` (the default), the filenames and other " "information are printed to standard out. Set to ``1``, only errors are " "printed. Set to ``2``, all output is suppressed." msgstr "" -#: library/compileall.rst:177 library/compileall.rst:253 +#: library/compileall.rst:253 msgid "" "If *legacy* is true, byte-code files are written to their legacy locations " "and names, which may overwrite byte-code files created by another version of " @@ -236,7 +236,7 @@ msgid "" "coexist." msgstr "" -#: library/compileall.rst:183 library/compileall.rst:259 +#: library/compileall.rst:259 msgid "" "*optimize* specifies the optimization level for the compiler. It is passed " "to the built-in :func:`compile` function. Accepts also a sequence of " @@ -254,28 +254,28 @@ msgid "" "`ValueError` will be raised." msgstr "" -#: library/compileall.rst:194 library/compileall.rst:263 +#: library/compileall.rst:263 msgid "" "*invalidation_mode* should be a member of the :class:`py_compile." "PycInvalidationMode` enum and controls how the generated pycs are " "invalidated at runtime." msgstr "" -#: library/compileall.rst:198 library/compileall.rst:267 +#: library/compileall.rst:267 msgid "" "The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the " "``-s``, ``-p`` and ``-e`` options described above. They may be specified as " "``str``, ``bytes`` or :py:class:`os.PathLike`." msgstr "" -#: library/compileall.rst:202 library/compileall.rst:271 +#: library/compileall.rst:271 msgid "" "If *hardlink_dupes* is true and two ``.pyc`` files with different " "optimization level have the same content, use hard links to consolidate " "duplicate files." msgstr "" -#: library/compileall.rst:205 library/compileall.rst:302 +#: library/compileall.rst:302 msgid "Added the *legacy* and *optimize* parameter." msgstr "" @@ -283,13 +283,11 @@ msgstr "" msgid "Added the *workers* parameter." msgstr "" -#: library/compileall.rst:211 library/compileall.rst:276 -#: library/compileall.rst:305 +#: library/compileall.rst:276 library/compileall.rst:305 msgid "*quiet* parameter was changed to a multilevel value." msgstr "" -#: library/compileall.rst:214 library/compileall.rst:279 -#: library/compileall.rst:308 +#: library/compileall.rst:279 library/compileall.rst:308 msgid "" "The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no " "matter what the value of *optimize* is." @@ -299,13 +297,11 @@ msgstr "" msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." -#: library/compileall.rst:221 library/compileall.rst:283 -#: library/compileall.rst:312 +#: library/compileall.rst:283 library/compileall.rst:312 msgid "The *invalidation_mode* parameter was added." msgstr "" -#: library/compileall.rst:224 library/compileall.rst:286 -#: library/compileall.rst:315 +#: library/compileall.rst:286 library/compileall.rst:315 msgid "The *invalidation_mode* parameter's default value is updated to None." msgstr "" diff --git a/library/configparser.po b/library/configparser.po index 752388f7..da018116 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -181,7 +181,7 @@ msgid "" "otherwise empty line, possibly indented. [1]_" msgstr "" -#: library/configparser.rst:244 library/configparser.rst:307 +#: library/configparser.rst:307 msgid "For example:" msgstr "Par exemple :" @@ -729,7 +729,7 @@ msgid "" "implicitly converted to strings." msgstr "" -#: library/configparser.rst:936 library/configparser.rst:1214 +#: library/configparser.rst:1214 msgid "" "The default *dict_type* is :class:`dict`, since it now preserves insertion " "order." diff --git a/library/contextlib.po b/library/contextlib.po index 0b8baec9..58f38145 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-01 23:39+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -259,8 +259,7 @@ msgstr "Par exemple ::" msgid "This code is equivalent to::" msgstr "Ce code est équivalent à ::" -#: library/contextlib.rst:224 library/contextlib.rst:263 -#: library/contextlib.rst:273 +#: library/contextlib.rst:263 library/contextlib.rst:273 msgid "This context manager is :ref:`reentrant `." msgstr "Ce gestionnaire de contexte est :ref:`réentrant `." diff --git a/library/csv.po b/library/csv.po index 700fd0a2..c5f9e425 100644 --- a/library/csv.po +++ b/library/csv.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-27 23:16+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -136,8 +136,7 @@ msgstr "" "spécifiée (dans ce cas, les champs sans guillemets sont transformés en " "nombres flottants)." -#: library/csv.rst:75 library/csv.rst:105 library/csv.rst:176 -#: library/csv.rst:212 +#: library/csv.rst:105 library/csv.rst:212 msgid "A short usage example::" msgstr "Un court exemple d'utilisation ::" diff --git a/library/ctypes.po b/library/ctypes.po index cf0ce5f4..6fbf9583 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-17 23:01+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -289,7 +289,7 @@ msgstr "" "paramètres, apprenons-en un peu plus sur les types de données de :mod:" "`ctypes`." -#: library/ctypes.rst:211 library/ctypes.rst:2128 +#: library/ctypes.rst:2128 msgid "Fundamental data types" msgstr "Types de données de base" @@ -327,7 +327,7 @@ msgstr "*bool* (1)" msgid ":class:`c_char`" msgstr ":class:`c_char`" -#: library/ctypes.rst:220 library/ctypes.rst:224 +#: library/ctypes.rst:224 msgid ":c:type:`char`" msgstr ":c:type:`char`" @@ -351,10 +351,8 @@ msgstr "chaîne de caractères (*string*) de longueur 1" msgid ":class:`c_byte`" msgstr ":class:`c_byte`" -#: library/ctypes.rst:224 library/ctypes.rst:226 library/ctypes.rst:228 -#: library/ctypes.rst:230 library/ctypes.rst:232 library/ctypes.rst:234 -#: library/ctypes.rst:236 library/ctypes.rst:238 library/ctypes.rst:240 -#: library/ctypes.rst:242 library/ctypes.rst:245 library/ctypes.rst:247 +#: library/ctypes.rst:226 library/ctypes.rst:230 library/ctypes.rst:234 +#: library/ctypes.rst:238 library/ctypes.rst:242 library/ctypes.rst:247 msgid "int" msgstr "*int*" @@ -454,7 +452,7 @@ msgstr ":class:`c_float`" msgid ":c:type:`float`" msgstr ":c:type:`float`" -#: library/ctypes.rst:250 library/ctypes.rst:252 library/ctypes.rst:254 +#: library/ctypes.rst:252 library/ctypes.rst:254 msgid "float" msgstr "*float*" @@ -1586,7 +1584,7 @@ msgstr "" "de l'éditeur de lien :option:`!-l`). Si la fonction ne parvient pas à " "trouver de bibliothèque, elle renvoie ``None``." -#: library/ctypes.rst:1270 library/ctypes.rst:1903 +#: library/ctypes.rst:1903 msgid "The exact functionality is system dependent." msgstr "Le mode opératoire exact dépend du système." @@ -2367,7 +2365,7 @@ msgid "" "declaration from the windows header file is this::" msgstr "" -#: library/ctypes.rst:1741 library/ctypes.rst:1764 +#: library/ctypes.rst:1764 msgid "Here is the wrapping with :mod:`ctypes`::" msgstr "" @@ -2725,7 +2723,7 @@ msgid "" "exc:`ValueError` is raised." msgstr "" -#: library/ctypes.rst:2063 library/ctypes.rst:2073 +#: library/ctypes.rst:2073 msgid "" "Raises an :ref:`auditing event ` ``ctypes.cdata/buffer`` with " "arguments ``pointer``, ``size``, ``offset``." diff --git a/library/curses.po b/library/curses.po index 46cb973e..60d18eaa 100644 --- a/library/curses.po +++ b/library/curses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-04 11:32+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -769,7 +769,7 @@ msgstr "" #: library/curses.rst:710 msgid "" "Paint character *ch* at ``(y, x)`` with attributes *attr*, overwriting any " -"character previously painter at that location. By default, the character " +"character previously painted at that location. By default, the character " "position and attributes are the current settings for the window object." msgstr "" @@ -891,7 +891,7 @@ msgstr "*ls*" msgid "Left side" msgstr "" -#: library/curses.rst:805 library/curses.rst:807 +#: library/curses.rst:807 msgid ":const:`ACS_VLINE`" msgstr ":const:`ACS_VLINE`" @@ -911,7 +911,7 @@ msgstr "*ts*" msgid "Top" msgstr "" -#: library/curses.rst:809 library/curses.rst:811 +#: library/curses.rst:811 msgid ":const:`ACS_HLINE`" msgstr ":const:`ACS_HLINE`" @@ -1373,7 +1373,7 @@ msgstr "" msgid "Turn on attribute *A_STANDOUT*." msgstr "" -#: library/curses.rst:1235 library/curses.rst:1242 +#: library/curses.rst:1242 msgid "" "Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, " "and whose width/height is *ncols*/*nlines*." @@ -1488,7 +1488,7 @@ msgstr "" msgid "Attribute" msgstr "Attribut" -#: library/curses.rst:1344 library/curses.rst:1392 library/curses.rst:1636 +#: library/curses.rst:1392 library/curses.rst:1636 msgid "Meaning" msgstr "Signification" @@ -1628,11 +1628,11 @@ msgstr "``A_VERTICAL``" msgid "Vertical highlight" msgstr "" -#: library/curses.rst:1381 library/curses.rst:1397 +#: library/curses.rst:1397 msgid "``A_CHARTEXT``" msgstr "``A_CHARTEXT``" -#: library/curses.rst:1381 library/curses.rst:1397 +#: library/curses.rst:1397 msgid "Bit-mask to extract a character" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "Keycap" msgstr "" -#: library/curses.rst:1611 library/curses.rst:1728 library/curses.rst:1852 +#: library/curses.rst:1728 library/curses.rst:1852 msgid "Constant" msgstr "Constante" @@ -3001,7 +3001,7 @@ msgid "" "keystrokes:" msgstr "" -#: library/curses.rst:1814 library/curses.rst:1852 +#: library/curses.rst:1852 msgid "Keystroke" msgstr "" @@ -3017,7 +3017,7 @@ msgstr ":kbd:`Control-A`" msgid "Go to left edge of window." msgstr "" -#: library/curses.rst:1818 library/curses.rst:1854 +#: library/curses.rst:1854 msgid ":kbd:`Control-B`" msgstr ":kbd:`Control-B`" @@ -3041,7 +3041,7 @@ msgstr ":kbd:`Control-E`" msgid "Go to right edge (stripspaces off) or end of line (stripspaces on)." msgstr "" -#: library/curses.rst:1826 library/curses.rst:1856 +#: library/curses.rst:1856 msgid ":kbd:`Control-F`" msgstr ":kbd:`Control-F`" @@ -3089,7 +3089,7 @@ msgstr ":kbd:`Control-L`" msgid "Refresh screen." msgstr "" -#: library/curses.rst:1841 library/curses.rst:1860 +#: library/curses.rst:1860 msgid ":kbd:`Control-N`" msgstr ":kbd:`Control-N`" @@ -3105,7 +3105,7 @@ msgstr ":kbd:`Control-O`" msgid "Insert a blank line at cursor location." msgstr "" -#: library/curses.rst:1845 library/curses.rst:1858 +#: library/curses.rst:1858 msgid ":kbd:`Control-P`" msgstr ":kbd:`Control-P`" diff --git a/library/dataclasses.po b/library/dataclasses.po index 28eba2c9..a35e5e7e 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-12-24 14:53+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -472,7 +472,7 @@ msgid "" "into. For example::" msgstr "" -#: library/dataclasses.rst:312 library/dataclasses.rst:326 +#: library/dataclasses.rst:326 msgid "Raises :exc:`TypeError` if ``instance`` is not a dataclass instance." msgstr "" diff --git a/library/datetime.po b/library/datetime.po index 5c1f48d8..f015b851 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-07-02 02:52+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" @@ -236,7 +236,7 @@ msgstr "" "Une classe qui implémente la classe de base abstraite :class:`tzinfo` en " "tant qu'offset fixe par rapport au temps UTC." -#: library/datetime.rst:135 library/datetime.rst:153 +#: library/datetime.rst:153 msgid "Objects of these types are immutable." msgstr "Les objets issus de ces types sont immuables." @@ -437,8 +437,7 @@ msgstr "" "Notez que la normalisation de valeurs négatives peut être surprenante au " "premier abord. Par exemple ::" -#: library/datetime.rst:247 library/datetime.rst:541 library/datetime.rst:1048 -#: library/datetime.rst:1666 library/datetime.rst:2260 +#: library/datetime.rst:541 library/datetime.rst:1666 library/datetime.rst:2260 msgid "Class attributes:" msgstr "Attributs de la classe :" @@ -471,8 +470,7 @@ msgstr "" "timedelta.min``. ``-timedelta.max`` n'est pas représentable sous la forme " "d'un objet :class:`timedelta`." -#: library/datetime.rst:268 library/datetime.rst:559 library/datetime.rst:1068 -#: library/datetime.rst:1686 +#: library/datetime.rst:559 library/datetime.rst:1686 msgid "Instance attributes (read-only):" msgstr "Attributs de l'instance (en lecture seule) :" @@ -508,15 +506,15 @@ msgstr "``microseconds``" msgid "Between 0 and 999999 inclusive" msgstr "Entre 0 et 999999 inclus" -#: library/datetime.rst:280 library/datetime.rst:576 library/datetime.rst:1121 +#: library/datetime.rst:576 library/datetime.rst:1121 msgid "Supported operations:" msgstr "Opérations gérées :" -#: library/datetime.rst:285 library/datetime.rst:579 library/datetime.rst:1124 +#: library/datetime.rst:579 library/datetime.rst:1124 msgid "Operation" msgstr "Opération" -#: library/datetime.rst:285 library/datetime.rst:579 library/datetime.rst:1124 +#: library/datetime.rst:579 library/datetime.rst:1124 msgid "Result" msgstr "Résultat" @@ -686,7 +684,7 @@ msgstr "" "Renvoie une chaîne de la forme objet :class:`timedelta` comme un appel " "construit avec des valeurs d'attributs canoniques." -#: library/datetime.rst:346 library/datetime.rst:593 library/datetime.rst:2472 +#: library/datetime.rst:593 library/datetime.rst:2472 msgid "Notes:" msgstr "Notes :" @@ -783,8 +781,7 @@ msgstr "" "Dans les contextes booléens, un objet :class:`timedelta` est considéré comme " "vrai si et seulement s'il n'est pas égal à ``timedelta(0)``." -#: library/datetime.rst:413 library/datetime.rst:622 library/datetime.rst:1195 -#: library/datetime.rst:1783 +#: library/datetime.rst:622 library/datetime.rst:1783 msgid "Instance methods:" msgstr "Méthodes de l'instance :" @@ -862,14 +859,14 @@ msgstr "``1 <= month <= 12``" msgid "``1 <= day <= number of days in the given month and year``" msgstr "``1 <= day <= nombre de jours dans le mois et l'année donnés``" -#: library/datetime.rst:478 library/datetime.rst:840 +#: library/datetime.rst:840 msgid "" "If an argument outside those ranges is given, :exc:`ValueError` is raised." msgstr "" "Si un argument est donné en dehors de ces intervalles, une :exc:`valueError` " "est levée." -#: library/datetime.rst:481 library/datetime.rst:845 +#: library/datetime.rst:845 msgid "Other constructors, all class methods:" msgstr "Autres constructeurs, méthodes de classe :" @@ -975,15 +972,15 @@ msgstr "" "La plus petite différence possible entre deux objets dates non-égaux, " "``timedelta(days=1)``." -#: library/datetime.rst:563 library/datetime.rst:1072 +#: library/datetime.rst:1072 msgid "Between :const:`MINYEAR` and :const:`MAXYEAR` inclusive." msgstr "Entre :const:`MINYEAR` et :const:`MAXYEAR` inclus." -#: library/datetime.rst:568 library/datetime.rst:1077 +#: library/datetime.rst:1077 msgid "Between 1 and 12 inclusive." msgstr "Entre 1 et 12 inclus." -#: library/datetime.rst:573 library/datetime.rst:1082 +#: library/datetime.rst:1082 msgid "Between 1 and the number of days in the given month of the given year." msgstr "Entre 1 et le nombre de jours du mois donné de l'année donnée." @@ -1008,7 +1005,7 @@ msgstr "Calcule *date2* de façon à avoir ``date2 + timedelta == date1``. (2)" msgid "``timedelta = date1 - date2``" msgstr "``timedelta = date1 - date2``" -#: library/datetime.rst:587 library/datetime.rst:1130 +#: library/datetime.rst:1130 msgid "\\(3)" msgstr "\\(3)" @@ -1088,11 +1085,11 @@ msgstr "" "Renvoie une date avec la même valeur, excepté pour les valeurs spécifiées " "par arguments nommés." -#: library/datetime.rst:629 library/datetime.rst:1826 +#: library/datetime.rst:1826 msgid "Example::" msgstr "Exemple ::" -#: library/datetime.rst:639 library/datetime.rst:1308 +#: library/datetime.rst:1308 msgid "" "Return a :class:`time.struct_time` such as returned by :func:`time." "localtime`." @@ -1105,7 +1102,7 @@ msgid "The hours, minutes and seconds are 0, and the DST flag is -1." msgstr "" "Les heures, minutes et secondes sont égales à 0 et le drapeau DST vaut -1." -#: library/datetime.rst:643 library/datetime.rst:1310 +#: library/datetime.rst:1310 msgid "``d.timetuple()`` is equivalent to::" msgstr "``d.timetuple()`` est équivalent à ::" @@ -1213,7 +1210,7 @@ msgstr "Pour une date *d*, ``str(d)`` est équivalent à ``d.isoformat()``." msgid "Return a string representing the date::" msgstr "Renvoie une chaîne de caractères représentant la date ::" -#: library/datetime.rst:719 library/datetime.rst:1494 +#: library/datetime.rst:1494 msgid "``d.ctime()`` is equivalent to::" msgstr "``d.ctime()`` est équivalent à ::" @@ -1324,27 +1321,27 @@ msgstr "``1 <= month <= 12``," msgid "``1 <= day <= number of days in the given month and year``," msgstr "``1 <= day <= nombre de jours dans le mois donné de l'année donnée``," -#: library/datetime.rst:834 library/datetime.rst:1657 +#: library/datetime.rst:1657 msgid "``0 <= hour < 24``," msgstr "``0 <= hour < 24``," -#: library/datetime.rst:835 library/datetime.rst:1658 +#: library/datetime.rst:1658 msgid "``0 <= minute < 60``," msgstr "``0 <= minute < 60``," -#: library/datetime.rst:836 library/datetime.rst:1659 +#: library/datetime.rst:1659 msgid "``0 <= second < 60``," msgstr "``0 <= second < 60``," -#: library/datetime.rst:837 library/datetime.rst:1660 +#: library/datetime.rst:1660 msgid "``0 <= microsecond < 1000000``," msgstr "``0 <= microsecond < 1000000``," -#: library/datetime.rst:838 library/datetime.rst:1661 +#: library/datetime.rst:1661 msgid "``fold in [0, 1]``." msgstr "``fold in [0, 1]``." -#: library/datetime.rst:842 library/datetime.rst:1229 library/datetime.rst:1793 +#: library/datetime.rst:1229 library/datetime.rst:1793 msgid "Added the ``fold`` argument." msgstr "Ajout de l'argument ``fold``." @@ -1652,8 +1649,7 @@ msgstr "" "isoparse`` est disponible dans le paquet tiers `dateutil `__." -#: library/datetime.rst:1006 library/datetime.rst:1423 -#: library/datetime.rst:1770 +#: library/datetime.rst:1423 library/datetime.rst:1770 msgid "Examples::" msgstr "Exemples ::" @@ -1720,16 +1716,15 @@ msgstr "" "La plus petite différence possible entre deux objets :class:`.datetime` non-" "égaux, ``timedelta(microseconds=1)``." -#: library/datetime.rst:1087 library/datetime.rst:1690 +#: library/datetime.rst:1690 msgid "In ``range(24)``." msgstr "Dans ``range(24)``." -#: library/datetime.rst:1092 library/datetime.rst:1097 -#: library/datetime.rst:1695 library/datetime.rst:1700 +#: library/datetime.rst:1097 library/datetime.rst:1700 msgid "In ``range(60)``." msgstr "Dans ``range(60)``." -#: library/datetime.rst:1102 library/datetime.rst:1705 +#: library/datetime.rst:1705 msgid "In ``range(1000000)``." msgstr "Dans ``range(1000000)``." @@ -1741,7 +1736,7 @@ msgstr "" "L'objet passé en tant que paramètre *tzinfo* du constructeur de la classe :" "class:`.datetime` ou ``None`` si aucun n'a été donné." -#: library/datetime.rst:1113 library/datetime.rst:1716 +#: library/datetime.rst:1716 #, fuzzy msgid "" "In ``[0, 1]``. Used to disambiguate wall times during a repeated interval. " @@ -1760,10 +1755,8 @@ msgstr "" msgid "``datetime2 = datetime1 + timedelta``" msgstr "``datetime2 = datetime1 + timedelta``" -#: library/datetime.rst:1126 library/datetime.rst:2308 -#: library/datetime.rst:2313 library/datetime.rst:2325 -#: library/datetime.rst:2330 library/datetime.rst:2390 -#: library/datetime.rst:2395 library/datetime.rst:2399 +#: library/datetime.rst:2308 library/datetime.rst:2325 +#: library/datetime.rst:2390 library/datetime.rst:2399 msgid "\\(1)" msgstr "\\(1)" @@ -1771,7 +1764,7 @@ msgstr "\\(1)" msgid "``datetime2 = datetime1 - timedelta``" msgstr "``datetime2 = datetime1 - timedelta``" -#: library/datetime.rst:1128 library/datetime.rst:2341 +#: library/datetime.rst:2341 msgid "\\(2)" msgstr "\\(2)" @@ -1943,7 +1936,7 @@ msgstr "" "microseconde et *fold*. :attr:`.tzinfo` est ``None``. Voir aussi la " "méthode :meth:`timetz`." -#: library/datetime.rst:1207 library/datetime.rst:1216 +#: library/datetime.rst:1216 msgid "The fold value is copied to the returned :class:`.time` object." msgstr "La valeur *fold* est copiée vers l'objet :class:`.time` renvoyé." @@ -2067,9 +2060,8 @@ msgstr "" "ne renvoie pas ``None`` ou un objet :class:`timedelta` d'une magnitude " "inférieure à un jour." -#: library/datetime.rst:1285 library/datetime.rst:1868 -#: library/datetime.rst:1974 library/datetime.rst:2220 -#: library/datetime.rst:2232 library/datetime.rst:2528 +#: library/datetime.rst:1868 library/datetime.rst:2220 +#: library/datetime.rst:2528 msgid "The UTC offset is not restricted to a whole number of minutes." msgstr "Le décalage UTC peut aussi être autre chose qu'un ensemble de minutes." @@ -2084,8 +2076,7 @@ msgstr "" "renvoie pas ``None`` ou un objet :class:`timedelta` d'une magnitude " "inférieure à un jour." -#: library/datetime.rst:1295 library/datetime.rst:1878 -#: library/datetime.rst:2028 +#: library/datetime.rst:1878 library/datetime.rst:2028 msgid "The DST offset is not restricted to a whole number of minutes." msgstr "Le décalage DST n'est pas restreint à des minutes entières." @@ -2310,7 +2301,7 @@ msgstr "" "d'un caractère, placé entre les portions du résultat correspondant à la date " "et à l'heure. Par exemple ::" -#: library/datetime.rst:1445 library/datetime.rst:1806 +#: library/datetime.rst:1806 msgid "" "The optional argument *timespec* specifies the number of additional " "components of the time to include (the default is ``'auto'``). It can be one " @@ -2320,7 +2311,7 @@ msgstr "" "additionnels de temps à inclure (par défaut ``'auto'``). Il peut valoir " "l'une des valeurs suivantes :" -#: library/datetime.rst:1449 library/datetime.rst:1810 +#: library/datetime.rst:1810 msgid "" "``'auto'``: Same as ``'seconds'`` if :attr:`microsecond` is 0, same as " "``'microseconds'`` otherwise." @@ -2328,18 +2319,18 @@ msgstr "" "``'auto'`` : Identique à ``'seconds'`` si :attr:`microsecond` vaut 0, à " "``'microseconds'`` sinon." -#: library/datetime.rst:1451 library/datetime.rst:1812 +#: library/datetime.rst:1812 #, fuzzy msgid "``'hours'``: Include the :attr:`hour` in the two-digit ``HH`` format." msgstr "``'hours'`` : Inclut :attr:`hour` au format à deux chiffres HH." -#: library/datetime.rst:1452 library/datetime.rst:1813 +#: library/datetime.rst:1813 #, fuzzy msgid "" "``'minutes'``: Include :attr:`hour` and :attr:`minute` in ``HH:MM`` format." msgstr "``'minutes'`` : Inclut :attr:`hour` et :attr:`minute` au format HH:MM." -#: library/datetime.rst:1453 library/datetime.rst:1814 +#: library/datetime.rst:1814 #, fuzzy msgid "" "``'seconds'``: Include :attr:`hour`, :attr:`minute`, and :attr:`second` in " @@ -2348,7 +2339,7 @@ msgstr "" "``'seconds'`` : Inclut :attr:`hour`, :attr:`minute` et :attr:`second` au " "format ``HH:MM:SS``." -#: library/datetime.rst:1455 library/datetime.rst:1816 +#: library/datetime.rst:1816 #, fuzzy msgid "" "``'milliseconds'``: Include full time, but truncate fractional second part " @@ -2357,13 +2348,13 @@ msgstr "" "``'milliseconds'`` : Inclut le temps complet, mais tronque la partie " "fractionnaire des millisecondes, au format ``HH:MM:SS.sss``." -#: library/datetime.rst:1457 library/datetime.rst:1818 +#: library/datetime.rst:1818 #, fuzzy msgid "``'microseconds'``: Include full time in ``HH:MM:SS.ffffff`` format." msgstr "" "``'microseconds'`` : Inclut le temps complet, au format ``HH:MM:SS.ffffff``." -#: library/datetime.rst:1461 library/datetime.rst:1822 +#: library/datetime.rst:1822 msgid "Excluded time components are truncated, not rounded." msgstr "Les composants de temps exclus sont tronqués et non arrondis." @@ -2373,7 +2364,7 @@ msgid ":exc:`ValueError` will be raised on an invalid *timespec* argument::" msgstr "" "Une :exc:`ValueError` sera levée en cas d'argument *timespec* invalide ::" -#: library/datetime.rst:1473 library/datetime.rst:1837 +#: library/datetime.rst:1837 msgid "Added the *timespec* argument." msgstr "Ajout de l'argument *timespec*." @@ -3283,7 +3274,7 @@ msgstr "" "caractères qui sera utilisée comme valeur de retour de la méthode :meth:" "`datetime.tzname`." -#: library/datetime.rst:2226 library/datetime.rst:2237 +#: library/datetime.rst:2237 msgid "" "Return the fixed value specified when the :class:`timezone` instance is " "constructed." @@ -3462,19 +3453,19 @@ msgstr "" "possédant une implémentation de C standard. Notez que la version 1999 du " "standard C a ajouté des codes de formatage additionnels." -#: library/datetime.rst:2306 library/datetime.rst:2409 +#: library/datetime.rst:2409 msgid "Directive" msgstr "Directive" -#: library/datetime.rst:2306 library/datetime.rst:2409 +#: library/datetime.rst:2409 msgid "Meaning" msgstr "Signification" -#: library/datetime.rst:2306 library/datetime.rst:2409 +#: library/datetime.rst:2409 msgid "Example" msgstr "Exemple" -#: library/datetime.rst:2306 library/datetime.rst:2409 +#: library/datetime.rst:2409 msgid "Notes" msgstr "Notes" @@ -3535,10 +3526,8 @@ msgstr "Jour du mois sur deux chiffres." msgid "01, 02, ..., 31" msgstr "01, 02, ..., 31" -#: library/datetime.rst:2322 library/datetime.rst:2335 -#: library/datetime.rst:2338 library/datetime.rst:2344 -#: library/datetime.rst:2347 library/datetime.rst:2353 -#: library/datetime.rst:2371 +#: library/datetime.rst:2335 library/datetime.rst:2344 +#: library/datetime.rst:2353 library/datetime.rst:2371 msgid "\\(9)" msgstr "\\(9)" @@ -3582,7 +3571,7 @@ msgstr "``%m``" msgid "Month as a zero-padded decimal number." msgstr "Numéro du mois sur deux chiffres." -#: library/datetime.rst:2335 library/datetime.rst:2347 +#: library/datetime.rst:2347 msgid "01, 02, ..., 12" msgstr "01, 02, ..., 12" @@ -3606,7 +3595,7 @@ msgstr "``%Y``" msgid "Year with century as a decimal number." msgstr "Année complète sur quatre chiffres." -#: library/datetime.rst:2341 library/datetime.rst:2411 +#: library/datetime.rst:2411 msgid "0001, 0002, ..., 2013, 2014, ..., 9998, 9999" msgstr "0001, 0002, ..., 2013, 2014, ..., 9998, 9999" @@ -3658,7 +3647,7 @@ msgstr "``%M``" msgid "Minute as a zero-padded decimal number." msgstr "Minutes sur deux chiffres." -#: library/datetime.rst:2353 library/datetime.rst:2356 +#: library/datetime.rst:2356 msgid "00, 01, ..., 59" msgstr "00, 01, ..., 59" @@ -3690,7 +3679,7 @@ msgstr "000000, 000001, ..., 999999" msgid "\\(5)" msgstr "\\(5)" -#: library/datetime.rst:2363 library/datetime.rst:2526 +#: library/datetime.rst:2526 msgid "``%z``" msgstr "``%z``" @@ -3707,11 +3696,11 @@ msgstr "" msgid "(empty), +0000, -0400, +1030, +063415, -030712.345216" msgstr "(vide), +0000, -0400, +1030, +063415, -030712.345216" -#: library/datetime.rst:2363 library/datetime.rst:2368 +#: library/datetime.rst:2368 msgid "\\(6)" msgstr "\\(6)" -#: library/datetime.rst:2368 library/datetime.rst:2550 +#: library/datetime.rst:2550 msgid "``%Z``" msgstr "``%Z``" @@ -3750,11 +3739,11 @@ msgstr "" "premier jour de la semaine). Tous les jours de l'année précédent le premier " "dimanche sont considérés comme appartenant à la semaine 0." -#: library/datetime.rst:2374 library/datetime.rst:2382 +#: library/datetime.rst:2382 msgid "00, 01, ..., 53" msgstr "00, 01, ..., 53" -#: library/datetime.rst:2374 library/datetime.rst:2382 +#: library/datetime.rst:2382 msgid "\\(7), \\(9)" msgstr "\\(7), \\(9)" diff --git a/library/dbm.po b/library/dbm.po index 9422117b..eaacdea1 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -65,61 +65,51 @@ msgid "" "the first module listed above that can be imported is used." msgstr "" -#: library/dbm.rst:45 library/dbm.rst:161 library/dbm.rst:346 +#: library/dbm.rst:161 library/dbm.rst:346 msgid "The optional *flag* argument can be:" msgstr "" -#: library/dbm.rst:48 library/dbm.rst:164 library/dbm.rst:183 -#: library/dbm.rst:279 library/dbm.rst:349 +#: library/dbm.rst:164 library/dbm.rst:279 library/dbm.rst:349 msgid "Value" msgstr "Valeur" -#: library/dbm.rst:48 library/dbm.rst:164 library/dbm.rst:183 -#: library/dbm.rst:279 library/dbm.rst:349 +#: library/dbm.rst:164 library/dbm.rst:279 library/dbm.rst:349 msgid "Meaning" msgstr "Signification" -#: library/dbm.rst:50 library/dbm.rst:166 library/dbm.rst:281 -#: library/dbm.rst:351 +#: library/dbm.rst:166 library/dbm.rst:351 msgid "``'r'``" msgstr "``'r'``" -#: library/dbm.rst:50 library/dbm.rst:166 library/dbm.rst:281 -#: library/dbm.rst:351 +#: library/dbm.rst:166 library/dbm.rst:351 msgid "Open existing database for reading only (default)" msgstr "" -#: library/dbm.rst:53 library/dbm.rst:169 library/dbm.rst:284 -#: library/dbm.rst:354 +#: library/dbm.rst:169 library/dbm.rst:354 msgid "``'w'``" msgstr "``'w'``" -#: library/dbm.rst:53 library/dbm.rst:169 library/dbm.rst:284 -#: library/dbm.rst:354 +#: library/dbm.rst:169 library/dbm.rst:354 msgid "Open existing database for reading and writing" msgstr "" -#: library/dbm.rst:56 library/dbm.rst:172 library/dbm.rst:287 -#: library/dbm.rst:357 +#: library/dbm.rst:172 library/dbm.rst:357 msgid "``'c'``" msgstr "``'c'``" -#: library/dbm.rst:56 library/dbm.rst:172 library/dbm.rst:287 -#: library/dbm.rst:357 +#: library/dbm.rst:172 library/dbm.rst:357 msgid "Open database for reading and writing, creating it if it doesn't exist" msgstr "" -#: library/dbm.rst:59 library/dbm.rst:175 library/dbm.rst:290 -#: library/dbm.rst:360 +#: library/dbm.rst:175 library/dbm.rst:360 msgid "``'n'``" msgstr "``'n'``" -#: library/dbm.rst:59 library/dbm.rst:175 library/dbm.rst:290 -#: library/dbm.rst:360 +#: library/dbm.rst:175 library/dbm.rst:360 msgid "Always create a new, empty database, open for reading and writing" msgstr "" -#: library/dbm.rst:63 library/dbm.rst:294 library/dbm.rst:364 +#: library/dbm.rst:294 library/dbm.rst:364 msgid "" "The optional *mode* argument is the Unix mode of the file, used only when " "the database has to be created. It defaults to octal ``0o666`` (and will be " diff --git a/library/decimal.po b/library/decimal.po index 0c5897ca..300173fd 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-07 18:55+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -631,8 +631,7 @@ msgid "" "details of the total order." msgstr "" -#: library/decimal.rst:520 library/decimal.rst:531 library/decimal.rst:559 -#: library/decimal.rst:834 +#: library/decimal.rst:531 library/decimal.rst:834 msgid "" "This operation is unaffected by context and is quiet: no flags are changed " "and no rounding is performed. As an exception, the C version may raise " @@ -1013,12 +1012,12 @@ msgstr "" msgid "Return the square root of the argument to full precision." msgstr "" -#: library/decimal.rst:861 library/decimal.rst:1440 +#: library/decimal.rst:1440 msgid "" "Convert to a string, using engineering notation if an exponent is needed." msgstr "" -#: library/decimal.rst:863 library/decimal.rst:1442 +#: library/decimal.rst:1442 msgid "" "Engineering notation has an exponent which is a multiple of 3. This can " "leave up to 3 digits to the left of the decimal place and may require the " @@ -1455,7 +1454,7 @@ msgstr "" msgid "Compares two values numerically and returns the maximum." msgstr "" -#: library/decimal.rst:1295 library/decimal.rst:1305 +#: library/decimal.rst:1305 msgid "Compares the values numerically with their sign ignored." msgstr "" @@ -1629,11 +1628,11 @@ msgstr "32-bit" msgid "64-bit" msgstr "64-bit" -#: library/decimal.rst:1469 library/decimal.rst:1471 +#: library/decimal.rst:1471 msgid ":const:`425000000`" msgstr ":const:`425000000`" -#: library/decimal.rst:1469 library/decimal.rst:1471 +#: library/decimal.rst:1471 msgid ":const:`999999999999999999`" msgstr ":const:`999999999999999999`" diff --git a/library/difflib.po b/library/difflib.po index f798e237..67399611 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-18 22:51+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" @@ -25,10 +25,11 @@ msgid "**Source code:** :source:`Lib/difflib.py`" msgstr "**Code source:** :source:`Lib/difflib.py`" #: library/difflib.rst:20 +#, fuzzy msgid "" "This module provides classes and functions for comparing sequences. It can " -"be used for example, for comparing files, and can produce difference " -"information in various formats, including HTML and context and unified " +"be used for example, for comparing files, and can produce information about " +"file differences in various formats, including HTML and context and unified " "diffs. For comparing directories and files, see also, the :mod:`filecmp` " "module." msgstr "" @@ -106,7 +107,7 @@ msgstr "" "``autojunk`` sur ``False`` lors de la création de la classe :class:" "`SequenceMatcher`." -#: library/difflib.rst:55 library/difflib.rst:388 +#: library/difflib.rst:388 msgid "The *autojunk* parameter." msgstr "Le paramètre *autojunk*." @@ -133,7 +134,7 @@ msgstr "" msgid "Code" msgstr "Code" -#: library/difflib.rst:69 library/difflib.rst:498 +#: library/difflib.rst:498 msgid "Meaning" msgstr "Signification" @@ -355,7 +356,7 @@ msgstr "" "différences qui peuvent être utilisées avec :func:`io.IOBase.writelines` " "puisque les entrées et les sorties ont des nouvelles lignes de fin." -#: library/difflib.rst:167 library/difflib.rst:298 +#: library/difflib.rst:298 msgid "" "For inputs that do not have trailing newlines, set the *lineterm* argument " "to ``\"\"`` so that the output will be uniformly newline free." @@ -364,7 +365,7 @@ msgstr "" "*lineterm* à ``\"\"`` afin que la sortie soit uniformément sans retour à la " "ligne." -#: library/difflib.rst:170 library/difflib.rst:301 +#: library/difflib.rst:301 msgid "" "The context diff format normally has a header for filenames and modification " "times. Any or all of these may be specified using strings for *fromfile*, " @@ -379,7 +380,7 @@ msgstr "" "modification sont normalement exprimées dans le format ISO 8601. Si elles ne " "sont pas spécifiées, les chaînes de caractères sont par défaut vierges." -#: library/difflib.rst:193 library/difflib.rst:322 +#: library/difflib.rst:322 msgid "See :ref:`difflib-interface` for a more detailed example." msgstr "" "Voir :ref:`une interface de ligne de commandes pour difflib \n" "Language-Team: FRENCH \n" @@ -108,7 +108,7 @@ msgstr "" "instance de la classe :class:`Bytecode` rend les opérations du code " "intermédiaire des instances de :class:`Instruction`." -#: library/dis.rst:64 library/dis.rst:225 +#: library/dis.rst:225 msgid "" "If *first_line* is not ``None``, it indicates the line number that should be " "reported for the first source line in the disassembled code. Otherwise, the " @@ -164,7 +164,7 @@ msgstr "" "Retourne une chaîne de caractères de plusieurs lignes formatée avec des " "informations détaillées sur l'objet code comme :func:`code_info`." -#: library/dis.rst:96 library/dis.rst:130 library/dis.rst:176 +#: library/dis.rst:130 library/dis.rst:176 msgid "This can now handle coroutine and asynchronous generator objects." msgstr "" "Cette version supporte la coroutine et les objets générateurs asynchrones." @@ -230,8 +230,7 @@ msgstr "" "principalement fait pour l'exploration interactive sur l'invite de " "l'interpréteur." -#: library/dis.rst:145 library/dis.rst:170 library/dis.rst:189 -#: library/dis.rst:213 +#: library/dis.rst:170 library/dis.rst:213 msgid "Added *file* parameter." msgstr "Ajout du paramètre *file*." @@ -264,7 +263,7 @@ msgstr "" "`compile` avant qu'elles ne soient désassemblées. Si aucun objet n'est " "fourni, cette fonction désassemble les dernières traces d'appel." -#: library/dis.rst:164 library/dis.rst:186 library/dis.rst:210 +#: library/dis.rst:186 library/dis.rst:210 msgid "" "The disassembly is written as text to the supplied *file* argument if " "provided and to ``sys.stdout`` otherwise." diff --git a/library/doctest.po b/library/doctest.po index c6862dd4..38f6cb8c 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -898,14 +898,14 @@ msgid "" "continue running examples." msgstr "" -#: library/doctest.rst:903 library/doctest.rst:1043 +#: library/doctest.rst:1043 msgid "" "Optional argument *parser* specifies a :class:`DocTestParser` (or subclass) " "that should be used to extract tests from the files. It defaults to a " "normal parser (i.e., ``DocTestParser()``)." msgstr "" -#: library/doctest.rst:907 library/doctest.rst:1047 +#: library/doctest.rst:1047 msgid "" "Optional argument *encoding* specifies an encoding that should be used to " "convert the file to unicode." @@ -1094,7 +1094,7 @@ msgid "" "access the test globals as the *globs* attribute of the test passed." msgstr "" -#: library/doctest.rst:1034 library/doctest.rst:1068 +#: library/doctest.rst:1068 msgid "" "Optional argument *globs* is a dictionary containing the initial global " "variables for the tests. A new copy of this dictionary is created for each " @@ -1524,7 +1524,7 @@ msgid "" "use them to create a :class:`DocTest` object." msgstr "" -#: library/doctest.rst:1378 library/doctest.rst:1446 +#: library/doctest.rst:1446 msgid ":class:`DocTestParser` defines the following methods:" msgstr "" @@ -1632,7 +1632,7 @@ msgid "" "should not be called directly." msgstr "" -#: library/doctest.rst:1466 library/doctest.rst:1477 +#: library/doctest.rst:1477 msgid "" "*example* is the example about to be processed. *got* is the actual output " "from the example. *test* is the test containing *example*. *out* is the " @@ -1920,11 +1920,11 @@ msgstr "" msgid ":exc:`DocTestFailure` defines the following attributes:" msgstr "" -#: library/doctest.rst:1744 library/doctest.rst:1768 +#: library/doctest.rst:1768 msgid "The :class:`DocTest` object that was being run when the example failed." msgstr "" -#: library/doctest.rst:1749 library/doctest.rst:1773 +#: library/doctest.rst:1773 msgid "The :class:`Example` that failed." msgstr "" diff --git a/library/email.errors.po b/library/email.errors.po index f23c77ae..2c6fafeb 100644 --- a/library/email.errors.po +++ b/library/email.errors.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-15 18:54+0100\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-29 06:16-0400\n" +"Last-Translator: G. Robert \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: G. Robert \n" "X-Generator: Poedit 2.0.6\n" #: library/email.errors.rst:2 diff --git a/library/email.generator.po b/library/email.generator.po index a0ac3cb0..3aaca2c8 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -75,7 +75,7 @@ msgid "" "*outfp* must support a ``write`` method that accepts binary data." msgstr "" -#: library/email.generator.rst:52 library/email.generator.rst:153 +#: library/email.generator.rst:153 msgid "" "If optional *mangle_from_* is ``True``, put a ``>`` character in front of " "any line in the body that starts with the exact string ``\"From \"``, that " @@ -88,7 +88,7 @@ msgid "" "length.html>`_)." msgstr "" -#: library/email.generator.rst:62 library/email.generator.rst:163 +#: library/email.generator.rst:163 msgid "" "If *maxheaderlen* is not ``None``, refold any header lines that are longer " "than *maxheaderlen*, or if ``0``, do not rewrap any headers. If " @@ -96,7 +96,7 @@ msgid "" "lines according to the *policy* settings." msgstr "" -#: library/email.generator.rst:67 library/email.generator.rst:168 +#: library/email.generator.rst:168 msgid "" "If *policy* is specified, use that policy to control message generation. If " "*policy* is ``None`` (the default), use the policy associated with the :" @@ -105,11 +105,11 @@ msgid "" "`email.policy` for details on what *policy* controls." msgstr "" -#: library/email.generator.rst:75 library/email.generator.rst:174 +#: library/email.generator.rst:174 msgid "Added the *policy* keyword." msgstr "" -#: library/email.generator.rst:77 library/email.generator.rst:176 +#: library/email.generator.rst:176 msgid "" "The default behavior of the *mangle_from_* and *maxheaderlen* parameters is " "to follow the policy." diff --git a/library/email.message.po b/library/email.message.po index 218c868b..90c75ed4 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\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 "" "class:`~email.generator.Generator`." msgstr "" -#: library/email.message.rst:76 library/email.message.rst:114 +#: library/email.message.rst:114 msgid "" "Flattening the message may trigger changes to the :class:`EmailMessage` if " "defaults need to be filled in to complete the transformation to a string " @@ -436,7 +436,7 @@ msgid "" "in place." msgstr "" -#: library/email.message.rst:377 library/email.message.rst:394 +#: library/email.message.rst:394 msgid "" "Use of the *requote* parameter with :class:`EmailMessage` objects is " "deprecated." diff --git a/library/email.mime.po b/library/email.mime.po index 82196c4c..bb758b79 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -88,10 +88,8 @@ msgid "" "Version` header (always set to ``1.0``)." msgstr "" -#: library/email.mime.rst:57 library/email.mime.rst:104 -#: library/email.mime.rst:135 library/email.mime.rst:169 -#: library/email.mime.rst:204 library/email.mime.rst:224 -#: library/email.mime.rst:258 +#: library/email.mime.rst:104 library/email.mime.rst:169 +#: library/email.mime.rst:224 library/email.mime.rst:258 msgid "Added *policy* keyword-only parameter." msgstr "" @@ -138,9 +136,8 @@ msgid "" "Message.attach>` method." msgstr "" -#: library/email.mime.rst:98 library/email.mime.rst:131 -#: library/email.mime.rst:165 library/email.mime.rst:199 -#: library/email.mime.rst:222 library/email.mime.rst:253 +#: library/email.mime.rst:131 library/email.mime.rst:199 +#: library/email.mime.rst:253 msgid "" "Optional *policy* argument defaults to :class:`compat32 `." @@ -178,7 +175,7 @@ msgid "" "encoders` module for a list of the built-in encoders." msgstr "" -#: library/email.mime.rst:133 library/email.mime.rst:167 +#: library/email.mime.rst:167 msgid "*_params* are passed straight through to the base class constructor." msgstr "" diff --git a/library/email.parser.po b/library/email.parser.po index 17c4aea1..7c454ee1 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-05-08 16:44+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -131,13 +131,13 @@ msgid "" "policy` documentation." msgstr "" -#: library/email.parser.rst:89 library/email.parser.rst:145 +#: library/email.parser.rst:145 msgid "" "Note: **The policy keyword should always be specified**; The default will " "change to :data:`email.policy.default` in a future version of Python." msgstr "" -#: library/email.parser.rst:94 library/email.parser.rst:122 +#: library/email.parser.rst:122 msgid "Added the *policy* keyword." msgstr "" @@ -201,8 +201,7 @@ msgid "" "*policy* keyword." msgstr "" -#: library/email.parser.rst:151 library/email.parser.rst:200 -#: library/email.parser.rst:280 +#: library/email.parser.rst:200 library/email.parser.rst:280 msgid "*_class* defaults to the policy ``message_factory``." msgstr "" @@ -239,7 +238,7 @@ msgid "" "BytesIO` instance first and calling :meth:`parse`." msgstr "" -#: library/email.parser.rst:181 library/email.parser.rst:221 +#: library/email.parser.rst:221 msgid "Optional *headersonly* is as with the :meth:`parse` method." msgstr "" @@ -254,8 +253,7 @@ msgid "" "This class is parallel to :class:`BytesParser`, but handles string input." msgstr "" -#: library/email.parser.rst:198 library/email.parser.rst:245 -#: library/email.parser.rst:258 library/email.parser.rst:268 +#: library/email.parser.rst:245 library/email.parser.rst:268 #: library/email.parser.rst:278 msgid "Removed the *strict* argument. Added the *policy* keyword." msgstr "" diff --git a/library/email.policy.po b/library/email.policy.po index f106b8e5..a862b68e 100644 --- a/library/email.policy.po +++ b/library/email.policy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -345,8 +345,7 @@ msgstr "" msgid "*sourcelines* may contain surrogateescaped binary data." msgstr "" -#: library/email.policy.rst:310 library/email.policy.rst:326 -#: library/email.policy.rst:342 +#: library/email.policy.rst:326 library/email.policy.rst:342 msgid "There is no default implementation" msgstr "" @@ -510,7 +509,7 @@ msgid "" "``content_manager`` is set to :data:`~email.contentmanager.raw_data_manager`." msgstr "" -#: library/email.policy.rst:442 library/email.policy.rst:600 +#: library/email.policy.rst:600 msgid "" "The class provides the following concrete implementations of the abstract " "methods of :class:`Policy`:" @@ -523,7 +522,7 @@ msgid "" "given name." msgstr "" -#: library/email.policy.rst:456 library/email.policy.rst:606 +#: library/email.policy.rst:606 msgid "" "The name is parsed as everything up to the '``:``' and returned unmodified. " "The value is determined by stripping leading whitespace off the remainder of " diff --git a/library/enum.po b/library/enum.po index f6187433..34080495 100644 --- a/library/enum.po +++ b/library/enum.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-11 11:26+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -34,11 +34,21 @@ msgstr "" "peuvent être comparés entre eux et il est possible d'itérer sur " "l'énumération elle-même." +#: library/enum.rst:22 +msgid "Case of Enum Members" +msgstr "" + #: library/enum.rst:24 +msgid "" +"Because Enums are used to represent constants we recommend using UPPER_CASE " +"names for enum members, and will be using that style in our examples." +msgstr "" + +#: library/enum.rst:30 msgid "Module Contents" msgstr "Contenu du module" -#: library/enum.rst:26 +#: library/enum.rst:32 msgid "" "This module defines four enumeration classes that can be used to define " "unique sets of names and values: :class:`Enum`, :class:`IntEnum`, :class:" @@ -50,7 +60,7 @@ msgstr "" "class:`Flag` et :class:`IntFlag`. Il fournit également un décorateur, :func:" "`unique`, ainsi qu'une classe utilitaire, :class:`auto`." -#: library/enum.rst:33 +#: library/enum.rst:39 msgid "" "Base class for creating enumerated constants. See section `Functional API`_ " "for an alternate construction syntax." @@ -58,7 +68,7 @@ msgstr "" "Classe de base pour créer une énumération de constantes. Voir la section " "`API par fonction`_ pour une syntaxe alternative de construction." -#: library/enum.rst:38 +#: library/enum.rst:44 msgid "" "Base class for creating enumerated constants that are also subclasses of :" "class:`int`." @@ -66,7 +76,7 @@ msgstr "" "Classe de base pour créer une énumération de constantes qui sont également " "des sous-classes de :class:`int`." -#: library/enum.rst:43 +#: library/enum.rst:49 msgid "" "Base class for creating enumerated constants that can be combined using the " "bitwise operators without losing their :class:`IntFlag` membership. :class:" @@ -77,7 +87,7 @@ msgstr "" "qualité de :class:`IntFlag`. Les membres de :class:`IntFlag` sont aussi des " "sous-classes de :class:`int`." -#: library/enum.rst:49 +#: library/enum.rst:55 msgid "" "Base class for creating enumerated constants that can be combined using the " "bitwise operations without losing their :class:`Flag` membership." @@ -86,14 +96,14 @@ msgstr "" "combinées avec des opérateurs de comparaison bit-à-bit, sans perdre leur " "qualité de :class:`Flag`." -#: library/enum.rst:55 +#: library/enum.rst:61 msgid "" "Enum class decorator that ensures only one name is bound to any one value." msgstr "" "Décorateur de classe qui garantit qu'une valeur ne puisse être associée qu'à " "un seul nom." -#: library/enum.rst:59 +#: library/enum.rst:65 #, fuzzy msgid "" "Instances are replaced with an appropriate value for Enum members. By " @@ -102,15 +112,15 @@ msgstr "" "Les instances de cette classe remplacent les membres d'une *Enum* par une " "valeur appropriée." -#: library/enum.rst:61 +#: library/enum.rst:67 msgid "``Flag``, ``IntFlag``, ``auto``" msgstr "``Flag``, ``IntFlag``, ``auto``" -#: library/enum.rst:65 +#: library/enum.rst:71 msgid "Creating an Enum" msgstr "Création d'une *Enum*" -#: library/enum.rst:67 +#: library/enum.rst:73 msgid "" "Enumerations are created using the :keyword:`class` syntax, which makes them " "easy to read and write. An alternative creation method is described in " @@ -122,11 +132,11 @@ msgstr "" "fonction`_. Pour définir une énumération, il faut hériter de :class:`Enum` " "de la manière suivante ::" -#: library/enum.rst:79 +#: library/enum.rst:85 msgid "Enum member values" msgstr "Valeurs des membres d'une *Enum*" -#: library/enum.rst:81 +#: library/enum.rst:87 msgid "" "Member values can be anything: :class:`int`, :class:`str`, etc.. If the " "exact value is unimportant you may use :class:`auto` instances and an " @@ -138,15 +148,15 @@ msgstr "" "instances de :class:`auto` et une valeur appropriée sera choisie pour vous. " "Soyez vigilant si vous mélangez :class:`auto` avec d'autres valeurs." -#: library/enum.rst:86 +#: library/enum.rst:92 msgid "Nomenclature" msgstr "Nomenclature" -#: library/enum.rst:88 +#: library/enum.rst:94 msgid "The class :class:`Color` is an *enumeration* (or *enum*)" msgstr "La classe :class:`Color` est une *énumération* (ou un *enum*)." -#: library/enum.rst:89 +#: library/enum.rst:95 msgid "" "The attributes :attr:`Color.RED`, :attr:`Color.GREEN`, etc., are " "*enumeration members* (or *enum members*) and are functionally constants." @@ -155,7 +165,7 @@ msgstr "" "*membres de l'énumération* (ou les *membres de l'enum*) et sont " "fonctionnellement des constantes." -#: library/enum.rst:91 +#: library/enum.rst:97 msgid "" "The enum members have *names* and *values* (the name of :attr:`Color.RED` is " "``RED``, the value of :attr:`Color.BLUE` is ``3``, etc.)" @@ -163,7 +173,7 @@ msgstr "" "Les membres de *l'enum* ont chacun un *nom* et une *valeur* ; le nom de :" "attr:`Color.RED` est ``RED``, la valeur de :attr:`Color.BLUE` est ``3``, etc." -#: library/enum.rst:97 +#: library/enum.rst:103 msgid "" "Even though we use the :keyword:`class` syntax to create Enums, Enums are " "not normal Python classes. See `How are Enums different?`_ for more details." @@ -172,31 +182,31 @@ msgstr "" "énumérations, les *Enums* ne sont pas des vraies classes Python. Voir `En " "quoi les Enums sont différentes ?`_ pour plus de détails." -#: library/enum.rst:101 +#: library/enum.rst:107 msgid "Enumeration members have human readable string representations::" msgstr "" "Les membres d'une énumération ont une représentation en chaîne de caractères " "compréhensible par un humain ::" -#: library/enum.rst:106 +#: library/enum.rst:112 msgid "...while their ``repr`` has more information::" msgstr "… tandis que leur ``repr`` contient plus d'informations ::" -#: library/enum.rst:111 +#: library/enum.rst:117 msgid "The *type* of an enumeration member is the enumeration it belongs to::" msgstr "Le *type* d'un membre est l'énumération auquel ce membre appartient ::" -#: library/enum.rst:119 +#: library/enum.rst:125 msgid "Enum members also have a property that contains just their item name::" msgstr "Les membres ont également un attribut qui contient leur nom ::" -#: library/enum.rst:124 +#: library/enum.rst:130 msgid "Enumerations support iteration, in definition order::" msgstr "" "Les énumérations sont itérables, l'ordre d'itération est celui dans lequel " "les membres sont déclarés ::" -#: library/enum.rst:140 +#: library/enum.rst:146 msgid "" "Enumeration members are hashable, so they can be used in dictionaries and " "sets::" @@ -204,11 +214,11 @@ msgstr "" "Les membres d'une énumération sont hachables, ils peuvent ainsi être " "utilisés dans des dictionnaires ou des ensembles ::" -#: library/enum.rst:150 +#: library/enum.rst:156 msgid "Programmatic access to enumeration members and their attributes" msgstr "Accès dynamique aux membres et à leurs attributs" -#: library/enum.rst:152 +#: library/enum.rst:158 msgid "" "Sometimes it's useful to access members in enumerations programmatically (i." "e. situations where ``Color.RED`` won't do because the exact color is not " @@ -219,25 +229,25 @@ msgstr "" "``Color.RED`` car la couleur précise n'est pas connue à l'écriture du " "programme). ``Enum`` permet de tels accès ::" -#: library/enum.rst:161 +#: library/enum.rst:167 msgid "If you want to access enum members by *name*, use item access::" msgstr "" "Pour accéder aux membres par leur *nom*, utilisez l'accès par indexation ::" -#: library/enum.rst:168 +#: library/enum.rst:174 msgid "If you have an enum member and need its :attr:`name` or :attr:`value`::" msgstr "Pour obtenir l'attribut :attr:`name` ou :attr:`value` d'un membre ::" -#: library/enum.rst:178 +#: library/enum.rst:184 msgid "Duplicating enum members and values" msgstr "Duplication de membres et de valeurs" -#: library/enum.rst:180 +#: library/enum.rst:186 msgid "Having two enum members with the same name is invalid::" msgstr "" "Il n'est pas possible d'avoir deux membres du même nom dans un *enum* ::" -#: library/enum.rst:190 +#: library/enum.rst:196 msgid "" "However, two enum members are allowed to have the same value. Given two " "members A and B with the same value (and A defined first), B is an alias to " @@ -249,7 +259,7 @@ msgstr "" "Un accès par valeur avec la valeur commune à A et B renverra A. Un accès à B " "par nom renverra aussi A ::" -#: library/enum.rst:210 +#: library/enum.rst:216 msgid "" "Attempting to create a member with the same name as an already defined " "attribute (another member, a method, etc.) or attempting to create an " @@ -259,11 +269,11 @@ msgstr "" "défini (un autre membre, une méthode, etc.) ou de créer un attribut avec le " "nom d'un membre." -#: library/enum.rst:216 +#: library/enum.rst:222 msgid "Ensuring unique enumeration values" msgstr "Coercition d'unicité des valeurs d'une énumération" -#: library/enum.rst:218 +#: library/enum.rst:224 msgid "" "By default, enumerations allow multiple names as aliases for the same value. " "When this behavior isn't desired, the following decorator can be used to " @@ -274,7 +284,7 @@ msgstr "" "décorateur suivant pour s'assurer que chaque valeur n'est utilisée qu'une " "seule fois au sein de l'énumération : ::" -#: library/enum.rst:224 +#: library/enum.rst:230 msgid "" "A :keyword:`class` decorator specifically for enumerations. It searches an " "enumeration's :attr:`__members__` gathering any aliases it finds; if any are " @@ -284,17 +294,17 @@ msgstr "" "l'attribut :attr:`__members__` d'une énumération et recherche des alias ; " "s'il en trouve, l'exception :exc:`ValueError` est levée avec des détails ::" -#: library/enum.rst:242 +#: library/enum.rst:248 msgid "Using automatic values" msgstr "Valeurs automatiques" -#: library/enum.rst:244 +#: library/enum.rst:250 msgid "If the exact value is unimportant you can use :class:`auto`::" msgstr "" "Si la valeur exacte n'a pas d'importance, vous pouvez utiliser :class:" "`auto` ::" -#: library/enum.rst:255 +#: library/enum.rst:261 msgid "" "The values are chosen by :func:`_generate_next_value_`, which can be " "overridden::" @@ -302,7 +312,7 @@ msgstr "" "Les valeurs sont déterminées par :func:`_generate_next_value_`, qui peut " "être redéfinie ::" -#: library/enum.rst:273 +#: library/enum.rst:279 msgid "" "The goal of the default :meth:`_generate_next_value_` methods is to provide " "the next :class:`int` in sequence with the last :class:`int` provided, but " @@ -312,20 +322,20 @@ msgstr "" "`int` suivant de la séquence en fonction du dernier :class:`int` fourni, " "mais la séquence générée dépend de l'implémentation Python." -#: library/enum.rst:279 +#: library/enum.rst:285 msgid "" "The :meth:`_generate_next_value_` method must be defined before any members." msgstr "" -#: library/enum.rst:282 +#: library/enum.rst:288 msgid "Iteration" msgstr "Itération" -#: library/enum.rst:284 +#: library/enum.rst:290 msgid "Iterating over the members of an enum does not provide the aliases::" msgstr "Itérer sur les membres d'une énumération ne parcourt pas les alias ::" -#: library/enum.rst:289 +#: library/enum.rst:295 msgid "" "The special attribute ``__members__`` is a read-only ordered mapping of " "names to members. It includes all names defined in the enumeration, " @@ -335,7 +345,7 @@ msgstr "" "ordonné qui fait correspondre les noms aux membres. Il inclut tous les noms " "définis dans l'énumération, alias compris ::" -#: library/enum.rst:301 +#: library/enum.rst:307 msgid "" "The ``__members__`` attribute can be used for detailed programmatic access " "to the enumeration members. For example, finding all the aliases::" @@ -343,15 +353,15 @@ msgstr "" "L'attribut ``__members__`` peut servir à accéder dynamiquement aux membres " "de l'énumération. Par exemple, pour trouver tous les alias ::" -#: library/enum.rst:309 +#: library/enum.rst:315 msgid "Comparisons" msgstr "Comparaisons" -#: library/enum.rst:311 +#: library/enum.rst:317 msgid "Enumeration members are compared by identity::" msgstr "Les membres d'une énumération sont comparés par identité ::" -#: library/enum.rst:320 +#: library/enum.rst:326 msgid "" "Ordered comparisons between enumeration values are *not* supported. Enum " "members are not integers (but see `IntEnum`_ below)::" @@ -360,11 +370,11 @@ msgstr "" "*pas* ; les membres d'un *enum* ne sont pas des entiers (voir cependant " "`IntEnum`_ ci-dessous) ::" -#: library/enum.rst:328 +#: library/enum.rst:334 msgid "Equality comparisons are defined though::" msgstr "A contrario, les comparaisons d'égalité existent ::" -#: library/enum.rst:337 +#: library/enum.rst:343 msgid "" "Comparisons against non-enumeration values will always compare not equal " "(again, :class:`IntEnum` was explicitly designed to behave differently, see " @@ -374,11 +384,11 @@ msgstr "" "toujours fausses (ici encore, :class:`IntEnum` a été conçue pour fonctionner " "différemment, voir ci-dessous) ::" -#: library/enum.rst:346 +#: library/enum.rst:352 msgid "Allowed members and attributes of enumerations" msgstr "Membres et attributs autorisés dans une énumération" -#: library/enum.rst:348 +#: library/enum.rst:354 msgid "" "The examples above use integers for enumeration values. Using integers is " "short and handy (and provided by default by the `Functional API`_), but not " @@ -393,7 +403,7 @@ msgstr "" "toutefois possible de donner une valeur arbitraire aux énumérations, si " "cette valeur est *vraiment* significative." -#: library/enum.rst:354 +#: library/enum.rst:360 msgid "" "Enumerations are Python classes, and can have methods and special methods as " "usual. If we have this enumeration::" @@ -401,11 +411,11 @@ msgstr "" "Les énumérations sont des classes Python et peuvent donc avoir des méthodes " "et des méthodes spéciales. L'énumération suivante ::" -#: library/enum.rst:374 +#: library/enum.rst:380 msgid "Then::" msgstr "amène ::" -#: library/enum.rst:383 +#: library/enum.rst:389 msgid "" "The rules for what is allowed are as follows: names that start and end with " "a single underscore are reserved by enum and cannot be used; all other " @@ -422,7 +432,7 @@ msgstr "" "méthodes sont aussi des descripteurs) et des noms de variable listés dans :" "attr:`_ignore_`." -#: library/enum.rst:390 +#: library/enum.rst:396 #, fuzzy msgid "" "Note: if your enumeration defines :meth:`__new__` and/or :meth:`__init__` " @@ -433,11 +443,11 @@ msgstr "" "alors la (ou les) valeur affectée au membre sera passée à ces méthodes. Voir " "l'exemple de `Planet`_." -#: library/enum.rst:396 +#: library/enum.rst:402 msgid "Restricted Enum subclassing" msgstr "Restrictions sur l'héritage" -#: library/enum.rst:398 +#: library/enum.rst:404 msgid "" "A new :class:`Enum` class must have one base Enum class, up to one concrete " "data type, and as many :class:`object`-based mixin classes as needed. The " @@ -448,7 +458,7 @@ msgstr "" "class:`object`) que nécessaire. L'ordre de ces classes de base est le " "suivant ::" -#: library/enum.rst:405 +#: library/enum.rst:411 msgid "" "Also, subclassing an enumeration is allowed only if the enumeration does not " "define any members. So this is forbidden::" @@ -456,11 +466,11 @@ msgstr "" "Hériter d'une énumération n'est permis que si cette énumération ne définit " "aucun membre. Le code suivant n'est pas autorisé ::" -#: library/enum.rst:415 +#: library/enum.rst:421 msgid "But this is allowed::" msgstr "Mais celui-ci est correct ::" -#: library/enum.rst:426 +#: library/enum.rst:432 msgid "" "Allowing subclassing of enums that define members would lead to a violation " "of some important invariants of types and instances. On the other hand, it " @@ -472,15 +482,15 @@ msgstr "" "d'autoriser un groupe d'énumérations à partager un comportement commun (voir " "par exemple `OrderedEnum`_)." -#: library/enum.rst:433 +#: library/enum.rst:439 msgid "Pickling" msgstr "Sérialisation" -#: library/enum.rst:435 +#: library/enum.rst:441 msgid "Enumerations can be pickled and unpickled::" msgstr "Les énumérations peuvent être sérialisées et déserialisées ::" -#: library/enum.rst:442 +#: library/enum.rst:448 msgid "" "The usual restrictions for pickling apply: picklable enums must be defined " "in the top level of a module, since unpickling requires them to be " @@ -491,7 +501,7 @@ msgstr "" "module car la déserialisation nécessite que ces *enums* puissent être " "importés depuis ce module." -#: library/enum.rst:448 +#: library/enum.rst:454 msgid "" "With pickle protocol version 4 it is possible to easily pickle enums nested " "in other classes." @@ -499,7 +509,7 @@ msgstr "" "Depuis la version 4 du protocole de *pickle*, il est possible de sérialiser " "facilement des *enums* imbriqués dans d'autres classes." -#: library/enum.rst:451 +#: library/enum.rst:457 msgid "" "It is possible to modify how Enum members are pickled/unpickled by defining :" "meth:`__reduce_ex__` in the enumeration class." @@ -507,17 +517,17 @@ msgstr "" "Redéfinir la méthode :meth:`__reduce_ex__` permet de modifier la " "sérialisation ou la dé-sérialisation des membres d'une énumération." -#: library/enum.rst:456 +#: library/enum.rst:462 msgid "Functional API" msgstr "API par fonction" -#: library/enum.rst:458 +#: library/enum.rst:464 msgid "" "The :class:`Enum` class is callable, providing the following functional API::" msgstr "" "La :class:`Enum` est appelable et implémente l'API par fonction suivante ::" -#: library/enum.rst:470 +#: library/enum.rst:476 msgid "" "The semantics of this API resemble :class:`~collections.namedtuple`. The " "first argument of the call to :class:`Enum` is the name of the enumeration." @@ -525,7 +535,7 @@ msgstr "" "La sémantique de cette API est similaire à :class:`~collections.namedtuple`. " "Le premier argument de l'appel à :class:`Enum` est le nom de l'énumération." -#: library/enum.rst:473 +#: library/enum.rst:479 msgid "" "The second argument is the *source* of enumeration member names. It can be " "a whitespace-separated string of names, a sequence of names, a sequence of 2-" @@ -546,7 +556,7 @@ msgstr "" "départ). Ceci renvoie une nouvelle classe dérivée de :class:`Enum`. En " "d'autres termes, la déclaration de :class:`Animal` ci-dessus équivaut à ::" -#: library/enum.rst:489 +#: library/enum.rst:495 msgid "" "The reason for defaulting to ``1`` as the starting number and not ``0`` is " "that ``0`` is ``False`` in a boolean sense, but enum members all evaluate to " @@ -556,7 +566,7 @@ msgstr "" "booléen vaut ``False`` alors que tous les membres d'une *enum* valent " "``True``." -#: library/enum.rst:493 +#: library/enum.rst:499 msgid "" "Pickling enums created with the functional API can be tricky as frame stack " "implementation details are used to try and figure out which module the " @@ -572,7 +582,7 @@ msgstr "" "Jython). La solution consiste à préciser explicitement le nom du module " "comme ceci ::" -#: library/enum.rst:503 +#: library/enum.rst:509 msgid "" "If ``module`` is not supplied, and Enum cannot determine what it is, the new " "Enum members will not be unpicklable; to keep errors closer to the source, " @@ -582,7 +592,7 @@ msgstr "" "nouveaux membres de *l'Enum* ne seront pas déserialisables ; pour garder les " "erreurs au plus près de leur origine, la sérialisation sera désactivée." -#: library/enum.rst:507 +#: library/enum.rst:513 msgid "" "The new pickle protocol 4 also, in some circumstances, relies on :attr:" "`~definition.__qualname__` being set to the location where pickle will be " @@ -595,7 +605,7 @@ msgstr "" "disponible depuis la classe *SomeData* dans l'espace de nom de plus haut " "niveau ::" -#: library/enum.rst:514 +#: library/enum.rst:520 msgid "The complete signature is::" msgstr "La signature complète est la suivante ::" @@ -603,7 +613,7 @@ msgstr "La signature complète est la suivante ::" msgid "value" msgstr "value" -#: library/enum.rst:518 +#: library/enum.rst:524 msgid "What the new Enum class will record as its name." msgstr "Le nom de la la nouvelle classe *Enum*." @@ -611,7 +621,7 @@ msgstr "Le nom de la la nouvelle classe *Enum*." msgid "names" msgstr "names" -#: library/enum.rst:520 +#: library/enum.rst:526 msgid "" "The Enum members. This can be a whitespace or comma separated string " "(values will start at 1 unless otherwise specified)::" @@ -620,15 +630,15 @@ msgstr "" "espaces ou des virgules (la valeur de départ est fixée à 1, sauf si " "spécifiée autrement) ::" -#: library/enum.rst:525 +#: library/enum.rst:531 msgid "or an iterator of names::" msgstr "ou un itérateur sur les noms ::" -#: library/enum.rst:529 +#: library/enum.rst:535 msgid "or an iterator of (name, value) pairs::" msgstr "ou un itérateur sur les tuples (nom, valeur) ::" -#: library/enum.rst:533 +#: library/enum.rst:539 msgid "or a mapping::" msgstr "ou une correspondance ::" @@ -636,7 +646,7 @@ msgstr "ou une correspondance ::" msgid "module" msgstr "module" -#: library/enum.rst:537 +#: library/enum.rst:543 msgid "name of module where new Enum class can be found." msgstr "nom du module dans lequel la classe *Enum* se trouve." @@ -644,7 +654,7 @@ msgstr "nom du module dans lequel la classe *Enum* se trouve." msgid "qualname" msgstr "qualname" -#: library/enum.rst:539 +#: library/enum.rst:545 msgid "where in module new Enum class can be found." msgstr "localisation de la nouvelle classe *Enum* dans le module." @@ -652,7 +662,7 @@ msgstr "localisation de la nouvelle classe *Enum* dans le module." msgid "type" msgstr "type" -#: library/enum.rst:541 +#: library/enum.rst:547 msgid "type to mix in to new Enum class." msgstr "le type à mélanger dans la nouvelle classe *Enum*." @@ -660,23 +670,23 @@ msgstr "le type à mélanger dans la nouvelle classe *Enum*." msgid "start" msgstr "start" -#: library/enum.rst:543 +#: library/enum.rst:549 msgid "number to start counting at if only names are passed in." msgstr "index de départ si uniquement des noms sont passés." -#: library/enum.rst:545 +#: library/enum.rst:551 msgid "The *start* parameter was added." msgstr "Ajout du paramètre *start*." -#: library/enum.rst:550 +#: library/enum.rst:556 msgid "Derived Enumerations" msgstr "Énumérations dérivées" -#: library/enum.rst:553 +#: library/enum.rst:559 msgid "IntEnum" msgstr "IntEnum" -#: library/enum.rst:555 +#: library/enum.rst:561 msgid "" "The first variation of :class:`Enum` that is provided is also a subclass of :" "class:`int`. Members of an :class:`IntEnum` can be compared to integers; by " @@ -688,7 +698,7 @@ msgstr "" "comparés à des entiers et, par extension, les comparaisons entre des " "énumérations entières de type différent sont possibles ::" -#: library/enum.rst:576 +#: library/enum.rst:582 msgid "" "However, they still can't be compared to standard :class:`Enum` " "enumerations::" @@ -696,18 +706,18 @@ msgstr "" "Elles ne peuvent cependant toujours pas être comparées à des énumérations " "standards de :class:`Enum` ::" -#: library/enum.rst:589 +#: library/enum.rst:595 msgid "" ":class:`IntEnum` values behave like integers in other ways you'd expect::" msgstr "" "Les valeurs de :class:`IntEnum` se comportent comme des entiers, comme on " "pouvait s'y attendre ::" -#: library/enum.rst:600 +#: library/enum.rst:606 msgid "IntFlag" msgstr "IntFlag" -#: library/enum.rst:602 +#: library/enum.rst:608 msgid "" "The next variation of :class:`Enum` provided, :class:`IntFlag`, is also " "based on :class:`int`. The difference being :class:`IntFlag` members can be " @@ -727,15 +737,15 @@ msgstr "" "`IntFlag`, autre qu'un opérateur bit-à-bit lui fait perdre sa qualité de :" "class:`IntFlag`." -#: library/enum.rst:612 +#: library/enum.rst:618 msgid "Sample :class:`IntFlag` class::" msgstr "Exemple d'une classe :class:`IntFlag` ::" -#: library/enum.rst:628 +#: library/enum.rst:634 msgid "It is also possible to name the combinations::" msgstr "Il est aussi possible de nommer les combinaisons ::" -#: library/enum.rst:640 +#: library/enum.rst:646 msgid "" "Another important difference between :class:`IntFlag` and :class:`Enum` is " "that if no flags are set (the value is 0), its boolean evaluation is :data:" @@ -745,7 +755,7 @@ msgstr "" "que, si aucune option n'est activée (la valeur vaut 0), son évaluation " "booléenne est :data:`False` ::" -#: library/enum.rst:648 +#: library/enum.rst:654 msgid "" "Because :class:`IntFlag` members are also subclasses of :class:`int` they " "can be combined with them::" @@ -753,11 +763,11 @@ msgstr "" "Comme les membres d'une classe :class:`IntFlag` héritent aussi de :class:" "`int`, ils peuvent être combinés avec eux ::" -#: library/enum.rst:656 +#: library/enum.rst:662 msgid "Flag" msgstr "Option" -#: library/enum.rst:658 +#: library/enum.rst:664 msgid "" "The last variation is :class:`Flag`. Like :class:`IntFlag`, :class:`Flag` " "members can be combined using the bitwise operators (&, \\|, ^, ~). Unlike :" @@ -775,7 +785,7 @@ msgstr "" "recommandé d'utiliser :class:`auto` comme valeur et de laisser :class:`Flag` " "choisir une valeur appropriée." -#: library/enum.rst:667 +#: library/enum.rst:673 msgid "" "Like :class:`IntFlag`, if a combination of :class:`Flag` members results in " "no flags being set, the boolean evaluation is :data:`False`::" @@ -784,7 +794,7 @@ msgstr "" "class:`Flag` n'active aucune option, l'évaluation booléenne de la " "comparaison est :data:`False` ::" -#: library/enum.rst:681 +#: library/enum.rst:687 msgid "" "Individual flags should have values that are powers of two (1, 2, 4, " "8, ...), while combinations of flags won't::" @@ -792,7 +802,7 @@ msgstr "" "Les options de base doivent avoir des puissances de deux pour valeurs (1, 2, " "4, 8, ...) mais pas les combinaisons ::" -#: library/enum.rst:693 +#: library/enum.rst:699 msgid "" "Giving a name to the \"no flags set\" condition does not change its boolean " "value::" @@ -800,7 +810,7 @@ msgstr "" "Donner un nom à la valeur « aucune option activée » ne change pas sa valeur " "booléenne ::" -#: library/enum.rst:709 +#: library/enum.rst:715 msgid "" "For the majority of new code, :class:`Enum` and :class:`Flag` are strongly " "recommended, since :class:`IntEnum` and :class:`IntFlag` break some semantic " @@ -819,11 +829,11 @@ msgstr "" "pas ; par exemple quand des constantes entières sont remplacées par des " "énumérations, ou pour l’interopérabilité avec d'autres systèmes." -#: library/enum.rst:719 +#: library/enum.rst:725 msgid "Others" msgstr "Autres" -#: library/enum.rst:721 +#: library/enum.rst:727 msgid "" "While :class:`IntEnum` is part of the :mod:`enum` module, it would be very " "simple to implement independently::" @@ -831,7 +841,7 @@ msgstr "" "Bien que :class:`IntEnum` fasse partie du module :mod:`enum`, elle serait " "très simple à implémenter hors de ce module ::" -#: library/enum.rst:727 +#: library/enum.rst:733 msgid "" "This demonstrates how similar derived enumerations can be defined; for " "example a :class:`StrEnum` that mixes in :class:`str` instead of :class:" @@ -841,11 +851,11 @@ msgstr "" "exemple une classe :class:`StrEnum` qui dériverait de :class:`str` au lieu " "de :class:`int`." -#: library/enum.rst:730 +#: library/enum.rst:736 msgid "Some rules:" msgstr "Quelques règles :" -#: library/enum.rst:732 +#: library/enum.rst:738 msgid "" "When subclassing :class:`Enum`, mix-in types must appear before :class:" "`Enum` itself in the sequence of bases, as in the :class:`IntEnum` example " @@ -855,7 +865,7 @@ msgstr "" "avant la classe :class:`Enum` elle-même dans la liste des classes de base, " "comme dans l'exemple de :class:`IntEnum` ci-dessus." -#: library/enum.rst:735 +#: library/enum.rst:741 #, fuzzy msgid "" "While :class:`Enum` can have members of any type, once you mix in an " @@ -869,7 +879,7 @@ msgstr "" "s'applique pas aux types de mélange qui ne font qu'ajouter des méthodes et " "ne définissent pas de type de données, tels :class:`int` ou :class:`str`. " -#: library/enum.rst:739 +#: library/enum.rst:745 msgid "" "When another data type is mixed in, the :attr:`value` attribute is *not the " "same* as the enum member itself, although it is equivalent and will compare " @@ -879,7 +889,7 @@ msgstr "" "*pas* identique au membre de l'énumération lui-même, bien qu'ils soient " "équivalents et égaux en comparaison." -#: library/enum.rst:742 +#: library/enum.rst:748 msgid "" "%-style formatting: `%s` and `%r` call the :class:`Enum` class's :meth:" "`__str__` and :meth:`__repr__` respectively; other codes (such as `%i` or `" @@ -890,7 +900,7 @@ msgstr "" "codes, comme `%i` ou `%h` pour *IntEnum*, s'appliquent au membre comme si " "celui-ci était converti en son type de mélange." -#: library/enum.rst:745 +#: library/enum.rst:751 #, fuzzy msgid "" ":ref:`Formatted string literals `, :meth:`str.format`, and :func:" @@ -905,18 +915,18 @@ msgstr "" "mélange. Pour appeler les fonctions :func:`str` ou :func:`repr` de la " "classe :class:`Enum`, il faut utiliser les codes de formatage `!s` ou `!r`." -#: library/enum.rst:753 +#: library/enum.rst:759 msgid "When to use :meth:`__new__` vs. :meth:`__init__`" msgstr "Quand utiliser :meth:`__new__` ou :meth:`__init__`" -#: library/enum.rst:755 +#: library/enum.rst:761 msgid "" ":meth:`__new__` must be used whenever you want to customize the actual value " "of the :class:`Enum` member. Any other modifications may go in either :meth:" "`__new__` or :meth:`__init__`, with :meth:`__init__` being preferred." msgstr "" -#: library/enum.rst:759 +#: library/enum.rst:765 msgid "" "For example, if you want to pass several items to the constructor, but only " "want one of them to be the value::" @@ -924,11 +934,11 @@ msgstr "" "Par exemple, si vous voulez passer plusieurs éléments au constructeur, mais " "qu'un seul d'entre eux soit la valeur ::" -#: library/enum.rst:785 +#: library/enum.rst:791 msgid "Interesting examples" msgstr "Exemples intéressants" -#: library/enum.rst:787 +#: library/enum.rst:793 msgid "" "While :class:`Enum`, :class:`IntEnum`, :class:`IntFlag`, and :class:`Flag` " "are expected to cover the majority of use-cases, they cannot cover them " @@ -941,11 +951,11 @@ msgstr "" "réutilisées telles quelles, ou peuvent servir d'exemple pour développer vos " "propres énumérations." -#: library/enum.rst:794 +#: library/enum.rst:800 msgid "Omitting values" msgstr "Omettre les valeurs" -#: library/enum.rst:796 +#: library/enum.rst:802 msgid "" "In many use-cases one doesn't care what the actual value of an enumeration " "is. There are several ways to define this type of simple enumeration:" @@ -954,19 +964,19 @@ msgstr "" "d'importance. Il y a plusieurs façons de définir ce type d'énumération " "simple :" -#: library/enum.rst:799 +#: library/enum.rst:805 msgid "use instances of :class:`auto` for the value" msgstr "affecter des instances de :class:`auto` aux valeurs" -#: library/enum.rst:800 +#: library/enum.rst:806 msgid "use instances of :class:`object` as the value" msgstr "affecter des instances de :class:`object` aux valeurs" -#: library/enum.rst:801 +#: library/enum.rst:807 msgid "use a descriptive string as the value" msgstr "affecter des chaînes de caractères aux valeurs pour les décrire" -#: library/enum.rst:802 +#: library/enum.rst:808 msgid "" "use a tuple as the value and a custom :meth:`__new__` to replace the tuple " "with an :class:`int` value" @@ -974,7 +984,7 @@ msgstr "" "affecter un n-uplet aux valeurs et définir une méthode :meth:`__new__` pour " "remplacer les n-uplets avec un :class:`int`" -#: library/enum.rst:805 +#: library/enum.rst:811 msgid "" "Using any of these methods signifies to the user that these values are not " "important, and also enables one to add, remove, or reorder members without " @@ -984,7 +994,7 @@ msgstr "" "pas d'importance. Cela permet aussi d'ajouter, de supprimer ou de ré-" "ordonner les membres sans avoir à ré-énumérer les membres existants." -#: library/enum.rst:809 +#: library/enum.rst:815 msgid "" "Whichever method you choose, you should provide a :meth:`repr` that also " "hides the (unimportant) value::" @@ -992,41 +1002,53 @@ msgstr "" "Quelle que soit la méthode choisie, il faut fournir une méthode :meth:`repr` " "qui masque les valeurs (pas importantes de toute façon) ::" -#: library/enum.rst:819 +#: library/enum.rst:825 msgid "Using :class:`auto`" msgstr "Avec :class:`auto`" -#: library/enum.rst:821 +#: library/enum.rst:827 msgid "Using :class:`auto` would look like::" msgstr "On utilise :class:`auto` de la manière suivante ::" -#: library/enum.rst:833 +#: library/enum.rst:839 msgid "Using :class:`object`" msgstr "Avec :class:`object`" -#: library/enum.rst:835 +#: library/enum.rst:841 msgid "Using :class:`object` would look like::" msgstr "On utilise :class:`object` de la manière suivante ::" -#: library/enum.rst:847 +#: library/enum.rst:853 msgid "Using a descriptive string" msgstr "Avec une chaîne de caractères de description" -#: library/enum.rst:849 +#: library/enum.rst:855 msgid "Using a string as the value would look like::" msgstr "On utilise une chaîne de caractères de la manière suivante ::" -#: library/enum.rst:863 +#: library/enum.rst:869 msgid "Using a custom :meth:`__new__`" msgstr "Avec une méthode ad-hoc :meth:`__new__`" -#: library/enum.rst:865 +#: library/enum.rst:871 msgid "Using an auto-numbering :meth:`__new__` would look like::" msgstr "" "On utilise une méthode :meth:`__new__` d'énumération de la manière " "suivante ::" -#: library/enum.rst:887 +#: library/enum.rst:890 +msgid "" +"To make a more general purpose ``AutoNumber``, add ``*args`` to the " +"signature::" +msgstr "" + +#: library/enum.rst:900 +msgid "" +"Then when you inherit from ``AutoNumber`` you can write your own " +"``__init__`` to handle any extra arguments::" +msgstr "" + +#: library/enum.rst:919 msgid "" "The :meth:`__new__` method, if defined, is used during creation of the Enum " "members; it is then replaced by Enum's :meth:`__new__` which is used after " @@ -1037,11 +1059,11 @@ msgstr "" "`__new__` de *Enum*, qui est utilisée après la création de la classe pour la " "recherche des membres existants." -#: library/enum.rst:893 +#: library/enum.rst:925 msgid "OrderedEnum" msgstr "OrderedEnum" -#: library/enum.rst:895 +#: library/enum.rst:927 msgid "" "An ordered enumeration that is not based on :class:`IntEnum` and so " "maintains the normal :class:`Enum` invariants (such as not being comparable " @@ -1052,18 +1074,18 @@ msgstr "" "par exemple l'impossibilité de pouvoir être comparée à d'autres " "énumérations) ::" -#: library/enum.rst:929 +#: library/enum.rst:961 msgid "DuplicateFreeEnum" msgstr "DuplicateFreeEnum" -#: library/enum.rst:931 +#: library/enum.rst:963 msgid "" "Raises an error if a duplicate member name is found instead of creating an " "alias::" msgstr "" "Lève une erreur si un membre est dupliqué, plutôt que de créer un alias ::" -#: library/enum.rst:956 +#: library/enum.rst:988 msgid "" "This is a useful example for subclassing Enum to add or change other " "behaviors as well as disallowing aliases. If the only desired change is " @@ -1073,11 +1095,11 @@ msgstr "" "des comportements comme interdire les alias. Si vous ne souhaitez " "qu'interdire les alias, il suffit d'utiliser le décorateur :func:`unique`." -#: library/enum.rst:962 +#: library/enum.rst:994 msgid "Planet" msgstr "Planet" -#: library/enum.rst:964 +#: library/enum.rst:996 msgid "" "If :meth:`__new__` or :meth:`__init__` is defined the value of the enum " "member will be passed to those methods::" @@ -1085,19 +1107,19 @@ msgstr "" "Si :meth:`__new__` ou :meth:`__init__` sont définies, la valeur du membre de " "l'énumération sera passée à ces méthodes ::" -#: library/enum.rst:992 +#: library/enum.rst:1024 msgid "TimePeriod" msgstr "TimePeriod" -#: library/enum.rst:994 +#: library/enum.rst:1026 msgid "An example to show the :attr:`_ignore_` attribute in use::" msgstr "Exemple d'utilisation de l'attribut :attr:`_ignore_` ::" -#: library/enum.rst:1011 +#: library/enum.rst:1043 msgid "How are Enums different?" msgstr "En quoi les *Enums* sont différentes ?" -#: library/enum.rst:1013 +#: library/enum.rst:1045 msgid "" "Enums have a custom metaclass that affects many aspects of both derived Enum " "classes and their instances (members)." @@ -1105,11 +1127,11 @@ msgstr "" "Les *enums* ont une métaclasse spéciale qui affecte de nombreux aspects des " "classes dérivées de *Enum* et de leur instances (membres)." -#: library/enum.rst:1018 +#: library/enum.rst:1050 msgid "Enum Classes" msgstr "Classes *Enum*" -#: library/enum.rst:1020 +#: library/enum.rst:1052 msgid "" "The :class:`EnumMeta` metaclass is responsible for providing the :meth:" "`__contains__`, :meth:`__dir__`, :meth:`__iter__` and other methods that " @@ -1127,11 +1149,11 @@ msgstr "" "finale :class:`Enum` sont correctes (comme :meth:`__new__`, :meth:" "`__getnewargs__`, :meth:`__str__` et :meth:`__repr__`)." -#: library/enum.rst:1030 +#: library/enum.rst:1062 msgid "Enum Members (aka instances)" msgstr "Membres d'Enum (c.-à-d. instances)" -#: library/enum.rst:1032 +#: library/enum.rst:1064 msgid "" "The most interesting thing about Enum members is that they are singletons. :" "class:`EnumMeta` creates them all while it is creating the :class:`Enum` " @@ -1146,15 +1168,15 @@ msgstr "" "membres déjà existantes pour être sûr de ne jamais en instancier de " "nouvelles." -#: library/enum.rst:1040 +#: library/enum.rst:1072 msgid "Finer Points" msgstr "Aspects approfondis" -#: library/enum.rst:1043 +#: library/enum.rst:1075 msgid "Supported ``__dunder__`` names" msgstr "Noms de la forme ``__dunder__`` disponibles" -#: library/enum.rst:1045 +#: library/enum.rst:1077 msgid "" ":attr:`__members__` is a read-only ordered mapping of ``member_name``:" "``member`` items. It is only available on the class." @@ -1162,7 +1184,7 @@ msgstr "" ":attr:`__members__` est un dictionnaire en lecture seule ordonné d'éléments " "``nom_du_membre`` / ``membre``. Il n'est disponible que depuis la classe." -#: library/enum.rst:1048 +#: library/enum.rst:1080 msgid "" ":meth:`__new__`, if specified, must create and return the enum members; it " "is also a very good idea to set the member's :attr:`_value_` appropriately. " @@ -1173,22 +1195,22 @@ msgstr "" "du membre est également conseillé. Une fois que tous les membres ont été " "créés, cette méthode n'est plus utilisée." -#: library/enum.rst:1054 +#: library/enum.rst:1086 msgid "Supported ``_sunder_`` names" msgstr "Noms de la forme ``_sunder_`` disponibles" -#: library/enum.rst:1056 +#: library/enum.rst:1088 msgid "``_name_`` -- name of the member" msgstr "``_name_`` -- nom du membre" -#: library/enum.rst:1057 +#: library/enum.rst:1089 msgid "" "``_value_`` -- value of the member; can be set / modified in ``__new__``" msgstr "" "``_value_`` -- valeur du membre ; il est possible d'y accéder ou de la muer " "dans ``__new__``" -#: library/enum.rst:1059 +#: library/enum.rst:1091 msgid "" "``_missing_`` -- a lookup function used when a value is not found; may be " "overridden" @@ -1196,7 +1218,7 @@ msgstr "" "``_missing_`` -- une fonction de recherche qui est appelée quand la valeur " "n'est pas trouvée ; elle peut être redéfinie" -#: library/enum.rst:1061 +#: library/enum.rst:1093 #, fuzzy msgid "" "``_ignore_`` -- a list of names, either as a :class:`list` or a :class:" @@ -1207,7 +1229,7 @@ msgstr "" "`str`, qui ne seront pas transformés en membres, et seront supprimés de la " "classe résultante" -#: library/enum.rst:1064 +#: library/enum.rst:1096 msgid "" "``_order_`` -- used in Python 2/3 code to ensure member order is consistent " "(class attribute, removed during class creation)" @@ -1216,7 +1238,7 @@ msgstr "" "membres est cohérent (attribut de classe, supprimé durant la création de la " "classe)" -#: library/enum.rst:1066 +#: library/enum.rst:1098 msgid "" "``_generate_next_value_`` -- used by the `Functional API`_ and by :class:" "`auto` to get an appropriate value for an enum member; may be overridden" @@ -1225,15 +1247,15 @@ msgstr "" "class:`auto` pour obtenir une valeur appropriée à affecter à un membre de " "*l'enum* ; elle peut être redéfinie" -#: library/enum.rst:1070 +#: library/enum.rst:1102 msgid "``_missing_``, ``_order_``, ``_generate_next_value_``" msgstr "``_missing_``, ``_order_``, ``_generate_next_value_``" -#: library/enum.rst:1071 +#: library/enum.rst:1103 msgid "``_ignore_``" msgstr "``_ignore_``" -#: library/enum.rst:1073 +#: library/enum.rst:1105 msgid "" "To help keep Python 2 / Python 3 code in sync an :attr:`_order_` attribute " "can be provided. It will be checked against the actual order of the " @@ -1243,7 +1265,7 @@ msgstr "" "`_order_` peut être défini. Il sera comparé au véritable ordre de " "l'énumération et lève une erreur si les deux ne correspondent pas ::" -#: library/enum.rst:1089 +#: library/enum.rst:1121 msgid "" "In Python 2 code the :attr:`_order_` attribute is necessary as definition " "order is lost before it can be recorded." @@ -1251,11 +1273,11 @@ msgstr "" "En Python 2, l'attribut :attr:`_order_` est indispensable car l'ordre de la " "définition est perdu avant de pouvoir être enregistré." -#: library/enum.rst:1093 +#: library/enum.rst:1125 msgid "``Enum`` member type" msgstr "Type des membres de ``Enum``" -#: library/enum.rst:1095 +#: library/enum.rst:1127 msgid "" ":class:`Enum` members are instances of their :class:`Enum` class, and are " "normally accessed as ``EnumClass.member``. Under certain circumstances they " @@ -1272,11 +1294,11 @@ msgstr "" "(c'est une autre bonne raison pour définir tous les noms des membres en " "majuscules) ::" -#: library/enum.rst:1116 +#: library/enum.rst:1148 msgid "Boolean value of ``Enum`` classes and members" msgstr "Valeur booléenne des classes ``Enum`` et de leurs membres" -#: library/enum.rst:1118 +#: library/enum.rst:1150 msgid "" ":class:`Enum` members that are mixed with non-:class:`Enum` types (such as :" "class:`int`, :class:`str`, etc.) are evaluated according to the mixed-in " @@ -1290,15 +1312,15 @@ msgstr "" "faire dépendre l'évaluation booléenne de votre propre *Enum* de la valeur du " "membre, il faut ajouter le code suivant à votre classe ::" -#: library/enum.rst:1127 +#: library/enum.rst:1159 msgid ":class:`Enum` classes always evaluate as :data:`True`." msgstr "Les classes :class:`Enum` valent toujours :data:`True`." -#: library/enum.rst:1131 +#: library/enum.rst:1163 msgid "``Enum`` classes with methods" msgstr "Classes ``Enum`` avec des méthodes" -#: library/enum.rst:1133 +#: library/enum.rst:1165 msgid "" "If you give your :class:`Enum` subclass extra methods, like the `Planet`_ " "class above, those methods will show up in a :func:`dir` of the member, but " @@ -1308,11 +1330,11 @@ msgstr "" "la classe `Planet`_ ci-dessus, elles s'afficheront avec un appel à :func:" "`dir` sur le membre, mais pas avec un appel sur la classe ::" -#: library/enum.rst:1144 +#: library/enum.rst:1176 msgid "Combining members of ``Flag``" msgstr "Combinaison de membres de ``Flag``" -#: library/enum.rst:1146 +#: library/enum.rst:1178 msgid "" "If a combination of Flag members is not named, the :func:`repr` will include " "all named flags and all named combinations of flags that are in the value::" diff --git a/library/exceptions.po b/library/exceptions.po index 99c0a378..2d92a2c1 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-30 23:32+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -1149,8 +1149,7 @@ msgstr "" "d’une obsolescence à venir est inhabituel, et :exc:`DeprecationWarning` est " "préféré pour les obsolescences actuelles." -#: library/exceptions.rst:706 library/exceptions.rst:730 -#: library/exceptions.rst:748 +#: library/exceptions.rst:730 library/exceptions.rst:748 msgid "" "Ignored by the default warning filters. Enabling the :ref:`Python " "Development Mode ` shows this warning." diff --git a/library/faulthandler.po b/library/faulthandler.po index 8efa6fe3..1f224e66 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -98,8 +98,7 @@ msgid "" "``False``, dump only the current thread." msgstr "" -#: library/faulthandler.rst:55 library/faulthandler.rst:73 -#: library/faulthandler.rst:111 library/faulthandler.rst:133 +#: library/faulthandler.rst:73 library/faulthandler.rst:133 msgid "Added support for passing file descriptor to this function." msgstr "" @@ -186,7 +185,7 @@ msgid "" "`unregister`: see :ref:`issue with file descriptors `." msgstr "" -#: library/faulthandler.rst:131 library/faulthandler.rst:142 +#: library/faulthandler.rst:142 msgid "Not available on Windows." msgstr "" diff --git a/library/fileinput.po b/library/fileinput.po index 5abdbfb3..8456c7ad 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -106,7 +106,7 @@ msgid "" "keyword:`!with` statement is exited, even if an exception occurs::" msgstr "" -#: library/fileinput.rst:73 library/fileinput.rst:166 +#: library/fileinput.rst:166 msgid "Can be used as a context manager." msgstr "" diff --git a/library/ftplib.po b/library/ftplib.po index 582a0b61..07acec73 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -65,11 +65,11 @@ msgstr "" msgid "Support for the :keyword:`with` statement was added." msgstr "La prise en charge de l'instruction :keyword:`with` a été ajoutée." -#: library/ftplib.rst:75 library/ftplib.rst:101 library/ftplib.rst:210 +#: library/ftplib.rst:101 library/ftplib.rst:210 msgid "*source_address* parameter was added." msgstr "" -#: library/ftplib.rst:78 library/ftplib.rst:116 +#: library/ftplib.rst:116 msgid "" "If the *timeout* parameter is set to be zero, it will raise a :class:" "`ValueError` to prevent the creation of a non-blocking socket. The " @@ -231,7 +231,7 @@ msgid "" "Send a simple command string to the server and return the response string." msgstr "" -#: library/ftplib.rst:243 library/ftplib.rst:252 +#: library/ftplib.rst:252 msgid "" "Raises an :ref:`auditing event ` ``ftplib.sendcmd`` with arguments " "``self``, ``cmd``." @@ -348,7 +348,7 @@ msgid "" "the ``NLST`` command." msgstr "" -#: library/ftplib.rst:357 library/ftplib.rst:369 +#: library/ftplib.rst:369 msgid "If your server supports the command, :meth:`mlsd` offers a better API." msgstr "" diff --git a/library/functions.po b/library/functions.po index ca921aa0..c4a6bdac 100644 --- a/library/functions.po +++ b/library/functions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-17 14:15+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" @@ -16,7 +16,7 @@ msgstr "" "X-Generator: Gtranslator 3.36.0\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" -#: library/functions.rst:5 library/functions.rst:11 +#: library/functions.rst:11 msgid "Built-in Functions" msgstr "Fonctions natives" @@ -364,8 +364,7 @@ msgstr "" "Que le préfixe ``0b`` soit souhaité ou non, vous pouvez utiliser les moyens " "suivants." -#: library/functions.rst:101 library/functions.rst:751 -#: library/functions.rst:1036 +#: library/functions.rst:751 library/functions.rst:1036 msgid "See also :func:`format` for more information." msgstr "Voir aussi :func:`format` pour plus d'information." @@ -386,8 +385,7 @@ msgstr "" "Ses seules instances sont ``False`` et ``True`` (voir :ref:`bltin-boolean-" "values`)." -#: library/functions.rst:115 library/functions.rst:626 -#: library/functions.rst:833 +#: library/functions.rst:626 library/functions.rst:833 msgid "*x* is now a positional-only parameter." msgstr "*x* est désormais un argument exclusivement optionnel." @@ -840,8 +838,7 @@ msgstr "" msgid "The complex type is described in :ref:`typesnumeric`." msgstr "Le type complexe est décrit dans :ref:`typesnumeric`." -#: library/functions.rst:338 library/functions.rst:623 -#: library/functions.rst:830 +#: library/functions.rst:623 library/functions.rst:830 msgid "Grouping digits with underscores as in code literals is allowed." msgstr "" "Les chiffres peuvent être groupés avec des tirets bas comme dans les " @@ -1102,7 +1099,7 @@ msgstr "" "Lève un :ref:`auditing event ` ``open`` avec les arguments " "``file``, ``mode``, ``flags``." -#: library/functions.rst:500 library/functions.rst:535 +#: library/functions.rst:535 msgid "" "Raises an :ref:`auditing event ` ``exec`` with the code object as " "the argument. Code compilation events may also be raised." @@ -1792,7 +1789,7 @@ msgstr "" "deux arguments positionnels sont fournis, l'argument le plus grand sera " "renvoyé." -#: library/functions.rst:940 library/functions.rst:977 +#: library/functions.rst:977 msgid "" "There are two optional keyword-only arguments. The *key* argument specifies " "a one-argument ordering function like that used for :meth:`list.sort`. The " @@ -1818,11 +1815,11 @@ msgstr "" "stabilité lors du tri, tel que ``sorted(iterable, key=keyfunc, reverse=True)" "[0]`` et ``heapq.nlargest(1, iterable, key=keyfunc)``." -#: library/functions.rst:951 library/functions.rst:988 +#: library/functions.rst:988 msgid "The *default* keyword-only argument." msgstr "L'argument exclusivement par mot clé *default*." -#: library/functions.rst:954 library/functions.rst:991 +#: library/functions.rst:991 msgid "The *key* can be ``None``." msgstr "l'argument *key* peut être ``None``." diff --git a/library/functools.po b/library/functools.po index fd2658d9..3f292727 100644 --- a/library/functools.po +++ b/library/functools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-11 11:16+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -56,7 +56,7 @@ msgid "" "`lru_cache()` with a size limit." msgstr "" -#: library/functools.rst:39 library/functools.rst:230 +#: library/functools.rst:230 msgid "For example::" msgstr "Par exemple ::" @@ -68,7 +68,7 @@ msgid "" "computed properties of instances that are otherwise effectively immutable." msgstr "" -#: library/functools.rst:62 library/functools.rst:102 library/functools.rst:315 +#: library/functools.rst:102 library/functools.rst:315 msgid "Example::" msgstr "Exemple ::" diff --git a/library/gettext.po b/library/gettext.po index 9830782e..9ad85f35 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-01-13 17:57+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -353,7 +353,7 @@ msgstr "" "Avant, c'était l'exception :exc:`IOError` qui était levée, au lieu de :exc:" "`OSError`." -#: library/gettext.rst:209 library/gettext.rst:232 +#: library/gettext.rst:232 msgid "The *codeset* parameter." msgstr "Le paramètre *codeset*." @@ -495,7 +495,7 @@ msgstr "" "système si aucun autre n'a été défini avec :meth:`set_output_charset`. " "Surchargé dans les classes dérivées." -#: library/gettext.rst:307 library/gettext.rst:463 +#: library/gettext.rst:463 msgid "" "These methods should be avoided in Python 3. See the warning for the :func:" "`lgettext` function." diff --git a/library/glob.po b/library/glob.po index 6d72f947..f3d34841 100644 --- a/library/glob.po +++ b/library/glob.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-09-28 12:40+0200\n" "Last-Translator: Julien VITARD \n" "Language-Team: FRENCH \n" @@ -70,7 +70,9 @@ msgid "" "absolute (like :file:`/usr/src/Python-1.5/Makefile`) or relative (like :file:" "`../../Tools/\\*/\\*.gif`), and can contain shell-style wildcards. Broken " "symlinks are included in the results (as in the shell). Whether or not the " -"results are sorted depends on the file system." +"results are sorted depends on the file system. If a file that satisfies " +"conditions is removed or added during the call of this function, whether a " +"path name for that file be included is unspecified." msgstr "" "Renvoie une liste, potentiellement vide, de chemins correspondant au motif " "*pathname*, qui doit être une chaîne de caractères contenant la " @@ -80,7 +82,7 @@ msgstr "" "symboliques cassés sont aussi inclus dans les résultats (comme pour le " "shell)." -#: library/glob.rst:51 +#: library/glob.rst:53 #, fuzzy msgid "" "If *recursive* is true, the pattern \"``**``\" will match any files and zero " @@ -93,13 +95,13 @@ msgstr "" "caractère de séparation ``os.sep``, seuls les répertoires et sous-" "répertoires sont reconnus." -#: library/glob.rst:57 library/glob.rst:71 +#: library/glob.rst:73 msgid "" "Raises an :ref:`auditing event ` ``glob.glob`` with arguments " "``pathname``, ``recursive``." msgstr "" -#: library/glob.rst:59 +#: library/glob.rst:61 msgid "" "Using the \"``**``\" pattern in large directory trees may consume an " "inordinate amount of time." @@ -107,11 +109,11 @@ msgstr "" "Utiliser le motif \"``**``\" dans de grandes arborescences de dossier peut " "consommer une quantité de temps démesurée." -#: library/glob.rst:62 +#: library/glob.rst:64 msgid "Support for recursive globs using \"``**``\"." msgstr "Gestion des chemins récursifs utilisant le motif \"``**``\"." -#: library/glob.rst:68 +#: library/glob.rst:70 msgid "" "Return an :term:`iterator` which yields the same values as :func:`glob` " "without actually storing them all simultaneously." @@ -119,7 +121,7 @@ msgstr "" "Renvoie un :term:`iterator` qui produit les mêmes valeurs que :func:`glob`, " "sans toutes les charger en mémoire simultanément." -#: library/glob.rst:76 +#: library/glob.rst:78 msgid "" "Escape all special characters (``'?'``, ``'*'`` and ``'['``). This is useful " "if you want to match an arbitrary literal string that may have special " @@ -134,7 +136,7 @@ msgstr "" "Windows ``escape('//?/c:/Quo vadis?.txt')`` renvoie ``'//?/c:/Quo vadis[?]." "txt'``." -#: library/glob.rst:85 +#: library/glob.rst:87 msgid "" "For example, consider a directory containing the following files: :file:`1." "gif`, :file:`2.txt`, :file:`card.gif` and a subdirectory :file:`sub` which " @@ -148,7 +150,7 @@ msgstr "" "les résultats suivants. Notons que les composantes principales des chemins " "sont préservées. ::" -#: library/glob.rst:103 +#: library/glob.rst:105 msgid "" "If the directory contains files starting with ``.`` they won't be matched by " "default. For example, consider a directory containing :file:`card.gif` and :" @@ -158,11 +160,11 @@ msgstr "" "reconnus par défaut. Par exemple, considérons un répertoire contenant :file:" "`card.gif` et :file:`.card.gif` ::" -#: library/glob.rst:115 +#: library/glob.rst:117 msgid "Module :mod:`fnmatch`" msgstr "Module :mod:`fnmatch`" -#: library/glob.rst:116 +#: library/glob.rst:118 msgid "Shell-style filename (not path) expansion" msgstr "" "Recherche de noms de fichiers de style shell (ne concerne pas les chemins)" diff --git a/library/graphlib.po b/library/graphlib.po index fdb75945..6a86bf50 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -139,10 +139,10 @@ msgid "" msgstr "" #: library/graphlib.rst:124 -msgid "if possible to simply do::" +msgid "it is possible to simply do::" msgstr "" -#: library/graphlib.rst:129 library/graphlib.rst:152 +#: library/graphlib.rst:152 msgid "" "Raises :exc:`ValueError` if called without calling :meth:`~TopologicalSorter." "prepare` previously." diff --git a/library/gzip.po b/library/gzip.po index fab1067f..0fa5187d 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-07 15:03+0200\n" "Last-Translator: Lomanic \n" "Language-Team: FRENCH \n" @@ -133,7 +133,7 @@ msgstr "" msgid "Added support for the ``'x'``, ``'xb'`` and ``'xt'`` modes." msgstr "Ajout de la prise en charge des modes ``'x'``, ``'xb'`` et ``'xt'``." -#: library/gzip.rst:59 library/gzip.rst:165 +#: library/gzip.rst:165 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." diff --git a/library/hashlib.po b/library/hashlib.po index 1e9be7f9..dffb1ebd 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-27 22:47+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -282,7 +282,7 @@ msgstr "" "un objet de type *bytes* de taille :attr:`digest_size` qui contient des " "octets dans l'intervalle 0 à 255." -#: library/hashlib.rst:196 library/hashlib.rst:224 +#: library/hashlib.rst:224 msgid "" "Like :meth:`digest` except the digest is returned as a string object of " "double length, containing only hexadecimal digits. This may be used to " diff --git a/library/http.client.po b/library/http.client.po index 49e4f4cd..f5e4cd08 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -184,9 +184,8 @@ msgid "" "exc:`Exception`." msgstr "" -#: library/http.client.rst:154 library/http.client.rst:165 -#: library/http.client.rst:170 library/http.client.rst:175 -#: library/http.client.rst:180 library/http.client.rst:185 +#: library/http.client.rst:165 library/http.client.rst:175 +#: library/http.client.rst:185 msgid "A subclass of :exc:`HTTPException`." msgstr "" @@ -196,8 +195,7 @@ msgid "" "non-numeric or empty." msgstr "" -#: library/http.client.rst:190 library/http.client.rst:195 -#: library/http.client.rst:200 +#: library/http.client.rst:195 library/http.client.rst:200 msgid "A subclass of :exc:`ImproperConnectionState`." msgstr "" diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index bd5e02ae..cd4e5be7 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -101,7 +101,7 @@ msgid "" "this class are documented in section :ref:`file-cookie-jar-classes`." msgstr "" -#: library/http.cookiejar.rst:76 library/http.cookiejar.rst:350 +#: library/http.cookiejar.rst:350 msgid "The filename parameter supports a :term:`path-like object`." msgstr "" @@ -241,7 +241,7 @@ msgid "" "`origin_req_host` attribute as documented by :mod:`urllib.request`." msgstr "" -#: library/http.cookiejar.rst:171 library/http.cookiejar.rst:197 +#: library/http.cookiejar.rst:197 msgid "" "*request* object needs :attr:`origin_req_host` attribute. Dependency on a " "deprecated method :meth:`get_origin_req_host` has been removed." diff --git a/library/http.cookies.po b/library/http.cookies.po index c7f857a5..27327f6b 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-05-23 21:39+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -193,8 +193,7 @@ msgstr "" "qui supporte le JavaScript, va fonctionner de la même manière que si les en-" "têtes HTTP avaient été envoyés." -#: library/http.cookies.rst:109 library/http.cookies.rst:205 -#: library/http.cookies.rst:213 +#: library/http.cookies.rst:205 library/http.cookies.rst:213 msgid "The meaning for *attrs* is the same as in :meth:`output`." msgstr "*attrs* a la même signification que dans la méthode :meth:`output`." diff --git a/library/http.po b/library/http.po index 986fa04d..6d9d0fc6 100644 --- a/library/http.po +++ b/library/http.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-07-20 15:05+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -685,7 +685,7 @@ msgstr "``428``" msgid "``PRECONDITION_REQUIRED``" msgstr "``PRECONDITION_REQUIRED``" -#: library/http.rst:109 library/http.rst:110 library/http.rst:111 +#: library/http.rst:110 library/http.rst:111 msgid "Additional HTTP Status Codes :rfc:`6585`" msgstr "Additional HTTP Status Codes :rfc:`6585`" diff --git a/library/idle.po b/library/idle.po index ebae0de3..31644e5c 100644 --- a/library/idle.po +++ b/library/idle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-03-08 01:41+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -272,29 +272,29 @@ msgstr "*Redo*" msgid "Redo the last undone change to the current window." msgstr "Ré-applique le dernier changement annulé dans la fenêtre active." -#: library/idle.rst:116 library/idle.rst:365 +#: library/idle.rst:365 msgid "Cut" msgstr "*Cut*" -#: library/idle.rst:116 library/idle.rst:365 +#: library/idle.rst:365 msgid "" "Copy selection into the system-wide clipboard; then delete the selection." msgstr "" "Copie la sélection dans le presse-papier global ; puis supprime la sélection." -#: library/idle.rst:119 library/idle.rst:368 +#: library/idle.rst:368 msgid "Copy" msgstr "*Copy*" -#: library/idle.rst:119 library/idle.rst:368 +#: library/idle.rst:368 msgid "Copy selection into the system-wide clipboard." msgstr "Copie la sélection dans le presse-papier global." -#: library/idle.rst:122 library/idle.rst:371 +#: library/idle.rst:371 msgid "Paste" msgstr "*Paste*" -#: library/idle.rst:122 library/idle.rst:371 +#: library/idle.rst:371 msgid "Insert contents of the system-wide clipboard into the current window." msgstr "Insère le contenu du presse-papier global dans la fenêtre active." @@ -1135,7 +1135,7 @@ msgid "" "(To prevent auto popups, set the delay to a large number of milliseconds, " "such as 100000000.) For imported module names or class or function " "attributes, type '.'. For filenames in the root directory, type :data:`os." -"sep` or data:`os.altsep` immediately after an opening quote. (On Windows, " +"sep` or :data:`os.altsep` immediately after an opening quote. (On Windows, " "one can specify a drive first.) Move into subdirectories by typing a " "directory name and a separator." msgstr "" @@ -1186,12 +1186,14 @@ msgid "Calltips" msgstr "Info-bulles" #: library/idle.rst:530 +#, fuzzy msgid "" -"A calltip is shown when one types :kbd:`(` after the name of an *accessible* " -"function. A name expression may include dots and subscripts. A calltip " -"remains until it is clicked, the cursor is moved out of the argument area, " -"or :kbd:`)` is typed. When the cursor is in the argument part of a " -"definition, the menu or shortcut display a calltip." +"A calltip is shown automatically when one types :kbd:`(` after the name of " +"an *accessible* function. A function name expression may include dots and " +"subscripts. A calltip remains until it is clicked, the cursor is moved out " +"of the argument area, or :kbd:`)` is typed. Whenever the cursor is in the " +"argument part of a definition, select Edit and \"Show Call Tip\" on the menu " +"or enter its shortcut to display a calltip." msgstr "" "Une info-bulle est affichée quand vous saisissez :kbd:`(` après le nom d'une " "fonction *accessible*. Une expression de nom peut inclure des points et des " @@ -1200,36 +1202,36 @@ msgstr "" "soit saisi. Quand le curseur est dans la partie *\"arguments\"* de la " "définition, le menu ou raccourci affiche une info-bulle." -#: library/idle.rst:536 +#: library/idle.rst:537 msgid "" -"A calltip consists of the function signature and the first line of the " -"docstring. For builtins without an accessible signature, the calltip " -"consists of all lines up the fifth line or the first blank line. These " -"details may change." +"The calltip consists of the function's signature and docstring up to the " +"latter's first blank line or the fifth non-blank line. (Some builtin " +"functions lack an accessible signature.) A '/' or '*' in the signature " +"indicates that the preceding or following arguments are passed by position " +"or name (keyword) only. Details are subject to change." msgstr "" -"Une info-bulle contient la signature de la fonction et la première ligne de " -"la *docstring*. Pour les fonctions incluses par défaut sans signature " -"accessible, l'info-bulle contient toutes les lignes jusqu'à la cinquième " -"ligne ou la première ligne vide. Ces détails sont sujets à changement." -#: library/idle.rst:541 +#: library/idle.rst:543 +#, fuzzy msgid "" -"The set of *accessible* functions depends on what modules have been imported " -"into the user process, including those imported by Idle itself, and what " -"definitions have been run, all since the last restart." +"In Shell, the accessible functions depends on what modules have been " +"imported into the user process, including those imported by Idle itself, and " +"which definitions have been run, all since the last restart." msgstr "" "L'ensemble des fonctions *accessibles* dépend des modules qui ont été " "importés dans le processus utilisateur, y compris ceux importés par *IDLE* " "lui-même et quelles définitions ont été exécutées, le tout depuis le dernier " "redémarrage." -#: library/idle.rst:545 +#: library/idle.rst:547 +#, fuzzy msgid "" "For example, restart the Shell and enter ``itertools.count(``. A calltip " "appears because Idle imports itertools into the user process for its own " -"use. (This could change.) Enter ``turtle.write(`` and nothing appears. " -"Idle does not import turtle. The menu or shortcut do nothing either. Enter " -"``import turtle`` and then ``turtle.write(`` will work." +"use. (This could change.) Enter ``turtle.write(`` and nothing appears. " +"Idle does not itself import turtle. The menu entry and shortcut also do " +"nothing. Enter ``import turtle``. Thereafter, ``turtle.write(`` will " +"display a calltip." msgstr "" "Par exemple, redémarrez la console et saisissez ``itertools.count(``. Une " "info-bulle s'affiche parce que *IDLE* importe *itertools* dans le processus " @@ -1238,22 +1240,23 @@ msgstr "" "menu ou le raccourci ne font rien non plus. Saisir ``import *turtle`` puis " "``turtle.write(`` fonctionnera." -#: library/idle.rst:551 +#: library/idle.rst:554 +#, fuzzy msgid "" -"In an editor, import statements have no effect until one runs the file. One " -"might want to run a file after writing the import statements at the top, or " -"immediately run an existing file before editing." +"In an editor, import statements have no effect until one runs the file. One " +"might want to run a file after writing import statements, after adding " +"function definitions, or after opening an existing file." msgstr "" "Dans l'éditeur, les commandes d'importation n'ont pas d'effet jusqu'à ce que " "le fichier soit exécuté. Vous pouvez exécuter un fichier après avoir écrit " "les commandes d'importation au début, ou immédiatement exécuter un fichier " "existant avant de l'éditer." -#: library/idle.rst:558 +#: library/idle.rst:561 msgid "Code Context" msgstr "Contexte du code" -#: library/idle.rst:560 +#: library/idle.rst:563 msgid "" "Within an editor window containing Python code, code context can be toggled " "in order to show or hide a pane at the top of the window. When shown, this " @@ -1278,7 +1281,7 @@ msgstr "" "activée, une unique ligne vide est affichée. Un clic sur une ligne dans la " "zone de contexte déplace cette ligne en haut de l'éditeur." -#: library/idle.rst:571 +#: library/idle.rst:574 msgid "" "The text and background colors for the context pane can be configured under " "the Highlights tab in the Configure IDLE dialog." @@ -1287,11 +1290,11 @@ msgstr "" "configurées dans l'onglet *Highlights* de la fenêtre de configuration " "d'*IDLE*." -#: library/idle.rst:575 +#: library/idle.rst:578 msgid "Python Shell window" msgstr "Fenêtre de console Python" -#: library/idle.rst:577 +#: library/idle.rst:580 msgid "" "With IDLE's Shell, one enters, edits, and recalls complete statements. Most " "consoles and terminals only work with a single physical line at a time." @@ -1300,7 +1303,7 @@ msgstr "" "commandes entières. La plupart des consoles et des terminaux ne travaillent " "qu'avec une seule ligne physique à la fois." -#: library/idle.rst:580 +#: library/idle.rst:583 msgid "" "When one pastes code into Shell, it is not compiled and possibly executed " "until one hits :kbd:`Return`. One may edit pasted code first. If one pastes " @@ -1313,7 +1316,7 @@ msgstr "" "`SyntaxError` est levée si plusieurs commandes sont compilées comme une " "seule." -#: library/idle.rst:585 +#: library/idle.rst:588 msgid "" "The editing features described in previous subsections work when entering " "code interactively. IDLE's Shell window also responds to the following keys." @@ -1322,28 +1325,28 @@ msgstr "" "fonctionnent du code est saisi de façon interactive. La fenêtre de console " "d'*IDLE* réagit également aux touches suivantes." -#: library/idle.rst:588 +#: library/idle.rst:591 msgid ":kbd:`C-c` interrupts executing command" msgstr ":kbd:`C-c` interrompt l'exécution de la commande" -#: library/idle.rst:590 +#: library/idle.rst:593 msgid "" ":kbd:`C-d` sends end-of-file; closes window if typed at a ``>>>`` prompt" msgstr "" ":kbd:`C-d` envoie fin-de-fichier (*EOF*) ; cela ferme la fenêtre s'il est " "saisi à une invite ``>>>``" -#: library/idle.rst:592 +#: library/idle.rst:595 msgid ":kbd:`Alt-/` (Expand word) is also useful to reduce typing" msgstr "" ":kbd:`Alt-/` (Compléter le mot) est également utile pour réduire la quantité " "de texte saisie" -#: library/idle.rst:594 +#: library/idle.rst:597 msgid "Command history" msgstr "Historique des commandes" -#: library/idle.rst:596 +#: library/idle.rst:599 msgid "" ":kbd:`Alt-p` retrieves previous command matching what you have typed. On " "macOS use :kbd:`C-p`." @@ -1351,20 +1354,20 @@ msgstr "" ":kbd:`Alt-p` récupère la précédente commande qui correspond à ce que vous " "avez saisi. Sous *macOS*, utilisez :kbd:`C-p`." -#: library/idle.rst:599 +#: library/idle.rst:602 msgid ":kbd:`Alt-n` retrieves next. On macOS use :kbd:`C-n`." msgstr ":kbd:`Alt-n` récupère la suivante. Sous *macOS*, utilisez :kbd:`C-n`." -#: library/idle.rst:601 +#: library/idle.rst:604 msgid ":kbd:`Return` while on any previous command retrieves that command" msgstr "" ":kbd:`Entrée` sur une des commandes précédentes récupère cette commande" -#: library/idle.rst:604 +#: library/idle.rst:607 msgid "Text colors" msgstr "Coloration du texte" -#: library/idle.rst:606 +#: library/idle.rst:609 msgid "" "Idle defaults to black on white text, but colors text with special meanings. " "For the shell, these are shell output, shell error, user output, and user " @@ -1383,7 +1386,7 @@ msgstr "" "sont le curseur (si présent), le texte trouvé (s'il y en a) et le texte " "sélectionné." -#: library/idle.rst:613 +#: library/idle.rst:616 msgid "" "Text coloring is done in the background, so uncolorized text is occasionally " "visible. To change the color scheme, use the Configure IDLE dialog " @@ -1396,11 +1399,11 @@ msgstr "" "points d'arrêt du débogueur dans l'éditeur et du texte dans les dialogues " "n'est pas configurable." -#: library/idle.rst:620 +#: library/idle.rst:623 msgid "Startup and code execution" msgstr "Démarrage et exécution du code" -#: library/idle.rst:622 +#: library/idle.rst:625 msgid "" "Upon startup with the ``-s`` option, IDLE will execute the file referenced " "by the environment variables :envvar:`IDLESTARTUP` or :envvar:" @@ -1420,7 +1423,7 @@ msgstr "" "fonctions qui sont utilisées fréquemment depuis la console d'*IDLE* ou pour " "exécuter des commandes d'importation des modules communs." -#: library/idle.rst:630 +#: library/idle.rst:633 msgid "" "In addition, ``Tk`` also loads a startup file if it is present. Note that " "the Tk file is loaded unconditionally. This additional file is ``.Idle.py`` " @@ -1435,15 +1438,15 @@ msgstr "" "nommage de *Tk*, donc ce fichier n'est pas utile pour importer des fonctions " "à utiliser depuis la console Python d'*IDLE*." -#: library/idle.rst:637 +#: library/idle.rst:640 msgid "Command line usage" msgstr "Utilisation de la ligne de commande" -#: library/idle.rst:653 +#: library/idle.rst:656 msgid "If there are arguments:" msgstr "S'il y a des arguments :" -#: library/idle.rst:655 +#: library/idle.rst:658 msgid "" "If ``-``, ``-c``, or ``r`` is used, all arguments are placed in ``sys." "argv[1:...]`` and ``sys.argv[0]`` is set to ``''``, ``'-c'``, or ``'-r'``. " @@ -1455,7 +1458,7 @@ msgstr "" "ou ``'-r'``. Aucune fenêtre d'édition n'est ouverte, même si c'est le " "comportement par défaut fixé dans la fenêtre d'options." -#: library/idle.rst:660 +#: library/idle.rst:663 msgid "" "Otherwise, arguments are files opened for editing and ``sys.argv`` reflects " "the arguments passed to IDLE itself." @@ -1463,11 +1466,11 @@ msgstr "" "Sinon, les arguments sont des fichiers ouverts pour édition et ``sys.argv`` " "reflète les arguments passés à *IDLE* lui-même." -#: library/idle.rst:664 +#: library/idle.rst:667 msgid "Startup failure" msgstr "Échec au démarrage" -#: library/idle.rst:666 +#: library/idle.rst:669 msgid "" "IDLE uses a socket to communicate between the IDLE GUI process and the user " "code execution process. A connection must be established whenever the Shell " @@ -1485,7 +1488,7 @@ msgstr "" "message *\"connexion impossible\"* qui redirige l'utilisateur ici. Ensuite, " "il s'arrête." -#: library/idle.rst:673 +#: library/idle.rst:676 msgid "" "A common cause of failure is a user-written file with the same name as a " "standard library module, such as *random.py* and *tkinter.py*. When such a " @@ -1500,7 +1503,7 @@ msgstr "" "standard. La solution actuelle consiste à renommer le fichier de " "l'utilisateur." -#: library/idle.rst:679 +#: library/idle.rst:682 msgid "" "Though less common than in the past, an antivirus or firewall program may " "stop the connection. If the program cannot be taught to allow the " @@ -1516,7 +1519,7 @@ msgstr "" "visible depuis un port extérieur. Un problème similaire est une mauvaise " "configuration du réseau qui bloque les connexions." -#: library/idle.rst:686 +#: library/idle.rst:689 msgid "" "Python installation issues occasionally stop IDLE: multiple versions can " "clash, or a single installation might need admin access. If one undo the " @@ -1529,7 +1532,7 @@ msgstr "" "ne veut pas accorder de privilège, il peut être plus facile de désinstaller " "complètement Python et de recommencer." -#: library/idle.rst:691 +#: library/idle.rst:694 #, fuzzy msgid "" "A zombie pythonw.exe process could be a problem. On Windows, use Task " @@ -1548,7 +1551,7 @@ msgstr "" # ... this can be prevented by never editing the files by hand, using the # configuration dialog, under Options, instead Options. # Qu'est-ce que ça veut dire ??? -#: library/idle.rst:697 +#: library/idle.rst:700 #, fuzzy msgid "" "When IDLE first starts, it attempts to read user configuration files in ``~/." @@ -1570,7 +1573,7 @@ msgstr "" # Je suppose que c'est (``python -m idlelib)``, et pas (``python -m # idlelib``)... -#: library/idle.rst:705 +#: library/idle.rst:708 #, fuzzy msgid "" "If IDLE quits with no message, and it was not started from a console, try " @@ -1581,11 +1584,11 @@ msgstr "" "console, essayez de le démarrer depuis une console (``python -m idlelib``) " "et regardez si un message apparaît." -#: library/idle.rst:710 +#: library/idle.rst:713 msgid "Running user code" msgstr "Exécuter le code de l'utilisateur" -#: library/idle.rst:712 +#: library/idle.rst:715 msgid "" "With rare exceptions, the result of executing Python code with IDLE is " "intended to be the same as executing the same code by the default method, " @@ -1602,7 +1605,7 @@ msgstr "" "modules`` démarre avec plus d'entrées et ``threading.activeCount()`` renvoie " "2 plutôt que 1." -#: library/idle.rst:719 +#: library/idle.rst:722 msgid "" "By default, IDLE runs user code in a separate OS process rather than in the " "user interface process that runs the shell and editor. In the execution " @@ -1619,7 +1622,7 @@ msgstr "" "valeurs originales stockées dans ``sys.__stdin__``, ``sys.__stdout__`` et " "``sys.__stderr__`` ne sont pas touchées, mais peuvent être ``None``." -#: library/idle.rst:726 +#: library/idle.rst:729 msgid "" "When Shell has the focus, it controls the keyboard and screen. This is " "normally transparent, but functions that directly access the keyboard and " @@ -1632,7 +1635,7 @@ msgstr "" "fonctions spécifiques du système qui déterminent si une touche a été pressée " "et, le cas échéant, laquelle." -#: library/idle.rst:731 +#: library/idle.rst:734 msgid "" "IDLE's standard stream replacements are not inherited by subprocesses " "created in the execution process, whether directly by user code or by " @@ -1649,7 +1652,7 @@ msgstr "" "de commande. Le sous-processus secondaire sera ensuite attaché à cette " "fenêtre pour les entrées et les sorties." -#: library/idle.rst:738 +#: library/idle.rst:741 msgid "" "The IDLE code running in the execution process adds frames to the call stack " "that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and " @@ -1661,7 +1664,7 @@ msgstr "" "encapsule ``sys.getrecursionlimit`` et ``sys.setrecursionlimit`` pour " "réduire l'effet des piles de fonctions supplémentaires." -#: library/idle.rst:742 +#: library/idle.rst:745 msgid "" "If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, " "IDLE's changes are lost and input from the keyboard and output to the screen " @@ -1672,7 +1675,7 @@ msgstr "" "l'entrée du clavier et la sortie à l'écran ne fonctionneront pas " "correctement." -#: library/idle.rst:746 +#: library/idle.rst:749 msgid "" "When user code raises SystemExit either directly or by calling sys.exit, " "IDLE returns to a Shell prompt instead of exiting." @@ -1680,11 +1683,11 @@ msgstr "" "Lorsque l'utilisateur lève `SystemExit` directement ou en appelant ``sys." "exit``, IDLE revient au terminal IDLE au lieu de quitter." -#: library/idle.rst:750 +#: library/idle.rst:753 msgid "User output in Shell" msgstr "Sortie de l'utilisateur sur la console" -#: library/idle.rst:752 +#: library/idle.rst:755 msgid "" "When a program outputs text, the result is determined by the corresponding " "output device. When IDLE executes user code, ``sys.stdout`` and ``sys." @@ -1701,7 +1704,7 @@ msgstr "" "programmées. Quand cela importe, la console est conçue pour le développement " "plutôt que l'exécution en production." -#: library/idle.rst:759 +#: library/idle.rst:762 msgid "" "For instance, Shell never throws away output. A program that sends " "unlimited output to Shell will eventually fill memory, resulting in a memory " @@ -1716,7 +1719,7 @@ msgstr "" "exemple, conserve une quantité de lignes configurable entre 1 et 9999, avec " "une valeur par défaut de 300." -#: library/idle.rst:765 +#: library/idle.rst:768 msgid "" "A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) " "in the BMP (Basic Multilingual Plane) subset of Unicode. Which characters " @@ -1742,7 +1745,7 @@ msgstr "" "texte sur un affichage de ce genre peut provoquer un comportement surprenant " "du point de vue de l'espacement). ::" -#: library/idle.rst:783 +#: library/idle.rst:786 msgid "" "The ``repr`` function is used for interactive echo of expression values. It " "returns an altered version of the input string in which control codes, some " @@ -1757,7 +1760,7 @@ msgstr "" "d'échappement. Comme montré ci-dessus, ceci permet d'identifier les " "caractères dans une chaîne, quelle que soit la façon dont elle est affichée." -#: library/idle.rst:789 +#: library/idle.rst:792 msgid "" "Normal and error output are generally kept separate (on separate lines) from " "code input and each other. They each get different highlight colors." @@ -1766,7 +1769,7 @@ msgstr "" "séparées) de l'entrée de code et entre elles. Elles ont chacune une " "coloration différente." -#: library/idle.rst:792 +#: library/idle.rst:795 msgid "" "For SyntaxError tracebacks, the normal '^' marking where the error was " "detected is replaced by coloring the text with an error highlight. When code " @@ -1781,7 +1784,7 @@ msgstr "" "d'accéder à la ligne correspondante dans un éditeur *IDLE*. Le fichier est " "ouvert si nécessaire." -#: library/idle.rst:798 +#: library/idle.rst:801 msgid "" "Shell has a special facility for squeezing output lines down to a 'Squeezed " "text' label. This is done automatically for output over N lines (N = 50 by " @@ -1797,7 +1800,7 @@ msgstr "" "sortie. Ceci peut être utile sur des lignes si longues qu'elles ralentissent " "la navigation." -#: library/idle.rst:806 +#: library/idle.rst:809 msgid "" "Squeezed output is expanded in place by double-clicking the label. It can " "also be sent to the clipboard or a separate view window by right-clicking " @@ -1807,11 +1810,11 @@ msgstr "" "l'étiquette Elles peuvent aussi être envoyées au presse-papier ou sur un " "fenêtre séparée par un clic-droit sur l'étiquette." -#: library/idle.rst:811 +#: library/idle.rst:814 msgid "Developing tkinter applications" msgstr "Développer des applications *tkinter*" -#: library/idle.rst:813 +#: library/idle.rst:816 msgid "" "IDLE is intentionally different from standard Python in order to facilitate " "development of tkinter programs. Enter ``import tkinter as tk; root = tk." @@ -1833,7 +1836,7 @@ msgstr "" "changement n'est visible en Python standard jusqu'à la saisie de ``root." "update()``." -#: library/idle.rst:822 +#: library/idle.rst:825 msgid "" "Most tkinter programs run ``root.mainloop()``, which usually does not return " "until the tk app is destroyed. If the program is run with ``python -i`` or " @@ -1846,7 +1849,7 @@ msgstr "" "une invite de commande ``>>>`` n'apparaît pas tant que ``mainloop()`` ne " "termine pas, c'est-à-dire quand il ne reste plus rien avec lequel interagir." -#: library/idle.rst:828 +#: library/idle.rst:831 msgid "" "When running a tkinter program from an IDLE editor, one can comment out the " "mainloop call. One then gets a shell prompt immediately and can interact " @@ -1859,11 +1862,11 @@ msgstr "" "se rappeler de réactiver l'appel à *mainloop* lors de l'exécution en Python " "standard." -#: library/idle.rst:834 +#: library/idle.rst:837 msgid "Running without a subprocess" msgstr "Exécution sans sous-processus" -#: library/idle.rst:836 +#: library/idle.rst:839 msgid "" "By default, IDLE executes user code in a separate subprocess via a socket, " "which uses the internal loopback interface. This connection is not " @@ -1875,7 +1878,7 @@ msgstr "" "connexion n'est pas visible de l'extérieur et rien n'est envoyé ou reçu " "d'Internet. Si un pare-feu s'en plaint quand même, vous pouvez l'ignorer." -#: library/idle.rst:841 +#: library/idle.rst:844 msgid "" "If the attempt to make the socket connection fails, Idle will notify you. " "Such failures are sometimes transient, but if persistent, the problem may be " @@ -1890,7 +1893,7 @@ msgstr "" "résolu, vous pouvez exécuter *IDLE* avec l'option *-n* de la ligne de " "commande." -#: library/idle.rst:847 +#: library/idle.rst:850 msgid "" "If IDLE is started with the -n command line switch it will run in a single " "process and will not create the subprocess which runs the RPC Python " @@ -1915,15 +1918,15 @@ msgstr "" "effet. Pour toutes ces raisons, il est préférable d'exécuter *IDLE* avec le " "sous-processus par défaut si c'est possible." -#: library/idle.rst:862 +#: library/idle.rst:865 msgid "Help and preferences" msgstr "Aide et préférences" -#: library/idle.rst:867 +#: library/idle.rst:870 msgid "Help sources" msgstr "Sources d'aide" -#: library/idle.rst:869 +#: library/idle.rst:872 msgid "" "Help menu entry \"IDLE Help\" displays a formatted html version of the IDLE " "chapter of the Library Reference. The result, in a read-only tkinter text " @@ -1940,7 +1943,7 @@ msgstr "" "enfoncées. Ou cliquez sur le bouton TOC (*Table of Contents* : sommaire) et " "sélectionnez un titre de section dans l'espace ouvert." -#: library/idle.rst:877 +#: library/idle.rst:880 msgid "" "Help menu entry \"Python Docs\" opens the extensive sources of help, " "including tutorials, available at ``docs.python.org/x.y``, where 'x.y' is " @@ -1954,7 +1957,7 @@ msgstr "" "système a une copie locale de la documentation (cela peut être une option " "d'installation), c'est elle qui est ouverte." -#: library/idle.rst:883 +#: library/idle.rst:886 msgid "" "Selected URLs can be added or removed from the help menu at any time using " "the General tab of the Configure IDLE dialog." @@ -1963,11 +1966,11 @@ msgstr "" "n'importe quel moment en utilisant l'onglet « *General* » de la fenêtre " "« Configure IDLE »." -#: library/idle.rst:889 +#: library/idle.rst:892 msgid "Setting preferences" msgstr "Modifier les préférences" -#: library/idle.rst:891 +#: library/idle.rst:894 msgid "" "The font preferences, highlighting, keys, and general preferences can be " "changed via Configure IDLE on the Option menu. Non-default user settings are " @@ -1982,7 +1985,7 @@ msgstr "" "par des fichiers de configuration utilisateur corrompus sont résolus en " "modifiant ou en supprimant un ou plusieurs fichiers dans *.idlerc*." -#: library/idle.rst:897 +#: library/idle.rst:900 msgid "" "On the Font tab, see the text sample for the effect of font face and size on " "multiple characters in multiple languages. Edit the sample to add other " @@ -1998,7 +2001,7 @@ msgstr "" "console ou l'éditeur, ajoutez-les en haut des échantillons et essayez de " "changer d'abord la taille, puis la fonte." -#: library/idle.rst:904 +#: library/idle.rst:907 msgid "" "On the Highlights and Keys tab, select a built-in or custom color theme and " "key set. To use a newer built-in color theme or key set with older IDLEs, " @@ -2011,12 +2014,12 @@ msgstr "" "ancienne, enregistrez-le en tant que nouveau thème ou ensemble de raccourcis " "personnalisé ; il sera alors accessible aux *IDLE* plus anciens." -#: library/idle.rst:910 +#: library/idle.rst:913 msgid "IDLE on macOS" msgstr "*IDLE* sous *macOS*" # framework=>cadriciel ne pose pas de problème ? -#: library/idle.rst:912 +#: library/idle.rst:915 msgid "" "Under System Preferences: Dock, one can set \"Prefer tabs when opening " "documents\" to \"Always\". This setting is not compatible with the tk/" @@ -2027,11 +2030,11 @@ msgstr "" "avec le cadriciel *tk/tkinter* utilisé par *IDLE* et il casse quelques " "fonctionnalités d'*IDLE*." -#: library/idle.rst:917 +#: library/idle.rst:920 msgid "Extensions" msgstr "Extensions" -#: library/idle.rst:919 +#: library/idle.rst:922 msgid "" "IDLE contains an extension facility. Preferences for extensions can be " "changed with the Extensions tab of the preferences dialog. See the beginning " @@ -2045,6 +2048,17 @@ msgstr "" "plus d'informations. La seule extension actuellement utilisée par défaut est " "*zzdummy*, un exemple également utilisé pour les tests." +#~ msgid "" +#~ "A calltip consists of the function signature and the first line of the " +#~ "docstring. For builtins without an accessible signature, the calltip " +#~ "consists of all lines up the fifth line or the first blank line. These " +#~ "details may change." +#~ msgstr "" +#~ "Une info-bulle contient la signature de la fonction et la première ligne " +#~ "de la *docstring*. Pour les fonctions incluses par défaut sans signature " +#~ "accessible, l'info-bulle contient toutes les lignes jusqu'à la cinquième " +#~ "ligne ou la première ligne vide. Ces détails sont sujets à changement." + #~ msgid "" #~ "Completions are supplied for functions, classes, and attributes of " #~ "classes, both built-in and user-defined. Completions are also provided " diff --git a/library/imaplib.po b/library/imaplib.po index 5725c9ad..e4f45172 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -59,7 +59,7 @@ msgstr "" msgid "Support for the :keyword:`with` statement was added." msgstr "La prise en charge de l'instruction :keyword:`with` a été ajoutée." -#: library/imaplib.rst:55 library/imaplib.rst:122 +#: library/imaplib.rst:122 msgid "The optional *timeout* parameter was added." msgstr "" @@ -161,7 +161,7 @@ msgstr "" #: library/imaplib.rst:146 msgid "" -"Converts an integer into a string representation using characters from the " +"Converts an integer into a bytes representation using characters from the " "set [``A`` .. ``P``]." msgstr "" @@ -229,7 +229,7 @@ msgid "" "Each command returns a tuple: ``(type, [data, ...])`` where *type* is " "usually ``'OK'`` or ``'NO'``, and *data* is either the text from the command " "response, or mandated results from the command. Each *data* is either a " -"string, or a tuple. If a tuple, then the first part is the header of the " +"``bytes``, or a tuple. If a tuple, then the first part is the header of the " "response, and the second part contains the data (ie: 'literal' value)." msgstr "" @@ -539,7 +539,7 @@ msgid "" "searching criteria. It then returns the numbers of matching messages." msgstr "" -#: library/imaplib.rst:499 library/imaplib.rst:570 +#: library/imaplib.rst:570 msgid "This is an ``IMAP4rev1`` extension command." msgstr "" diff --git a/library/imp.po b/library/imp.po index 70e39950..0dab92b5 100644 --- a/library/imp.po +++ b/library/imp.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -355,7 +355,7 @@ msgid "" "object at some point." msgstr "" -#: library/imp.rst:272 library/imp.rst:292 library/imp.rst:305 +#: library/imp.rst:292 library/imp.rst:305 msgid "" "The locking scheme has changed to per-module locks for the most part. A " "global import lock is kept for some critical tasks, such as initializing the " diff --git a/library/importlib.po b/library/importlib.po index c1531c98..88faa2de 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-04 11:26+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -421,8 +421,7 @@ msgid "" "Can use :meth:`find_spec` to provide functionality." msgstr "" -#: library/importlib.rst:298 library/importlib.rst:352 -#: library/importlib.rst:360 library/importlib.rst:1119 +#: library/importlib.rst:352 library/importlib.rst:1119 msgid "Use :meth:`find_spec` instead." msgstr "" @@ -501,7 +500,7 @@ msgid "" "definition for a loader." msgstr "" -#: library/importlib.rst:375 library/importlib.rst:856 +#: library/importlib.rst:856 msgid "" "Loaders that wish to support resource reading should implement a " "``get_resource_reader(fullname)`` method as specified by :class:`importlib." @@ -798,8 +797,7 @@ msgid "" "cannot find the module specified." msgstr "" -#: library/importlib.rst:609 library/importlib.rst:618 -#: library/importlib.rst:668 +#: library/importlib.rst:618 library/importlib.rst:668 msgid "Raises :exc:`ImportError` instead of :exc:`NotImplementedError`." msgstr "" @@ -892,7 +890,7 @@ msgstr "" msgid "Use :meth:`Loader.exec_module` instead." msgstr "" -#: library/importlib.rst:700 library/importlib.rst:1318 +#: library/importlib.rst:1318 msgid "Returns :attr:`path`." msgstr "" @@ -955,7 +953,7 @@ msgid "" "extensions. If the path cannot be handled, :exc:`OSError` is raised." msgstr "" -#: library/importlib.rst:741 library/importlib.rst:754 +#: library/importlib.rst:754 msgid "Raise :exc:`OSError` instead of :exc:`NotImplementedError`." msgstr "" @@ -1104,7 +1102,7 @@ msgid "" "subdirectories)." msgstr "" -#: library/importlib.rst:885 library/importlib.rst:970 +#: library/importlib.rst:970 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements." @@ -1236,7 +1234,7 @@ msgid "" "modules." msgstr "" -#: library/importlib.rst:1001 library/importlib.rst:1011 +#: library/importlib.rst:1011 msgid "Use :attr:`BYTECODE_SUFFIXES` instead." msgstr "" @@ -1278,8 +1276,7 @@ msgid "" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: library/importlib.rst:1049 library/importlib.rst:1063 -#: library/importlib.rst:1076 library/importlib.rst:1091 +#: library/importlib.rst:1063 library/importlib.rst:1091 msgid "" "Only class methods are defined by this class to alleviate the need for " "instantiation." @@ -1453,13 +1450,13 @@ msgstr "" msgid "Concrete implementation of :meth:`importlib.abc.SourceLoader.set_data`." msgstr "" -#: library/importlib.rst:1221 library/importlib.rst:1264 +#: library/importlib.rst:1264 msgid "" "Concrete implementation of :meth:`importlib.abc.Loader.load_module` where " "specifying the name of the module to load is optional." msgstr "" -#: library/importlib.rst:1226 library/importlib.rst:1269 +#: library/importlib.rst:1269 msgid "Use :meth:`importlib.abc.Loader.exec_module` instead." msgstr "" @@ -1681,8 +1678,7 @@ msgid "" "was deprecated." msgstr "" -#: library/importlib.rst:1441 library/importlib.rst:1457 -#: library/importlib.rst:1606 +#: library/importlib.rst:1457 library/importlib.rst:1606 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -1836,7 +1832,7 @@ msgid "" "Set ``__loader__`` if set to ``None``, as if the attribute does not exist." msgstr "" -#: library/importlib.rst:1575 library/importlib.rst:1584 +#: library/importlib.rst:1584 msgid "The import machinery takes care of this automatically." msgstr "" diff --git a/library/inspect.po b/library/inspect.po index ebcff4f8..8a4cbd46 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-06 13:49+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -69,13 +69,11 @@ msgstr "Description" msgid "module" msgstr "module" -#: library/inspect.rst:43 library/inspect.rst:48 library/inspect.rst:58 -#: library/inspect.rst:76 library/inspect.rst:231 +#: library/inspect.rst:48 library/inspect.rst:76 library/inspect.rst:231 msgid "__doc__" msgstr "__doc__" -#: library/inspect.rst:43 library/inspect.rst:48 library/inspect.rst:58 -#: library/inspect.rst:76 library/inspect.rst:231 +#: library/inspect.rst:48 library/inspect.rst:76 library/inspect.rst:231 msgid "documentation string" msgstr "" @@ -91,8 +89,7 @@ msgstr "" msgid "class" msgstr "classe" -#: library/inspect.rst:50 library/inspect.rst:60 library/inspect.rst:78 -#: library/inspect.rst:200 library/inspect.rst:214 library/inspect.rst:233 +#: library/inspect.rst:60 library/inspect.rst:200 library/inspect.rst:233 msgid "__name__" msgstr "__name__" @@ -100,17 +97,15 @@ msgstr "__name__" msgid "name with which this class was defined" msgstr "" -#: library/inspect.rst:53 library/inspect.rst:63 library/inspect.rst:81 -#: library/inspect.rst:202 library/inspect.rst:216 library/inspect.rst:236 +#: library/inspect.rst:63 library/inspect.rst:202 library/inspect.rst:236 msgid "__qualname__" msgstr "__qualname__" -#: library/inspect.rst:53 library/inspect.rst:63 library/inspect.rst:81 -#: library/inspect.rst:202 library/inspect.rst:216 library/inspect.rst:236 +#: library/inspect.rst:63 library/inspect.rst:202 library/inspect.rst:236 msgid "qualified name" msgstr "nom qualifié" -#: library/inspect.rst:55 library/inspect.rst:73 library/inspect.rst:104 +#: library/inspect.rst:73 library/inspect.rst:104 msgid "__module__" msgstr "__module__" @@ -134,7 +129,7 @@ msgstr "__func__" msgid "function object containing implementation of method" msgstr "" -#: library/inspect.rst:69 library/inspect.rst:238 +#: library/inspect.rst:238 msgid "__self__" msgstr "__self__" @@ -216,7 +211,7 @@ msgstr "" msgid "tb_lasti" msgstr "tb_lasti" -#: library/inspect.rst:110 library/inspect.rst:132 +#: library/inspect.rst:132 msgid "index of last attempted instruction in bytecode" msgstr "" @@ -224,7 +219,7 @@ msgstr "" msgid "tb_lineno" msgstr "tb_lineno" -#: library/inspect.rst:113 library/inspect.rst:135 +#: library/inspect.rst:135 msgid "current line number in Python source code" msgstr "" @@ -236,7 +231,7 @@ msgstr "tb_next" msgid "next inner traceback object (called by this level)" msgstr "" -#: library/inspect.rst:120 library/inspect.rst:204 library/inspect.rst:221 +#: library/inspect.rst:204 library/inspect.rst:221 msgid "frame" msgstr "" @@ -296,7 +291,7 @@ msgstr "f_trace" msgid "tracing function for this frame, or ``None``" msgstr "" -#: library/inspect.rst:144 library/inspect.rst:208 library/inspect.rst:225 +#: library/inspect.rst:208 library/inspect.rst:225 msgid "code" msgstr "" @@ -435,7 +430,7 @@ msgstr "" msgid "generator" msgstr "générateur" -#: library/inspect.rst:200 library/inspect.rst:214 +#: library/inspect.rst:214 msgid "name" msgstr "" @@ -782,7 +777,7 @@ msgid "" "code cannot be retrieved." msgstr "" -#: library/inspect.rst:520 library/inspect.rst:532 +#: library/inspect.rst:532 msgid "" ":exc:`OSError` is raised instead of :exc:`IOError`, now an alias of the " "former." @@ -901,7 +896,7 @@ msgid "" "including keyword-only parameters." msgstr "" -#: library/inspect.rst:631 library/inspect.rst:971 +#: library/inspect.rst:971 msgid "" "Python only explicitly guaranteed that it preserved the declaration order of " "keyword-only parameters as of version 3.7, although in practice this order " @@ -1264,7 +1259,7 @@ msgid "" "dictionary of the given frame." msgstr "" -#: library/inspect.rst:986 library/inspect.rst:1023 +#: library/inspect.rst:1023 msgid "This function was inadvertently marked as deprecated in Python 3.5." msgstr "" @@ -1432,8 +1427,7 @@ msgid "" "outermost call on *frame*'s stack." msgstr "" -#: library/inspect.rst:1156 library/inspect.rst:1169 library/inspect.rst:1193 -#: library/inspect.rst:1206 +#: library/inspect.rst:1169 library/inspect.rst:1206 msgid "" "A list of :term:`named tuples ` ``FrameInfo(frame, filename, " "lineno, function, code_context, index)`` is returned." @@ -1544,7 +1538,7 @@ msgstr "" msgid "Get current state of a generator-iterator." msgstr "" -#: library/inspect.rst:1287 library/inspect.rst:1302 +#: library/inspect.rst:1302 msgid "Possible states are:" msgstr "" diff --git a/library/io.po b/library/io.po index 9c4ba351..ff784347 100644 --- a/library/io.po +++ b/library/io.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-03 11:13+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -60,7 +60,7 @@ msgid "" "since :exc:`IOError` is now an alias of :exc:`OSError`." msgstr "" -#: library/io.rst:51 library/io.rst:781 library/io.rst:1038 +#: library/io.rst:781 library/io.rst:1038 msgid "Text I/O" msgstr "" @@ -89,7 +89,7 @@ msgid "" "`TextIOBase`." msgstr "" -#: library/io.rst:72 library/io.rst:1026 +#: library/io.rst:1026 msgid "Binary I/O" msgstr "" @@ -307,7 +307,7 @@ msgstr "" msgid "Mixin Methods and Properties" msgstr "" -#: library/io.rst:223 library/io.rst:228 library/io.rst:230 library/io.rst:232 +#: library/io.rst:228 library/io.rst:232 msgid ":class:`IOBase`" msgstr "" @@ -514,7 +514,7 @@ msgstr "" msgid "Return the new absolute position." msgstr "" -#: library/io.rst:346 library/io.rst:857 +#: library/io.rst:857 msgid "The ``SEEK_*`` constants." msgstr "" @@ -711,7 +711,7 @@ msgid "" "imminent." msgstr "" -#: library/io.rst:502 library/io.rst:525 library/io.rst:535 +#: library/io.rst:525 library/io.rst:535 msgid "" "A :exc:`BlockingIOError` is raised if the underlying raw stream is in non " "blocking-mode, and has no data available at the moment." @@ -920,7 +920,7 @@ msgstr "" msgid "In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.read`." msgstr "" -#: library/io.rst:662 library/io.rst:705 +#: library/io.rst:705 msgid "The *size* argument is now optional." msgstr "" diff --git a/library/ipaddress.po b/library/ipaddress.po index dea617dd..278ee149 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -346,8 +346,7 @@ msgid "" "ID." msgstr "" -#: library/ipaddress.rst:321 library/ipaddress.rst:705 -#: library/ipaddress.rst:841 +#: library/ipaddress.rst:705 library/ipaddress.rst:841 msgid "Operators" msgstr "Opérateurs" @@ -475,7 +474,7 @@ msgid "" "an IPv4 address." msgstr "" -#: library/ipaddress.rst:431 library/ipaddress.rst:651 +#: library/ipaddress.rst:651 msgid "" "If *strict* is ``True`` and host bits are set in the supplied address, then :" "exc:`ValueError` is raised. Otherwise, the host bits are masked out to " @@ -489,7 +488,7 @@ msgid "" "incompatible to ``self``." msgstr "" -#: library/ipaddress.rst:441 library/ipaddress.rst:657 +#: library/ipaddress.rst:657 msgid "Added the two-tuple form for the *address* constructor parameter." msgstr "" @@ -690,7 +689,7 @@ msgid "" "with IPv6)." msgstr "" -#: library/ipaddress.rst:713 library/ipaddress.rst:849 +#: library/ipaddress.rst:849 msgid "Logical operators" msgstr "" diff --git a/library/itertools.po b/library/itertools.po index c0ae7cdd..aa24621b 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-28 18:16+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -69,20 +69,19 @@ msgstr "" msgid "**Infinite iterators:**" msgstr "**Itérateurs infinis :**" -#: library/itertools.rst:38 library/itertools.rst:48 library/itertools.rst:67 +#: library/itertools.rst:48 library/itertools.rst:67 msgid "Iterator" msgstr "Itérateur" -#: library/itertools.rst:38 library/itertools.rst:48 library/itertools.rst:67 +#: library/itertools.rst:48 library/itertools.rst:67 msgid "Arguments" msgstr "Arguments" -#: library/itertools.rst:38 library/itertools.rst:48 library/itertools.rst:67 -#: library/itertools.rst:76 +#: library/itertools.rst:48 library/itertools.rst:76 msgid "Results" msgstr "Résultats" -#: library/itertools.rst:38 library/itertools.rst:48 +#: library/itertools.rst:48 msgid "Example" msgstr "Exemple" @@ -158,11 +157,11 @@ msgstr "``accumulate([1,2,3,4,5]) --> 1 3 6 10 15``" msgid ":func:`chain`" msgstr ":func:`chain`" -#: library/itertools.rst:51 library/itertools.rst:61 +#: library/itertools.rst:61 msgid "p, q, ..." msgstr "p, q, ..." -#: library/itertools.rst:51 library/itertools.rst:52 +#: library/itertools.rst:52 msgid "p0, p1, ... plast, q0, q1, ..." msgstr "p0, p1, ... plast, q0, q1, ..." @@ -202,7 +201,7 @@ msgstr "``compress('ABCDEF', [1,0,1,0,1,1]) --> A C E F``" msgid ":func:`dropwhile`" msgstr ":func:`dropwhile`" -#: library/itertools.rst:54 library/itertools.rst:55 library/itertools.rst:59 +#: library/itertools.rst:55 library/itertools.rst:59 msgid "pred, seq" msgstr "pred, seq" @@ -340,7 +339,7 @@ msgstr "" msgid ":func:`combinations`" msgstr ":func:`combinations`" -#: library/itertools.rst:71 library/itertools.rst:72 +#: library/itertools.rst:72 msgid "p, r" msgstr "p, r" @@ -443,9 +442,8 @@ msgstr "" "valeur de *initial* et donc la sortie compte un élément de plus que ce qui " "est produit par l'entrée *iterable*." -#: library/itertools.rst:112 library/itertools.rst:210 -#: library/itertools.rst:259 library/itertools.rst:495 -#: library/itertools.rst:577 library/itertools.rst:630 +#: library/itertools.rst:210 library/itertools.rst:495 +#: library/itertools.rst:630 msgid "Roughly equivalent to::" msgstr "À peu près équivalent à ::" @@ -510,7 +508,7 @@ msgstr "" msgid "Return *r* length subsequences of elements from the input *iterable*." msgstr "Renvoie les combinaisons de longueur *r* de *iterable*." -#: library/itertools.rst:202 library/itertools.rst:251 +#: library/itertools.rst:251 #, fuzzy msgid "" "The combination tuples are emitted in lexicographic ordering according to " diff --git a/library/json.po b/library/json.po index cda210e0..82b74dfb 100644 --- a/library/json.po +++ b/library/json.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-10 16:10+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -152,7 +152,7 @@ msgstr "" "objets :class:`bytes`. ``fp.write()`` doit ainsi prendre en charge un objet :" "class:`str` en entrée." -#: library/json.rst:156 library/json.rst:430 +#: library/json.rst:430 msgid "" "If *ensure_ascii* is true (the default), the output is guaranteed to have " "all incoming non-ASCII characters escaped. If *ensure_ascii* is false, " @@ -186,7 +186,7 @@ msgstr "" "JSON. Si *allow_nan* vaut ``True``, leurs équivalents JavaScript (``NaN``, " "``Infinity``, ``-Infinity``) sont utilisés." -#: library/json.rst:170 library/json.rst:449 +#: library/json.rst:449 msgid "" "If *indent* is a non-negative integer or string, then JSON array elements " "and object members will be pretty-printed with that indent level. An indent " @@ -204,11 +204,11 @@ msgstr "" "(telle que ``\"\\t\"``), cette chaîne est utilisée pour indenter à chaque " "niveau." -#: library/json.rst:177 library/json.rst:456 +#: library/json.rst:456 msgid "Allow strings for *indent* in addition to integers." msgstr "Autorise les chaînes en plus des nombres entiers pour *indent*." -#: library/json.rst:180 library/json.rst:459 +#: library/json.rst:459 msgid "" "If specified, *separators* should be an ``(item_separator, key_separator)`` " "tuple. The default is ``(', ', ': ')`` if *indent* is ``None`` and ``(',', " @@ -221,11 +221,11 @@ msgstr "" "la plus compacte possible, passez ``(',', ':')`` pour éliminer les " "espacements." -#: library/json.rst:185 library/json.rst:464 +#: library/json.rst:464 msgid "Use ``(',', ': ')`` as default if *indent* is not ``None``." msgstr "Utilise ``(',', ': ')`` par défaut si *indent* n'est pas ``None``." -#: library/json.rst:188 library/json.rst:467 +#: library/json.rst:467 msgid "" "If specified, *default* should be a function that gets called for objects " "that can't otherwise be serialized. It should return a JSON encodable " @@ -257,7 +257,7 @@ msgstr "" "additionnels), spécifiez-la avec le paramètre nommé *cls* ; autrement, :" "class:`JSONEncoder` est utilisée." -#: library/json.rst:200 library/json.rst:273 +#: library/json.rst:273 msgid "" "All optional parameters are now :ref:`keyword-only `." msgstr "" @@ -340,11 +340,11 @@ msgstr "" "personnalisés. *object_pairs_hook* prend la priorité sur *object_hook*, si " "cette dernière est aussi définie." -#: library/json.rst:245 library/json.rst:344 +#: library/json.rst:344 msgid "Added support for *object_pairs_hook*." msgstr "ajout du support de *object_pairs_hook*." -#: library/json.rst:248 library/json.rst:347 +#: library/json.rst:347 msgid "" "*parse_float*, if specified, will be called with the string of every JSON " "float to be decoded. By default, this is equivalent to ``float(num_str)``. " @@ -357,7 +357,7 @@ msgstr "" "autre type de données ou un autre analyseur pour les nombres réels JSON (p. " "ex. :class:`decimal.Decimal`)." -#: library/json.rst:253 library/json.rst:352 +#: library/json.rst:352 msgid "" "*parse_int*, if specified, will be called with the string of every JSON int " "to be decoded. By default, this is equivalent to ``int(num_str)``. This " @@ -370,7 +370,7 @@ msgstr "" "autre type de données ou un autre analyseur pour les nombres entiers JSON " "(p. ex. :class:`float`)." -#: library/json.rst:258 library/json.rst:357 +#: library/json.rst:357 msgid "" "*parse_constant*, if specified, will be called with one of the following " "strings: ``'-Infinity'``, ``'Infinity'``, ``'NaN'``. This can be used to " @@ -396,7 +396,7 @@ msgstr "" "utilisée. Les arguments nommés additionnels sont passés au constructeur de " "cette classe." -#: library/json.rst:270 library/json.rst:288 library/json.rst:367 +#: library/json.rst:288 library/json.rst:367 msgid "" "If the data being deserialized is not a valid JSON document, a :exc:" "`JSONDecodeError` will be raised." @@ -450,23 +450,23 @@ msgstr "Décodeur simple JSON." msgid "Performs the following translations in decoding by default:" msgstr "Applique par défaut les conversions suivantes en décodant :" -#: library/json.rst:311 library/json.rst:400 +#: library/json.rst:400 msgid "JSON" msgstr "JSON" -#: library/json.rst:311 library/json.rst:400 +#: library/json.rst:400 msgid "Python" msgstr "Python" -#: library/json.rst:313 library/json.rst:402 +#: library/json.rst:402 msgid "object" msgstr "objet" -#: library/json.rst:313 library/json.rst:402 +#: library/json.rst:402 msgid "dict" msgstr "*dict*" -#: library/json.rst:315 library/json.rst:404 +#: library/json.rst:404 msgid "array" msgstr "*array*" @@ -474,11 +474,11 @@ msgstr "*array*" msgid "list" msgstr "*list*" -#: library/json.rst:317 library/json.rst:406 +#: library/json.rst:406 msgid "string" msgstr "*string*" -#: library/json.rst:317 library/json.rst:406 +#: library/json.rst:406 msgid "str" msgstr "*str*" @@ -498,27 +498,27 @@ msgstr "*number* (nombre réel)" msgid "float" msgstr "*float*" -#: library/json.rst:323 library/json.rst:410 +#: library/json.rst:410 msgid "true" msgstr "*true*" -#: library/json.rst:323 library/json.rst:410 +#: library/json.rst:410 msgid "True" msgstr "*True*" -#: library/json.rst:325 library/json.rst:412 +#: library/json.rst:412 msgid "false" msgstr "*false*" -#: library/json.rst:325 library/json.rst:412 +#: library/json.rst:412 msgid "False" msgstr "*False*" -#: library/json.rst:327 library/json.rst:414 +#: library/json.rst:414 msgid "null" msgstr "*null*" -#: library/json.rst:327 library/json.rst:414 +#: library/json.rst:414 msgid "None" msgstr "``None``" @@ -570,7 +570,7 @@ msgstr "" "contrôle dans ce contexte sont ceux dont les codes sont dans l'intervalle " "0--31, incluant ``'\\t'`` (tabulation), ``'\\n'``, ``'\\r'`` et ``'\\0'``." -#: library/json.rst:370 library/json.rst:472 +#: library/json.rst:472 msgid "All parameters are now :ref:`keyword-only `." msgstr "" "Tous les paramètres sont maintenant des :ref:`keyword-only \n" "Language-Team: FRENCH \n" @@ -489,7 +489,7 @@ msgid "" "``'LC_CTYPE'``, ``'LANG'`` and ``'LANGUAGE'``, in that order." msgstr "" -#: library/locale.rst:300 library/locale.rst:311 +#: library/locale.rst:311 msgid "" "Except for the code ``'C'``, the language code corresponds to :rfc:`1766`. " "*language code* and *encoding* may be ``None`` if their values cannot be " diff --git a/library/logging.config.po b/library/logging.config.po index fe7846a6..e74c0d13 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -340,7 +340,7 @@ msgid "" "corresponding Handler instance." msgstr "" -#: library/logging.config.rst:246 library/logging.config.rst:288 +#: library/logging.config.rst:288 msgid "The configuring dict is searched for the following keys:" msgstr "" diff --git a/library/logging.po b/library/logging.po index e1b9af97..47db3be3 100644 --- a/library/logging.po +++ b/library/logging.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-03-23 22:54+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -260,7 +260,7 @@ msgstr "" "messages sont traités. Sinon, le niveau de la racine est utilisé comme " "niveau effectif." -#: library/logging.rst:117 library/logging.rst:426 +#: library/logging.rst:426 msgid "See :ref:`levels` for a list of levels." msgstr "Voir :ref:`levels` pour la liste des niveaux." @@ -346,7 +346,7 @@ msgid "" "information." msgstr "" -#: library/logging.rst:172 library/logging.rst:966 +#: library/logging.rst:966 msgid "" "The second optional keyword argument is *stack_info*, which defaults to " "``False``. If true, stack information is added to the logging message, " @@ -358,14 +358,14 @@ msgid "" "handlers." msgstr "" -#: library/logging.rst:181 library/logging.rst:975 +#: library/logging.rst:975 msgid "" "You can specify *stack_info* independently of *exc_info*, e.g. to just show " "how you got to a certain point in your code, even when no exceptions were " "raised. The stack frames are printed following a header line which says:" msgstr "" -#: library/logging.rst:189 library/logging.rst:983 +#: library/logging.rst:983 msgid "" "This mimics the ``Traceback (most recent call last):`` which is used when " "displaying exception frames." @@ -396,7 +396,7 @@ msgstr "" msgid "would print something like" msgstr "" -#: library/logging.rst:218 library/logging.rst:1003 +#: library/logging.rst:1003 msgid "" "The keys in the dictionary passed in *extra* should not clash with the keys " "used by the logging system. (See the :class:`Formatter` documentation for " @@ -414,7 +414,7 @@ msgid "" "dictionary with these keys." msgstr "" -#: library/logging.rst:229 library/logging.rst:1014 +#: library/logging.rst:1014 msgid "" "While this might be annoying, this feature is intended for use in " "specialized circumstances, such as multi-threaded servers where the same " @@ -425,7 +425,7 @@ msgid "" "particular :class:`Handler`\\ s." msgstr "" -#: library/logging.rst:236 library/logging.rst:1021 +#: library/logging.rst:1021 msgid "The *stack_info* parameter was added." msgstr "" @@ -1100,20 +1100,19 @@ msgstr "" msgid "Attribute name" msgstr "" -#: library/logging.rst:783 library/logging.rst:1159 +#: library/logging.rst:1159 msgid "Format" msgstr "Format" -#: library/logging.rst:783 library/logging.rst:1159 +#: library/logging.rst:1159 msgid "Description" msgstr "Description" -#: library/logging.rst:785 library/logging.rst:0 +#: library/logging.rst:0 msgid "args" msgstr "" -#: library/logging.rst:785 library/logging.rst:799 library/logging.rst:827 -#: library/logging.rst:845 +#: library/logging.rst:799 library/logging.rst:845 msgid "You shouldn't need to format this yourself." msgstr "" @@ -1153,7 +1152,7 @@ msgid "" "time`)." msgstr "" -#: library/logging.rst:799 library/logging.rst:0 +#: library/logging.rst:0 msgid "exc_info" msgstr "exc_info" @@ -1266,7 +1265,7 @@ msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:827 library/logging.rst:0 +#: library/logging.rst:0 msgid "msg" msgstr "" @@ -1277,7 +1276,7 @@ msgid "" "messages`)." msgstr "" -#: library/logging.rst:832 library/logging.rst:0 +#: library/logging.rst:0 msgid "name" msgstr "" diff --git a/library/lzma.po b/library/lzma.po index 1e05394c..d36aa102 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-08-14 00:17+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -81,14 +81,14 @@ msgid "" "is ``\"rb\"``." msgstr "" -#: library/lzma.rst:50 library/lzma.rst:95 +#: library/lzma.rst:95 msgid "" "When opening a file for reading, the *format* and *filters* arguments have " "the same meanings as for :class:`LZMADecompressor`. In this case, the " "*check* and *preset* arguments should not be used." msgstr "" -#: library/lzma.rst:54 library/lzma.rst:99 +#: library/lzma.rst:99 msgid "" "When opening a file for writing, the *format*, *check*, *preset* and " "*filters* arguments have the same meanings as for :class:`LZMACompressor`." @@ -116,7 +116,7 @@ msgstr "" msgid "Added support for the ``\"x\"``, ``\"xb\"`` and ``\"xt\"`` modes." msgstr "" -#: library/lzma.rst:68 library/lzma.rst:126 +#: library/lzma.rst:126 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." diff --git a/library/mailbox.po b/library/mailbox.po index 56654dbc..0c0fa8fa 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-24 20:59+0100\n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -491,7 +491,7 @@ msgid "" "addition to the following:" msgstr "" -#: library/mailbox.rst:357 library/mailbox.rst:535 +#: library/mailbox.rst:535 msgid "Return a list of the names of all folders." msgstr "" @@ -508,7 +508,7 @@ msgid "" "instance representing it." msgstr "" -#: library/mailbox.rst:375 library/mailbox.rst:553 +#: library/mailbox.rst:553 msgid "" "Delete the folder whose name is *folder*. If the folder contains any " "messages, a :exc:`NotEmptyError` exception will be raised and the folder " @@ -636,7 +636,7 @@ msgid "" "`mbox` instance may yield unpredictable results or raise an exception." msgstr "" -#: library/mailbox.rst:482 library/mailbox.rst:694 library/mailbox.rst:745 +#: library/mailbox.rst:694 library/mailbox.rst:745 msgid "" "Three locking mechanisms are used---dot locking and, if available, the :c:" "func:`flock` and :c:func:`lockf` system calls." @@ -1035,20 +1035,19 @@ msgid "" "flags for Maildir messages are as follows:" msgstr "" -#: library/mailbox.rst:820 library/mailbox.rst:987 library/mailbox.rst:1357 +#: library/mailbox.rst:987 library/mailbox.rst:1357 msgid "Flag" msgstr "Option" -#: library/mailbox.rst:820 library/mailbox.rst:987 library/mailbox.rst:1357 +#: library/mailbox.rst:987 library/mailbox.rst:1357 msgid "Meaning" msgstr "Signification" -#: library/mailbox.rst:820 library/mailbox.rst:987 library/mailbox.rst:1137 -#: library/mailbox.rst:1224 library/mailbox.rst:1357 +#: library/mailbox.rst:987 library/mailbox.rst:1224 library/mailbox.rst:1357 msgid "Explanation" msgstr "Explication" -#: library/mailbox.rst:822 library/mailbox.rst:993 library/mailbox.rst:1363 +#: library/mailbox.rst:993 library/mailbox.rst:1363 msgid "D" msgstr "D" @@ -1060,16 +1059,15 @@ msgstr "" msgid "Under composition" msgstr "" -#: library/mailbox.rst:824 library/mailbox.rst:995 library/mailbox.rst:1365 +#: library/mailbox.rst:995 library/mailbox.rst:1365 msgid "F" msgstr "F" -#: library/mailbox.rst:824 library/mailbox.rst:995 library/mailbox.rst:1365 +#: library/mailbox.rst:995 library/mailbox.rst:1365 msgid "Flagged" msgstr "" -#: library/mailbox.rst:824 library/mailbox.rst:995 library/mailbox.rst:1143 -#: library/mailbox.rst:1365 +#: library/mailbox.rst:995 library/mailbox.rst:1365 msgid "Marked as important" msgstr "" @@ -1085,7 +1083,7 @@ msgstr "" msgid "Forwarded, resent, or bounced" msgstr "" -#: library/mailbox.rst:828 library/mailbox.rst:989 library/mailbox.rst:1359 +#: library/mailbox.rst:989 library/mailbox.rst:1359 msgid "R" msgstr "R" @@ -1093,8 +1091,7 @@ msgstr "R" msgid "Replied" msgstr "" -#: library/mailbox.rst:828 library/mailbox.rst:997 library/mailbox.rst:1141 -#: library/mailbox.rst:1232 library/mailbox.rst:1367 +#: library/mailbox.rst:997 library/mailbox.rst:1232 library/mailbox.rst:1367 msgid "Replied to" msgstr "" @@ -1106,7 +1103,7 @@ msgstr "S" msgid "Seen" msgstr "" -#: library/mailbox.rst:830 library/mailbox.rst:989 library/mailbox.rst:1359 +#: library/mailbox.rst:989 library/mailbox.rst:1359 msgid "Read" msgstr "" @@ -1118,8 +1115,7 @@ msgstr "T" msgid "Trashed" msgstr "" -#: library/mailbox.rst:832 library/mailbox.rst:993 library/mailbox.rst:1228 -#: library/mailbox.rst:1363 +#: library/mailbox.rst:993 library/mailbox.rst:1363 msgid "Marked for subsequent deletion" msgstr "" @@ -1207,63 +1203,50 @@ msgid "" "take place:" msgstr "" -#: library/mailbox.rst:918 library/mailbox.rst:936 library/mailbox.rst:951 -#: library/mailbox.rst:1058 library/mailbox.rst:1075 library/mailbox.rst:1090 -#: library/mailbox.rst:1105 library/mailbox.rst:1172 library/mailbox.rst:1187 -#: library/mailbox.rst:1201 library/mailbox.rst:1298 library/mailbox.rst:1315 -#: library/mailbox.rst:1329 library/mailbox.rst:1429 library/mailbox.rst:1446 -#: library/mailbox.rst:1461 library/mailbox.rst:1477 +#: library/mailbox.rst:936 library/mailbox.rst:1058 library/mailbox.rst:1090 +#: library/mailbox.rst:1172 library/mailbox.rst:1201 library/mailbox.rst:1315 +#: library/mailbox.rst:1429 library/mailbox.rst:1461 library/mailbox.rst:1477 msgid "Resulting state" msgstr "" -#: library/mailbox.rst:918 library/mailbox.rst:1187 library/mailbox.rst:1315 +#: library/mailbox.rst:1187 library/mailbox.rst:1315 msgid ":class:`mboxMessage` or :class:`MMDFMessage` state" msgstr "" -#: library/mailbox.rst:921 library/mailbox.rst:938 library/mailbox.rst:953 -#: library/mailbox.rst:1062 library/mailbox.rst:1433 +#: library/mailbox.rst:938 library/mailbox.rst:1062 library/mailbox.rst:1433 msgid "\"cur\" subdirectory" msgstr "" -#: library/mailbox.rst:921 library/mailbox.rst:1062 library/mailbox.rst:1079 -#: library/mailbox.rst:1094 library/mailbox.rst:1109 library/mailbox.rst:1433 -#: library/mailbox.rst:1450 library/mailbox.rst:1465 library/mailbox.rst:1481 +#: library/mailbox.rst:1062 library/mailbox.rst:1094 library/mailbox.rst:1433 +#: library/mailbox.rst:1465 library/mailbox.rst:1481 msgid "O flag" msgstr "" -#: library/mailbox.rst:923 library/mailbox.rst:942 library/mailbox.rst:1066 -#: library/mailbox.rst:1081 library/mailbox.rst:1113 library/mailbox.rst:1178 -#: library/mailbox.rst:1194 library/mailbox.rst:1437 library/mailbox.rst:1452 -#: library/mailbox.rst:1485 +#: library/mailbox.rst:942 library/mailbox.rst:1081 library/mailbox.rst:1178 +#: library/mailbox.rst:1437 library/mailbox.rst:1485 msgid "F flag" msgstr "" -#: library/mailbox.rst:925 library/mailbox.rst:927 library/mailbox.rst:944 -#: library/mailbox.rst:959 library/mailbox.rst:1060 library/mailbox.rst:1068 -#: library/mailbox.rst:1107 library/mailbox.rst:1176 library/mailbox.rst:1304 -#: library/mailbox.rst:1431 library/mailbox.rst:1439 library/mailbox.rst:1479 +#: library/mailbox.rst:927 library/mailbox.rst:959 library/mailbox.rst:1068 +#: library/mailbox.rst:1176 library/mailbox.rst:1431 library/mailbox.rst:1479 msgid "R flag" msgstr "" -#: library/mailbox.rst:925 library/mailbox.rst:1068 library/mailbox.rst:1083 -#: library/mailbox.rst:1098 library/mailbox.rst:1115 library/mailbox.rst:1192 -#: library/mailbox.rst:1322 library/mailbox.rst:1439 library/mailbox.rst:1454 -#: library/mailbox.rst:1469 library/mailbox.rst:1487 +#: library/mailbox.rst:1068 library/mailbox.rst:1098 library/mailbox.rst:1192 +#: library/mailbox.rst:1439 library/mailbox.rst:1469 library/mailbox.rst:1487 msgid "A flag" msgstr "" -#: library/mailbox.rst:927 library/mailbox.rst:1060 library/mailbox.rst:1431 +#: library/mailbox.rst:1060 library/mailbox.rst:1431 msgid "S flag" msgstr "" -#: library/mailbox.rst:929 library/mailbox.rst:961 library/mailbox.rst:1064 -#: library/mailbox.rst:1302 library/mailbox.rst:1435 +#: library/mailbox.rst:961 library/mailbox.rst:1302 library/mailbox.rst:1435 msgid "T flag" msgstr "" -#: library/mailbox.rst:929 library/mailbox.rst:1064 library/mailbox.rst:1096 -#: library/mailbox.rst:1111 library/mailbox.rst:1320 library/mailbox.rst:1435 -#: library/mailbox.rst:1467 library/mailbox.rst:1483 +#: library/mailbox.rst:1064 library/mailbox.rst:1111 library/mailbox.rst:1435 +#: library/mailbox.rst:1483 msgid "D flag" msgstr "" @@ -1273,32 +1256,28 @@ msgid "" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:936 library/mailbox.rst:1075 library/mailbox.rst:1329 -#: library/mailbox.rst:1446 +#: library/mailbox.rst:1075 library/mailbox.rst:1446 msgid ":class:`MHMessage` state" msgstr "" -#: library/mailbox.rst:938 library/mailbox.rst:1079 library/mailbox.rst:1174 -#: library/mailbox.rst:1190 library/mailbox.rst:1203 library/mailbox.rst:1331 +#: library/mailbox.rst:1079 library/mailbox.rst:1190 library/mailbox.rst:1331 #: library/mailbox.rst:1450 msgid "\"unseen\" sequence" msgstr "" -#: library/mailbox.rst:940 library/mailbox.rst:955 +#: library/mailbox.rst:955 msgid "\"cur\" subdirectory and S flag" msgstr "" -#: library/mailbox.rst:940 library/mailbox.rst:1077 library/mailbox.rst:1448 +#: library/mailbox.rst:1077 library/mailbox.rst:1448 msgid "no \"unseen\" sequence" msgstr "" -#: library/mailbox.rst:942 library/mailbox.rst:1081 library/mailbox.rst:1178 -#: library/mailbox.rst:1194 library/mailbox.rst:1452 +#: library/mailbox.rst:1081 library/mailbox.rst:1194 library/mailbox.rst:1452 msgid "\"flagged\" sequence" msgstr "" -#: library/mailbox.rst:944 library/mailbox.rst:1083 library/mailbox.rst:1176 -#: library/mailbox.rst:1192 library/mailbox.rst:1205 library/mailbox.rst:1333 +#: library/mailbox.rst:1083 library/mailbox.rst:1192 library/mailbox.rst:1333 #: library/mailbox.rst:1454 msgid "\"replied\" sequence" msgstr "" @@ -1309,22 +1288,20 @@ msgid "" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:951 library/mailbox.rst:1090 library/mailbox.rst:1201 -#: library/mailbox.rst:1461 +#: library/mailbox.rst:1090 library/mailbox.rst:1461 msgid ":class:`BabylMessage` state" msgstr "" -#: library/mailbox.rst:953 library/mailbox.rst:1094 library/mailbox.rst:1203 -#: library/mailbox.rst:1300 library/mailbox.rst:1318 library/mailbox.rst:1331 +#: library/mailbox.rst:1094 library/mailbox.rst:1300 library/mailbox.rst:1331 #: library/mailbox.rst:1465 msgid "\"unseen\" label" msgstr "" -#: library/mailbox.rst:955 library/mailbox.rst:1092 library/mailbox.rst:1463 +#: library/mailbox.rst:1092 library/mailbox.rst:1463 msgid "no \"unseen\" label" msgstr "" -#: library/mailbox.rst:957 library/mailbox.rst:1306 +#: library/mailbox.rst:1306 msgid "P flag" msgstr "" @@ -1332,14 +1309,12 @@ msgstr "" msgid "\"forwarded\" or \"resent\" label" msgstr "" -#: library/mailbox.rst:959 library/mailbox.rst:1098 library/mailbox.rst:1205 -#: library/mailbox.rst:1304 library/mailbox.rst:1322 library/mailbox.rst:1333 +#: library/mailbox.rst:1098 library/mailbox.rst:1304 library/mailbox.rst:1333 #: library/mailbox.rst:1469 msgid "\"answered\" label" msgstr "" -#: library/mailbox.rst:961 library/mailbox.rst:1096 library/mailbox.rst:1302 -#: library/mailbox.rst:1320 library/mailbox.rst:1467 +#: library/mailbox.rst:1096 library/mailbox.rst:1320 library/mailbox.rst:1467 msgid "\"deleted\" label" msgstr "" @@ -1368,31 +1343,31 @@ msgstr "" msgid "Conventional flags for mbox messages are as follows:" msgstr "" -#: library/mailbox.rst:991 library/mailbox.rst:1361 +#: library/mailbox.rst:1361 msgid "O" msgstr "O" -#: library/mailbox.rst:991 library/mailbox.rst:1361 +#: library/mailbox.rst:1361 msgid "Old" msgstr "" -#: library/mailbox.rst:991 library/mailbox.rst:1361 +#: library/mailbox.rst:1361 msgid "Previously detected by MUA" msgstr "" -#: library/mailbox.rst:993 library/mailbox.rst:1363 +#: library/mailbox.rst:1363 msgid "Deleted" msgstr "" -#: library/mailbox.rst:997 library/mailbox.rst:1367 +#: library/mailbox.rst:1367 msgid "A" msgstr "A" -#: library/mailbox.rst:997 library/mailbox.rst:1367 +#: library/mailbox.rst:1367 msgid "Answered" msgstr "" -#: library/mailbox.rst:1000 library/mailbox.rst:1370 +#: library/mailbox.rst:1370 msgid "" "The \"R\" and \"O\" flags are stored in the :mailheader:`Status` header, and " "the \"D\", \"F\", and \"A\" flags are stored in the :mailheader:`X-Status` " @@ -1403,14 +1378,14 @@ msgstr "" msgid ":class:`mboxMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1009 library/mailbox.rst:1380 +#: library/mailbox.rst:1380 msgid "" "Return a string representing the \"From \" line that marks the start of the " "message in an mbox mailbox. The leading \"From \" and the trailing newline " "are excluded." msgstr "" -#: library/mailbox.rst:1016 library/mailbox.rst:1387 +#: library/mailbox.rst:1387 msgid "" "Set the \"From \" line to *from_*, which should be specified without a " "leading \"From \" or trailing newline. For convenience, *time_* may be " @@ -1420,7 +1395,7 @@ msgid "" "meth:`time.gmtime`)." msgstr "" -#: library/mailbox.rst:1026 library/mailbox.rst:1397 +#: library/mailbox.rst:1397 msgid "" "Return a string specifying the flags that are currently set. If the message " "complies with the conventional format, the result is the concatenation in " @@ -1428,21 +1403,21 @@ msgid "" "``'D'``, ``'F'``, and ``'A'``." msgstr "" -#: library/mailbox.rst:1034 library/mailbox.rst:1405 +#: library/mailbox.rst:1405 msgid "" "Set the flags specified by *flags* and unset all others. Parameter *flags* " "should be the concatenation in any order of zero or more occurrences of each " "of ``'R'``, ``'O'``, ``'D'``, ``'F'``, and ``'A'``." msgstr "" -#: library/mailbox.rst:1041 library/mailbox.rst:1412 +#: library/mailbox.rst:1412 msgid "" "Set the flag(s) specified by *flag* without changing other flags. To add " "more than one flag at a time, *flag* may be a string of more than one " "character." msgstr "" -#: library/mailbox.rst:1048 library/mailbox.rst:1419 +#: library/mailbox.rst:1419 msgid "" "Unset the flag(s) specified by *flag* without changing other flags. To " "remove more than one flag at a time, *flag* maybe a string of more than one " @@ -1457,8 +1432,7 @@ msgid "" "conversions take place:" msgstr "" -#: library/mailbox.rst:1058 library/mailbox.rst:1172 library/mailbox.rst:1298 -#: library/mailbox.rst:1429 +#: library/mailbox.rst:1172 library/mailbox.rst:1429 msgid ":class:`MaildirMessage` state" msgstr "" @@ -1468,8 +1442,7 @@ msgid "" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1077 library/mailbox.rst:1092 library/mailbox.rst:1448 -#: library/mailbox.rst:1463 +#: library/mailbox.rst:1092 library/mailbox.rst:1463 msgid "R flag and O flag" msgstr "" @@ -1513,11 +1486,11 @@ msgstr "" msgid "Sequence" msgstr "Séquence" -#: library/mailbox.rst:1139 library/mailbox.rst:1226 +#: library/mailbox.rst:1226 msgid "unseen" msgstr "" -#: library/mailbox.rst:1139 library/mailbox.rst:1226 +#: library/mailbox.rst:1226 msgid "Not read, but previously detected by MUA" msgstr "" @@ -1555,7 +1528,7 @@ msgid "" "`MaildirMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1174 library/mailbox.rst:1300 +#: library/mailbox.rst:1300 msgid "no S flag" msgstr "" @@ -1567,7 +1540,7 @@ msgid "" "take place:" msgstr "" -#: library/mailbox.rst:1190 library/mailbox.rst:1318 +#: library/mailbox.rst:1318 msgid "no R flag" msgstr "" diff --git a/library/math.po b/library/math.po index 6dd64f2a..a99ab2bf 100644 --- a/library/math.po +++ b/library/math.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-10-09 21:42+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -96,7 +96,7 @@ msgstr "" "coefficient du *k*\\ :sup:`e` terme dans le développement polynomial de " "l'expression ``(1+x) ** n``." -#: library/math.rst:51 library/math.rst:260 +#: library/math.rst:260 msgid "" "Raises :exc:`TypeError` if either of the arguments are not integers. Raises :" "exc:`ValueError` if either of the arguments are negative." diff --git a/library/mimetypes.po b/library/mimetypes.po index 4da26ac7..650e19b6 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -91,7 +91,7 @@ msgid "" "the MIME type *type* by :func:`guess_type`." msgstr "" -#: library/mimetypes.rst:66 library/mimetypes.rst:78 +#: library/mimetypes.rst:78 msgid "" "The optional *strict* argument has the same meaning as with the :func:" "`guess_type` function." @@ -296,7 +296,7 @@ msgid "" "format of the standard :file:`mime.types` files." msgstr "" -#: library/mimetypes.rst:261 library/mimetypes.rst:271 +#: library/mimetypes.rst:271 msgid "" "If *strict* is ``True``, information will be added to the list of standard " "types, else to the list of non-standard types." diff --git a/library/mmap.po b/library/mmap.po index 90260e01..17c87be2 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\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 "" "`ALLOCATIONGRANULARITY`." msgstr "" -#: library/mmap.rst:70 library/mmap.rst:160 +#: library/mmap.rst:160 msgid "" "Raises an :ref:`auditing event ` ``mmap.__new__`` with arguments " "``fileno``, ``length``, ``access``, ``offset``." @@ -200,7 +200,7 @@ msgid "" "``-1`` on failure." msgstr "" -#: library/mmap.rst:184 library/mmap.rst:265 library/mmap.rst:297 +#: library/mmap.rst:265 library/mmap.rst:297 msgid "Writable :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." diff --git a/library/nis.po b/library/nis.po index 785d2ba5..005a39de 100644 --- a/library/nis.po +++ b/library/nis.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-09-27 15:11+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -52,13 +52,13 @@ msgstr "" "dictionnaire arbitraire d'octets (pourrait contenir ``NULL`` et autres " "joyeusetés)." -#: library/nis.rst:29 library/nis.rst:41 +#: library/nis.rst:41 msgid "Note that *mapname* is first checked if it is an alias to another name." msgstr "" "Notez que *mapname* est vérifié la première fois si c'est un alias d'un " "autre nom." -#: library/nis.rst:31 library/nis.rst:43 library/nis.rst:51 +#: library/nis.rst:43 library/nis.rst:51 msgid "" "The *domain* argument allows overriding the NIS domain used for the lookup. " "If unspecified, lookup is in the default NIS domain." diff --git a/library/nntplib.po b/library/nntplib.po index 09982a50..1acb12cb 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -64,7 +64,7 @@ msgid "" "close the NNTP connection when done, e.g.:" msgstr "" -#: library/nntplib.rst:83 library/nntplib.rst:115 +#: library/nntplib.rst:115 msgid "" "Raises an :ref:`auditing event ` ``nntplib.connect`` with " "arguments ``self``, ``host``, ``port``." @@ -76,7 +76,7 @@ msgid "" "arguments ``self``, ``line``." msgstr "" -#: library/nntplib.rst:86 library/nntplib.rst:118 +#: library/nntplib.rst:118 msgid "" "All commands will raise an :ref:`auditing event ` ``nntplib." "putline`` with arguments ``self`` and ``line``, where ``line`` is the bytes " @@ -91,7 +91,7 @@ msgstr "" msgid "Support for the :keyword:`with` statement was added." msgstr "La prise en charge de l'instruction :keyword:`with` a été ajoutée." -#: library/nntplib.rst:96 library/nntplib.rst:129 +#: library/nntplib.rst:129 msgid "" "If the *timeout* parameter is set to be zero, it will raise a :class:" "`ValueError` to prevent the creation of a non-blocking socket." diff --git a/library/numbers.po b/library/numbers.po index 873643d1..c6c5d867 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-05-30 23:41+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -113,7 +113,7 @@ msgstr "" "et :attr:`~Rational.denominator` qui doivent être les plus petits possible. " "Avec celles-ci, il fournit une valeur par défaut pour :func:`float`." -#: library/numbers.rst:68 library/numbers.rst:72 +#: library/numbers.rst:72 msgid "Abstract." msgstr "Abstrait." diff --git a/library/operator.po b/library/operator.po index b1e76cb8..efd42954 100644 --- a/library/operator.po +++ b/library/operator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-12-11 22:46+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -287,7 +287,7 @@ msgstr "" "Après ``f = attrgetter('name.first', 'name.last')``, l'appel ``f(b)`` " "renvoie ``(b.name.first, b.name.last)``." -#: library/operator.rst:270 library/operator.rst:302 library/operator.rst:353 +#: library/operator.rst:302 library/operator.rst:353 msgid "Equivalent to::" msgstr "Équivalent à ::" @@ -414,7 +414,7 @@ msgstr "``obj in seq``" msgid "``contains(seq, obj)``" msgstr "``contains(seq, obj)``" -#: library/operator.rst:378 library/operator.rst:380 +#: library/operator.rst:380 msgid "Division" msgstr "Division" @@ -494,7 +494,7 @@ msgstr "``a ** b``" msgid "``pow(a, b)``" msgstr "``pow(a, b)``" -#: library/operator.rst:392 library/operator.rst:394 +#: library/operator.rst:394 msgid "Identity" msgstr "Identité" @@ -718,8 +718,7 @@ msgstr "``obj``" msgid "``truth(obj)``" msgstr "``truth(obj)``" -#: library/operator.rst:430 library/operator.rst:432 library/operator.rst:438 -#: library/operator.rst:440 +#: library/operator.rst:432 library/operator.rst:440 msgid "Ordering" msgstr "Ordre" diff --git a/library/optparse.po b/library/optparse.po index 81ba60a5..023270e0 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-03 10:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -63,7 +63,7 @@ msgid "" msgstr "" #: library/optparse.rst:58 -msgid "Additionally, users can run one of ::" +msgid "Additionally, users can run one of the following ::" msgstr "" #: library/optparse.rst:63 @@ -516,35 +516,35 @@ msgstr "" msgid "Some other actions supported by :mod:`optparse` are:" msgstr "" -#: library/optparse.rst:407 library/optparse.rst:928 +#: library/optparse.rst:928 msgid "``\"store_const\"``" msgstr "``\"store_const\"``" -#: library/optparse.rst:407 library/optparse.rst:928 +#: library/optparse.rst:928 msgid "store a constant value" msgstr "" -#: library/optparse.rst:410 library/optparse.rst:937 +#: library/optparse.rst:937 msgid "``\"append\"``" msgstr "``\"append\"``" -#: library/optparse.rst:410 library/optparse.rst:937 +#: library/optparse.rst:937 msgid "append this option's argument to a list" msgstr "" -#: library/optparse.rst:413 library/optparse.rst:943 +#: library/optparse.rst:943 msgid "``\"count\"``" msgstr "``\"count\"``" -#: library/optparse.rst:413 library/optparse.rst:943 +#: library/optparse.rst:943 msgid "increment a counter by one" msgstr "" -#: library/optparse.rst:416 library/optparse.rst:946 +#: library/optparse.rst:946 msgid "``\"callback\"``" msgstr "``\"callback\"``" -#: library/optparse.rst:416 library/optparse.rst:946 +#: library/optparse.rst:946 msgid "call a specified function" msgstr "" @@ -711,7 +711,7 @@ msgstr "" msgid "An option group is obtained using the class :class:`OptionGroup`:" msgstr "" -#: library/optparse.rst:568 library/optparse.rst:1620 +#: library/optparse.rst:1620 #, fuzzy msgid "where" msgstr "où :" @@ -1123,7 +1123,7 @@ msgstr "``\"append_const\"``" msgid "append a constant value to a list" msgstr "" -#: library/optparse.rst:949 library/optparse.rst:1226 +#: library/optparse.rst:1226 msgid "``\"help\"``" msgstr "``\"help\"``" @@ -1213,7 +1213,7 @@ msgid "" "standard-option-types>`." msgstr "" -#: library/optparse.rst:1017 library/optparse.rst:1067 +#: library/optparse.rst:1067 msgid "(default: derived from option strings)" msgstr "" @@ -1325,9 +1325,8 @@ msgid "" "destination from the first short option string (e.g., ``-f`` implies ``f``)." msgstr "" -#: library/optparse.rst:1103 library/optparse.rst:1123 -#: library/optparse.rst:1145 library/optparse.rst:1163 -#: library/optparse.rst:1202 library/optparse.rst:1240 +#: library/optparse.rst:1123 library/optparse.rst:1163 +#: library/optparse.rst:1240 msgid "Example::" msgstr "Exemple ::" @@ -1586,8 +1585,7 @@ msgstr "" msgid "where the input parameters are" msgstr "" -#: library/optparse.rst:1331 library/optparse.rst:1345 -#: library/optparse.rst:1664 +#: library/optparse.rst:1345 library/optparse.rst:1664 msgid "``args``" msgstr "``args``" diff --git a/library/os.path.po b/library/os.path.po index 3bec0c72..fc2df4f5 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-11-29 18:28+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -125,15 +125,11 @@ msgstr "" "plupart des plates-formes, cela équivaut à appeler la fonction :func:" "`normpath` comme suit : ``normpath(join(os.getcwd(), chemin))```." -#: library/os.path.rst:70 library/os.path.rst:83 library/os.path.rst:123 -#: library/os.path.rst:132 library/os.path.rst:148 library/os.path.rst:158 -#: library/os.path.rst:184 library/os.path.rst:204 library/os.path.rst:221 -#: library/os.path.rst:233 library/os.path.rst:242 library/os.path.rst:252 -#: library/os.path.rst:262 library/os.path.rst:272 library/os.path.rst:282 -#: library/os.path.rst:301 library/os.path.rst:332 library/os.path.rst:344 -#: library/os.path.rst:358 library/os.path.rst:376 library/os.path.rst:394 -#: library/os.path.rst:407 library/os.path.rst:423 library/os.path.rst:439 -#: library/os.path.rst:460 library/os.path.rst:471 +#: library/os.path.rst:83 library/os.path.rst:132 library/os.path.rst:158 +#: library/os.path.rst:204 library/os.path.rst:233 library/os.path.rst:252 +#: library/os.path.rst:272 library/os.path.rst:301 library/os.path.rst:344 +#: library/os.path.rst:376 library/os.path.rst:407 library/os.path.rst:439 +#: library/os.path.rst:471 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -159,8 +155,7 @@ msgid "" "empty. Unlike :func:`commonprefix`, this returns a valid path." msgstr "" -#: library/os.path.rst:96 library/os.path.rst:375 library/os.path.rst:387 -#: library/os.path.rst:403 library/os.path.rst:419 +#: library/os.path.rst:375 library/os.path.rst:403 library/os.path.rst:419 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`Disponibilité ` : Unix, Windows." @@ -408,7 +403,7 @@ msgid "" "raises an exception if an :func:`os.stat` call on either pathname fails." msgstr "" -#: library/os.path.rst:388 library/os.path.rst:404 library/os.path.rst:420 +#: library/os.path.rst:404 library/os.path.rst:420 msgid "Added Windows support." msgstr "Prise en charge de Windows." diff --git a/library/os.po b/library/os.po index 51e903e3..f33616c7 100644 --- a/library/os.po +++ b/library/os.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-06-08 12:50+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -190,39 +190,23 @@ msgstr "" "Renvoie l'identifiant de fichier correspondant au terminal contrôlant le " "processus." -#: library/os.rst:100 library/os.rst:264 library/os.rst:273 library/os.rst:282 -#: library/os.rst:292 library/os.rst:301 library/os.rst:336 library/os.rst:344 -#: library/os.rst:381 library/os.rst:392 library/os.rst:402 library/os.rst:412 -#: library/os.rst:422 library/os.rst:432 library/os.rst:464 library/os.rst:471 -#: library/os.rst:478 library/os.rst:488 library/os.rst:499 library/os.rst:508 -#: library/os.rst:526 library/os.rst:534 library/os.rst:542 library/os.rst:551 -#: library/os.rst:559 library/os.rst:566 library/os.rst:573 library/os.rst:582 -#: library/os.rst:781 library/os.rst:793 library/os.rst:802 library/os.rst:824 -#: library/os.rst:845 library/os.rst:882 library/os.rst:903 library/os.rst:915 -#: library/os.rst:1085 library/os.rst:1100 library/os.rst:1115 -#: library/os.rst:1128 library/os.rst:1197 library/os.rst:1297 -#: library/os.rst:1317 library/os.rst:1329 library/os.rst:1347 -#: library/os.rst:1356 library/os.rst:1364 library/os.rst:1373 -#: library/os.rst:1409 library/os.rst:1657 library/os.rst:1726 -#: library/os.rst:1740 library/os.rst:1753 library/os.rst:1780 -#: library/os.rst:1795 library/os.rst:1808 library/os.rst:1994 -#: library/os.rst:2016 library/os.rst:2060 library/os.rst:2071 -#: library/os.rst:2745 library/os.rst:2899 library/os.rst:3128 -#: library/os.rst:3425 library/os.rst:3433 library/os.rst:3440 -#: library/os.rst:3447 library/os.rst:3454 library/os.rst:3461 -#: library/os.rst:3468 library/os.rst:3475 library/os.rst:3483 -#: library/os.rst:3491 library/os.rst:3498 library/os.rst:3505 -#: library/os.rst:3514 library/os.rst:3522 library/os.rst:3530 -#: library/os.rst:3537 library/os.rst:3544 library/os.rst:3565 -#: library/os.rst:3620 library/os.rst:3627 library/os.rst:3648 -#: library/os.rst:3764 library/os.rst:3812 library/os.rst:4026 -#: library/os.rst:4047 library/os.rst:4058 library/os.rst:4078 -#: library/os.rst:4093 library/os.rst:4148 library/os.rst:4162 -#: library/os.rst:4200 library/os.rst:4216 library/os.rst:4230 -#: library/os.rst:4241 library/os.rst:4253 library/os.rst:4260 -#: library/os.rst:4269 library/os.rst:4278 library/os.rst:4287 -#: library/os.rst:4296 library/os.rst:4442 library/os.rst:4451 -#: library/os.rst:4472 library/os.rst:4482 library/os.rst:4491 +#: library/os.rst:264 library/os.rst:282 library/os.rst:301 library/os.rst:344 +#: library/os.rst:392 library/os.rst:412 library/os.rst:432 library/os.rst:471 +#: library/os.rst:488 library/os.rst:508 library/os.rst:534 library/os.rst:551 +#: library/os.rst:566 library/os.rst:582 library/os.rst:793 library/os.rst:824 +#: library/os.rst:882 library/os.rst:915 library/os.rst:1100 +#: library/os.rst:1128 library/os.rst:1297 library/os.rst:1329 +#: library/os.rst:1356 library/os.rst:1373 library/os.rst:1657 +#: library/os.rst:1740 library/os.rst:1780 library/os.rst:1808 +#: library/os.rst:2018 library/os.rst:2073 library/os.rst:2903 +#: library/os.rst:3432 library/os.rst:3447 library/os.rst:3461 +#: library/os.rst:3475 library/os.rst:3490 library/os.rst:3505 +#: library/os.rst:3521 library/os.rst:3537 library/os.rst:3551 +#: library/os.rst:3627 library/os.rst:3655 library/os.rst:3819 +#: library/os.rst:4054 library/os.rst:4085 library/os.rst:4155 +#: library/os.rst:4207 library/os.rst:4237 library/os.rst:4260 +#: library/os.rst:4276 library/os.rst:4294 library/os.rst:4449 +#: library/os.rst:4479 library/os.rst:4498 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -302,7 +286,7 @@ msgstr "" "quand un élément est supprimé de ``os.environ``, ou quand l'une des " "méthodes :meth:`pop` ou :meth:`clear` est appelée." -#: library/os.rst:138 library/os.rst:154 +#: library/os.rst:154 msgid "" "Updated to support :pep:`584`'s merge (``|``) and update (``|=``) operators." msgstr "" @@ -346,7 +330,7 @@ msgstr "" msgid ":func:`fsdecode` is the reverse function." msgstr ":func:`fsdecode` est la fonction inverse." -#: library/os.rst:176 library/os.rst:191 +#: library/os.rst:191 msgid "" "Support added to accept objects implementing the :class:`os.PathLike` " "interface." @@ -544,11 +528,9 @@ msgstr "" "l'utilisateur, et se replie finalement sur ``pwd.getpwduid(os.getuid())[0]`` " "pour avoir le nom lié à l'identifiant de l'utilisateur courant." -#: library/os.rst:328 library/os.rst:363 library/os.rst:857 library/os.rst:869 -#: library/os.rst:1061 library/os.rst:1435 library/os.rst:1824 -#: library/os.rst:2094 library/os.rst:2879 library/os.rst:2913 -#: library/os.rst:3392 library/os.rst:3897 library/os.rst:3908 -#: library/os.rst:3984 library/os.rst:4008 +#: library/os.rst:363 library/os.rst:869 library/os.rst:1435 +#: library/os.rst:2096 library/os.rst:2917 library/os.rst:3904 +#: library/os.rst:3991 library/os.rst:4015 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`Disponibilité ` : Unix, Windows." @@ -885,7 +867,7 @@ msgstr "" msgid ":ref:`Availability `: recent flavors of Unix." msgstr ":ref:`Disponibilité ` : dérivés récents de Unix." -#: library/os.rst:633 library/os.rst:4009 +#: library/os.rst:4016 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1075,7 +1057,7 @@ msgstr "" "2 : *stderr*), le nouveau descripteur de fichier est :ref:`héritable " "`." -#: library/os.rst:755 library/os.rst:957 +#: library/os.rst:957 msgid "The new file descriptor is now non-inheritable." msgstr "Le nouveau descripteur de fichier est maintenant non-héritable." @@ -1110,7 +1092,7 @@ msgstr "" "la documentation de :func:`chmod` pour les valeurs possibles de *mode*. " "Depuis Python 3.3, c'est équivalent à ``os.chmod(fd, mode)``." -#: library/os.rst:780 library/os.rst:1702 library/os.rst:1793 +#: library/os.rst:1702 library/os.rst:1793 msgid "" "Raises an :ref:`auditing event ` ``os.chmod`` with arguments " "``path``, ``mode``, ``dir_fd``." @@ -1127,7 +1109,7 @@ msgstr "" "inchangés, mettez-le à ``-1``. Voir :func:`chown`. Depuis Python 3.3, c'est " "équivalent à ``os.chown(fd, uid, gid)``." -#: library/os.rst:792 library/os.rst:1724 library/os.rst:1806 +#: library/os.rst:1724 library/os.rst:1806 msgid "" "Raises an :ref:`auditing event ` ``os.chown`` with arguments " "``path``, ``uid``, ``gid``, ``dir_fd``." @@ -1165,7 +1147,7 @@ msgstr "" "sont pas inclues dans ce *mapping*, passer un entier pour *name* est " "également accepté." -#: library/os.rst:817 library/os.rst:2051 +#: library/os.rst:2053 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 " @@ -1193,7 +1175,7 @@ msgstr "" msgid "As of Python 3.3, this is equivalent to ``os.stat(fd)``." msgstr "Depuis Python 3.3, c'est équivalent à ``os.stat(fd)``." -#: library/os.rst:836 library/os.rst:1887 +#: library/os.rst:1889 msgid "The :func:`.stat` function." msgstr "La fonction :func:`.stat`." @@ -1244,7 +1226,7 @@ msgid "" "``fd``, ``length``." msgstr "" -#: library/os.rst:870 library/os.rst:2916 +#: library/os.rst:2920 msgid "Added support for Windows" msgstr "Prise en charge de Windows" @@ -1378,13 +1360,11 @@ msgstr "" "Pour envelopper un descripteur de fichier dans un fichier objet, utilisez :" "func:`fdopen`." -#: library/os.rst:967 library/os.rst:1927 library/os.rst:1995 -#: library/os.rst:2017 library/os.rst:2098 library/os.rst:2128 +#: library/os.rst:1929 library/os.rst:2019 library/os.rst:2130 msgid "The *dir_fd* argument." msgstr "L'argument *dir_fd*." -#: library/os.rst:970 library/os.rst:1264 library/os.rst:1390 -#: library/os.rst:4130 +#: library/os.rst:1264 library/os.rst:4137 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 :" @@ -1394,16 +1374,11 @@ msgstr "" "aucune exception, la fonction réessaye l'appel système au lieu de lever une :" "exc:`InterruptedError` (voir la :pep:`475` à propos du raisonnement)." -#: library/os.rst:975 library/os.rst:1598 library/os.rst:1630 -#: library/os.rst:1661 library/os.rst:1707 library/os.rst:1741 -#: library/os.rst:1781 library/os.rst:1796 library/os.rst:1809 -#: library/os.rst:1866 library/os.rst:1930 library/os.rst:1971 -#: library/os.rst:1998 library/os.rst:2020 library/os.rst:2061 -#: library/os.rst:2131 library/os.rst:2150 library/os.rst:2236 -#: library/os.rst:2507 library/os.rst:2758 library/os.rst:2919 -#: library/os.rst:2935 library/os.rst:2975 library/os.rst:3070 -#: library/os.rst:3131 library/os.rst:3218 library/os.rst:3397 -#: library/os.rst:3885 +#: library/os.rst:1598 library/os.rst:1661 library/os.rst:1741 +#: library/os.rst:1796 library/os.rst:1868 library/os.rst:1973 +#: library/os.rst:2022 library/os.rst:2133 library/os.rst:2238 +#: library/os.rst:2762 library/os.rst:2939 library/os.rst:3077 +#: library/os.rst:3225 library/os.rst:3892 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -1468,11 +1443,11 @@ msgstr "" "`. Pour une approche (légèrement) plus portable, utilisez le " "module :mod:`pty`." -#: library/os.rst:1049 library/os.rst:1075 library/os.rst:3582 +#: library/os.rst:1075 library/os.rst:3589 msgid ":ref:`Availability `: some flavors of Unix." msgstr ":ref:`Disponibilité ` : certains dérivés Unix." -#: library/os.rst:1050 library/os.rst:1062 +#: library/os.rst:1062 msgid "The new file descriptors are now non-inheritable." msgstr "Les nouveaux descripteurs de fichiers sont maintenant non-héritables." @@ -1541,7 +1516,7 @@ msgstr "" "Lit au maximum *n* octets depuis le descripteur de fichier *fd* à la " "position *offset* sans modifier cette position." -#: library/os.rst:1124 library/os.rst:1253 +#: library/os.rst:1253 msgid "" "Return a bytestring containing the bytes read. If the end of the file " "referred to by *fd* has been reached, an empty bytes object is returned." @@ -1561,7 +1536,7 @@ msgstr "" "modifier la position dans le fichier. Les données sont transférées dans " "chaque tampon, jusqu'à ce qu'il soit plein, tour à tour." -#: library/os.rst:1139 library/os.rst:1209 +#: library/os.rst:1209 msgid "" "The flags argument contains a bitwise OR of zero or more of the following " "flags:" @@ -1577,7 +1552,7 @@ msgstr ":data:`RWF_HIPRI`" msgid ":data:`RWF_NOWAIT`" msgstr ":data:`RWF_NOWAIT`" -#: library/os.rst:1145 library/os.rst:1340 +#: library/os.rst:1340 msgid "" "Return the total number of bytes actually read which can be less than the " "total capacity of all the objects." @@ -1585,8 +1560,7 @@ msgstr "" "Renvoie le nombre total d'octets réellement lus, qui peut être inférieur à " "la capacité totale de tous les objets." -#: library/os.rst:1148 library/os.rst:1217 library/os.rst:1343 -#: library/os.rst:1405 +#: library/os.rst:1217 library/os.rst:1405 msgid "" "The operating system may set a limit (:func:`sysconf` value " "``'SC_IOV_MAX'``) on the number of buffers that can be used." @@ -1662,7 +1636,7 @@ msgstr "" "Écrit la chaîne d'octets de *str* dans le descripteur de fichier *fd* à la " "position *offset* en laissant la position dans le fichier inchangée." -#: library/os.rst:1194 library/os.rst:1380 +#: library/os.rst:1380 msgid "Return the number of bytes actually written." msgstr "Renvoie le nombre d'octets effectivement écrits." @@ -1717,7 +1691,7 @@ msgstr "" "``open(2)``. L' effet de cette option s'applique uniquement à la plage de " "données écrite par l'appel système." -#: library/os.rst:1235 library/os.rst:1245 +#: library/os.rst:1245 msgid ":ref:`Availability `: Linux 4.7 and newer." msgstr ":ref:`Disponibilité ` : Linux 4.7 et ultérieures." @@ -2030,8 +2004,7 @@ msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" "Récupère le marqueur « héritable » (booléen) de l'identificateur spécifié." -#: library/os.rst:1484 library/os.rst:1490 library/os.rst:3324 -#: library/os.rst:3920 library/os.rst:3951 +#: library/os.rst:1490 library/os.rst:3927 library/os.rst:3958 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -2255,7 +2228,7 @@ msgstr "" "Cette fonction peut lever :exc:`OSError` et des sous-classes telles que :exc:" "`FileNotFoundError`, :exc:`PermissionError` et :exc:`NotADirectoryError`." -#: library/os.rst:1625 library/os.rst:1752 +#: library/os.rst:1752 msgid "" "Raises an :ref:`auditing event ` ``os.chdir`` with argument " "``path``." @@ -2333,7 +2306,7 @@ msgstr "" "Cette fonction prend en charge :ref:`le suivi des liens symboliques " "`." -#: library/os.rst:1655 library/os.rst:1778 +#: library/os.rst:1778 msgid "" "Raises an :ref:`auditing event ` ``os.chflags`` with arguments " "``path``, ``flags``." @@ -2429,7 +2402,7 @@ msgstr ":data:`stat.S_IWOTH`" msgid ":data:`stat.S_IXOTH`" msgstr ":data:`stat.S_IXOTH`" -#: library/os.rst:1691 library/os.rst:1716 library/os.rst:2965 +#: library/os.rst:1716 library/os.rst:2969 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " @@ -2451,7 +2424,7 @@ msgstr "" "et ``stat.S_IREAD`` ou une constante entière correspondante). Tous les " "autres bits sont ignorés." -#: library/os.rst:1703 library/os.rst:1727 +#: library/os.rst:1727 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd* and *follow_symlinks* arguments." @@ -2575,23 +2548,25 @@ msgstr "Prise en charge de Windows." msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments." msgstr "Arguments *src_dir_fd*, *dst_dir_fd*, et *follow_symlinks* ajoutés." -#: library/os.rst:1831 library/os.rst:1895 library/os.rst:2180 -#: library/os.rst:2217 library/os.rst:2887 +#: library/os.rst:1897 library/os.rst:2219 library/os.rst:2891 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "Accepte un :term:`path-like object` pour *src* et *dst*." #: library/os.rst:1837 +#, fuzzy msgid "" "Return a list containing the names of the entries in the directory given by " "*path*. The list is in arbitrary order, and does not include the special " -"entries ``'.'`` and ``'..'`` even if they are present in the directory." +"entries ``'.'`` and ``'..'`` even if they are present in the directory. If a " +"file is removed from or added to the directory during the call of this " +"function, whether a name for that file be included is unspecified." msgstr "" "Renvoie une liste contenant le nom des entrées dans le répertoire donné par " "*path*. La liste est dans un ordre arbitraire et n'inclut pas les entrées " "spéciales ``'.'`` et ``'..'`` même si elles sont présentes dans le " "répertoire." -#: library/os.rst:1841 +#: library/os.rst:1843 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the " @@ -2603,7 +2578,7 @@ msgstr "" "`PathLike`), les noms de fichiers renvoyés seront aussi de type ``bytes`` ; " "dans toutes les autres circonstances, ils seront de type ``str``." -#: library/os.rst:1846 library/os.rst:2263 +#: library/os.rst:2267 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." @@ -2611,19 +2586,19 @@ msgstr "" "Cette fonction peut également gérer :ref:`la spécification de descripteurs " "de fichiers`. Le descripteur doit référencer un répertoire." -#: library/os.rst:1850 +#: library/os.rst:1852 msgid "" "Raises an :ref:`auditing event ` ``os.listdir`` with argument " "``path``." msgstr "" -#: library/os.rst:1852 +#: library/os.rst:1854 msgid "To encode ``str`` filenames to ``bytes``, use :func:`~os.fsencode`." msgstr "" "Pour encoder des noms de fichiers de type ``str`` en ``bytes``, utilisez la " "fonction :func:`~os.encode`." -#: library/os.rst:1856 +#: library/os.rst:1858 msgid "" "The :func:`scandir` function returns directory entries along with file " "attribute information, giving better performance for many common use cases." @@ -2632,17 +2607,17 @@ msgstr "" "leurs attributs , offrant une meilleure performance pour beaucoup de cas " "utilisés fréquemment." -#: library/os.rst:1860 +#: library/os.rst:1862 msgid "The *path* parameter became optional." msgstr "Le paramètre *path* est devenu optionnel." -#: library/os.rst:1863 library/os.rst:2749 +#: library/os.rst:2753 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" "ajout de la possibilité de spécifier *path* comme descripteur de fichier " "ouvert." -#: library/os.rst:1872 +#: library/os.rst:1874 msgid "" "Perform the equivalent of an :c:func:`lstat` system call on the given path. " "Similar to :func:`~os.stat`, but does not follow symbolic links. Return a :" @@ -2652,7 +2627,7 @@ msgstr "" "donné. Similaire à :func:`~os.stat` mais ne suit pas les liens symboliques. " "Renvoie un objet de type :class:`stat_result`." -#: library/os.rst:1876 +#: library/os.rst:1878 msgid "" "On platforms that do not support symbolic links, this is an alias for :func:" "`~os.stat`." @@ -2660,7 +2635,7 @@ msgstr "" "Sur les plate-formes qui ne gérant pas les liens symboliques, c'est un alias " "pour :func:`~os.stat`." -#: library/os.rst:1879 +#: library/os.rst:1881 msgid "" "As of Python 3.3, this is equivalent to ``os.stat(path, dir_fd=dir_fd, " "follow_symlinks=False)``." @@ -2668,8 +2643,7 @@ msgstr "" "Depuis Python 3.3, c'est équivalent à ``os.stat(path, dir_fd=dir_fd, " "follow_symlinks=False)``." -#: library/os.rst:1882 library/os.rst:1919 library/os.rst:1984 -#: library/os.rst:2012 library/os.rst:2086 +#: library/os.rst:1921 library/os.rst:2014 library/os.rst:2088 msgid "" "This function can also support :ref:`paths relative to directory descriptors " "`." @@ -2677,15 +2651,15 @@ msgstr "" "Cette fonction peut également gérer :ref:`des chemins relatifs à des " "descripteurs de répertoires `." -#: library/os.rst:1889 library/os.rst:2095 library/os.rst:2880 +#: library/os.rst:2097 library/os.rst:2884 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "Prise en charge des les liens symboliques sur Windows 6.0 (Vista)." -#: library/os.rst:1892 +#: library/os.rst:1894 msgid "Added the *dir_fd* parameter." msgstr "Paramètre *dir_fd* ajouté." -#: library/os.rst:1898 +#: library/os.rst:1900 msgid "" "On Windows, now opens reparse points that represent another path (name " "surrogates), including symbolic links and directory junctions. Other kinds " @@ -2693,16 +2667,16 @@ msgid "" "stat`." msgstr "" -#: library/os.rst:1907 +#: library/os.rst:1909 msgid "Create a directory named *path* with numeric mode *mode*." msgstr "" "Crée un répertoire appelé *path* avec pour mode, la valeur numérique *mode*." -#: library/os.rst:1909 +#: library/os.rst:1911 msgid "If the directory already exists, :exc:`FileExistsError` is raised." msgstr "Si le répertoire existe déjà, :exc:`FileExistsError` est levée." -#: library/os.rst:1913 +#: library/os.rst:1915 msgid "" "On some systems, *mode* is ignored. Where it is used, the current umask " "value is first masked out. If bits other than the last 9 (i.e. the last 3 " @@ -2717,7 +2691,7 @@ msgstr "" "plate-forme. Sous certaines plate-formes, ils seront ignorés et vous devrez " "appeler explicitement :func:`chmod` pour les modifier." -#: library/os.rst:1922 +#: library/os.rst:1924 msgid "" "It is also possible to create temporary directories; see the :mod:`tempfile` " "module's :func:`tempfile.mkdtemp` function." @@ -2725,13 +2699,13 @@ msgstr "" "Il est également possible de créer des répertoires temporaires, voir la " "fonction :func:`tempfile.mkdtemp` du module :mod:`tempfile`." -#: library/os.rst:1926 library/os.rst:1960 +#: library/os.rst:1962 msgid "" "Raises an :ref:`auditing event ` ``os.mkdir`` with arguments " "``path``, ``mode``, ``dir_fd``." msgstr "" -#: library/os.rst:1940 +#: library/os.rst:1942 msgid "" "Recursive directory creation function. Like :func:`mkdir`, but makes all " "intermediate-level directories needed to contain the leaf directory." @@ -2740,7 +2714,7 @@ msgstr "" "tous les répertoires de niveau intermédiaire nécessaires pour contenir le " "répertoire « feuille »." -#: library/os.rst:1943 +#: library/os.rst:1945 msgid "" "The *mode* parameter is passed to :func:`mkdir` for creating the leaf " "directory; see :ref:`the mkdir() description ` for how it is " @@ -2755,7 +2729,7 @@ msgstr "" "valeur de *umask* avant d'invoquer :func:`makedirs`. Les bits de permissions " "des répertoires intermédiaires déjà existants ne sont pas modifiés." -#: library/os.rst:1949 +#: library/os.rst:1951 msgid "" "If *exist_ok* is ``False`` (the default), an :exc:`FileExistsError` is " "raised if the target directory already exists." @@ -2763,7 +2737,7 @@ msgstr "" "Si *exist_ok* vaut ``False`` (valeur par défaut), une :exc:`FileExistsError` " "est levée si le répertoire cible existe déjà." -#: library/os.rst:1954 +#: library/os.rst:1956 msgid "" ":func:`makedirs` will become confused if the path elements to create " "include :data:`pardir` (eg. \"..\" on UNIX systems)." @@ -2771,15 +2745,15 @@ msgstr "" "Un appel à :func:`makedirs` est confus si les éléments du chemin à créer " "contiennent :data:`pardir` (par exemple, ``\"..\"`` sur les systèmes UNIX)." -#: library/os.rst:1957 +#: library/os.rst:1959 msgid "This function handles UNC paths correctly." msgstr "Cette fonction gère les chemins UNC correctement." -#: library/os.rst:1961 +#: library/os.rst:1963 msgid "The *exist_ok* parameter." msgstr "Le paramètre *exist_ok*." -#: library/os.rst:1966 +#: library/os.rst:1968 msgid "" "Before Python 3.4.1, if *exist_ok* was ``True`` and the directory existed, :" "func:`makedirs` would still raise an error if *mode* did not match the mode " @@ -2792,7 +2766,7 @@ msgstr "" "pas possible ) implémenter de manière sécurisée, il a été retiré pour Python " "3.4.1. Voir :issue:`21082`." -#: library/os.rst:1974 +#: library/os.rst:1976 msgid "" "The *mode* argument no longer affects the file permission bits of newly-" "created intermediate-level directories." @@ -2800,7 +2774,7 @@ msgstr "" "L'argument *mode* n'affecte plus les bits d'autorisation de fichier des " "répertoires intermédiaires créés." -#: library/os.rst:1981 +#: library/os.rst:1983 msgid "" "Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The " "current umask value is first masked out from the mode." @@ -2809,7 +2783,7 @@ msgstr "" "appelé *path* avec le mode numérique *mode*. La valeur actuelle de *umask* " "est d'abord masquée du mode." -#: library/os.rst:1987 +#: library/os.rst:1989 msgid "" "FIFOs are pipes that can be accessed like regular files. FIFOs exist until " "they are deleted (for example with :func:`os.unlink`). Generally, FIFOs are " @@ -2826,7 +2800,7 @@ msgstr "" "Notez que :func:`mkfifo` n'ouvre pas le FIFO — il crée juste un point de " "rendez-vous." -#: library/os.rst:2004 +#: library/os.rst:2006 msgid "" "Create a filesystem node (file, device special file or named pipe) named " "*path*. *mode* specifies both the permissions to use and the type of node to " @@ -2845,7 +2819,7 @@ msgstr "" "définit le fichier spécial de périphérique tout juste créé (probablement en " "utilisant :func:`os.makedev`), sinon, cet argument est ignoré." -#: library/os.rst:2026 +#: library/os.rst:2028 msgid "" "Extract the device major number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:type:`stat`)." @@ -2854,7 +2828,7 @@ msgstr "" "(habituellement le champ :attr:`st_dev` ou :attr:`st_rdev` de :c:type:" "`stat`)." -#: library/os.rst:2032 +#: library/os.rst:2034 msgid "" "Extract the device minor number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:type:`stat`)." @@ -2863,13 +2837,13 @@ msgstr "" "(habituellement le champ :attr:`st_dev` ou :attr:`st_rdev` de :c:type:" "`stat`)." -#: library/os.rst:2038 +#: library/os.rst:2040 msgid "Compose a raw device number from the major and minor device numbers." msgstr "" "Compose un nombre de périphérique brut à partir des nombres de périphérique " "mineur et majeur." -#: library/os.rst:2043 +#: library/os.rst:2045 msgid "" "Return system configuration information relevant to a named file. *name* " "specifies the configuration value to retrieve; it may be a string which is " @@ -2889,14 +2863,14 @@ msgstr "" "configuration non incluses dans ce *mapping*, passer un entier pour *name* " "est également accepté." -#: library/os.rst:2056 library/os.rst:2742 library/os.rst:2908 +#: library/os.rst:2746 library/os.rst:2912 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" "Cette fonction prend en charge :ref:`la spécification d'un descripteur de " "fichier `." -#: library/os.rst:2067 +#: library/os.rst:2069 msgid "" "Dictionary mapping names accepted by :func:`pathconf` and :func:`fpathconf` " "to the integer values defined for those names by the host operating system. " @@ -2907,7 +2881,7 @@ msgstr "" "d'exploitation hôte. Cette variable peut être utilisée pour déterminer " "l'ensemble des noms connus du système d'exploitation." -#: library/os.rst:2076 +#: library/os.rst:2078 msgid "" "Return a string representing the path to which the symbolic link points. " "The result may be either an absolute or relative pathname; if it is " @@ -2919,7 +2893,7 @@ msgstr "" "chemin absolu. S'il est relatif, il peut être converti en chemin absolu en " "utilisant ``os.path.join(os.path.dirname(path), result)``." -#: library/os.rst:2081 +#: library/os.rst:2083 msgid "" "If the *path* is a string object (directly or indirectly through a :class:" "`PathLike` interface), the result will also be a string object, and the call " @@ -2932,7 +2906,7 @@ msgstr "" "une chaîne d'octets (directement ou indirectement), le résultat sera une " "chaîne d'octets." -#: library/os.rst:2089 +#: library/os.rst:2091 msgid "" "When trying to resolve a path that may contain links, use :func:`~os.path." "realpath` to properly handle recursion and platform differences." @@ -2941,23 +2915,23 @@ msgstr "" "utilisez :func:`~os.path.realpath` pour gérer correctement la récursion et " "les différences de plate-forme." -#: library/os.rst:2101 +#: library/os.rst:2103 msgid "Accepts a :term:`path-like object` on Unix." msgstr "Accepte un :term:`path-like object` sur Unix." -#: library/os.rst:2104 +#: library/os.rst:2106 msgid "Accepts a :term:`path-like object` and a bytes object on Windows." msgstr "" "Accepte un :term:`path-like object` et une chaine d’octets sous Windows." -#: library/os.rst:2107 +#: library/os.rst:2109 msgid "" "Added support for directory junctions, and changed to return the " "substitution path (which typically includes ``\\\\?\\`` prefix) rather than " "the optional \"print name\" field that was previously returned." msgstr "" -#: library/os.rst:2114 +#: library/os.rst:2116 msgid "" "Remove (delete) the file *path*. If *path* is a directory, an :exc:" "`IsADirectoryError` is raised. Use :func:`rmdir` to remove directories." @@ -2966,7 +2940,7 @@ msgstr "" "`IsADirectoryError` est levée. Utilisez :func:`rmdir` pour supprimer les " "répertoires." -#: library/os.rst:2117 library/os.rst:2228 library/os.rst:2862 +#: library/os.rst:2230 library/os.rst:2866 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." @@ -2974,7 +2948,7 @@ msgstr "" "Cette fonction prend en charge :ref:`des chemins relatifs à des descripteurs " "de répertories `." -#: library/os.rst:2120 +#: library/os.rst:2122 msgid "" "On Windows, attempting to remove a file that is in use causes an exception " "to be raised; on Unix, the directory entry is removed but the storage " @@ -2986,17 +2960,17 @@ msgstr "" "l'espace de stockage alloué au fichier ne sera pas disponible avant que le " "fichier original ne soit plus utilisé." -#: library/os.rst:2124 +#: library/os.rst:2126 msgid "This function is semantically identical to :func:`unlink`." msgstr "La fonction est sémantiquement identique à :func:`unlink`." -#: library/os.rst:2127 library/os.rst:2149 library/os.rst:2931 +#: library/os.rst:2151 library/os.rst:2935 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2139 +#: library/os.rst:2141 msgid "" "Remove directories recursively. Works like :func:`rmdir` except that, if " "the leaf directory is successfully removed, :func:`removedirs` tries to " @@ -3017,7 +2991,7 @@ msgstr "" "``'foo'`` s'ils sont vides. Lève une :exc:`OSError` si le répertoire feuille " "n'a pas pu être supprimé avec succès." -#: library/os.rst:2156 +#: library/os.rst:2158 msgid "" "Rename the file or directory *src* to *dst*. If *dst* exists, the operation " "will fail with an :exc:`OSError` subclass in a number of cases:" @@ -3026,12 +3000,12 @@ msgstr "" "l'opération échoue avec une sous-classe :exc:`OSError` dans un certain " "nombre de cas :" -#: library/os.rst:2159 +#: library/os.rst:2161 msgid "On Windows, if *dst* exists a :exc:`FileExistsError` is always raised." msgstr "" "Sous Windows, si *dst* existe, une :exc:`FileExistsError` est toujours levée." -#: library/os.rst:2161 +#: library/os.rst:2163 #, fuzzy msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" @@ -3050,7 +3024,7 @@ msgstr "" "différent. Si le renommage est effectué avec succès, il est une opération " "atomique (nécessité POSIX)." -#: library/os.rst:2170 library/os.rst:2210 +#: library/os.rst:2212 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `." @@ -3059,7 +3033,7 @@ msgstr "" "*dst_dir_fd* pour fournir :ref:`des chemins relatifs à des descripteurs de " "fichiers `." -#: library/os.rst:2173 +#: library/os.rst:2175 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." @@ -3067,17 +3041,17 @@ msgstr "" "Si cous désirez un écrasement multiplate-forme de la destination, utilisez " "la fonction :func:`replace`." -#: library/os.rst:2176 library/os.rst:2197 library/os.rst:2214 +#: library/os.rst:2199 library/os.rst:2216 msgid "" "Raises an :ref:`auditing event ` ``os.rename`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2177 +#: library/os.rst:2179 msgid "The *src_dir_fd* and *dst_dir_fd* arguments." msgstr "Les arguments *src_dir_fd* et *dst_dir_fd*." -#: library/os.rst:2186 +#: library/os.rst:2188 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -3092,7 +3066,7 @@ msgstr "" "chemin les plus à droite de l'ancien nom seront élagués en utilisant :func:" "`removedirs`." -#: library/os.rst:2193 +#: library/os.rst:2195 msgid "" "This function can fail with the new directory structure made if you lack " "permissions needed to remove the leaf directory or file." @@ -3101,11 +3075,11 @@ msgstr "" "définie si vous n'avez pas les permissions nécessaires pour supprimer le " "répertoire ou fichier feuille." -#: library/os.rst:2198 +#: library/os.rst:2200 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "Accepte un :term:`path-like object` pour *old* et *new*." -#: library/os.rst:2204 +#: library/os.rst:2206 msgid "" "Rename the file or directory *src* to *dst*. If *dst* is a directory, :exc:" "`OSError` will be raised. If *dst* exists and is a file, it will be " @@ -3120,7 +3094,7 @@ msgstr "" "différent. Si le renommage est effectué avec succès, il est une opération " "atomique (nécessité POSIX)." -#: library/os.rst:2223 +#: library/os.rst:2225 msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, an :exc:`FileNotFoundError` or an :exc:`OSError` is raised " @@ -3132,29 +3106,32 @@ msgstr "" "levée, selon le cas. Pour supprimer des arborescences de répertoires " "entières, utilisez :func:`shutil.rmtree`." -#: library/os.rst:2232 +#: library/os.rst:2234 msgid "" "Raises an :ref:`auditing event ` ``os.rmdir`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2233 library/os.rst:2932 +#: library/os.rst:2936 msgid "The *dir_fd* parameter." msgstr "Le paramètre *dir_fd*." -#: library/os.rst:2242 +#: library/os.rst:2244 +#, fuzzy msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " "entries in the directory given by *path*. The entries are yielded in " "arbitrary order, and the special entries ``'.'`` and ``'..'`` are not " -"included." +"included. If a file is removed from or added to the directory after " +"creating the iterator, whether an entry for that file be included is " +"unspecified." msgstr "" "Renvoie un itérateur d'objets :class:`os.DirEntry` correspondant aux entrées " "dans le répertoire indiqué par *path*. Les entrées sont produites dans un " "ordre arbitraire, et les entrées spéciales ``'.'`` et ``'..'`` ne sont pas " "incluses." -#: library/os.rst:2247 +#: library/os.rst:2251 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -3175,7 +3152,7 @@ msgstr "" "symboliques ; :func:`os.DirEntry.stat` nécessite toujours un appel système " "sous Unix, mais seulement pour les liens symboliques sous Windows." -#: library/os.rst:2257 +#: library/os.rst:2261 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the type " @@ -3189,13 +3166,13 @@ msgstr "" "DirEntry.path` de chaque :class:`os.DirEntry` sera ``bytes`` ; dans toutes " "les autres circonstances, ils seront de type ``str``." -#: library/os.rst:2267 +#: library/os.rst:2271 msgid "" "Raises an :ref:`auditing event ` ``os.scandir`` with argument " "``path``." msgstr "" -#: library/os.rst:2268 +#: library/os.rst:2272 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" @@ -3203,11 +3180,11 @@ msgstr "" "L'itérateur :func:`scandir` gère le protocole :term:`context manager` et " "possède la méthode suivante :" -#: library/os.rst:2273 +#: library/os.rst:2277 msgid "Close the iterator and free acquired resources." msgstr "Ferme l'itérateur et libère les ressources acquises." -#: library/os.rst:2275 +#: library/os.rst:2279 msgid "" "This is called automatically when the iterator is exhausted or garbage " "collected, or when an error happens during iterating. However it is " @@ -3218,7 +3195,7 @@ msgstr "" "l'itération. Il est cependant conseillé de l'appeler explicitement ou " "d'utiliser l'instruction :keyword:`with`." -#: library/os.rst:2282 +#: library/os.rst:2286 msgid "" "The following example shows a simple use of :func:`scandir` to display all " "the files (excluding directories) in the given *path* that don't start with " @@ -3230,7 +3207,7 @@ msgstr "" "*path* et ne débutant pas par ``'.'``. L'appel ``entry.is_file()`` ne va " "généralement pas faire d'appel système supplémentaire ::" -#: library/os.rst:2294 +#: library/os.rst:2298 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -3249,7 +3226,7 @@ msgstr "" "`_." -#: library/os.rst:2306 +#: library/os.rst:2310 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close()` method. If a :func:`scandir` iterator is neither " @@ -3261,16 +3238,16 @@ msgstr "" "entièrement consommé ni explicitement fermé, un :exc:`ResourceWarning` sera " "émis dans son destructeur." -#: library/os.rst:2312 +#: library/os.rst:2316 msgid "The function accepts a :term:`path-like object`." msgstr "La fonction accepte un :term:`path-like object`." -#: library/os.rst:2314 +#: library/os.rst:2318 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" "Ajout de la gestion des :ref:`descripteurs de fichiers ` sur Unix." -#: library/os.rst:2320 +#: library/os.rst:2324 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." @@ -3278,7 +3255,7 @@ msgstr "" "Objet donné par :func:`scandir` pour exposer le chemin du fichier et " "d'autres attributs de fichier d'une entrée du répertoire." -#: library/os.rst:2323 +#: library/os.rst:2327 msgid "" ":func:`scandir` will provide as much of this information as possible without " "making additional system calls. When a ``stat()`` or ``lstat()`` system call " @@ -3288,7 +3265,7 @@ msgstr "" "d'appels système additionnels. Quand un appel système ``stat()`` ou " "``lstat()`` est réalisé, l'objet ``os.DirEntry`` mettra le résultat en cache." -#: library/os.rst:2327 +#: library/os.rst:2331 msgid "" "``os.DirEntry`` instances are not intended to be stored in long-lived data " "structures; if you know the file metadata has changed or if a long time has " @@ -3301,7 +3278,7 @@ msgstr "" "l'appel à :func:`scandir`, appelez ``os.stat(entry.path)`` pour mettre à " "jour ces informations." -#: library/os.rst:2332 +#: library/os.rst:2336 msgid "" "Because the ``os.DirEntry`` methods can make operating system calls, they " "may also raise :exc:`OSError`. If you need very fine-grained control over " @@ -3313,7 +3290,7 @@ msgstr "" "contrôle fin des erreurs, vous pouvez attraper les :exc:`OSError` en " "appelant les méthodes de ``os.DirEntry`` et les traiter comme il vous semble." -#: library/os.rst:2337 +#: library/os.rst:2341 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." @@ -3321,20 +3298,20 @@ msgstr "" "Pour être directement utilisable comme un :term:`path-like object`, ``os." "DirEntry`` implémente l'interface :class:`PathLike`." -#: library/os.rst:2340 +#: library/os.rst:2344 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" "Les attributs et méthodes des instances de ``os.DirEntry`` sont les " "suivants :" -#: library/os.rst:2344 +#: library/os.rst:2348 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" "Le nom de fichier de base de l'entrée, relatif à l'argument *path* de :func:" "`scandir`." -#: library/os.rst:2347 +#: library/os.rst:2351 msgid "" "The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." @@ -3344,7 +3321,7 @@ msgstr "" "`scandir` est de type ``bytes``, sinon il sera de type ``str``. Utilisez :" "func:`~os.fsdecode` pour décoder des noms de fichiers de types *byte*." -#: library/os.rst:2353 +#: library/os.rst:2357 msgid "" "The entry's full path name: equivalent to ``os.path.join(scandir_path, entry." "name)`` where *scandir_path* is the :func:`scandir` *path* argument. The " @@ -3360,7 +3337,7 @@ msgstr "" "`descripteur de fichier ` l'attribut :attr:`path` sera égal à " "l'attribut :attr:`name`." -#: library/os.rst:2360 +#: library/os.rst:2364 msgid "" "The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." @@ -3371,11 +3348,11 @@ msgstr "" "``str``. Utilisez :func:`~os.fsdecode` pour décoder des noms de fichiers de " "type *bytes*." -#: library/os.rst:2366 +#: library/os.rst:2370 msgid "Return the inode number of the entry." msgstr "Renvoie le numéro d'*inode* de l'entrée." -#: library/os.rst:2368 +#: library/os.rst:2372 msgid "" "The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry." "path, follow_symlinks=False).st_ino`` to fetch up-to-date information." @@ -3384,7 +3361,7 @@ msgstr "" "stat(entry.path, follow_symlinks=False).st_ino`` pour obtenir l'information " "à jour." -#: library/os.rst:2372 +#: library/os.rst:2376 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." @@ -3392,7 +3369,7 @@ msgstr "" "Au premier appel non mis en cache, un appel système est requis sur Windows, " "mais pas sur Unix." -#: library/os.rst:2377 +#: library/os.rst:2381 msgid "" "Return ``True`` if this entry is a directory or a symbolic link pointing to " "a directory; return ``False`` if the entry is or points to any other kind of " @@ -3402,7 +3379,7 @@ msgstr "" "pointant vers un répertoire ; renvoie ``False`` si l'entrée est (ou pointe " "vers) un autre type de fichier, ou s'il n'existe plus." -#: library/os.rst:2381 +#: library/os.rst:2385 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "directory (without following symlinks); return ``False`` if the entry is any " @@ -3412,7 +3389,7 @@ msgstr "" "est un répertoire (sans suivre les liens symboliques) ; renvoie ``False`` si " "l'entrée est n'importe quel autre type de fichier ou s'il n'existe plus." -#: library/os.rst:2385 +#: library/os.rst:2389 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along " @@ -3422,7 +3399,7 @@ msgstr "" "séparé pour les valeurs ``True`` ou ``False`` de *follow_symlinks*. Appelez :" "func:`os.stat` avec :func:`stat.S_ISDIR` pour obtenir l'information à jour." -#: library/os.rst:2389 +#: library/os.rst:2393 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, for non-symlinks, neither Windows or Unix require a system " @@ -3439,7 +3416,7 @@ msgstr "" "requis pour suivre le lien symbolique, à moins que *follow_symlinks* vaille " "``False``." -#: library/os.rst:2396 library/os.rst:2426 +#: library/os.rst:2430 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." @@ -3448,7 +3425,7 @@ msgstr "" "`PermissionError`, mais :exc:`FileNotFoundError` est interceptée et pas " "levée." -#: library/os.rst:2401 +#: library/os.rst:2405 msgid "" "Return ``True`` if this entry is a file or a symbolic link pointing to a " "file; return ``False`` if the entry is or points to a directory or other non-" @@ -3459,7 +3436,7 @@ msgstr "" "sur un dossier ou sur un répertoire ou autre entrée non-fichier, ou s'il " "n'existe plus." -#: library/os.rst:2405 +#: library/os.rst:2409 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "file (without following symlinks); return ``False`` if the entry is a " @@ -3470,7 +3447,7 @@ msgstr "" "si l'entrée est un répertoire ou une autre entrée non-fichier, ou s'il " "n'existe plus." -#: library/os.rst:2409 +#: library/os.rst:2413 msgid "" "The result is cached on the ``os.DirEntry`` object. Caching, system calls " "made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`." @@ -3479,7 +3456,7 @@ msgstr "" "les appels système réalisés, et les exceptions levées sont les mêmes que " "pour :func:`~os.DirEntry.is_dir`." -#: library/os.rst:2414 +#: library/os.rst:2418 msgid "" "Return ``True`` if this entry is a symbolic link (even if broken); return " "``False`` if the entry points to a directory or any kind of file, or if it " @@ -3489,7 +3466,7 @@ msgstr "" "``False`` si l'entrée pinte vers un répertoire ou tout autre type de " "fichier, ou s'il n'existe plus." -#: library/os.rst:2418 +#: library/os.rst:2422 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "islink` to fetch up-to-date information." @@ -3497,7 +3474,7 @@ msgstr "" "Le résultat est mis en cache dans l'objet ``os.DirEntry``. Appelez :func:`os." "path.islink` pour obtenir l'information à jour." -#: library/os.rst:2421 +#: library/os.rst:2425 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, neither Windows or Unix require a system call, except on " @@ -3509,7 +3486,7 @@ msgstr "" "certains systèmes de fichiers Unix qui renvoient ``dirent.d_type == " "DT_UNKNOWN``." -#: library/os.rst:2431 +#: library/os.rst:2435 msgid "" "Return a :class:`stat_result` object for this entry. This method follows " "symbolic links by default; to stat a symbolic link add the " @@ -3519,7 +3496,7 @@ msgstr "" "méthode suit les liens symboliques par défaut. Pour avoir les statistiques " "sur un lien symbolique, ajouter l'argument ``follow_symlinks=False``." -#: library/os.rst:2435 +#: library/os.rst:2439 #, fuzzy msgid "" "On Unix, this method always requires a system call. On Windows, it only " @@ -3530,7 +3507,7 @@ msgstr "" "cela requiert uniquement un appel système si *follow_symlinks* vaut ``True`` " "et l'entrée n'est pas un lien symbolique." -#: library/os.rst:2440 +#: library/os.rst:2444 msgid "" "On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of the :" "class:`stat_result` are always set to zero. Call :func:`os.stat` to get " @@ -3540,7 +3517,7 @@ msgstr "" "classe :class:`stat_result` sont toujours définis à 0. Appelez la fonction :" "func:`os.stat` pour avoir ces attributs." -#: library/os.rst:2444 +#: library/os.rst:2448 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch " @@ -3550,7 +3527,7 @@ msgstr "" "séparé pour les valeurs ``True`` ou ``False`` de *follow_symlinks*. Appelez :" "func:`os.stat` pour obtenir l'information à jour." -#: library/os.rst:2448 +#: library/os.rst:2452 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -3562,7 +3539,7 @@ msgstr "" "``name`` a la même signification, ainsi que les méthodes ``is_dir()``, " "``is_file()``, ``is_symlink()`` et ``stat()``." -#: library/os.rst:2456 +#: library/os.rst:2460 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." @@ -3570,7 +3547,7 @@ msgstr "" "Prise en charge de l'interface :class:`~os.PathLike`. Ajout du support des " "chemins :class:`bytes` sous Windows." -#: library/os.rst:2463 +#: library/os.rst:2467 msgid "" "Get the status of a file or a file descriptor. Perform the equivalent of a :" "c:func:`stat` system call on the given path. *path* may be specified as " @@ -3584,7 +3561,7 @@ msgstr "" "ou indirectement à travers une interface :class:`PathLike` -- ou comme un " "descripteur de fichier ouvert. Renvoie un objet :class:`stat_result`." -#: library/os.rst:2469 +#: library/os.rst:2473 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." @@ -3593,8 +3570,7 @@ msgstr "" "informations d'un lien symbolique, ajoutez l'argument " "``follow_symlinks=False`` ou utilisez la fonction :func:`lstat`." -#: library/os.rst:2472 library/os.rst:3197 library/os.rst:3213 -#: library/os.rst:3229 library/os.rst:3249 +#: library/os.rst:3204 library/os.rst:3236 library/os.rst:3256 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." @@ -3603,7 +3579,7 @@ msgstr "" "fichier ` et :ref:`le non-suivi des liens symboliques " "`." -#: library/os.rst:2475 +#: library/os.rst:2479 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -3617,15 +3593,15 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:2488 +#: library/os.rst:2492 msgid "Example::" msgstr "Exemple ::" -#: library/os.rst:2501 +#: library/os.rst:2505 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "les fonctions :func:`fstat` et :func:`lstat`." -#: library/os.rst:2503 +#: library/os.rst:2507 msgid "" "Added the *dir_fd* and *follow_symlinks* arguments, specifying a file " "descriptor instead of a path." @@ -3633,7 +3609,7 @@ msgstr "" "Les arguments *dir_fd* et *follow_symlinks* ont été ajoutés, spécification " "d'un descripteur de fichier à la place d'un chemin ajoutée également." -#: library/os.rst:2510 +#: library/os.rst:2514 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -3643,7 +3619,7 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2521 +#: library/os.rst:2525 msgid "" "Object whose attributes correspond roughly to the members of the :c:type:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." @@ -3653,16 +3629,16 @@ msgstr "" "structure :c:func:`stat`. Utilisé pour le résultat des fonctions :func:`os." "stat`, :func:`os.fstat`, et :func:`os.lstat`." -#: library/os.rst:2525 +#: library/os.rst:2529 msgid "Attributes:" msgstr "Attributs :" -#: library/os.rst:2529 +#: library/os.rst:2533 msgid "File mode: file type and file mode bits (permissions)." msgstr "" "Mode du fichier : type du fichier et bits de mode du fichier (permissions)." -#: library/os.rst:2533 +#: library/os.rst:2537 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" @@ -3671,11 +3647,11 @@ msgstr "" "manière unique le fichier pour une certaine valeur de ``st_dev``. " "Typiquement :" -#: library/os.rst:2536 +#: library/os.rst:2540 msgid "the inode number on Unix," msgstr "le numéro d'*inode* sur Unix," -#: library/os.rst:2537 +#: library/os.rst:2541 msgid "" "the `file index `_ on " "Windows" @@ -3683,23 +3659,23 @@ msgstr "" "l’`index de fichier `_ " "sur Windows" -#: library/os.rst:2543 +#: library/os.rst:2547 msgid "Identifier of the device on which this file resides." msgstr "Identifiant du périphérique sur lequel ce fichier se trouve." -#: library/os.rst:2547 +#: library/os.rst:2551 msgid "Number of hard links." msgstr "Nombre de liens matériels." -#: library/os.rst:2551 +#: library/os.rst:2555 msgid "User identifier of the file owner." msgstr "Identifiant d'utilisateur du propriétaire du fichier." -#: library/os.rst:2555 +#: library/os.rst:2559 msgid "Group identifier of the file owner." msgstr "Identifiant de groupe du propriétaire du fichier." -#: library/os.rst:2559 +#: library/os.rst:2563 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " @@ -3709,37 +3685,37 @@ msgstr "" "symbolique. La taille d'un lien symbolique est la longueur du nom de chemin " "qu'il contient sans le byte nul final." -#: library/os.rst:2563 +#: library/os.rst:2567 msgid "Timestamps:" msgstr "Horodatages :" -#: library/os.rst:2567 +#: library/os.rst:2571 msgid "Time of most recent access expressed in seconds." msgstr "Moment de l'accès le plus récent, exprimé en secondes." -#: library/os.rst:2571 +#: library/os.rst:2575 msgid "Time of most recent content modification expressed in seconds." msgstr "" "Moment de la modification de contenu la plus récente, exprimé en secondes." -#: library/os.rst:2575 library/os.rst:2591 +#: library/os.rst:2595 msgid "Platform dependent:" msgstr "Dépendant de la plate-forme :" -#: library/os.rst:2577 library/os.rst:2593 +#: library/os.rst:2597 msgid "the time of most recent metadata change on Unix," msgstr "le moment du changement de méta-données le plus récent sur Unix," -#: library/os.rst:2578 +#: library/os.rst:2582 msgid "the time of creation on Windows, expressed in seconds." msgstr "le moment de création sur Windows, exprimé en secondes." -#: library/os.rst:2582 +#: library/os.rst:2586 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" "Moment de l'accès le plus récent, exprimé en nanosecondes, par un entier." -#: library/os.rst:2586 +#: library/os.rst:2590 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." @@ -3747,13 +3723,13 @@ msgstr "" "Moment de la modification de contenu la plus récente, exprimé en " "nanosecondes, par un entier." -#: library/os.rst:2594 +#: library/os.rst:2598 msgid "" "the time of creation on Windows, expressed in nanoseconds as an integer." msgstr "" "le moment de création sur Windows, exprimé en nanosecondes, par un entier." -#: library/os.rst:2599 +#: library/os.rst:2603 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, " "and :attr:`st_ctime` attributes depend on the operating system and the file " @@ -3768,7 +3744,7 @@ msgstr "" "secondes, et :attr:`st_atime` a une précision de 1 jour. Regardez la " "documentation de votre système d'exploitation pour plus de détails." -#: library/os.rst:2606 +#: library/os.rst:2610 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:" "`st_ctime_ns` are always expressed in nanoseconds, many systems do not " @@ -3787,7 +3763,7 @@ msgstr "" "avez besoin d'horodatages exacts, vous devriez toujours utiliser :attr:" "`st_atime_ns`, :attr:`st_mtime_ns`, et :attr:`st_ctime_ns`." -#: library/os.rst:2615 +#: library/os.rst:2619 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" @@ -3795,7 +3771,7 @@ msgstr "" "Sur certains systèmes Unix (tels que Linux), les attributs suivants peuvent " "également être disponibles :" -#: library/os.rst:2620 +#: library/os.rst:2624 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller than :attr:" "`st_size`/512 when the file has holes." @@ -3803,7 +3779,7 @@ msgstr "" "Nombre de blocs de 512 *bytes* alloués pour le fichier. Cette valeur peut " "être inférieure à :attr:`st_size`/512 quand le fichier a des trous." -#: library/os.rst:2625 +#: library/os.rst:2629 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." @@ -3812,15 +3788,15 @@ msgstr "" "système de fichiers. Écrire dans un fichier avec des blocs plus petits peut " "causer des modifications (lecture-écriture-réécriture) inefficaces." -#: library/os.rst:2630 +#: library/os.rst:2634 msgid "Type of device if an inode device." msgstr "Type de périphérique si l'*inode* représente un périphérique." -#: library/os.rst:2634 +#: library/os.rst:2638 msgid "User defined flags for file." msgstr "Marqueurs définis par l'utilisateur pour le fichier." -#: library/os.rst:2636 +#: library/os.rst:2640 msgid "" "On other Unix systems (such as FreeBSD), the following attributes may be " "available (but may be only filled out if root tries to use them):" @@ -3829,22 +3805,22 @@ msgstr "" "peuvent être disponibles (mais peuvent être complétés uniquement lorsque le " "super-utilisateur *root* tente de les utiliser) :" -#: library/os.rst:2641 +#: library/os.rst:2645 msgid "File generation number." msgstr "Nombre de génération de fichier." -#: library/os.rst:2645 +#: library/os.rst:2649 msgid "Time of file creation." msgstr "Moment de la création du fichier." -#: library/os.rst:2647 +#: library/os.rst:2651 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" "Sur les systèmes Solaris et dérivés, les attributs suivants peuvent " "également être disponibles :" -#: library/os.rst:2652 +#: library/os.rst:2656 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." @@ -3852,31 +3828,31 @@ msgstr "" "Chaîne qui identifie de manière unique le type du système de fichiers qui " "contient le fichier." -#: library/os.rst:2655 +#: library/os.rst:2659 msgid "On Mac OS systems, the following attributes may also be available:" msgstr "" "Sur les systèmes Mac OS, les attributs suivants peuvent également être " "disponibles :" -#: library/os.rst:2659 +#: library/os.rst:2663 msgid "Real size of the file." msgstr "Taillé réelle du fichier." -#: library/os.rst:2663 +#: library/os.rst:2667 msgid "Creator of the file." msgstr "Créateur du fichier." -#: library/os.rst:2667 +#: library/os.rst:2671 msgid "File type." msgstr "Type du fichier." -#: library/os.rst:2669 +#: library/os.rst:2673 #, fuzzy msgid "On Windows systems, the following attributes are also available:" msgstr "" "Sur les systèmes Windows, les attributs suivants sont également disponibles :" -#: library/os.rst:2673 +#: library/os.rst:2677 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:" @@ -3888,14 +3864,14 @@ msgstr "" "`GetileInformationByHandle`. Soir les constantes ``FILE_ATTRIBUTE_*`` du " "module :mod:`stat`." -#: library/os.rst:2680 +#: library/os.rst:2684 msgid "" "When :attr:`st_file_attributes` has the ``FILE_ATTRIBUTE_REPARSE_POINT`` " "set, this field contains the tag identifying the type of reparse point. See " "the ``IO_REPARSE_TAG_*`` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:2684 +#: library/os.rst:2688 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:type:`stat` structure. (On " @@ -3905,7 +3881,7 @@ msgstr "" "sont utiles pour l'extraction d'informations d'une structure :c:type:`stat`. " "(Sur Windows, certains éléments sont remplis avec des valeurs factices.)" -#: library/os.rst:2688 +#: library/os.rst:2692 msgid "" "For backward compatibility, a :class:`stat_result` instance is also " "accessible as a tuple of at least 10 integers giving the most important (and " @@ -3927,7 +3903,7 @@ msgstr "" "élément de type :class:`stat_result` comme un tuple donne toujours des " "entiers." -#: library/os.rst:2697 +#: library/os.rst:2701 msgid "" "Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` " "members." @@ -3935,32 +3911,32 @@ msgstr "" "Les attributs :attr:`st_atime_ns`, :attr:`st_mtime_ns`, et :attr:" "`st_ctime_ns` ont été ajoutés." -#: library/os.rst:2701 +#: library/os.rst:2705 msgid "Added the :attr:`st_file_attributes` member on Windows." msgstr "L'attribut :attr:`st_file_attributes` a été ajouté sur Windows." -#: library/os.rst:2704 +#: library/os.rst:2708 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" "Windows renvoie maintenant l'index du fichier dans l'attribut :attr:" "`st_ino`, lorsqu'il est disponible." -#: library/os.rst:2708 +#: library/os.rst:2712 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "Ajout de l'attribut :attr:`st_fstype` sur Solaris et dérivés." -#: library/os.rst:2711 +#: library/os.rst:2715 #, fuzzy msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "L'attribut :attr:`st_file_attributes` a été ajouté sur Windows." -#: library/os.rst:2714 +#: library/os.rst:2718 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files as :" "const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate." msgstr "" -#: library/os.rst:2721 +#: library/os.rst:2725 msgid "" "Perform a :c:func:`statvfs` system call on the given path. The return value " "is an object whose attributes describe the filesystem on the given path, and " @@ -3977,7 +3953,7 @@ msgstr "" "`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:" "`f_fsid`." -#: library/os.rst:2728 +#: library/os.rst:2732 msgid "" "Two module-level constants are defined for the :attr:`f_flag` attribute's " "bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted read-" @@ -3989,7 +3965,7 @@ msgstr "" "monté en lecture-seule, et si :const:`ST_NOSUID` est activé, la sémantique " "des bits de *setuid* / *getuid* est désactivée ou non gérée." -#: library/os.rst:2733 +#: library/os.rst:2737 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -4013,11 +3989,11 @@ msgstr "" "à jour les moments d'accès aux répertoires), :const:`ST_REALTIME` (Met " "*atime* à jour relativement à *mtime* / *ctime*)." -#: library/os.rst:2746 +#: library/os.rst:2750 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "Ajout des constantes :const:`ST_RDONLY` et :const:`ST_NOSUID`." -#: library/os.rst:2752 +#: library/os.rst:2756 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -4029,11 +4005,11 @@ msgstr "" "`ST_APPEND`, :const:`ST_IMMUTABLE`, :const:`ST_NOATIME`, :const:" "`ST_NODIRATIME`, et :const:`ST_RELATIME`." -#: library/os.rst:2761 +#: library/os.rst:2765 msgid "Added :attr:`f_fsid`." msgstr "Ajout de :attr:`f_fsid`." -#: library/os.rst:2767 +#: library/os.rst:2771 #, fuzzy msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " @@ -4053,7 +4029,7 @@ msgstr "" "toujours de spécifier le paramètre, mais lèvent une exception si la " "fonctionnalité n'est pas réellement accessible." -#: library/os.rst:2777 +#: library/os.rst:2781 #, fuzzy msgid "" "To check whether a particular function accepts an open file descriptor for " @@ -4067,7 +4043,7 @@ msgstr "" "détermine si :func:`os.chdir` accepte un descripteur de fichier ouvert quand " "appelée sur votre plate-forme actuelle ::" -#: library/os.rst:2784 +#: library/os.rst:2788 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." @@ -4075,7 +4051,7 @@ msgstr "" "Actuellement, le paramètre *dir_fd* ne fonctionne que sur les plate-formes " "Unix. Il ne fonctionne jamais sur Windows." -#: library/os.rst:2792 +#: library/os.rst:2796 #, fuzzy msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " @@ -4089,13 +4065,13 @@ msgstr "" "func:`os.access`. Si la plate-forme le gère, la collection contiendra :func:" "`os.access`, sinon elle sera vide." -#: library/os.rst:2798 +#: library/os.rst:2802 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:2803 +#: library/os.rst:2807 #, fuzzy msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " @@ -4104,7 +4080,7 @@ msgstr "" "Actuellement, *effective_ids* ne fonctionne que sur les plate-formes Unix, " "ça ne fonctionne pas sur Windows." -#: library/os.rst:2811 +#: library/os.rst:2815 #, fuzzy msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " @@ -4122,7 +4098,7 @@ msgstr "" "mais elles lèveront une exception si la fonctionnalité n'est pas réellement " "disponible." -#: library/os.rst:2818 +#: library/os.rst:2822 #, fuzzy msgid "" "To determine whether a particular function permits specifying an open file " @@ -4137,7 +4113,7 @@ msgstr "" "détermine si :func:`os.chdir` accepte un descripteur de fichier ouvert quand " "appelée sur votre plate-forme actuelle ::" -#: library/os.rst:2831 +#: library/os.rst:2835 #, fuzzy msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " @@ -4158,7 +4134,7 @@ msgstr "" "permettent toujours de spécifier le paramètre, mais lèvent une exception si " "la fonctionnalité n'est pas réellement disponible." -#: library/os.rst:2841 +#: library/os.rst:2845 #, fuzzy msgid "" "To check whether a particular function accepts ``False`` for its " @@ -4172,11 +4148,11 @@ msgstr "" "``supports_follow_symlinks``. Par exemple, cette expression détermine si le " "paramètre *follow_symlink* de :func:`os.stat` est disponible ::" -#: library/os.rst:2854 +#: library/os.rst:2858 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "Crée un lien symbolique pointant vers *src* et appelé *dst*." -#: library/os.rst:2856 +#: library/os.rst:2860 msgid "" "On Windows, a symlink represents either a file or a directory, and does not " "morph to the target dynamically. If the target is present, the type of the " @@ -4192,7 +4168,7 @@ msgstr "" "symbolique sera créé comme un répertoire, sinon comme un fichier (par " "défaut). Sur les autres plateformes, *target_id_directory* est ignoré." -#: library/os.rst:2867 +#: library/os.rst:2871 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -4200,20 +4176,20 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:2873 +#: library/os.rst:2877 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" ":exc:`OSError` est levée quand la fonction est appelée par un utilisateur " "sans privilèges." -#: library/os.rst:2877 +#: library/os.rst:2881 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:2883 +#: library/os.rst:2887 msgid "" "Added the *dir_fd* argument, and now allow *target_is_directory* on non-" "Windows platforms." @@ -4221,15 +4197,15 @@ msgstr "" "Ajout de l'argument *dir_fd* et maintenant, permission de " "*target_is_directory* sur les plate-formes non Windows." -#: library/os.rst:2890 +#: library/os.rst:2894 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:2896 +#: library/os.rst:2900 msgid "Force write of everything to disk." msgstr "Force l'écriture de tout sur le disque." -#: library/os.rst:2905 +#: library/os.rst:2909 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." @@ -4237,13 +4213,13 @@ msgstr "" "Tronque le fichier correspondant à *path*, afin qu'il soit au maximum long " "de *length* bytes." -#: library/os.rst:2911 +#: library/os.rst:2915 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: library/os.rst:2925 +#: library/os.rst:2929 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " @@ -4253,13 +4229,13 @@ msgstr "" "identique à :func:`remove`. Le nom ``unlink`` est un nom Unix traditionnel. " "Veuillez voir la documentation de :func:`remove` pour plus d'informations." -#: library/os.rst:2941 +#: library/os.rst:2945 msgid "Set the access and modified times of the file specified by *path*." msgstr "" "Voir les derniers moments d'accès et de modification du fichier spécifiés " "par *path*." -#: library/os.rst:2943 +#: library/os.rst:2947 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" @@ -4267,7 +4243,7 @@ msgstr "" "La fonction :func:`utime` prend deux paramètres optionnels, *times* et *ns*. " "Ils spécifient le temps mis pour *path* et est utilisé comme suit :" -#: library/os.rst:2946 +#: library/os.rst:2950 msgid "" "If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, " "mtime_ns)`` where each member is an int expressing nanoseconds." @@ -4275,7 +4251,7 @@ msgstr "" "Si *ns* est spécifié, ce doit être un couple de la forme ``(atime_ns, " "mtime_ns)`` où chaque membre est un entier qui exprime des nanosecondes." -#: library/os.rst:2949 +#: library/os.rst:2953 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is an int or float expressing seconds." @@ -4284,7 +4260,7 @@ msgstr "" "``(atime, mtime)`` où chaque membre est un entier ou une expression à " "virgule flottante." -#: library/os.rst:2952 +#: library/os.rst:2956 msgid "" "If *times* is ``None`` and *ns* is unspecified, this is equivalent to " "specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time." @@ -4293,11 +4269,11 @@ msgstr "" "spécifier ``ns = (atime_ns, mtime_ns)`` où les deux moments sont le moment " "actuel." -#: library/os.rst:2956 +#: library/os.rst:2960 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "Il est erroné de spécifier des tuples pour *times* et *ns* à la fois." -#: library/os.rst:2958 +#: library/os.rst:2962 #, fuzzy msgid "" "Note that the exact times you set here may not be returned by a subsequent :" @@ -4317,13 +4293,13 @@ msgstr "" "*st_atime_ns* et *st_mtime_ns* de l'objet résultat de la fonction :func:`os." "stat` avec le paramètre *ns* valant `utime`." -#: library/os.rst:2970 +#: library/os.rst:2974 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:2971 +#: library/os.rst:2975 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." @@ -4331,7 +4307,7 @@ msgstr "" "Ajoute la prise en charge d'un descripteur de fichier pour *path* et des " "paramètres *dir_fd*, *follow_symlinks* et *ns*." -#: library/os.rst:2985 +#: library/os.rst:2989 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up. For each directory in the tree rooted at directory *top* " @@ -4343,14 +4319,18 @@ msgstr "" "l'arbre enraciné en le répertoire *rop* (incluant ledit répertoire *top*), " "fournit un triplet ``(dirpath, dirnames, filenames)``." -#: library/os.rst:2990 +#: library/os.rst:2994 +#, fuzzy msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " "the names of the subdirectories in *dirpath* (excluding ``'.'`` and " "``'..'``). *filenames* is a list of the names of the non-directory files in " "*dirpath*. Note that the names in the lists contain no path components. To " "get a full path (which begins with *top*) to a file or directory in " -"*dirpath*, do ``os.path.join(dirpath, name)``." +"*dirpath*, do ``os.path.join(dirpath, name)``. Whether or not the lists are " +"sorted depends on the file system. If a file is removed from or added to " +"the *dirpath* directory during generating the lists, whether a name for that " +"file be included is unspecified." msgstr "" "*dirpath* est une chaîne de caractères contenant le chemin vers le " "répertoire. *dirnames* est une liste de noms de sous-répertoires dans " @@ -4360,7 +4340,7 @@ msgstr "" "(qui commence à *top*) vers un répertoire dans *dirpath*, faites ``os.path." "join(dirpath, name)``." -#: library/os.rst:2997 +#: library/os.rst:3004 msgid "" "If optional argument *topdown* is ``True`` or not specified, the triple for " "a directory is generated before the triples for any of its subdirectories " @@ -4379,7 +4359,7 @@ msgstr "" "avant que les tuples pour le répertoires et ses sous-répertoires ne soient " "générés." -#: library/os.rst:3005 +#: library/os.rst:3012 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -4402,7 +4382,7 @@ msgstr "" "parce qu'en mode bas-en-haut, les répertoires dans *dirnames* sont générés " "avant que *dirpath* ne soit lui-même généré." -#: library/os.rst:3014 +#: library/os.rst:3021 msgid "" "By default, errors from the :func:`scandir` call are ignored. If optional " "argument *onerror* is specified, it should be a function; it will be called " @@ -4418,7 +4398,7 @@ msgstr "" "avorter le parcours. Notez que le nom de fichier est disponible dans " "l'attribut ``filename`` de l'objet exception." -#: library/os.rst:3020 +#: library/os.rst:3027 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " @@ -4428,7 +4408,7 @@ msgstr "" "un répertoire. Définissez *followlinks* avec ``True`` pour visiter les " "répertoires pointés par des liens symboliques sur les systèmes qui le gère." -#: library/os.rst:3026 +#: library/os.rst:3033 msgid "" "Be aware that setting *followlinks* to ``True`` can lead to infinite " "recursion if a link points to a parent directory of itself. :func:`walk` " @@ -4438,7 +4418,7 @@ msgstr "" "récursion infinie si un lien pointe vers un répertoire parent de lui-même. :" "func:`walk` ne garde pas de trace des répertoires qu'il a déjà visité." -#: library/os.rst:3032 +#: library/os.rst:3039 msgid "" "If you pass a relative pathname, don't change the current working directory " "between resumptions of :func:`walk`. :func:`walk` never changes the current " @@ -4448,7 +4428,7 @@ msgstr "" "actuel entre deux exécutions de :func:`walk`. :func:`walk` ne change jamais " "le répertoire actuel, et suppose que l'appelant ne le fait pas non plus." -#: library/os.rst:3036 library/os.rst:3097 +#: library/os.rst:3104 msgid "" "This example displays the number of bytes taken by non-directory files in " "each directory under the starting directory, except that it doesn't look " @@ -4458,7 +4438,7 @@ msgstr "" "dans chaque répertoire à partir du répertoire de départ, si ce n'est qu'il " "ne cherche pas après un sous-répertoire CSV ::" -#: library/os.rst:3049 +#: library/os.rst:3056 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " @@ -4468,13 +4448,13 @@ msgstr "" "parcourir l'arbre de bas-en-haut est essentiel : :func:`rmdir` ne permet pas " "de supprimer un répertoire avant qu'un ne soit vide ::" -#: library/os.rst:3065 +#: library/os.rst:3072 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3066 +#: library/os.rst:3073 msgid "" "This function now calls :func:`os.scandir` instead of :func:`os.listdir`, " "making it faster by reducing the number of calls to :func:`os.stat`." @@ -4483,7 +4463,7 @@ msgstr "" "listdir`, ce qui la rend plus rapide en réduisant le nombre d'appels à :func:" "`os.stat`." -#: library/os.rst:3080 +#: library/os.rst:3087 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." @@ -4491,7 +4471,7 @@ msgstr "" "Se comporte exactement comme :func:`walk`, si ce n'est qu'il fournit un " "quadruplet ``(dirpath, dirnames, filenames, dirfd)``, et gère ``dir_fd``." -#: library/os.rst:3083 +#: library/os.rst:3090 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." @@ -4500,7 +4480,7 @@ msgstr "" "`walk` et *dirfd* est un descripteur de fichier faisant référence au " "répertoire *dirpath*." -#: library/os.rst:3086 +#: library/os.rst:3093 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -4513,7 +4493,7 @@ msgstr "" "fonctions, la valeur par défaut de *follow_symlinks* pour :func:`walk` est " "``False``." -#: library/os.rst:3093 +#: library/os.rst:3100 msgid "" "Since :func:`fwalk` yields file descriptors, those are only valid until the " "next iteration step, so you should duplicate them (e.g. with :func:`dup`) if " @@ -4523,7 +4503,7 @@ msgstr "" "valides que jusque la prochaine itération. Donc vous devriez les dupliquer " "(par exemple avec :func:`dup`) si vous désirez les garder plus longtemps." -#: library/os.rst:3110 +#: library/os.rst:3117 msgid "" "In the next example, walking the tree bottom-up is essential: :func:`rmdir` " "doesn't allow deleting a directory before the directory is empty::" @@ -4532,17 +4512,17 @@ msgstr "" "func:`rmdir` ne permet pas de supprimer un répertoire avant qu'il ne soit " "vide ::" -#: library/os.rst:3126 +#: library/os.rst:3133 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3134 +#: library/os.rst:3141 msgid "Added support for :class:`bytes` paths." msgstr "Ajout de la gestion des chemins de type :class:`bytes`." -#: library/os.rst:3140 +#: library/os.rst:3147 msgid "" "Create an anonymous file and return a file descriptor that refers to it. " "*flags* must be one of the ``os.MFD_*`` constants available on the system " @@ -4550,7 +4530,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3145 +#: library/os.rst:3152 msgid "" "The name supplied in *name* is used as a filename and will be displayed as " "the target of the corresponding symbolic link in the directory ``/proc/self/" @@ -4560,7 +4540,7 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3153 +#: library/os.rst:3160 msgid "" ":ref:`Availability `: Linux 3.17 or newer with glibc 2.27 or " "newer." @@ -4568,11 +4548,11 @@ msgstr "" ":ref:`Disponibilité ` : Linux 3.17 ou plus récent avec glibc " "2.27 ou plus récente." -#: library/os.rst:3175 +#: library/os.rst:3182 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:3179 +#: library/os.rst:3186 #, fuzzy msgid "" ":ref:`Availability `: Linux 3.17 or newer with glibc 2.27 or " @@ -4582,15 +4562,15 @@ msgstr "" "6.0 et plus récent, OpenBSD 2.7 et plus récent. L'utilisation de *flags* " "requiert Linux 4.6 ou plus récent." -#: library/os.rst:3184 +#: library/os.rst:3191 msgid "Linux extended attributes" msgstr "Attributs étendus pour Linux" -#: library/os.rst:3188 +#: library/os.rst:3195 msgid "These functions are all available on Linux only." msgstr "Toutes ces fonctions ne sont disponibles que sur Linux." -#: library/os.rst:3192 +#: library/os.rst:3199 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -4603,17 +4583,17 @@ msgstr "" "`PathLike`). Si c'est une chaîne de caractères, elle est encodée avec " "l'encodage du système de fichiers." -#: library/os.rst:3201 +#: library/os.rst:3208 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3202 library/os.rst:3234 library/os.rst:3259 +#: library/os.rst:3241 library/os.rst:3266 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "Accepte un :term:`path-like object` pour *path* et *attribute*." -#: library/os.rst:3208 +#: library/os.rst:3215 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -4625,13 +4605,13 @@ msgstr "" "sont décodés avec l'encodage du système de fichier. Si *path* vaut " "``None``, :func:`listxattr` examinera le répertoire actuel." -#: library/os.rst:3217 +#: library/os.rst:3224 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: library/os.rst:3224 +#: library/os.rst:3231 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -4644,13 +4624,13 @@ msgstr "" "c'est une chaîne de caractères, elle est encodée avec l'encodage du système " "de fichiers." -#: library/os.rst:3233 +#: library/os.rst:3240 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3240 +#: library/os.rst:3247 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -4671,7 +4651,7 @@ msgstr "" "donné et que l'attribut existe déjà, l'attribut ne sera pas créé et " "``ENODATA`` sera levée." -#: library/os.rst:3254 +#: library/os.rst:3261 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." @@ -4679,13 +4659,13 @@ msgstr "" "Un bogue des versions inférieures à 2.6.39 du noyau Linux faisait que les " "marqueurs de *flags* étaient ignorés sur certains systèmes." -#: library/os.rst:3258 +#: library/os.rst:3265 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3265 +#: library/os.rst:3272 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." @@ -4693,7 +4673,7 @@ msgstr "" "La taille maximum que peut faire la valeur d'un attribut étendu. " "Actuellement, c'est 64 KiB sur Lniux." -#: library/os.rst:3271 +#: library/os.rst:3278 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." @@ -4701,7 +4681,7 @@ msgstr "" "C'est une valeur possible pour l'argument *flags* de :func:`setxattr`. Elle " "indique que l'opération doit créer un attribut." -#: library/os.rst:3277 +#: library/os.rst:3284 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." @@ -4709,16 +4689,16 @@ msgstr "" "C'est une valeur possible pour l'argument *flags* de :func:`setxattr`.Elle " "indique que l'opération doit remplacer un attribut existant." -#: library/os.rst:3284 +#: library/os.rst:3291 msgid "Process Management" msgstr "Gestion des processus" -#: library/os.rst:3286 +#: library/os.rst:3293 msgid "These functions may be used to create and manage processes." msgstr "" "Ces fonctions peuvent être utilisées pour créer et gérer des processus." -#: library/os.rst:3288 +#: library/os.rst:3295 msgid "" "The various :func:`exec\\* ` functions take a list of arguments for " "the new program loaded into the process. In each case, the first of these " @@ -4737,7 +4717,7 @@ msgstr "" "exemple, ``os.execv('/bin/echo/', ['foo', 'bar'])`` affichera uniquement " "``bar`` sur la sortie standard ; ``foo`` semblera être ignoré." -#: library/os.rst:3299 +#: library/os.rst:3306 msgid "" "Generate a :const:`SIGABRT` signal to the current process. On Unix, the " "default behavior is to produce a core dump; on Windows, the process " @@ -4751,37 +4731,37 @@ msgstr "" "Attention : appeler cette fonction n'appellera pas le gestionnaire de signal " "Python enregistré par :const:`SIGABRT` à l'aide de :func:`signal.signal`." -#: library/os.rst:3308 +#: library/os.rst:3315 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3310 +#: library/os.rst:3317 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through sys.path), and also by :mod:" "`ctypes`." msgstr "" -#: library/os.rst:3314 +#: library/os.rst:3321 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3317 +#: library/os.rst:3324 msgid "" "See the `Microsoft documentation `_ for more information about how " "DLLs are loaded." msgstr "" -#: library/os.rst:3322 +#: library/os.rst:3329 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: library/os.rst:3325 +#: library/os.rst:3332 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -4789,14 +4769,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3332 +#: library/os.rst:3339 msgid "" "In 3.8, the two primary ways DLLs are loaded now explicitly override the " "process-wide behavior to ensure consistency. See the :ref:`porting notes " "` for information on updating libraries." msgstr "" -#: library/os.rst:3347 +#: library/os.rst:3354 msgid "" "These functions all execute a new program, replacing the current process; " "they do not return. On Unix, the new executable is loaded into the current " @@ -4808,7 +4788,7 @@ msgstr "" "dans le processus actuel, et aura le même identifiant de processus (PID) que " "l'appelant. Les erreurs seront reportées par des exceptions :exc:`OSError`." -#: library/os.rst:3352 +#: library/os.rst:3359 msgid "" "The current process is replaced immediately. Open file objects and " "descriptors are not flushed, so if there may be data buffered on these open " @@ -4821,7 +4801,7 @@ msgstr "" "manuellement en utilisant :func:`sys.stdout.flush` ou :func:`os.fsync` avant " "d'appeler une fonction :func:`exec\\* `." -#: library/os.rst:3358 +#: library/os.rst:3365 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -4844,7 +4824,7 @@ msgstr "" "devraient commencer avec le nom de la commande à lancer, mais ce n'est pas " "obligatoire." -#: library/os.rst:3367 +#: library/os.rst:3374 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -4867,7 +4847,7 @@ msgstr "" "localiser l'exécutable. *path* doit contenir un chemin absolue ou relatif " "approprié." -#: library/os.rst:3377 +#: library/os.rst:3384 msgid "" "For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -4884,7 +4864,7 @@ msgstr "" "`execlp`, :func:`execv`, et :func:`execvp` causent toutes un héritage de " "l'environnement du processus actuel par le processus fils." -#: library/os.rst:3384 +#: library/os.rst:3391 msgid "" "For :func:`execve` on some platforms, *path* may also be specified as an " "open file descriptor. This functionality may not be supported on your " @@ -4898,13 +4878,13 @@ msgstr "" "disponible en utilisant :data:`os._supports_fd`. Si c'est indisponible, " "l'utiliser lèvera une :exc:`NotImplementedError`." -#: library/os.rst:3390 +#: library/os.rst:3397 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3393 +#: library/os.rst:3400 #, fuzzy msgid "" "Added support for specifying *path* as an open file descriptor for :func:" @@ -4913,7 +4893,7 @@ msgstr "" "Prise en charge de la spécification d'un descripteur de fichier ouvert pour " "*path* pour :func:`execve`." -#: library/os.rst:3402 +#: library/os.rst:3409 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." @@ -4921,7 +4901,7 @@ msgstr "" "Quitte le processus avec le statut *n*, sans appeler les gestionnaires de " "nettoyage, sans purger les tampons des fichiers, etc." -#: library/os.rst:3407 +#: library/os.rst:3414 msgid "" "The standard way to exit is ``sys.exit(n)``. :func:`_exit` should normally " "only be used in the child process after a :func:`fork`." @@ -4930,7 +4910,7 @@ msgstr "" "normalement être utilisé uniquement par le processus fils après un :func:" "`fork`." -#: library/os.rst:3410 +#: library/os.rst:3417 msgid "" "The following exit codes are defined and can be used with :func:`_exit`, " "although they are not required. These are typically used for system " @@ -4942,7 +4922,7 @@ msgstr "" "utilisés pour les programmes systèmes écrits en Python, comme un programme " "de gestion de l'exécution des commandes d'un serveur de mails." -#: library/os.rst:3416 +#: library/os.rst:3423 msgid "" "Some of these may not be available on all Unix platforms, since there is " "some variation. These constants are defined where they are defined by the " @@ -4952,11 +4932,11 @@ msgstr "" "plate-formes Unix étant donné qu'il en existe des variations. Ces constantes " "sont définies là où elles sont définies par la plate-forme sous-jacente." -#: library/os.rst:3423 +#: library/os.rst:3430 msgid "Exit code that means no error occurred." msgstr "Code de sortie signifiant qu'aucune erreur n'est arrivée." -#: library/os.rst:3430 +#: library/os.rst:3437 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." @@ -4964,36 +4944,36 @@ msgstr "" "Code de sortie signifiant que les commandes n'ont pas été utilisées " "correctement, comme quand le mauvais nombre d'arguments a été donné." -#: library/os.rst:3438 +#: library/os.rst:3445 msgid "Exit code that means the input data was incorrect." msgstr "" "Code de sortie signifiant que les données en entrées étaient incorrectes." -#: library/os.rst:3445 +#: library/os.rst:3452 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" "Code de sortie signifiant qu'un des fichiers d'entrée n'existe pas ou n'est " "pas lisible." -#: library/os.rst:3452 +#: library/os.rst:3459 msgid "Exit code that means a specified user did not exist." msgstr "Code de sortie signifiant qu'un utilisateur spécifié n'existe pas." -#: library/os.rst:3459 +#: library/os.rst:3466 msgid "Exit code that means a specified host did not exist." msgstr "Code de sortie signifiant qu'un hôte spécifié n'existe pas." -#: library/os.rst:3466 +#: library/os.rst:3473 msgid "Exit code that means that a required service is unavailable." msgstr "Code de sortie signifiant qu'un service requis n'est pas disponible." -#: library/os.rst:3473 +#: library/os.rst:3480 msgid "Exit code that means an internal software error was detected." msgstr "" "Code de sortie signifiant qu'une erreur interne d'un programme a été " "détectée." -#: library/os.rst:3480 +#: library/os.rst:3487 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." @@ -5002,7 +4982,7 @@ msgstr "" "détectée, comme l'incapacité à réaliser un *fork* ou à créer un tuyau " "(*pipe*)." -#: library/os.rst:3488 +#: library/os.rst:3495 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." @@ -5010,20 +4990,20 @@ msgstr "" "Code de sortie signifiant qu'un fichier n'existe pas, n'a pas pu être " "ouvert, ou avait une autre erreur." -#: library/os.rst:3496 +#: library/os.rst:3503 msgid "Exit code that means a user specified output file could not be created." msgstr "" "Code de sortie signifiant qu'un fichier spécifié par l'utilisateur n'a pas " "pu être créé." -#: library/os.rst:3503 +#: library/os.rst:3510 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" "Code de sortie signifiant qu'une erreur est apparue pendant une E/S sur un " "fichier." -#: library/os.rst:3510 +#: library/os.rst:3517 msgid "" "Exit code that means a temporary failure occurred. This indicates something " "that may not really be an error, such as a network connection that couldn't " @@ -5033,7 +5013,7 @@ msgstr "" "quelque chose qui pourrait ne pas être une erreur, comme une connexion au " "réseau qui n'a pas pu être établie pendant une opération réessayable." -#: library/os.rst:3519 +#: library/os.rst:3526 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." @@ -5041,7 +5021,7 @@ msgstr "" "Code de sortie signifiant qu'un protocole d'échange est illégal, invalide, " "ou non-compris." -#: library/os.rst:3527 +#: library/os.rst:3534 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." @@ -5049,17 +5029,17 @@ msgstr "" "Code de sortie signifiant qu'il manque certaines permissions pour réaliser " "une opération (mais n'est pas destiné au problèmes de système de fichiers)." -#: library/os.rst:3535 +#: library/os.rst:3542 msgid "Exit code that means that some kind of configuration error occurred." msgstr "Code de sortie signifiant qu'une erreur de configuration est apparue." -#: library/os.rst:3542 +#: library/os.rst:3549 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" "Code de sortie signifiant quelque chose comme « une entrée n'a pas été " "trouvée »." -#: library/os.rst:3549 +#: library/os.rst:3556 msgid "" "Fork a child process. Return ``0`` in the child and the child's process id " "in the parent. If an error occurs :exc:`OSError` is raised." @@ -5068,7 +5048,7 @@ msgstr "" "processus fils dans le processus père. Si une erreur apparaît, une :exc:" "`OSError` est levée." -#: library/os.rst:3552 +#: library/os.rst:3559 #, fuzzy msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " @@ -5077,24 +5057,24 @@ 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." -#: library/os.rst:3556 +#: library/os.rst:3563 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:3557 +#: library/os.rst:3564 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3563 +#: library/os.rst:3570 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()*." -#: library/os.rst:3570 +#: library/os.rst:3577 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, " @@ -5109,18 +5089,18 @@ msgstr "" "approche plus portable, utilisez le module :mod:`pty`. Si une erreur " "apparaît, une :exc:`OSError` est levée." -#: library/os.rst:3577 +#: library/os.rst:3584 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:3578 +#: library/os.rst:3585 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3591 +#: library/os.rst:3598 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." @@ -5128,7 +5108,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`." -#: library/os.rst:3594 +#: library/os.rst:3601 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 " @@ -5145,37 +5125,37 @@ msgstr "" "sera mis à *sig*. La version Windows de :func:`kill` prend en plus les " "identificateurs de processus à tuer." -#: library/os.rst:3602 +#: library/os.rst:3609 msgid "See also :func:`signal.pthread_kill`." msgstr "Voir également :func:`signal.pthread_kill`." -#: library/os.rst:3605 +#: library/os.rst:3612 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:3606 +#: library/os.rst:3613 msgid "Windows support." msgstr "Prise en charge de Windows." -#: library/os.rst:3616 +#: library/os.rst:3623 msgid "Send the signal *sig* to the process group *pgid*." msgstr "Envoie le signal *sig* au groupe de processus *pgid*." -#: library/os.rst:3619 +#: library/os.rst:3626 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:3625 +#: library/os.rst:3632 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" "Ajoute *increment* à la priorité du processus. Renvoie la nouvelle priorité." -#: library/os.rst:3632 +#: library/os.rst:3639 msgid "" "Return a file descriptor referring to the process *pid*. This descriptor " "can be used to perform process management without races and signals. The " @@ -5183,16 +5163,16 @@ msgid "" "currently defined." msgstr "" -#: library/os.rst:3637 +#: library/os.rst:3644 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:3639 +#: library/os.rst:3646 #, fuzzy msgid ":ref:`Availability `: Linux 5.3+" msgstr ":ref:`Disponibilité ` : Unix." -#: library/os.rst:3645 +#: library/os.rst:3652 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." @@ -5200,7 +5180,7 @@ msgstr "" "Verrouille les segments du programme en mémoire. La valeur de *op* (définie " "dans ````) détermine quels segments sont verrouillés." -#: library/os.rst:3653 +#: library/os.rst:3660 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 " @@ -5216,7 +5196,7 @@ msgstr "" "`open`. L'objet fichier renvoyé écrit (ou lit) des chaînes de caractères et " "non de bytes." -#: library/os.rst:3660 +#: library/os.rst:3667 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -5237,14 +5217,14 @@ msgstr "" "été tué). Sur les systèmes Windows, la valeur de retour contient le code de " "retour du processus fils dans un entier signé ." -#: library/os.rst:3670 +#: library/os.rst:3677 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the ``close`` " "method result (exit status) into an exit code if it is not ``None``. On " "Windows, the ``close`` method result is directly the exit code (or ``None``)." msgstr "" -#: library/os.rst:3675 +#: library/os.rst:3682 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " @@ -5254,29 +5234,29 @@ msgstr "" "documentation de cette classe pour des méthodes plus puissantes pour gérer " "et communiquer avec des sous-processus." -#: library/os.rst:3684 +#: library/os.rst:3691 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:3686 +#: library/os.rst:3693 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:3688 +#: library/os.rst:3695 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:3691 +#: library/os.rst:3698 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 "" -#: library/os.rst:3695 +#: library/os.rst:3702 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 " @@ -5285,31 +5265,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:3703 +#: library/os.rst:3710 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:3705 +#: library/os.rst:3712 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:3709 +#: library/os.rst:3716 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:3711 +#: library/os.rst:3718 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:3715 +#: library/os.rst:3722 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:3717 +#: library/os.rst:3724 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:3719 +#: library/os.rst:3726 msgid "" "These tuples correspond to the C library :c:func:" "`posix_spawn_file_actions_addopen`, :c:func:" @@ -5318,7 +5298,7 @@ msgid "" "`posix_spawn` call itself." msgstr "" -#: library/os.rst:3725 +#: library/os.rst:3732 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 " @@ -5327,7 +5307,7 @@ msgid "" "corresponds to the C library :c:data:`POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:3731 +#: library/os.rst:3738 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 " @@ -5338,7 +5318,7 @@ msgid "" "library :c:data:`POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:3739 +#: library/os.rst:3746 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:" @@ -5346,7 +5326,7 @@ msgid "" "raised." msgstr "" -#: library/os.rst:3744 +#: library/os.rst:3751 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 " @@ -5354,14 +5334,14 @@ msgid "" "`POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:3749 +#: library/os.rst:3756 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 "" -#: library/os.rst:3753 +#: library/os.rst:3760 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -5371,30 +5351,30 @@ msgid "" "`POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:3761 library/os.rst:3777 +#: library/os.rst:3784 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:3770 +#: library/os.rst:3777 msgid "Wraps the :c:func:`posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:3772 +#: library/os.rst:3779 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 "" -#: library/os.rst:3780 +#: library/os.rst:3787 #, fuzzy msgid "" ":ref:`Availability `: See :func:`posix_spawn` documentation." msgstr ":ref:`Disponibilité ` : dérivés récents de Unix." -#: library/os.rst:3786 +#: library/os.rst:3793 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 " @@ -5405,12 +5385,12 @@ msgstr "" "clonage de processus. Les paramètres sont optionnels et par mots-clé " "uniquement. Chacun spécifie un point d'appel différent." -#: library/os.rst:3791 +#: library/os.rst:3798 msgid "*before* is a function called before forking a child process." msgstr "" "*before* est une fonction appelée avant de *forker* un processus enfant." -#: library/os.rst:3792 +#: library/os.rst:3799 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." @@ -5418,11 +5398,11 @@ msgstr "" "*after_in_parent* est une fonction appelée depuis le processus parent après " "avoir *forké* un processus enfant." -#: library/os.rst:3794 +#: library/os.rst:3801 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." -#: library/os.rst:3796 +#: library/os.rst:3803 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 " @@ -5432,7 +5412,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." -#: library/os.rst:3800 +#: library/os.rst:3807 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " @@ -5443,7 +5423,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." -#: library/os.rst:3805 +#: library/os.rst:3812 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:" @@ -5454,15 +5434,15 @@ msgstr "" "explicitement :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` et :" "c:func:`PyOS_AfterFork_Child`." -#: library/os.rst:3809 +#: library/os.rst:3816 msgid "There is no way to unregister a function." msgstr "Il n'y a aucun moyen d'annuler l'enregistrement d'une fonction." -#: library/os.rst:3825 +#: library/os.rst:3832 msgid "Execute the program *path* in a new process." msgstr "Exécute le programme *path* dans un nouveau processus." -#: library/os.rst:3827 +#: library/os.rst:3834 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -5474,7 +5454,7 @@ msgstr "" "est préférable d'utiliser ce module que ces fonctions. Voyez surtout la " "section :ref:`subprocess-replacements`.)" -#: library/os.rst:3832 +#: library/os.rst:3839 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 " @@ -5489,13 +5469,13 @@ msgstr "" "en fait l'identificateur du processus (*process handle*) et peut donc être " "utilisé avec la fonction :func:`waitpid`." -#: library/os.rst:3838 +#: library/os.rst:3845 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." msgstr "" -#: library/os.rst:3841 +#: library/os.rst:3848 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -5517,7 +5497,7 @@ msgstr "" "fils devraient commencer avec le nom de la commande à lancer, mais ce n'est " "pas obligatoire." -#: library/os.rst:3850 +#: library/os.rst:3857 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -5540,7 +5520,7 @@ msgstr "" "envvar:`PATH` pour localiser l'exécutable. *path* doit contenir un chemin " "absolue ou relatif approprié." -#: library/os.rst:3860 +#: library/os.rst:3867 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 " @@ -5562,7 +5542,7 @@ msgstr "" "caractères. Des valeurs invalides pour les clefs ou les valeurs met la " "fonction en échec et renvoie ``127``." -#: library/os.rst:3869 +#: library/os.rst:3876 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" @@ -5570,13 +5550,13 @@ msgstr "" "Par exemple, les appels suivants à :func:`spawnlp` et :func:`spawnvpe` sont " "équivalents ::" -#: library/os.rst:3879 +#: library/os.rst:3886 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3884 +#: library/os.rst:3891 msgid "" ":ref:`Availability `: Unix, Windows. :func:`spawnlp`, :func:" "`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are not available on " @@ -5589,7 +5569,7 @@ msgstr "" "appels concurrents (*thread-safe*) sur Windows, il est conseillé d'utiliser " "le module :mod:`subprocess` à la place." -#: library/os.rst:3892 +#: library/os.rst:3899 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:`spawn" @@ -5601,7 +5581,7 @@ msgstr "" "`spawn\\*` sortiront dès que le nouveau processus est créé, avec le PID du " "processus comme valeur de retour." -#: library/os.rst:3902 +#: library/os.rst:3909 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -5616,7 +5596,7 @@ msgstr "" "l'exécution est effectuée avec succès, ou ``-signal`` si un signal tue le " "processus." -#: library/os.rst:3914 +#: library/os.rst:3921 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -5632,11 +5612,11 @@ msgstr "" "`P_OVERLAY` est utilisé, le processus actuel sera remplacé. La fonction :" "func:`spawn\\* ` ne sort jamais." -#: library/os.rst:3925 +#: library/os.rst:3932 msgid "Start a file with its associated application." msgstr "Lance un fichier avec son application associée." -#: library/os.rst:3927 +#: library/os.rst:3934 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 " @@ -5650,7 +5630,7 @@ msgstr "" "commande interactif : le fichier est ouvert avec l'application associée à " "l'extension (s'il y en a une)." -#: library/os.rst:3932 +#: library/os.rst:3939 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 " @@ -5663,7 +5643,7 @@ msgstr "" "utilisés sur des fichiers) ainsi que ``'explore'`` et ``'find'`` (qui " "doivent être utilisés sur des répertoires)." -#: library/os.rst:3937 +#: library/os.rst:3944 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 " @@ -5682,7 +5662,7 @@ msgstr "" "Utilisez la fonction :func:`os.path.normpath` pour vous assurer que le " "chemin est encodé correctement pour Win32." -#: library/os.rst:3945 +#: library/os.rst:3952 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` " "function is not resolved until this function is first called. If the " @@ -5693,13 +5673,13 @@ msgstr "" "fonction na pas été appelée. Si la fonction ne peut être interprétée, une :" "exc:`NotImplementedError` est levée." -#: library/os.rst:3950 +#: library/os.rst:3957 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:3956 +#: library/os.rst:3963 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 " @@ -5714,7 +5694,7 @@ msgstr "" "*command* génère une sortie, elle sera envoyée à l'interpréteur standard de " "flux." -#: library/os.rst:3962 +#: library/os.rst:3969 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 " @@ -5726,7 +5706,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." -#: library/os.rst:3967 +#: library/os.rst:3974 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 :" @@ -5741,7 +5721,7 @@ msgstr "" "commande lancée. Sur les systèmes qui utilisent un invite de commande non-" "natif, consultez la documentation propre à l'invite." -#: library/os.rst:3973 +#: library/os.rst:3980 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -5754,20 +5734,20 @@ msgstr "" "ref:`subprocess-replacements` de la documentation du module :mod:" "`subprocess` pour des informations plus précises et utiles." -#: library/os.rst:3978 +#: library/os.rst:3985 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the result " "(exit status) into an exit code. On Windows, the result is directly the exit " "code." msgstr "" -#: library/os.rst:3983 +#: library/os.rst:3990 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:3989 +#: library/os.rst:3996 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" @@ -5775,27 +5755,27 @@ msgstr "" "Renvoie les temps globaux actuels d'exécution du processus. La valeur de " "retour est un objet avec cinq attributs :" -#: library/os.rst:3992 +#: library/os.rst:3999 msgid ":attr:`user` - user time" msgstr ":attr:`user` — le temps utilisateur" -#: library/os.rst:3993 +#: library/os.rst:4000 msgid ":attr:`system` - system time" msgstr ":attr:`system` — le temps système" -#: library/os.rst:3994 +#: library/os.rst:4001 msgid ":attr:`children_user` - user time of all child processes" msgstr ":attr:`children_user` — temps utilisateur de tous les processus fils" -#: library/os.rst:3995 +#: library/os.rst:4002 msgid ":attr:`children_system` - system time of all child processes" msgstr ":attr:`children_system` — le temps système de tous les processus fils" -#: library/os.rst:3996 +#: library/os.rst:4003 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é" -#: library/os.rst:3998 +#: library/os.rst:4005 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`user`, :attr:`system`, :attr:`children_user`, :attr:" @@ -5805,7 +5785,7 @@ msgstr "" "comme un *tuple* contenant :attr:`user`, :attr:`system`, :attr:" "`children_user`, :attr:`children_system`, et :attr:`elapsed` dans cet ordre." -#: library/os.rst:4002 +#: library/os.rst:4009 #, fuzzy msgid "" "See the Unix manual page :manpage:`times(2)` and :manpage:`times(3)` manual " @@ -5818,7 +5798,7 @@ msgstr "" "Windows correspondante. Sur Windows, seuls :attr:`user` et :attr:`system` " "sont connus. Les autres attributs sont nuls." -#: library/os.rst:4016 +#: library/os.rst:4023 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 " @@ -5833,19 +5813,19 @@ msgstr "" "Le bit de poids fort du *byte* de poids faible est mis à 1 si un (fichier " "système) *core file* a été produit." -#: library/os.rst:4022 library/os.rst:4127 +#: library/os.rst:4134 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4029 +#: library/os.rst:4036 msgid "" ":func:`waitpid` can be used to wait for the completion of a specific child " "process and has more options." msgstr "" -#: library/os.rst:4034 +#: library/os.rst:4041 #, fuzzy msgid "" "Wait for the completion of one or more child processes. *idtype* can be :" @@ -5869,7 +5849,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." -#: library/os.rst:4054 +#: library/os.rst:4061 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted." @@ -5877,18 +5857,18 @@ msgstr "" "Les valeurs possibles pour *idtypes* pour la fonction :func:`waitid`. Elles " "affectent l'interprétation de *id*." -#: library/os.rst:4063 +#: library/os.rst:4070 msgid "" "This is a Linux-specific *idtype* that indicates that *id* is a file " "descriptor that refers to a process." msgstr "" -#: library/os.rst:4067 +#: library/os.rst:4074 #, fuzzy msgid ":ref:`Availability `: Linux 5.4+" msgstr ":ref:`Disponibilité ` : Unix." -#: library/os.rst:4074 +#: library/os.rst:4081 msgid "" "Flags that can be used in *options* in :func:`waitid` that specify what " "child signal to wait for." @@ -5896,7 +5876,7 @@ msgstr "" "Marqueurs qui peuvent être utilisés pour la fonction :func:`waitid` qui " "spécifient quel signal attendre du fils." -#: library/os.rst:4089 +#: library/os.rst:4096 msgid "" "These are the possible values for :attr:`si_code` in the result returned by :" "func:`waitid`." @@ -5904,15 +5884,15 @@ msgstr "" "Les valeurs possibles pour :attr:`si_code` dans le résultat renvoyé par :" "func:`waitid`." -#: library/os.rst:4096 +#: library/os.rst:4103 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4102 +#: library/os.rst:4109 msgid "The details of this function differ on Unix and Windows." msgstr "Les détails de cette fonction diffèrent sur Unix et Windows." -#: library/os.rst:4104 +#: library/os.rst:4111 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 " @@ -5926,7 +5906,7 @@ msgstr "" "affecté par la valeur de l'argument entier *options*, qui devrait valoir " "``0`` pour les opérations normales." -#: library/os.rst:4109 +#: library/os.rst:4116 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 " @@ -5943,7 +5923,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*)." -#: library/os.rst:4116 +#: library/os.rst:4123 msgid "" "An :exc:`OSError` is raised with the value of errno when the syscall returns " "-1." @@ -5951,7 +5931,7 @@ msgstr "" "Une :exc:`OSError` est levée avec la valeur de *errno* quand l'appel système " "renvoie ``-1``." -#: library/os.rst:4119 +#: library/os.rst:4126 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 " @@ -5973,7 +5953,7 @@ msgstr "" "appelées avec :const:`P_NOWAIT` renvoient des identificateurs de processus " "appropriés." -#: library/os.rst:4138 +#: library/os.rst:4145 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 " @@ -5989,13 +5969,13 @@ msgstr "" "ressources. L'argument *options* est le même que celui fourni à :func:" "`waitpid` et :func:`wait4`." -#: library/os.rst:4145 library/os.rst:4159 +#: library/os.rst:4166 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4153 +#: library/os.rst:4160 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -6010,22 +5990,22 @@ msgstr "" "d'utilisation des ressources. Les arguments de :func:`wait4` sont les mêmes " "que ceux fournis à :func:`waitpid`." -#: library/os.rst:4167 +#: library/os.rst:4174 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4169 +#: library/os.rst:4176 msgid "On Unix:" msgstr "" -#: library/os.rst:4171 +#: library/os.rst:4178 msgid "" "If the process exited normally (if ``WIFEXITED(status)`` is true), return " "the process exit status (return ``WEXITSTATUS(status)``): result greater " "than or equal to 0." msgstr "" -#: library/os.rst:4174 +#: library/os.rst:4181 msgid "" "If the process was terminated by a signal (if ``WIFSIGNALED(status)`` is " "true), return ``-signum`` where *signum* is the number of the signal that " @@ -6033,15 +6013,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4178 +#: library/os.rst:4185 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4180 +#: library/os.rst:4187 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4182 +#: library/os.rst:4189 msgid "" "On Unix, if the process is being traced or if :func:`waitpid` was called " "with :data:`WUNTRACED` option, the caller must first check if " @@ -6049,13 +6029,13 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4189 +#: library/os.rst:4196 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4197 +#: library/os.rst:4204 msgid "" "The option for :func:`waitpid` to return immediately if no child process " "status is available immediately. The function returns ``(0, 0)`` in this " @@ -6065,7 +6045,7 @@ msgstr "" "processus fils n'est disponible dans l'immédiat. La fonction renvoie ``(0, " "0)`` dans ce cas." -#: library/os.rst:4205 +#: library/os.rst:4212 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." @@ -6074,11 +6054,11 @@ msgstr "" "continués après un arrêt du *job control* depuis leurs derniers reports de " "statuts." -#: library/os.rst:4208 +#: library/os.rst:4215 msgid ":ref:`Availability `: some Unix systems." msgstr ":ref:`Disponibilité ` : certains systèmes Unix." -#: library/os.rst:4213 +#: library/os.rst:4220 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." @@ -6086,7 +6066,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." -#: library/os.rst:4219 +#: library/os.rst:4226 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 " @@ -6096,7 +6076,7 @@ msgstr "" "`system`, :func:`wait`, ou :func:`waitpid` en paramètre. Ils peuvent être " "utilisés pour déterminer la disposition d'un processus." -#: library/os.rst:4225 +#: library/os.rst:4232 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." @@ -6104,11 +6084,11 @@ msgstr "" "Renvoie ``True`` si un vidage système (*core dump*) a été généré pour le " "processus, sinon, renvoie ``False``." -#: library/os.rst:4228 library/os.rst:4294 +#: library/os.rst:4301 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4235 +#: library/os.rst:4242 #, fuzzy msgid "" "Return ``True`` if a stopped child has been resumed by delivery of :data:" @@ -6118,11 +6098,11 @@ msgstr "" "Renvoie ``True`` si le processus a été continué après un arrêt du *job " "control*, renvoie ``False`` autrement." -#: library/os.rst:4239 +#: library/os.rst:4246 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4246 +#: library/os.rst:4253 #, fuzzy msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " @@ -6131,14 +6111,14 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé à cause d'un signal, sinon, " "renvoie ``False``." -#: library/os.rst:4249 +#: library/os.rst:4256 msgid "" ":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was " "done using :data:`WUNTRACED` option or when the process is being traced " "(see :manpage:`ptrace(2)`)." msgstr "" -#: library/os.rst:4257 +#: library/os.rst:4264 #, fuzzy msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " @@ -6147,7 +6127,7 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé à cause d'un signal, sinon, " "renvoie ``False``." -#: library/os.rst:4265 +#: library/os.rst:4272 #, fuzzy msgid "" "Return ``True`` if the process exited terminated normally, that is, by " @@ -6157,33 +6137,33 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé en faisant un appel système :" "manpage:`exit(2)`, sinon, renvoie ``False``." -#: library/os.rst:4274 +#: library/os.rst:4281 #, fuzzy msgid "Return the process exit status." msgstr "Renvoie l'identifiant du processus actuel." -#: library/os.rst:4276 +#: library/os.rst:4283 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:4283 +#: library/os.rst:4290 msgid "Return the signal which caused the process to stop." msgstr "Renvoie le signal qui a causé l'arrêt du processus." -#: library/os.rst:4285 +#: library/os.rst:4292 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:4292 +#: library/os.rst:4299 #, fuzzy msgid "Return the number of the signal that caused the process to terminate." msgstr "Renvoie le signal qui a amené le processus à quitter." -#: library/os.rst:4300 +#: library/os.rst:4307 msgid "Interface to the scheduler" msgstr "Interface pour l'ordonnanceur" -#: library/os.rst:4302 +#: library/os.rst:4309 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 " @@ -6194,7 +6174,7 @@ msgstr "" "plate-formes Unix. Pour des informations plus détaillées, consultez les " "pages de manuels Unix." -#: library/os.rst:4308 +#: library/os.rst:4315 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." @@ -6202,11 +6182,11 @@ msgstr "" "Les polices d'ordonnancement suivantes sont exposées si elles sont gérées " "par le système d'exploitation." -#: library/os.rst:4313 +#: library/os.rst:4320 msgid "The default scheduling policy." msgstr "La police d'ordonnancement par défaut." -#: library/os.rst:4317 +#: library/os.rst:4324 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." @@ -6215,25 +6195,25 @@ msgstr "" "processeur. Cette police essaye de préserver l'interactivité pour le reste " "de l'ordinateur." -#: library/os.rst:4322 +#: library/os.rst:4329 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." -#: library/os.rst:4326 +#: library/os.rst:4333 msgid "Scheduling policy for sporadic server programs." msgstr "Police d'ordonnancement pour des programmes serveurs sporadiques." -#: library/os.rst:4330 +#: library/os.rst:4337 msgid "A First In First Out scheduling policy." msgstr "Une police d'ordonnancement *FIFO* (dernier arrivé, premier servi)." -#: library/os.rst:4334 +#: library/os.rst:4341 msgid "A round-robin scheduling policy." msgstr "Une police d'ordonnancement *round-robin* (tourniquet)." -#: library/os.rst:4338 +#: library/os.rst:4345 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 " @@ -6244,7 +6224,7 @@ msgstr "" "d'ordonnancement et la priorité du processus fils sont remises aux valeurs " "par défaut." -#: library/os.rst:4345 +#: library/os.rst:4352 msgid "" "This class represents tunable scheduling parameters used in :func:" "`sched_setparam`, :func:`sched_setscheduler`, and :func:`sched_getparam`. It " @@ -6254,15 +6234,15 @@ msgstr "" "pour :func:`sched_setparam`, :func:`sched_setscheduler`, et :func:" "`sched_getparam`. Un objet de ce type est immuable." -#: library/os.rst:4349 +#: library/os.rst:4356 msgid "At the moment, there is only one possible parameter:" msgstr "Pour le moment, il n'y a qu'un seul paramètre possible :" -#: library/os.rst:4353 +#: library/os.rst:4360 msgid "The scheduling priority for a scheduling policy." msgstr "La priorité d'ordonnancement pour une police d'ordonnancement." -#: library/os.rst:4358 +#: library/os.rst:4365 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -6270,7 +6250,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." -#: library/os.rst:4364 +#: library/os.rst:4371 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -6278,7 +6258,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." -#: library/os.rst:4370 +#: library/os.rst:4377 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 " @@ -6289,7 +6269,7 @@ msgstr "" "police définies ci-dessus. *param* est une instance de la classe :class:" "`sched_param`." -#: library/os.rst:4377 +#: library/os.rst:4384 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 " @@ -6299,7 +6279,7 @@ msgstr "" "de 0 signifie le processus appelant. Le résultat est une des constantes de " "police définies ci-dessus." -#: library/os.rst:4384 +#: library/os.rst:4391 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." @@ -6308,7 +6288,7 @@ msgstr "" "*pid* de ``0`` signifie le processus appelant. *param* est une instance de :" "class:`sched_param`." -#: library/os.rst:4390 +#: library/os.rst:4397 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." @@ -6317,7 +6297,7 @@ msgstr "" "pour le processus de PID *pid*. Un *pid* de ``0`` signifie le processus " "appelant." -#: library/os.rst:4396 +#: library/os.rst:4403 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." @@ -6325,11 +6305,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." -#: library/os.rst:4402 +#: library/os.rst:4409 msgid "Voluntarily relinquish the CPU." msgstr "Abandonne volontairement le processeur." -#: library/os.rst:4407 +#: library/os.rst:4414 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 " @@ -6339,7 +6319,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." -#: library/os.rst:4414 +#: library/os.rst:4421 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." @@ -6347,11 +6327,11 @@ msgstr "" "Renvoie l'ensemble de CPUs auquel le processus de PID *pid* (ou le processus " "actuel si *pid* vaut ``0``) est restreint." -#: library/os.rst:4421 +#: library/os.rst:4428 msgid "Miscellaneous System Information" msgstr "Diverses informations sur le système" -#: library/os.rst:4426 +#: library/os.rst:4433 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 " @@ -6371,7 +6351,7 @@ msgstr "" "incluses dans ce *mapping*, passer un entier pour *name* est également " "accepté." -#: library/os.rst:4434 +#: library/os.rst:4441 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." @@ -6379,7 +6359,7 @@ msgstr "" "Si la valeur de configuration spécifiée par *name* n'est pas définie, " "``None`` est renvoyé." -#: library/os.rst:4437 +#: library/os.rst:4444 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 " @@ -6391,7 +6371,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." -#: library/os.rst:4447 +#: library/os.rst:4454 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 " @@ -6401,13 +6381,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." -#: library/os.rst:4456 +#: library/os.rst:4463 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é." -#: library/os.rst:4458 +#: library/os.rst:4465 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." @@ -6417,7 +6397,7 @@ msgstr "" "peut utiliser. Le nombre de CPUs utilisables peut être obtenu avec ``len(os." "sched_getaffinity(0))``" -#: library/os.rst:4468 +#: library/os.rst:4475 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 " @@ -6427,7 +6407,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." -#: library/os.rst:4477 +#: library/os.rst:4484 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -6441,7 +6421,7 @@ msgstr "" "s'appliquent également ici, le dictionnaire qui fournit les informations sur " "les noms connus est donné par ``sysconf_names``." -#: library/os.rst:4487 +#: library/os.rst:4494 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 " @@ -6451,7 +6431,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." -#: library/os.rst:4493 +#: library/os.rst:4500 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." @@ -6459,7 +6439,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." -#: library/os.rst:4496 +#: library/os.rst:4503 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." @@ -6467,7 +6447,7 @@ msgstr "" "Des opérations de plus haut niveau sur les chemins sont définies dans le " "module :mod:`os.path`." -#: library/os.rst:4502 +#: library/os.rst:4509 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:" @@ -6477,7 +6457,7 @@ msgstr "" "référencer le répertoire actuel. Ça vaut ``'.'`` pour Windows et POSIX. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4510 +#: library/os.rst:4517 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:" @@ -6487,7 +6467,7 @@ msgstr "" "référencer le répertoire parent. Ça vaut ``'..'`` pour Windows et POSIX. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4519 +#: library/os.rst:4526 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -6502,7 +6482,7 @@ msgstr "" "et :func:`os.path.join`), mais ça peut s'avérer utile occasionnellement. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4529 +#: library/os.rst:4536 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -6514,7 +6494,7 @@ msgstr "" "vaut ``'/'`` sur Windows où ``sep`` est un antislash ``'\\'``. Également " "disponible par :mod:`os.path`." -#: library/os.rst:4538 +#: library/os.rst:4545 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." @@ -6523,7 +6503,7 @@ msgstr "" "exemple, le ``'.'`` de :file:`os.py`. Également disponible par :mod:`os." "path`." -#: library/os.rst:4546 +#: library/os.rst:4553 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " @@ -6534,7 +6514,7 @@ msgstr "" "d'environnement :envvar:`PATH`). Cela vaut ``':'`` pour POSIX, ou ``';'`` " "pour Windows. Également disponible par :mod:`os.path`." -#: library/os.rst:4553 +#: library/os.rst:4560 msgid "" "The default search path used by :func:`exec\\*p\\* ` and :func:`spawn" "\\*p\\* ` if the environment doesn't have a ``'PATH'`` key. Also " @@ -6544,7 +6524,7 @@ msgstr "" "func:`spawn\\* ` si l'environnement n'a pas une clef ``'PATH'``. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4560 +#: library/os.rst:4567 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 " @@ -6559,7 +6539,7 @@ msgstr "" "écrivez dans un fichier ouvert en mode *texte* (par défaut). Utilisez un " "unique ``'\\n'`` à la place, sur toutes les plate-formes." -#: library/os.rst:4569 +#: library/os.rst:4576 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." @@ -6567,7 +6547,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`." -#: library/os.rst:4580 +#: library/os.rst:4587 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` and :func:`~sys." "getdlopenflags` functions. See the Unix manual page :manpage:`dlopen(3)` " @@ -6577,11 +6557,11 @@ msgstr "" "`~sys.getdlopenflags`. Voir les pages de manuel Unix :manpage:`dlopen(3)` " "pour les différences de significations entre les marqueurs." -#: library/os.rst:4588 +#: library/os.rst:4595 msgid "Random numbers" msgstr "Nombres aléatoires" -#: library/os.rst:4593 +#: library/os.rst:4600 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." @@ -6589,7 +6569,7 @@ msgstr "" "Obtient *size* octets aléatoires. La fonction renvoie éventuellement moins " "d'octets que demandé." -#: library/os.rst:4596 +#: library/os.rst:4603 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." @@ -6597,7 +6577,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." -#: library/os.rst:4599 +#: library/os.rst:4606 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -6609,7 +6589,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``." -#: library/os.rst:4604 +#: library/os.rst:4611 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:" @@ -6619,7 +6599,7 @@ msgstr "" "valeurs suivantes combinées avec un OU bit-à-bit : :py:data:`os.GRND_RANDOM` " "et :py:data:`GRND_NONBLOCK`." -#: library/os.rst:4608 +#: library/os.rst:4615 msgid "" "See also the `Linux getrandom() manual page `_." @@ -6627,17 +6607,17 @@ msgstr "" "Voir aussi la `page de manuel Linux pour getrandom() `_." -#: library/os.rst:4612 +#: library/os.rst:4619 msgid ":ref:`Availability `: Linux 3.17 and newer." msgstr ":ref:`Disponibilité ` : Linux 3.17 et ultérieures." -#: library/os.rst:4617 +#: library/os.rst:4624 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." -#: library/os.rst:4619 +#: library/os.rst:4626 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " @@ -6648,7 +6628,7 @@ msgstr "" "pour les applications cryptographiques, bien que la qualité dépende de " "l'implémentation du système." -#: library/os.rst:4623 +#: library/os.rst:4630 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -6665,7 +6645,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." -#: library/os.rst:4630 +#: library/os.rst:4637 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, " @@ -6676,11 +6656,11 @@ msgstr "" "disponible ou n'est pas lisible, l'exception :exc:`NotImplementedError` est " "levée." -#: library/os.rst:4634 +#: library/os.rst:4641 msgid "On Windows, it will use ``CryptGenRandom()``." msgstr "Sous Windows, ``CryptGenRandom()`` est utilisée." -#: library/os.rst:4637 +#: library/os.rst:4644 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " @@ -6690,7 +6670,7 @@ msgstr "" "interface facile à utiliser du générateur de nombres aléatoires fourni par " "votre plate-forme, veuillez regarder :class:`random.SystemRandom`." -#: library/os.rst:4641 +#: library/os.rst:4648 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." @@ -6698,7 +6678,7 @@ msgstr "" "Sous Linux, ``getrandom()`` est maintenant utilisé en mode bloquant pour " "renforcer la sécurité." -#: library/os.rst:4645 +#: library/os.rst:4652 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." @@ -6707,7 +6687,7 @@ msgstr "" "d'*urandom* n'est pas encore initialisée), réalise à la place une lecture de " "``/dev/urandom``." -#: library/os.rst:4649 +#: library/os.rst:4656 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 " @@ -6718,7 +6698,7 @@ msgstr "" "la fonction C ``getentropy()`` est utilisée. Ces fonctions évitent " "l'utilisation interne d'un descripteur de fichier." -#: library/os.rst:4657 +#: library/os.rst:4664 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " @@ -6729,7 +6709,7 @@ msgstr "" "urandom``, elle bloque si la réserve d'entropie n'a pas encore été " "initialisée." -#: library/os.rst:4661 +#: library/os.rst:4668 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`." @@ -6737,7 +6717,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`." -#: library/os.rst:4668 +#: library/os.rst:4675 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/ossaudiodev.po b/library/ossaudiodev.po index 253d86c3..56bb6db9 100644 --- a/library/ossaudiodev.po +++ b/library/ossaudiodev.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -177,7 +177,7 @@ msgid "" "data may not be written---see :meth:`writeall`." msgstr "" -#: library/ossaudiodev.rst:158 library/ossaudiodev.rst:172 +#: library/ossaudiodev.rst:172 msgid "Writable :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." @@ -223,7 +223,7 @@ msgstr "" msgid "Format" msgstr "Format" -#: library/ossaudiodev.rst:200 library/ossaudiodev.rst:254 +#: library/ossaudiodev.rst:254 msgid "Description" msgstr "Description" diff --git a/library/pathlib.po b/library/pathlib.po index 33e7a298..7d3fb70d 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-30 16:07+0200\n" "Last-Translator: Vincent Poulailleau \n" "Language-Team: FRENCH \n" @@ -213,8 +213,7 @@ msgstr "" "Une sous-classe de :class:`PurePath`, cette famille de chemin représente les " "chemins de systèmes de fichiers en dehors des chemins Windows ::" -#: library/pathlib.rst:164 library/pathlib.rst:174 library/pathlib.rst:636 -#: library/pathlib.rst:646 library/pathlib.rst:656 +#: library/pathlib.rst:174 library/pathlib.rst:646 library/pathlib.rst:656 msgid "*pathsegments* is specified similarly to :class:`PurePath`." msgstr "*pathsegments* est spécifié de manière similaire à :class:`PurePath`." @@ -719,8 +718,7 @@ msgstr "" "pointant vers un dossier), ``False`` s'il pointe vers une autre sorte de " "fichier." -#: library/pathlib.rst:808 library/pathlib.rst:817 library/pathlib.rst:846 -#: library/pathlib.rst:855 library/pathlib.rst:864 library/pathlib.rst:873 +#: library/pathlib.rst:817 library/pathlib.rst:855 library/pathlib.rst:873 msgid "" "``False`` is also returned if the path doesn't exist or is a broken symlink; " "other errors (such as permission errors) are propagated." @@ -814,7 +812,15 @@ msgstr "" "Quand le chemin pointe vers un dossier, donne par séquences les objets " "chemin du contenu du dossier ::" -#: library/pathlib.rst:895 +#: library/pathlib.rst:893 +msgid "" +"The children are yielded in arbitrary order, and the special entries ``'.'`` " +"and ``'..'`` are not included. If a file is removed from or added to the " +"directory after creating the iterator, whether an path object for that file " +"be included is unspecified." +msgstr "" + +#: library/pathlib.rst:900 msgid "" "Like :meth:`Path.chmod` but, if the path points to a symbolic link, the " "symbolic link's mode is changed rather than its target's." @@ -822,7 +828,7 @@ msgstr "" "Comme :meth:`Path.chmod`, mais, si le chemin pointe vers un lien symbolique, " "le mode du lien symbolique est changé plutôt que celui de sa cible." -#: library/pathlib.rst:901 +#: library/pathlib.rst:906 msgid "" "Like :meth:`Path.stat` but, if the path points to a symbolic link, return " "the symbolic link's information rather than its target's." @@ -830,7 +836,7 @@ msgstr "" "Comme :meth:`Path.stat`, mais, si le chemin pointe vers un lien symbolique, " "renvoie les informations du lien symbolique plutôt que celui de sa cible." -#: library/pathlib.rst:907 +#: library/pathlib.rst:912 msgid "" "Create a new directory at this given path. If *mode* is given, it is " "combined with the process' ``umask`` value to determine the file mode and " @@ -841,7 +847,7 @@ msgstr "" "de fichier et les droits d'accès. Si le chemin existe déjà, :exc:" "`FileExistsError` est levée." -#: library/pathlib.rst:912 +#: library/pathlib.rst:917 msgid "" "If *parents* is true, any missing parents of this path are created as " "needed; they are created with the default permissions without taking *mode* " @@ -851,7 +857,7 @@ msgstr "" "sont créés avec les permissions par défaut sans prendre en compte *mode* " "(reproduisant la commande POSIX ``mkdir -p``)." -#: library/pathlib.rst:916 +#: library/pathlib.rst:921 msgid "" "If *parents* is false (the default), a missing parent raises :exc:" "`FileNotFoundError`." @@ -859,7 +865,7 @@ msgstr "" "Si *parents* est faux (valeur par défaut), un parent manquant lève :exc:" "`FileNotFoundError`." -#: library/pathlib.rst:919 +#: library/pathlib.rst:924 msgid "" "If *exist_ok* is false (the default), :exc:`FileExistsError` is raised if " "the target directory already exists." @@ -867,7 +873,7 @@ msgstr "" "Si *exist_ok* est faux (valeur par défaut), :exc:`FileExistsError` est levé " "si le dossier cible existe déjà." -#: library/pathlib.rst:922 +#: library/pathlib.rst:927 msgid "" "If *exist_ok* is true, :exc:`FileExistsError` exceptions will be ignored " "(same behavior as the POSIX ``mkdir -p`` command), but only if the last path " @@ -878,11 +884,11 @@ msgstr "" "seulement si le dernier segment de chemin existe et n'est pas un dossier." # « nouveau dans la version … » -#: library/pathlib.rst:926 +#: library/pathlib.rst:931 msgid "The *exist_ok* parameter was added." msgstr "ajout du paramètre *exist_ok*." -#: library/pathlib.rst:932 +#: library/pathlib.rst:937 msgid "" "Open the file pointed to by the path, like the built-in :func:`open` " "function does::" @@ -890,7 +896,7 @@ msgstr "" "Ouvre le fichier pointé par le chemin, comme la fonction native :func:`open` " "le fait ::" -#: library/pathlib.rst:944 +#: library/pathlib.rst:949 msgid "" "Return the name of the user owning the file. :exc:`KeyError` is raised if " "the file's uid isn't found in the system database." @@ -899,18 +905,18 @@ msgstr "" "`KeyError` est levée si l’*uid* de l’utilisateur du fichier n'est pas trouvé " "dans la base de données du système." -#: library/pathlib.rst:950 +#: library/pathlib.rst:955 msgid "Return the binary contents of the pointed-to file as a bytes object::" msgstr "" "Renvoie le contenu binaire du fichier pointé en tant que chaîne d’octets ::" -#: library/pathlib.rst:963 +#: library/pathlib.rst:968 msgid "Return the decoded contents of the pointed-to file as a string::" msgstr "" "Renvoie le contenu décodé du fichier pointé en tant que chaîne de " "caractères ::" -#: library/pathlib.rst:971 +#: library/pathlib.rst:976 msgid "" "The file is opened and then closed. The optional parameters have the same " "meaning as in :func:`open`." @@ -918,7 +924,7 @@ msgstr "" "Le fichier est ouvert, puis fermé. Les paramètres optionnels ont la même " "signification que dans :func:`open`." -#: library/pathlib.rst:979 +#: library/pathlib.rst:984 msgid "" "Return the path to which the symbolic link points (as returned by :func:`os." "readlink`)::" @@ -926,7 +932,7 @@ msgstr "" "Renvoie le chemin vers lequel le lien symbolique pointe (tel que renvoyé " "par :func:`os.readlink`) ::" -#: library/pathlib.rst:992 +#: library/pathlib.rst:997 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. On Unix, if *target* exists and is a file, " @@ -940,11 +946,11 @@ msgstr "" "caractères, soit un autre chemin ::" # « nouveau dans la version … » -#: library/pathlib.rst:1006 library/pathlib.rst:1016 +#: library/pathlib.rst:1021 msgid "Added return value, return the new Path instance." msgstr "ajout de la valeur de retour, renvoie une nouvelle instance *Path*." -#: library/pathlib.rst:1012 +#: library/pathlib.rst:1017 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. If *target* points to an existing file or " @@ -954,7 +960,7 @@ msgstr "" "nouvelle instance de *Path* pointant sur *target*. Si *target* pointe sur un " "fichier ou un dossier existant, il est systématiquement remplacé." -#: library/pathlib.rst:1022 +#: library/pathlib.rst:1027 msgid "" "Make the path absolute, resolving any symlinks. A new path object is " "returned::" @@ -962,7 +968,7 @@ msgstr "" "Rend le chemin absolu, résolvant les liens symboliques. Un nouveau chemin " "est renvoyé ::" -#: library/pathlib.rst:1031 +#: library/pathlib.rst:1036 msgid "" "\"``..``\" components are also eliminated (this is the only method to do " "so)::" @@ -970,7 +976,7 @@ msgstr "" "Les composantes \"``..``\" sont aussi éliminées (c'est la seule méthode pour " "le faire) ::" -#: library/pathlib.rst:1037 +#: library/pathlib.rst:1042 msgid "" "If the path doesn't exist and *strict* is ``True``, :exc:`FileNotFoundError` " "is raised. If *strict* is ``False``, the path is resolved as far as " @@ -985,11 +991,11 @@ msgstr "" "résolution du chemin, :exc:`RuntimeError` est levée." # « nouveau dans la version … » -#: library/pathlib.rst:1043 +#: library/pathlib.rst:1048 msgid "The *strict* argument (pre-3.6 behavior is strict)." msgstr "l'argument *strict* (le comportement *pré-3.6* est strict par défaut)." -#: library/pathlib.rst:1048 +#: library/pathlib.rst:1053 msgid "" "This is like calling :func:`Path.glob` with \"``**/``\" added in front of " "the given relative *pattern*::" @@ -997,7 +1003,7 @@ msgstr "" "C'est similaire à appeler :func:`Path.glob` avec \"``**/``\" ajouté au début " "du motif *pattern* relatif ::" -#: library/pathlib.rst:1058 +#: library/pathlib.rst:1063 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.rglob`` with " "arguments ``self``, ``pattern``." @@ -1005,11 +1011,11 @@ msgstr "" "Lève un :ref:`évènement d’audit ` ``pathlib.Path.glob`` avec comme " "arguments ``self`` et ``pattern``." -#: library/pathlib.rst:1063 +#: library/pathlib.rst:1068 msgid "Remove this directory. The directory must be empty." msgstr "Supprime ce dossier. Le dossier doit être vide." -#: library/pathlib.rst:1068 +#: library/pathlib.rst:1073 msgid "" "Return whether this path points to the same file as *other_path*, which can " "be either a Path object, or a string. The semantics are similar to :func:" @@ -1019,7 +1025,7 @@ msgstr "" "être soit un chemin, soit une chaîne de caractères. La sémantique est " "similaire à :func:`os.path.samefile` et :func:`os.path.samestat`." -#: library/pathlib.rst:1072 +#: library/pathlib.rst:1077 msgid "" "An :exc:`OSError` can be raised if either file cannot be accessed for some " "reason." @@ -1027,7 +1033,7 @@ msgstr "" ":exc:`OSError` peut être levée si l'un des fichiers ne peut être accédé pour " "quelque raison." -#: library/pathlib.rst:1089 +#: library/pathlib.rst:1094 msgid "" "Make this path a symbolic link to *target*. Under Windows, " "*target_is_directory* must be true (default ``False``) if the link's target " @@ -1038,14 +1044,14 @@ msgstr "" "si la cible du lien est un dossier. Sous POSIX, la valeur de " "*target_is_directory* est ignorée." -#: library/pathlib.rst:1105 +#: library/pathlib.rst:1110 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.symlink`'s." msgstr "" "L'ordre des arguments (lien, cible) est l'opposé de ceux de :func:`os." "symlink`." -#: library/pathlib.rst:1111 +#: library/pathlib.rst:1116 msgid "" "Create a file at this given path. If *mode* is given, it is combined with " "the process' ``umask`` value to determine the file mode and access flags. " @@ -1059,7 +1065,7 @@ msgstr "" "*exist_ok* est vrai (et si l'heure de modification est mise à jour avec " "l'heure courante), sinon :exc:`FileExistsError` est levée." -#: library/pathlib.rst:1120 +#: library/pathlib.rst:1125 msgid "" "Remove this file or symbolic link. If the path points to a directory, use :" "func:`Path.rmdir` instead." @@ -1067,7 +1073,7 @@ msgstr "" "Supprime ce fichier ou lien symbolique. Si le chemin pointe vers un dossier, " "utilisez :func:`Path.rmdir` à la place." -#: library/pathlib.rst:1123 +#: library/pathlib.rst:1128 msgid "" "If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised " "if the path does not exist." @@ -1075,7 +1081,7 @@ msgstr "" "Si *missing_ok* est faux (valeur par défaut), une :exc:`FileNotFoundError` " "est levée si le chemin n'existe pas." -#: library/pathlib.rst:1126 +#: library/pathlib.rst:1131 msgid "" "If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored " "(same behavior as the POSIX ``rm -f`` command)." @@ -1083,15 +1089,15 @@ msgstr "" "Si *missing_ok* est vrai, les exceptions :exc:`FileNotFoundError` sont " "ignorées (même comportement que la commande POSIX ``rm -f``)." -#: library/pathlib.rst:1129 +#: library/pathlib.rst:1134 msgid "The *missing_ok* parameter was added." msgstr "Ajout du paramètre *missing_ok*." -#: library/pathlib.rst:1135 +#: library/pathlib.rst:1140 msgid "Create a hard link pointing to a path named *target*." msgstr "Crée un lien matériel pointant sur le chemin nommé *target*." -#: library/pathlib.rst:1142 +#: library/pathlib.rst:1147 msgid "" "Open the file pointed to in bytes mode, write *data* to it, and close the " "file::" @@ -1099,11 +1105,11 @@ msgstr "" "Ouvre le fichier pointé en mode binaire, écrit *data* dedans, et ferme le " "fichier ::" -#: library/pathlib.rst:1151 +#: library/pathlib.rst:1156 msgid "An existing file of the same name is overwritten." msgstr "Le fichier du même nom, s'il existe, est écrasé." -#: library/pathlib.rst:1158 +#: library/pathlib.rst:1163 msgid "" "Open the file pointed to in text mode, write *data* to it, and close the " "file::" @@ -1111,7 +1117,7 @@ msgstr "" "Ouvre le fichier pointé en mode texte, écrit *data* dedans, et ferme le " "fichier ::" -#: library/pathlib.rst:1167 +#: library/pathlib.rst:1172 msgid "" "An existing file of the same name is overwritten. The optional parameters " "have the same meaning as in :func:`open`." @@ -1119,11 +1125,11 @@ msgstr "" "Le fichier du même nom, s'il existe, est écrasé. Les paramètres optionnels " "ont la même signification que dans :func:`open`." -#: library/pathlib.rst:1173 +#: library/pathlib.rst:1178 msgid "Correspondence to tools in the :mod:`os` module" msgstr "Correspondance des outils du module :mod:`os`" -#: library/pathlib.rst:1175 +#: library/pathlib.rst:1180 msgid "" "Below is a table mapping various :mod:`os` functions to their corresponding :" "class:`PurePath`/:class:`Path` equivalent." @@ -1131,7 +1137,7 @@ msgstr "" "Ci-dessous se trouve un tableau associant diverses fonctions :mod:`os` à " "leur équivalent :class:`PurePath` / :class:`Path` correspondant." -#: library/pathlib.rst:1180 +#: library/pathlib.rst:1185 msgid "" "Although :func:`os.path.relpath` and :meth:`PurePath.relative_to` have some " "overlapping use-cases, their semantics differ enough to warrant not " @@ -1141,206 +1147,206 @@ msgstr "" "cas d'utilisation qui se chevauchent, leur sémantique diffère suffisamment " "pour ne pas les considérer comme équivalentes." -#: library/pathlib.rst:1185 +#: library/pathlib.rst:1190 msgid "os and os.path" msgstr "*os* et *os.path*" -#: library/pathlib.rst:1185 +#: library/pathlib.rst:1190 msgid "pathlib" msgstr "pathlib" -#: library/pathlib.rst:1187 +#: library/pathlib.rst:1192 msgid ":func:`os.path.abspath`" msgstr ":func:`os.path.abspath`" -#: library/pathlib.rst:1187 +#: library/pathlib.rst:1192 msgid ":meth:`Path.resolve`" msgstr ":meth:`Path.resolve`" -#: library/pathlib.rst:1188 +#: library/pathlib.rst:1193 msgid ":func:`os.chmod`" msgstr ":func:`os.chmod`" -#: library/pathlib.rst:1188 +#: library/pathlib.rst:1193 msgid ":meth:`Path.chmod`" msgstr ":meth:`Path.chmod`" -#: library/pathlib.rst:1189 +#: library/pathlib.rst:1194 msgid ":func:`os.mkdir`" msgstr ":func:`os.mkdir`" -#: library/pathlib.rst:1189 library/pathlib.rst:1190 +#: library/pathlib.rst:1195 msgid ":meth:`Path.mkdir`" msgstr ":meth:`Path.mkdir`" -#: library/pathlib.rst:1190 +#: library/pathlib.rst:1195 msgid ":func:`os.makedirs`" msgstr ":func:`os.makedirs`" -#: library/pathlib.rst:1191 +#: library/pathlib.rst:1196 msgid ":func:`os.rename`" msgstr ":func:`os.rename`" -#: library/pathlib.rst:1191 +#: library/pathlib.rst:1196 msgid ":meth:`Path.rename`" msgstr ":meth:`Path.rename`" -#: library/pathlib.rst:1192 +#: library/pathlib.rst:1197 msgid ":func:`os.replace`" msgstr ":func:`os.replace`" -#: library/pathlib.rst:1192 +#: library/pathlib.rst:1197 msgid ":meth:`Path.replace`" msgstr ":meth:`Path.replace`" -#: library/pathlib.rst:1193 +#: library/pathlib.rst:1198 msgid ":func:`os.rmdir`" msgstr ":func:`os.rmdir`" -#: library/pathlib.rst:1193 +#: library/pathlib.rst:1198 msgid ":meth:`Path.rmdir`" msgstr ":meth:`Path.rmdir`" -#: library/pathlib.rst:1194 +#: library/pathlib.rst:1199 msgid ":func:`os.remove`, :func:`os.unlink`" msgstr ":func:`os.remove`, :func:`os.unlink`" -#: library/pathlib.rst:1194 +#: library/pathlib.rst:1199 msgid ":meth:`Path.unlink`" msgstr ":meth:`Path.unlink`" -#: library/pathlib.rst:1195 +#: library/pathlib.rst:1200 msgid ":func:`os.getcwd`" msgstr ":func:`os.getcwd`" -#: library/pathlib.rst:1195 +#: library/pathlib.rst:1200 msgid ":func:`Path.cwd`" msgstr ":func:`Path.cwd`" -#: library/pathlib.rst:1196 +#: library/pathlib.rst:1201 msgid ":func:`os.path.exists`" msgstr ":func:`os.path.exists`" -#: library/pathlib.rst:1196 +#: library/pathlib.rst:1201 msgid ":meth:`Path.exists`" msgstr ":meth:`Path.exists`" -#: library/pathlib.rst:1197 +#: library/pathlib.rst:1202 msgid ":func:`os.path.expanduser`" msgstr ":func:`os.path.expanduser`" -#: library/pathlib.rst:1197 +#: library/pathlib.rst:1202 msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr ":meth:`Path.expanduser` et :meth:`Path.home`" -#: library/pathlib.rst:1199 +#: library/pathlib.rst:1204 msgid ":func:`os.listdir`" msgstr ":func:`os.listdir`" -#: library/pathlib.rst:1199 +#: library/pathlib.rst:1204 msgid ":meth:`Path.iterdir`" msgstr ":meth:`Path.iterdir`" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1205 msgid ":func:`os.path.isdir`" msgstr ":func:`os.path.isdir`" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1205 msgid ":meth:`Path.is_dir`" msgstr ":meth:`Path.is_dir`" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1206 msgid ":func:`os.path.isfile`" msgstr ":func:`os.path.isfile`" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1206 msgid ":meth:`Path.is_file`" msgstr ":meth:`Path.is_file`" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1207 msgid ":func:`os.path.islink`" msgstr ":func:`os.path.islink`" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1207 msgid ":meth:`Path.is_symlink`" msgstr ":meth:`Path.is_symlink`" -#: library/pathlib.rst:1203 +#: library/pathlib.rst:1208 msgid ":func:`os.link`" msgstr ":func:`os.link`" -#: library/pathlib.rst:1203 +#: library/pathlib.rst:1208 msgid ":meth:`Path.link_to`" msgstr ":meth:`Path.link_to`" -#: library/pathlib.rst:1204 +#: library/pathlib.rst:1209 msgid ":func:`os.symlink`" msgstr ":func:`os.symlink`" -#: library/pathlib.rst:1204 +#: library/pathlib.rst:1209 msgid ":meth:`Path.symlink_to`" msgstr ":meth:`Path.symlink_to`" -#: library/pathlib.rst:1205 +#: library/pathlib.rst:1210 msgid ":func:`os.readlink`" msgstr ":func:`os.readlink`" -#: library/pathlib.rst:1205 +#: library/pathlib.rst:1210 msgid ":meth:`Path.readlink`" msgstr ":meth:`Path.readlink`" -#: library/pathlib.rst:1206 +#: library/pathlib.rst:1211 msgid ":func:`os.stat`" msgstr ":func:`os.stat`" -#: library/pathlib.rst:1206 +#: library/pathlib.rst:1211 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1214 msgid ":func:`os.path.isabs`" msgstr ":func:`os.path.isabs`" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1214 msgid ":meth:`PurePath.is_absolute`" msgstr ":meth:`PurePath.is_absolute`" -#: library/pathlib.rst:1210 +#: library/pathlib.rst:1215 msgid ":func:`os.path.join`" msgstr ":func:`os.path.join`" -#: library/pathlib.rst:1210 +#: library/pathlib.rst:1215 msgid ":func:`PurePath.joinpath`" msgstr ":func:`PurePath.joinpath`" -#: library/pathlib.rst:1211 +#: library/pathlib.rst:1216 msgid ":func:`os.path.basename`" msgstr ":func:`os.path.basename`" -#: library/pathlib.rst:1211 +#: library/pathlib.rst:1216 msgid ":data:`PurePath.name`" msgstr ":data:`PurePath.name`" -#: library/pathlib.rst:1212 +#: library/pathlib.rst:1217 msgid ":func:`os.path.dirname`" msgstr ":func:`os.path.dirname`" -#: library/pathlib.rst:1212 +#: library/pathlib.rst:1217 msgid ":data:`PurePath.parent`" msgstr ":data:`PurePath.parent`" -#: library/pathlib.rst:1213 +#: library/pathlib.rst:1218 msgid ":func:`os.path.samefile`" msgstr ":func:`os.path.samefile`" -#: library/pathlib.rst:1213 +#: library/pathlib.rst:1218 msgid ":meth:`Path.samefile`" msgstr ":meth:`Path.samefile`" -#: library/pathlib.rst:1214 +#: library/pathlib.rst:1219 msgid ":func:`os.path.splitext`" msgstr ":func:`os.path.splitext`" -#: library/pathlib.rst:1214 +#: library/pathlib.rst:1219 msgid ":data:`PurePath.suffix`" msgstr ":data:`PurePath.suffix`" diff --git a/library/pickle.po b/library/pickle.po index 01dad9e1..cbfa7916 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-02-26 12:09+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -347,7 +347,7 @@ msgid "" "same meaning as in the :class:`Pickler` constructor." msgstr "" -#: library/pickle.rst:225 library/pickle.rst:236 library/pickle.rst:328 +#: library/pickle.rst:236 library/pickle.rst:328 msgid "The *buffer_callback* argument was added." msgstr "" @@ -370,20 +370,20 @@ msgid "" "therein. This is equivalent to ``Unpickler(file).load()``." msgstr "" -#: library/pickle.rst:245 library/pickle.rst:260 +#: 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 "" -#: library/pickle.rst:249 library/pickle.rst:264 +#: 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 "" -#: library/pickle.rst:252 library/pickle.rst:267 library/pickle.rst:429 +#: library/pickle.rst:267 library/pickle.rst:429 msgid "The *buffers* argument was added." msgstr "" @@ -500,7 +500,7 @@ msgid "" "by :meth:`persistent_id` cannot itself have a persistent ID." msgstr "" -#: library/pickle.rst:346 library/pickle.rst:447 +#: library/pickle.rst:447 msgid "See :ref:`pickle-persistent` for details and examples of uses." msgstr "" diff --git a/library/pkgutil.po b/library/pkgutil.po index d08b254b..c819f7c0 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -91,7 +91,7 @@ msgid "" "placement on :data:`sys.meta_path`." msgstr "" -#: library/pkgutil.rst:64 library/pkgutil.rst:73 +#: library/pkgutil.rst:73 msgid "" "This emulation is no longer needed, as the standard import mechanism is now " "fully :pep:`302` compliant and available in :mod:`importlib`." @@ -113,14 +113,13 @@ msgid "" "returns the loader rather than the full :class:`ModuleSpec`." msgstr "" -#: library/pkgutil.rst:87 library/pkgutil.rst:104 library/pkgutil.rst:119 -#: library/pkgutil.rst:140 library/pkgutil.rst:161 library/pkgutil.rst:200 +#: library/pkgutil.rst:104 library/pkgutil.rst:140 library/pkgutil.rst:200 msgid "" "Updated to be based directly on :mod:`importlib` rather than relying on the " "package internal :pep:`302` import emulation." msgstr "" -#: library/pkgutil.rst:91 library/pkgutil.rst:123 +#: library/pkgutil.rst:123 msgid "Updated to be based on :pep:`451`" msgstr "" @@ -180,17 +179,17 @@ msgid "" "``None``, all top-level modules on ``sys.path``." msgstr "" -#: library/pkgutil.rst:150 library/pkgutil.rst:171 +#: library/pkgutil.rst:171 msgid "" "*path* should be either ``None`` or a list of paths to look for modules in." msgstr "" -#: library/pkgutil.rst:152 library/pkgutil.rst:173 +#: library/pkgutil.rst:173 msgid "" "*prefix* is a string to output on the front of every module name on output." msgstr "" -#: library/pkgutil.rst:156 library/pkgutil.rst:195 +#: library/pkgutil.rst:195 msgid "" "Only works for a :term:`finder` which defines an ``iter_modules()`` method. " "This interface is non-standard, so the module also provides implementations " diff --git a/library/poplib.po b/library/poplib.po index 97efaf19..5f4815de 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -60,7 +60,7 @@ msgid "" "timeout setting will be used)." msgstr "" -#: library/poplib.rst:43 library/poplib.rst:69 +#: library/poplib.rst:69 msgid "" "Raises an :ref:`auditing event ` ``poplib.connect`` with arguments " "``self``, ``host``, ``port``." @@ -72,14 +72,14 @@ msgid "" "``self``, ``line``." msgstr "" -#: library/poplib.rst:46 library/poplib.rst:72 +#: library/poplib.rst:72 msgid "" "All commands will raise an :ref:`auditing event ` ``poplib." "putline`` with arguments ``self`` and ``line``, where ``line`` is the bytes " "about to be sent to the remote host." msgstr "" -#: library/poplib.rst:50 library/poplib.rst:91 +#: library/poplib.rst:91 msgid "" "If the *timeout* parameter is set to be zero, it will raise a :class:" "`ValueError` to prevent the creation of a non-blocking socket." diff --git a/library/pprint.po b/library/pprint.po index 36585282..816be5fd 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-03 09:52+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" @@ -111,11 +111,11 @@ msgstr "" "formatés avec leurs clés triées, sinon ils sont affichés dans l'ordre " "d'insertion." -#: library/pprint.rst:60 library/pprint.rst:100 library/pprint.rst:128 +#: library/pprint.rst:100 library/pprint.rst:128 msgid "Added the *compact* parameter." msgstr "Ajout du paramètre *compact*." -#: library/pprint.rst:63 library/pprint.rst:103 library/pprint.rst:131 +#: library/pprint.rst:103 library/pprint.rst:131 msgid "Added the *sort_dicts* parameter." msgstr "Ajout du paramètre *sort_dicts*." diff --git a/library/profile.po b/library/profile.po index 06d07f6e..615906f7 100644 --- a/library/profile.po +++ b/library/profile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -120,7 +120,7 @@ msgid "" "calls to sub-functions)" msgstr "" -#: library/profile.rst:95 library/profile.rst:102 +#: library/profile.rst:102 msgid "percall" msgstr "" @@ -518,7 +518,7 @@ msgstr "``'calls'``" msgid "SortKey.CALLS" msgstr "" -#: library/profile.rst:408 library/profile.rst:420 +#: library/profile.rst:420 msgid "call count" msgstr "" @@ -530,7 +530,7 @@ msgstr "``'cumulative'``" msgid "SortKey.CUMULATIVE" msgstr "" -#: library/profile.rst:410 library/profile.rst:412 +#: library/profile.rst:412 msgid "cumulative time" msgstr "" @@ -538,8 +538,7 @@ msgstr "" msgid "``'cumtime'``" msgstr "``'cumtime'``" -#: library/profile.rst:412 library/profile.rst:414 library/profile.rst:418 -#: library/profile.rst:420 library/profile.rst:434 +#: library/profile.rst:414 library/profile.rst:420 library/profile.rst:434 msgid "N/A" msgstr "N/A" @@ -547,7 +546,7 @@ msgstr "N/A" msgid "``'file'``" msgstr "``'file'``" -#: library/profile.rst:414 library/profile.rst:416 library/profile.rst:418 +#: library/profile.rst:416 library/profile.rst:418 msgid "file name" msgstr "" @@ -635,7 +634,7 @@ msgstr "``'time'``" msgid "SortKey.TIME" msgstr "" -#: library/profile.rst:432 library/profile.rst:434 +#: library/profile.rst:434 msgid "internal time" msgstr "" diff --git a/library/py_compile.po b/library/py_compile.po index bada9eb8..200fb57a 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -49,11 +49,11 @@ msgid "" "ending in ``.pyc``. For example, if *file* is ``/foo/bar/baz.py`` *cfile* " "will default to ``/foo/bar/__pycache__/baz.cpython-32.pyc`` for Python 3.2. " "If *dfile* is specified, it is used as the name of the source file in error " -"messages when instead of *file*. If *doraise* is true, a :exc:" -"`PyCompileError` is raised when an error is encountered while compiling " -"*file*. If *doraise* is false (the default), an error string is written to " -"``sys.stderr``, but no exception is raised. This function returns the path " -"to byte-compiled file, i.e. whatever *cfile* value was used." +"messages instead of *file*. If *doraise* is true, a :exc:`PyCompileError` " +"is raised when an error is encountered while compiling *file*. If *doraise* " +"is false (the default), an error string is written to ``sys.stderr``, but no " +"exception is raised. This function returns the path to byte-compiled file, " +"i.e. whatever *cfile* value was used." msgstr "" #: library/py_compile.rst:45 diff --git a/library/pyclbr.po b/library/pyclbr.po index 1da740ce..7da58037 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -95,7 +95,7 @@ msgstr "" msgid "The name of the function." msgstr "" -#: library/pyclbr.rst:82 library/pyclbr.rst:125 +#: library/pyclbr.rst:125 msgid "The line number in the file where the definition starts." msgstr "" @@ -103,7 +103,7 @@ msgstr "" msgid "For top-level functions, None. For nested functions, the parent." msgstr "" -#: library/pyclbr.rst:94 library/pyclbr.rst:137 +#: library/pyclbr.rst:137 msgid "" "A dictionary mapping names to descriptors for nested functions and classes." msgstr "" diff --git a/library/queue.po b/library/queue.po index d473c462..c802463f 100644 --- a/library/queue.po +++ b/library/queue.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-01 17:35+0100\n" "Last-Translator: Lcaracol \n" "Language-Team: FRENCH \n" @@ -270,7 +270,7 @@ msgstr "" "qu'aucune exception ne peut arriver et, en particulier, un *SIGINT* ne " "déclenchera pas de :exc:`KeyboardInterrupt`." -#: library/queue.rst:161 library/queue.rst:268 +#: library/queue.rst:268 msgid "Equivalent to ``get(False)``." msgstr "Équivalent à ``get(False)``." diff --git a/library/re.po b/library/re.po index a75e4fb1..254e90a8 100644 --- a/library/re.po +++ b/library/re.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-09-28 13:55+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -217,7 +217,7 @@ msgstr "" msgid "The special characters are:" msgstr "Les caractères spéciaux sont :" -#: library/re.rst:104 library/re.rst:1409 +#: library/re.rst:1409 msgid "``.``" msgstr "``.``" @@ -742,7 +742,7 @@ msgstr "lui-même dans le même motif" msgid "``(?P=quote)`` (as shown)" msgstr "``(?P=quote)`` (comme vu)" -#: library/re.rst:353 library/re.rst:360 +#: library/re.rst:360 msgid "``\\1``" msgstr "``\\1``" @@ -1002,7 +1002,7 @@ msgstr "" msgid "``\\d``" msgstr "``\\d``" -#: library/re.rst:489 library/re.rst:509 library/re.rst:529 +#: library/re.rst:509 library/re.rst:529 msgid "For Unicode (str) patterns:" msgstr "Pour les motifs Unicode (*str*) :" @@ -1018,7 +1018,7 @@ msgstr "" "caractères de chiffres. Si l'option :const:`ASCII` est utilisée, seuls les " "caractères de la classe ``[0-9]`` correspondront." -#: library/re.rst:492 library/re.rst:513 library/re.rst:535 +#: library/re.rst:513 library/re.rst:535 msgid "For 8-bit (bytes) patterns:" msgstr "Pour les motifs 8-bit (*bytes*) :" @@ -1528,7 +1528,7 @@ msgstr "" "seulement lorsqu'ils ne sont pas adjacents à une correspondance vide " "précédente." -#: library/re.rst:817 library/re.rst:897 library/re.rst:921 +#: library/re.rst:897 library/re.rst:921 msgid "Added the optional flags argument." msgstr "ajout de l'argument optionnel *flags*." @@ -1555,7 +1555,7 @@ msgstr "" "*tuples* si le motif a plus d'un groupe. Les correspondances vides sont " "incluses dans le résultat." -#: library/re.rst:832 library/re.rst:843 +#: library/re.rst:843 msgid "Non-empty matches can now start just after a previous empty match." msgstr "" "Les correspondances non vides peuvent maintenant démarrer juste après une " @@ -1654,7 +1654,7 @@ msgstr "" "par un caractère littéral ``'0'``. La référence arrière ``\\g<0>`` est " "remplacée par la sous-chaîne entière validée par l'expression rationnelle." -#: library/re.rst:900 library/re.rst:924 library/re.rst:1155 +#: library/re.rst:924 library/re.rst:1155 msgid "Unmatched groups are replaced with an empty string." msgstr "Les groupes sans correspondance sont remplacés par une chaîne vide." @@ -1838,7 +1838,7 @@ msgstr "" "objects>` trouvé. Renvoie ``None`` si la chaîne ne correspond pas au motif ; " "notez que cela est différent d'une correspondance vide." -#: library/re.rst:1041 library/re.rst:1059 +#: library/re.rst:1059 msgid "" "The optional *pos* and *endpos* parameters have the same meaning as for the :" "meth:`~Pattern.search` method. ::" @@ -2040,7 +2040,7 @@ msgstr "" "1 jusqu'au nombre de groupes dans le motif. L'argument *default* est " "utilisé pour les groupes sans correspondance ; il vaut ``None`` par défaut." -#: library/re.rst:1231 library/re.rst:1453 +#: library/re.rst:1453 msgid "For example::" msgstr "Par exemple ::" diff --git a/library/resource.po b/library/resource.po index 3ccc5714..9611662a 100644 --- a/library/resource.po +++ b/library/resource.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-11-29 21:18+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -229,7 +229,7 @@ msgstr "" msgid "The number of bytes that can be allocated for POSIX message queues." msgstr "" -#: library/resource.rst:189 library/resource.rst:226 +#: library/resource.rst:226 msgid ":ref:`Availability `: Linux 2.6.8 or later." msgstr ":ref:`Disponibilité ` : Linux 2.6.8 et ultérieures." @@ -237,7 +237,7 @@ msgstr ":ref:`Disponibilité ` : Linux 2.6.8 et ultérieures." msgid "The ceiling for the process's nice level (calculated as 20 - rlim_cur)." msgstr "" -#: library/resource.rst:198 library/resource.rst:207 +#: library/resource.rst:207 msgid ":ref:`Availability `: Linux 2.6.12 or later." msgstr ":ref:`Disponibilité ` : Linux 2.6.12 et ultérieures." @@ -266,7 +266,7 @@ msgid "" "this user may hold at any time." msgstr "" -#: library/resource.rst:236 library/resource.rst:247 library/resource.rst:255 +#: library/resource.rst:247 library/resource.rst:255 msgid ":ref:`Availability `: FreeBSD 9 or later." msgstr ":ref:`Disponibilité ` : FreeBSD 9 et ultérieures." diff --git a/library/runpy.po b/library/runpy.po index ed001ed5..8a15444b 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2017-08-10 00:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -75,7 +75,7 @@ msgid "" "overridden by :func:`run_module`." msgstr "" -#: library/runpy.rst:52 library/runpy.rst:121 +#: library/runpy.rst:121 msgid "" "The special global variables ``__name__``, ``__spec__``, ``__file__``, " "``__cached__``, ``__loader__`` and ``__package__`` are set in the globals " @@ -233,7 +233,7 @@ msgstr "" msgid ":pep:`338` -- Executing modules as scripts" msgstr ":pep:`338` -- Exécuter des modules en tant que scripts" -#: library/runpy.rst:169 library/runpy.rst:172 +#: library/runpy.rst:172 msgid "PEP written and implemented by Nick Coghlan." msgstr "" diff --git a/library/sched.po b/library/sched.po index 0a923678..9de238da 100644 --- a/library/sched.po +++ b/library/sched.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -82,11 +82,11 @@ msgid "" "event (see :meth:`cancel`)." msgstr "" -#: library/sched.rst:80 library/sched.rst:93 +#: library/sched.rst:93 msgid "*argument* parameter is optional." msgstr "" -#: library/sched.rst:83 library/sched.rst:96 +#: library/sched.rst:96 msgid "*kwargs* parameter was added." msgstr "" diff --git a/library/secrets.po b/library/secrets.po index d8a72aac..0ba70f79 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-16 15:20+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -37,8 +37,9 @@ msgstr "" "secrets associés." #: library/secrets.rst:24 +#, fuzzy msgid "" -"In particularly, :mod:`secrets` should be used in preference to the default " +"In particular, :mod:`secrets` should be used in preference to the default " "pseudo-random number generator in the :mod:`random` module, which is " "designed for modelling and simulation, not security or cryptography." msgstr "" diff --git a/library/select.po b/library/select.po index d68795c6..14604bed 100644 --- a/library/select.po +++ b/library/select.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -64,11 +64,11 @@ msgid "" "`devpoll` may return an incomplete list of active file descriptors." msgstr "" -#: library/select.rst:49 library/select.rst:78 library/select.rst:105 +#: library/select.rst:78 library/select.rst:105 msgid "The new file descriptor is :ref:`non-inheritable `." msgstr "" -#: library/select.rst:53 library/select.rst:107 +#: library/select.rst:107 msgid "The new file descriptor is now non-inheritable." msgstr "Le nouveau descripteur de fichier est maintenant non-héritable." @@ -198,8 +198,7 @@ msgid "" "and does not handle file descriptors that don't originate from WinSock." msgstr "" -#: library/select.rst:160 library/select.rst:266 library/select.rst:366 -#: library/select.rst:454 library/select.rst:495 +#: library/select.rst:266 library/select.rst:454 library/select.rst:495 msgid "" "The function is now retried with a recomputed timeout when interrupted by a " "signal, except if the signal handler raises an exception (see :pep:`475` for " @@ -250,7 +249,7 @@ msgstr "" msgid "Return the file descriptor number of the polling object." msgstr "" -#: library/select.rst:217 library/select.rst:389 +#: library/select.rst:389 msgid "" "Register a file descriptor with the polling object. Future calls to the :" "meth:`poll` method will then check whether the file descriptor has any " @@ -280,7 +279,7 @@ msgid "" "(a bit) more efficient that doing the same explicitly." msgstr "" -#: library/select.rst:245 library/select.rst:433 +#: library/select.rst:433 msgid "" "Remove a file descriptor being tracked by a polling object. Just like the :" "meth:`register` method, *fd* can be an integer or an object with a :meth:" @@ -319,15 +318,13 @@ msgstr "" msgid "*eventmask*" msgstr "" -#: library/select.rst:283 library/select.rst:401 library/select.rst:521 -#: library/select.rst:550 library/select.rst:581 library/select.rst:589 -#: library/select.rst:609 library/select.rst:632 +#: library/select.rst:401 library/select.rst:550 library/select.rst:589 +#: library/select.rst:632 msgid "Constant" msgstr "Constante" -#: library/select.rst:283 library/select.rst:401 library/select.rst:521 -#: library/select.rst:550 library/select.rst:581 library/select.rst:589 -#: library/select.rst:609 library/select.rst:632 +#: library/select.rst:401 library/select.rst:550 library/select.rst:589 +#: library/select.rst:632 msgid "Meaning" msgstr "Signification" @@ -464,7 +461,7 @@ msgstr "" msgid "``True`` if the epoll object is closed." msgstr "" -#: library/select.rst:336 library/select.rst:478 +#: library/select.rst:478 msgid "Return the file descriptor number of the control fd." msgstr "" @@ -784,7 +781,7 @@ msgstr "" msgid ":const:`KQ_EV_SYSFLAGS`" msgstr ":const:`KQ_EV_SYSFLAGS`" -#: library/select.rst:564 library/select.rst:566 +#: library/select.rst:566 msgid "internal event" msgstr "" @@ -916,7 +913,7 @@ msgstr "" msgid ":const:`KQ_NOTE_PCTRLMASK`" msgstr ":const:`KQ_NOTE_PCTRLMASK`" -#: library/select.rst:617 library/select.rst:619 +#: library/select.rst:619 msgid "internal filter flag" msgstr "" diff --git a/library/shutil.po b/library/shutil.po index dd10da64..fe3fdc23 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-11-29 18:26+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -120,7 +120,7 @@ msgstr "" "Si *follow_symlinks* est faux et *src* est un lien symbolique, un nouveau " "lien symbolique est créé au lieu de copier le fichier pointé par *src*." -#: library/shutil.rst:71 library/shutil.rst:177 library/shutil.rst:208 +#: library/shutil.rst:177 library/shutil.rst:208 msgid "" "Raises an :ref:`auditing event ` ``shutil.copyfile`` with " "arguments ``src``, ``dst``." @@ -142,8 +142,7 @@ msgstr "" "Lève :exc:`SameFileError` au lieu de :exc:`Error`. Puisque la première est " "une sous-classe de la seconde, le changement assure la rétrocompatibilité." -#: library/shutil.rst:81 library/shutil.rst:184 library/shutil.rst:216 -#: library/shutil.rst:281 library/shutil.rst:369 +#: library/shutil.rst:184 library/shutil.rst:281 library/shutil.rst:369 msgid "" "Platform-specific fast-copy syscalls may be used internally in order to copy " "the file more efficiently. See :ref:`shutil-platform-dependent-efficient-" @@ -179,7 +178,7 @@ msgstr "" "plus d'informations. Si :func:`copymode` ne peut pas modifier les liens " "symboliques sur la plateforme cible alors que c'est demandé, il ne fait rien." -#: library/shutil.rst:107 library/shutil.rst:179 +#: library/shutil.rst:179 msgid "" "Raises an :ref:`auditing event ` ``shutil.copymode`` with " "arguments ``src``, ``dst``." @@ -258,7 +257,7 @@ msgstr "" msgid "Please see :data:`os.supports_follow_symlinks` for more information." msgstr "" -#: library/shutil.rst:154 library/shutil.rst:210 +#: library/shutil.rst:210 msgid "" "Raises an :ref:`auditing event ` ``shutil.copystat`` with " "arguments ``src``, ``dst``." @@ -767,7 +766,7 @@ msgid "" "returned sequence is a tuple ``(name, description)``." msgstr "" -#: library/shutil.rst:607 library/shutil.rst:689 +#: library/shutil.rst:689 msgid "By default :mod:`shutil` provides these formats:" msgstr "" @@ -780,15 +779,15 @@ msgid "" "*tar*: Uncompressed tar file. Uses POSIX.1-2001 pax format for new archives." msgstr "" -#: library/shutil.rst:611 library/shutil.rst:694 +#: library/shutil.rst:694 msgid "*gztar*: gzip'ed tar-file (if the :mod:`zlib` module is available)." msgstr "" -#: library/shutil.rst:612 library/shutil.rst:695 +#: library/shutil.rst:695 msgid "*bztar*: bzip2'ed tar-file (if the :mod:`bz2` module is available)." msgstr "" -#: library/shutil.rst:613 library/shutil.rst:696 +#: library/shutil.rst:696 msgid "*xztar*: xz'ed tar-file (if the :mod:`lzma` module is available)." msgstr "" diff --git a/library/signal.po b/library/signal.po index 2233a4dd..6637f4a4 100644 --- a/library/signal.po +++ b/library/signal.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-11-29 18:27+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -134,10 +134,8 @@ msgstr "" msgid "Timer signal from :manpage:`alarm(2)`." msgstr "" -#: library/signal.rst:102 library/signal.rst:114 library/signal.rst:130 -#: library/signal.rst:144 library/signal.rst:162 library/signal.rst:170 -#: library/signal.rst:184 library/signal.rst:190 library/signal.rst:196 -#: library/signal.rst:447 library/signal.rst:454 +#: library/signal.rst:114 library/signal.rst:144 library/signal.rst:170 +#: library/signal.rst:190 library/signal.rst:447 library/signal.rst:454 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -145,8 +143,7 @@ msgstr ":ref:`Disponibilité ` : Unix." msgid "Interrupt from keyboard (CTRL + BREAK)." msgstr "" -#: library/signal.rst:108 library/signal.rst:120 library/signal.rst:215 -#: library/signal.rst:225 +#: library/signal.rst:120 library/signal.rst:225 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -551,7 +548,7 @@ msgid "" "*fd* before calling poll or select again." msgstr "" -#: library/signal.rst:469 library/signal.rst:523 +#: library/signal.rst:523 msgid "" "When threads are enabled, this function can only be called from :ref:`the " "main thread of the main interpreter `; attempting to " diff --git a/library/smtpd.po b/library/smtpd.po index 456bff9f..6a103ddd 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-03 10:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -65,7 +65,7 @@ msgid "" "insert itself into :mod:`asyncore`'s event loop on instantiation." msgstr "" -#: library/smtpd.rst:46 library/smtpd.rst:174 +#: library/smtpd.rst:174 msgid "" "*data_size_limit* specifies the maximum number of bytes that will be " "accepted in a ``DATA`` command. A value of ``None`` or ``0`` means no limit." @@ -178,7 +178,7 @@ msgid "" "``False``." msgstr "" -#: library/smtpd.rst:120 library/smtpd.rst:196 +#: library/smtpd.rst:196 msgid "*decode_data* is now ``False`` by default." msgstr "" diff --git a/library/smtplib.po b/library/smtplib.po index f651f8d4..4b6bc310 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2017-08-10 00:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -81,7 +81,7 @@ msgstr "" msgid "Support for the :keyword:`with` statement was added." msgstr "La prise en charge de l'instruction :keyword:`with` a été ajoutée." -#: library/smtplib.rst:67 library/smtplib.rst:99 +#: library/smtplib.rst:99 msgid "source_address argument was added." msgstr "" @@ -89,7 +89,7 @@ msgstr "" msgid "The SMTPUTF8 extension (:rfc:`6531`) is now supported." msgstr "" -#: library/smtplib.rst:73 library/smtplib.rst:114 +#: library/smtplib.rst:114 msgid "" "If the *timeout* parameter is set to be zero, it will raise a :class:" "`ValueError` to prevent the creation of a non-blocking socket" @@ -116,7 +116,7 @@ msgid "" "connection." msgstr "" -#: library/smtplib.rst:96 library/smtplib.rst:426 +#: library/smtplib.rst:426 msgid "*context* was added." msgstr "" @@ -126,7 +126,7 @@ msgid "" "check_hostname` and *Server Name Indication* (see :data:`ssl.HAS_SNI`)." msgstr "" -#: library/smtplib.rst:109 library/smtplib.rst:412 +#: library/smtplib.rst:412 msgid "" "*keyfile* and *certfile* are deprecated in favor of *context*. Please use :" "meth:`ssl.SSLContext.load_cert_chain` instead, or let :func:`ssl." @@ -343,13 +343,11 @@ msgid "" "first." msgstr "" -#: library/smtplib.rst:296 library/smtplib.rst:326 library/smtplib.rst:418 -#: library/smtplib.rst:487 +#: library/smtplib.rst:326 library/smtplib.rst:487 msgid ":exc:`SMTPHeloError`" msgstr ":exc:`SMTPHeloError`" -#: library/smtplib.rst:297 library/smtplib.rst:326 library/smtplib.rst:418 -#: library/smtplib.rst:487 +#: library/smtplib.rst:326 library/smtplib.rst:487 msgid "The server didn't reply properly to the ``HELO`` greeting." msgstr "" @@ -388,7 +386,7 @@ msgstr ":exc:`SMTPAuthenticationError`" msgid "The server didn't accept the username/password combination." msgstr "" -#: library/smtplib.rst:332 library/smtplib.rst:421 library/smtplib.rst:498 +#: library/smtplib.rst:421 library/smtplib.rst:498 msgid ":exc:`SMTPNotSupportedError`" msgstr "" diff --git a/library/sndhdr.po b/library/sndhdr.po index 4e34a6af..26de0252 100644 --- a/library/sndhdr.po +++ b/library/sndhdr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-09-29 17:46+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -64,7 +64,7 @@ msgstr "" "utilisant :func:`whathdr`. Si elle y parvient, le *namedtuple* décrit plus " "haut est renvoyé, sinon, ``None``." -#: library/sndhdr.rst:39 library/sndhdr.rst:49 +#: library/sndhdr.rst:49 msgid "Result changed from a tuple to a namedtuple." msgstr "Le type renvoyé passe d'un *tuple* à un *namedtuple*." diff --git a/library/socket.po b/library/socket.po index ec81b038..9c3b50b1 100644 --- a/library/socket.po +++ b/library/socket.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-06-18 21:59+0200\n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -97,8 +97,7 @@ msgid "" "Previously, :const:`AF_UNIX` socket paths were assumed to use UTF-8 encoding." msgstr "" -#: library/socket.rst:63 library/socket.rst:965 library/socket.rst:1007 -#: library/socket.rst:1715 +#: library/socket.rst:965 library/socket.rst:1715 msgid "Writable :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." @@ -417,7 +416,7 @@ msgid "" "description of *h_errno*, as returned by the :c:func:`hstrerror` C function." msgstr "" -#: library/socket.rst:268 library/socket.rst:281 library/socket.rst:292 +#: library/socket.rst:281 library/socket.rst:292 msgid "This class was made a subclass of :exc:`OSError`." msgstr "" @@ -515,13 +514,13 @@ msgid "" "supports." msgstr "" -#: library/socket.rst:382 library/socket.rst:449 library/socket.rst:460 +#: library/socket.rst:449 library/socket.rst:460 msgid "" "Many constants of these forms, documented in the Linux documentation, are " "also defined in the socket module." msgstr "" -#: library/socket.rst:386 library/socket.rst:397 library/socket.rst:432 +#: library/socket.rst:397 library/socket.rst:432 msgid ":ref:`Availability `: Linux >= 2.6.25." msgstr ":ref:`Disponibilité ` : Linux >= 2.6.25" @@ -544,7 +543,7 @@ msgid "" "you must accept both CAN and CAN FD frames when reading from the socket." msgstr "" -#: library/socket.rst:409 library/socket.rst:420 +#: library/socket.rst:420 msgid "This constant is documented in the Linux documentation." msgstr "" @@ -594,7 +593,7 @@ msgid "" "the :meth:`~socket.socket.ioctl` method of socket objects." msgstr "" -#: library/socket.rst:476 library/socket.rst:1314 +#: library/socket.rst:1314 msgid "``SIO_LOOPBACK_FAST_PATH`` was added." msgstr "" @@ -608,7 +607,7 @@ msgstr "" msgid "Constants for Linux Kernel cryptography." msgstr "" -#: library/socket.rst:492 library/socket.rst:1614 +#: library/socket.rst:1614 msgid ":ref:`Availability `: Linux >= 2.6.38." msgstr ":ref:`Disponibilité ` : Linux >= 2.6.38." @@ -692,8 +691,7 @@ msgid "" "This may help close a detached socket using :meth:`socket.close()`." msgstr "" -#: library/socket.rst:572 library/socket.rst:706 library/socket.rst:1144 -#: library/socket.rst:1231 +#: library/socket.rst:706 library/socket.rst:1231 msgid "The newly created socket is :ref:`non-inheritable `." msgstr "" "Il n'est :ref:`pas possible d'hériter ` du connecteur " @@ -713,7 +711,7 @@ msgstr "" msgid "The CAN_BCM protocol was added." msgstr "" -#: library/socket.rst:583 library/socket.rst:708 +#: library/socket.rst:708 msgid "The returned socket is now non-inheritable." msgstr "" @@ -857,7 +855,7 @@ msgid "" "method. The socket is assumed to be in blocking mode." msgstr "" -#: library/socket.rst:718 library/socket.rst:1740 +#: library/socket.rst:1740 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -966,7 +964,7 @@ msgid "" "stack support." msgstr "" -#: library/socket.rst:810 library/socket.rst:824 +#: library/socket.rst:824 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyname`` with " "argument ``hostname``." @@ -1093,7 +1091,7 @@ msgid "" "is a no-op; otherwise, it performs a 2-byte swap operation." msgstr "" -#: library/socket.rst:905 library/socket.rst:925 +#: library/socket.rst:925 msgid "" "In case *x* does not fit in 16-bit unsigned integer, but does fit in a " "positive C int, it is silently truncated to 16-bit unsigned integer. This " @@ -1179,12 +1177,12 @@ msgid "" "`inet_pton`." msgstr "" -#: library/socket.rst:983 library/socket.rst:1003 +#: library/socket.rst:1003 msgid "" ":ref:`Availability `: Unix (maybe not all platforms), Windows." msgstr "" -#: library/socket.rst:984 library/socket.rst:1004 +#: library/socket.rst:1004 msgid "Windows support added" msgstr "Ajout de la gestion de Windows." @@ -1216,8 +1214,7 @@ msgid "" "the permissible range of values." msgstr "" -#: library/socket.rst:1029 library/socket.rst:1050 library/socket.rst:1450 -#: library/socket.rst:1492 library/socket.rst:1598 +#: library/socket.rst:1050 library/socket.rst:1492 library/socket.rst:1598 msgid "" ":ref:`Availability `: most Unix platforms, possibly others." msgstr "" @@ -1276,11 +1273,11 @@ msgid "" "tuples. :exc:`OSError` if the system call fails." msgstr "" -#: library/socket.rst:1088 library/socket.rst:1102 library/socket.rst:1116 +#: library/socket.rst:1102 library/socket.rst:1116 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`Disponibilité ` : Unix, Windows." -#: library/socket.rst:1091 library/socket.rst:1105 library/socket.rst:1119 +#: library/socket.rst:1105 library/socket.rst:1119 #, fuzzy msgid "Windows support was added." msgstr "Ajout de la gestion de Windows." @@ -1322,13 +1319,12 @@ msgid "" "connection." msgstr "" -#: library/socket.rst:1146 library/socket.rst:1233 +#: library/socket.rst:1233 msgid "The socket is now non-inheritable." msgstr "" -#: library/socket.rst:1149 library/socket.rst:1364 library/socket.rst:1378 -#: library/socket.rst:1453 library/socket.rst:1524 library/socket.rst:1543 -#: library/socket.rst:1560 library/socket.rst:1603 +#: library/socket.rst:1364 library/socket.rst:1453 library/socket.rst:1543 +#: library/socket.rst:1603 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the method now retries the system call instead of raising an :exc:" @@ -1396,7 +1392,7 @@ msgid "" "(or the exception raised by the signal handler)." msgstr "" -#: library/socket.rst:1199 library/socket.rst:1216 +#: library/socket.rst:1216 msgid "" "Raises an :ref:`auditing event ` ``socket.connect`` with arguments " "``self``, ``address``." diff --git a/library/socketserver.po b/library/socketserver.po index e16d5def..37e31786 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -484,7 +484,7 @@ msgstr "Exemples" msgid ":class:`socketserver.TCPServer` Example" msgstr "" -#: library/socketserver.rst:450 library/socketserver.rst:549 +#: library/socketserver.rst:549 msgid "This is the server side::" msgstr "" @@ -503,11 +503,11 @@ msgid "" "has been sent from the client in one ``sendall()`` call." msgstr "" -#: library/socketserver.rst:501 library/socketserver.rst:573 +#: library/socketserver.rst:573 msgid "This is the client side::" msgstr "" -#: library/socketserver.rst:522 library/socketserver.rst:648 +#: library/socketserver.rst:648 msgid "The output of the example should look something like this:" msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index 954f2e42..8e1480e4 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-03-26 15:55+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -200,7 +200,7 @@ msgstr "" "Le numéro de version de la bibliothèque d'exécution SQLite, sous forme " "d'entier." -#: library/sqlite3.rst:147 library/sqlite3.rst:160 +#: library/sqlite3.rst:160 msgid "" "This constant is meant to be used with the *detect_types* parameter of the :" "func:`connect` function." @@ -484,8 +484,7 @@ msgstr "" msgid "The *deterministic* parameter was added." msgstr "" -#: library/sqlite3.rst:361 library/sqlite3.rst:378 library/sqlite3.rst:492 -#: library/sqlite3.rst:649 +#: library/sqlite3.rst:378 library/sqlite3.rst:649 msgid "Example:" msgstr "Exemple :" @@ -617,7 +616,7 @@ msgid "" "extension is the fulltext-search extension distributed with SQLite." msgstr "" -#: library/sqlite3.rst:469 library/sqlite3.rst:481 +#: library/sqlite3.rst:481 msgid "Loadable extensions are disabled by default. See [#f1]_." msgstr "" @@ -1010,35 +1009,35 @@ msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:871 library/sqlite3.rst:888 +#: library/sqlite3.rst:888 msgid "Python type" msgstr "Type Python" -#: library/sqlite3.rst:871 library/sqlite3.rst:888 +#: library/sqlite3.rst:888 msgid "SQLite type" msgstr "SQLite type" -#: library/sqlite3.rst:873 library/sqlite3.rst:890 +#: library/sqlite3.rst:890 msgid ":const:`None`" msgstr ":const:`None`" -#: library/sqlite3.rst:873 library/sqlite3.rst:890 +#: library/sqlite3.rst:890 msgid "``NULL``" msgstr "``NULL``" -#: library/sqlite3.rst:875 library/sqlite3.rst:892 +#: library/sqlite3.rst:892 msgid ":class:`int`" msgstr ":class:`int`" -#: library/sqlite3.rst:875 library/sqlite3.rst:892 +#: library/sqlite3.rst:892 msgid "``INTEGER``" msgstr "``INTEGER``" -#: library/sqlite3.rst:877 library/sqlite3.rst:894 +#: library/sqlite3.rst:894 msgid ":class:`float`" msgstr ":class:`float`" -#: library/sqlite3.rst:877 library/sqlite3.rst:894 +#: library/sqlite3.rst:894 msgid "``REAL``" msgstr "``REAL``" @@ -1046,15 +1045,15 @@ msgstr "``REAL``" msgid ":class:`str`" msgstr ":class:`str`" -#: library/sqlite3.rst:879 library/sqlite3.rst:896 +#: library/sqlite3.rst:896 msgid "``TEXT``" msgstr "``TEXT``" -#: library/sqlite3.rst:881 library/sqlite3.rst:899 +#: library/sqlite3.rst:899 msgid ":class:`bytes`" msgstr ":class:`bytes`" -#: library/sqlite3.rst:881 library/sqlite3.rst:899 +#: library/sqlite3.rst:899 msgid "``BLOB``" msgstr "``BLOB``" diff --git a/library/ssl.po b/library/ssl.po index 31a3d3ee..45913955 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-03-30 22:31+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -399,7 +399,7 @@ msgid "" "to seed the PRNG." msgstr "" -#: library/ssl.rst:291 library/ssl.rst:312 +#: library/ssl.rst:312 msgid "For almost all applications :func:`os.urandom` is preferable." msgstr "" @@ -639,11 +639,11 @@ msgid "" "exactly ``True`` if the certificate is trustworthy for all purposes." msgstr "" -#: library/ssl.rst:489 library/ssl.rst:1577 library/ssl.rst:1892 +#: library/ssl.rst:1577 library/ssl.rst:1892 msgid "Example::" msgstr "Exemple ::" -#: library/ssl.rst:496 library/ssl.rst:511 +#: library/ssl.rst:511 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -717,7 +717,7 @@ msgid "" "does not send any for client cert authentication." msgstr "" -#: library/ssl.rst:560 library/ssl.rst:2317 +#: library/ssl.rst:2317 msgid "See the discussion of :ref:`ssl-security` below." msgstr "" @@ -738,7 +738,7 @@ msgid "" "TLS handshake." msgstr "" -#: library/ssl.rst:575 library/ssl.rst:595 +#: library/ssl.rst:595 msgid "" "Use of this setting requires a valid set of CA certificates to be passed, " "either to :meth:`SSLContext.load_verify_locations` or as a value of the " @@ -781,7 +781,7 @@ msgid "" "Possible value for :attr:`SSLContext.verify_flags`. In this mode, only the " "peer cert is checked but none of the intermediate CA certificates. The mode " "requires a valid CRL that is signed by the peer cert's issuer (its direct " -"ancestor CA). If no proper CRL has has been loaded with :attr:`SSLContext." +"ancestor CA). If no proper CRL has been loaded with :attr:`SSLContext." "load_verify_locations`, validation will fail." msgstr "" @@ -869,8 +869,7 @@ msgstr "" msgid "SSL version 3 is insecure. Its use is highly discouraged." msgstr "" -#: library/ssl.rst:710 library/ssl.rst:719 library/ssl.rst:731 -#: library/ssl.rst:744 +#: library/ssl.rst:719 library/ssl.rst:744 msgid "" "OpenSSL has deprecated all version specific protocols. Use the default " "protocol :data:`PROTOCOL_TLS` with flags like :data:`OP_NO_SSLv3` instead." @@ -942,7 +941,7 @@ msgid "" "the protocol version. Available only with openssl version 1.0.1+." msgstr "" -#: library/ssl.rst:801 library/ssl.rst:812 +#: library/ssl.rst:812 msgid "The option is deprecated since OpenSSL 1.1.0." msgstr "" @@ -1665,17 +1664,15 @@ msgstr "**TLSv1.2**" msgid "*SSLv2*" msgstr "*SSLv2*" -#: library/ssl.rst:1436 library/ssl.rst:1437 library/ssl.rst:1438 -#: library/ssl.rst:1439 library/ssl.rst:1440 library/ssl.rst:1441 +#: library/ssl.rst:1437 library/ssl.rst:1439 library/ssl.rst:1441 msgid "yes" msgstr "oui" -#: library/ssl.rst:1436 library/ssl.rst:1437 library/ssl.rst:1439 -#: library/ssl.rst:1440 library/ssl.rst:1441 +#: library/ssl.rst:1437 library/ssl.rst:1440 library/ssl.rst:1441 msgid "no" msgstr "non" -#: library/ssl.rst:1436 library/ssl.rst:1438 +#: library/ssl.rst:1438 msgid "no [1]_" msgstr "" @@ -1683,7 +1680,7 @@ msgstr "" msgid "*SSLv3*" msgstr "*SSLv3*" -#: library/ssl.rst:1437 library/ssl.rst:1438 +#: library/ssl.rst:1438 msgid "no [2]_" msgstr "" @@ -2146,7 +2143,7 @@ msgid "" "SNI." msgstr "" -#: library/ssl.rst:1827 library/ssl.rst:1853 +#: library/ssl.rst:1853 msgid "*session* argument was added." msgstr "" @@ -2256,7 +2253,7 @@ msgid "" "`TLSVersion.TLSv1_2` will not be able to establish a TLS 1.2 connection." msgstr "" -#: library/ssl.rst:1950 library/ssl.rst:1962 +#: library/ssl.rst:1962 msgid "" "This attribute is not available unless the ssl module is compiled with " "OpenSSL 1.1.0g or newer." diff --git a/library/stat.po b/library/stat.po index b0a79721..48fd243c 100644 --- a/library/stat.po +++ b/library/stat.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -352,11 +352,11 @@ msgstr "" msgid "Do not dump the file." msgstr "" -#: library/stat.rst:359 library/stat.rst:387 +#: library/stat.rst:387 msgid "The file may not be changed." msgstr "" -#: library/stat.rst:363 library/stat.rst:391 +#: library/stat.rst:391 msgid "The file may only be appended to." msgstr "" @@ -364,7 +364,7 @@ msgstr "" msgid "The directory is opaque when viewed through a union stack." msgstr "" -#: library/stat.rst:371 library/stat.rst:395 +#: library/stat.rst:395 msgid "The file may not be renamed or deleted." msgstr "" diff --git a/library/statistics.po b/library/statistics.po index aed93760..f0d9891b 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-14 16:36+0200\n" "Last-Translator: Nicolas Audebert \n" "Language-Team: FRENCH \n" @@ -680,7 +680,7 @@ msgstr "" msgid "Raises :exc:`StatisticsError` if *data* is empty." msgstr "Lève une erreur :exc:`StatisticsError` si *data* est vide." -#: library/statistics.rst:401 library/statistics.rst:471 +#: library/statistics.rst:471 msgid "Examples:" msgstr "Exemples :" diff --git a/library/stdtypes.po b/library/stdtypes.po index 4f08ce49..0cb0ffc4 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-09 15:32+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -127,20 +127,17 @@ msgstr "" msgid "These are the Boolean operations, ordered by ascending priority:" msgstr "Ce sont les opérations booléennes, classées par priorité ascendante :" -#: library/stdtypes.rst:85 library/stdtypes.rst:143 library/stdtypes.rst:274 -#: library/stdtypes.rst:363 library/stdtypes.rst:413 library/stdtypes.rst:861 +#: library/stdtypes.rst:143 library/stdtypes.rst:363 library/stdtypes.rst:861 #: library/stdtypes.rst:1056 msgid "Operation" msgstr "Opération" -#: library/stdtypes.rst:85 library/stdtypes.rst:274 library/stdtypes.rst:363 -#: library/stdtypes.rst:413 library/stdtypes.rst:861 library/stdtypes.rst:1056 +#: library/stdtypes.rst:274 library/stdtypes.rst:413 library/stdtypes.rst:1056 msgid "Result" msgstr "Résultat" -#: library/stdtypes.rst:85 library/stdtypes.rst:274 library/stdtypes.rst:413 -#: library/stdtypes.rst:861 library/stdtypes.rst:1056 library/stdtypes.rst:2285 -#: library/stdtypes.rst:3505 +#: library/stdtypes.rst:274 library/stdtypes.rst:861 library/stdtypes.rst:2286 +#: library/stdtypes.rst:3506 msgid "Notes" msgstr "Notes" @@ -152,9 +149,8 @@ msgstr "``x or y``" msgid "if *x* is false, then *y*, else *x*" msgstr "si *x* est faux, alors *y*, sinon *x*" -#: library/stdtypes.rst:87 library/stdtypes.rst:284 library/stdtypes.rst:863 -#: library/stdtypes.rst:866 library/stdtypes.rst:1067 library/stdtypes.rst:2291 -#: library/stdtypes.rst:3511 +#: library/stdtypes.rst:284 library/stdtypes.rst:866 library/stdtypes.rst:2292 +#: library/stdtypes.rst:3512 msgid "\\(1)" msgstr "\\(1)" @@ -166,10 +162,8 @@ msgstr "``x and y``" msgid "if *x* is false, then *x*, else *y*" msgstr "si *x* est faux, alors *x*, sinon *y*" -#: library/stdtypes.rst:90 library/stdtypes.rst:287 library/stdtypes.rst:307 -#: library/stdtypes.rst:1095 library/stdtypes.rst:2295 -#: library/stdtypes.rst:2297 library/stdtypes.rst:3515 -#: library/stdtypes.rst:3517 +#: library/stdtypes.rst:287 library/stdtypes.rst:1095 library/stdtypes.rst:2298 +#: library/stdtypes.rst:3518 msgid "\\(2)" msgstr "\\(2)" @@ -181,17 +175,14 @@ msgstr "``not x``" msgid "if *x* is false, then ``True``, else ``False``" msgstr "si *x* est faux, alors ``True``, sinon ``False``" -#: library/stdtypes.rst:93 library/stdtypes.rst:875 library/stdtypes.rst:1098 -#: library/stdtypes.rst:2299 library/stdtypes.rst:2301 -#: library/stdtypes.rst:2303 library/stdtypes.rst:2305 -#: library/stdtypes.rst:3519 library/stdtypes.rst:3521 -#: library/stdtypes.rst:3523 library/stdtypes.rst:3525 +#: library/stdtypes.rst:875 library/stdtypes.rst:2300 library/stdtypes.rst:2304 +#: library/stdtypes.rst:3520 library/stdtypes.rst:3524 +#: library/stdtypes.rst:3526 msgid "\\(3)" msgstr "\\(3)" -#: library/stdtypes.rst:102 library/stdtypes.rst:318 library/stdtypes.rst:431 -#: library/stdtypes.rst:902 library/stdtypes.rst:1106 library/stdtypes.rst:2331 -#: library/stdtypes.rst:3555 +#: library/stdtypes.rst:318 library/stdtypes.rst:902 library/stdtypes.rst:2332 +#: library/stdtypes.rst:3556 msgid "Notes:" msgstr "Notes :" @@ -243,8 +234,8 @@ msgstr "" msgid "This table summarizes the comparison operations:" msgstr "Ce tableau résume les opérations de comparaison :" -#: library/stdtypes.rst:143 library/stdtypes.rst:2262 library/stdtypes.rst:2285 -#: library/stdtypes.rst:3482 library/stdtypes.rst:3505 +#: library/stdtypes.rst:2263 library/stdtypes.rst:3483 +#: library/stdtypes.rst:3506 msgid "Meaning" msgstr "Signification" @@ -581,8 +572,7 @@ msgstr "" "un nombre complexe avec *re* pour partie réelle et *im* pour partie " "imaginaire. *im* vaut zéro par défaut." -#: library/stdtypes.rst:300 library/stdtypes.rst:1088 library/stdtypes.rst:2293 -#: library/stdtypes.rst:3542 +#: library/stdtypes.rst:1088 library/stdtypes.rst:3543 msgid "\\(6)" msgstr "\\(6)" @@ -614,14 +604,12 @@ msgstr ":func:`divmod`" msgid "``pow(x, y)``" msgstr "``pow(x, y)``" -#: library/stdtypes.rst:309 library/stdtypes.rst:311 +#: library/stdtypes.rst:311 msgid "*x* to the power *y*" msgstr "*x* à la puissance *y*" -#: library/stdtypes.rst:309 library/stdtypes.rst:311 library/stdtypes.rst:1077 -#: library/stdtypes.rst:1080 library/stdtypes.rst:2318 -#: library/stdtypes.rst:2321 library/stdtypes.rst:2324 -#: library/stdtypes.rst:3538 library/stdtypes.rst:3545 +#: library/stdtypes.rst:311 library/stdtypes.rst:1080 library/stdtypes.rst:2322 +#: library/stdtypes.rst:3539 library/stdtypes.rst:3546 msgid "\\(5)" msgstr "\\(5)" @@ -789,10 +777,8 @@ msgstr "``x | y``" msgid "bitwise :dfn:`or` of *x* and *y*" msgstr ":dfn:`ou ` binaire de *x* et *y*" -#: library/stdtypes.rst:415 library/stdtypes.rst:418 library/stdtypes.rst:421 -#: library/stdtypes.rst:1101 library/stdtypes.rst:2307 -#: library/stdtypes.rst:2311 library/stdtypes.rst:3527 -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:418 library/stdtypes.rst:1101 library/stdtypes.rst:2312 +#: library/stdtypes.rst:3532 msgid "\\(4)" msgstr "\\(4)" @@ -932,7 +918,7 @@ msgstr "" "`OverflowError` est levée s'il n'est pas possible de représenter l'entier " "avec le nombre d'octets donnés." -#: library/stdtypes.rst:499 library/stdtypes.rst:531 +#: library/stdtypes.rst:531 msgid "" "The *byteorder* argument determines the byte order used to represent the " "integer. If *byteorder* is ``\"big\"``, the most significant byte is at the " @@ -1512,7 +1498,7 @@ msgstr "" "indice de la première occurrence de *x* dans *s* (à ou après l'indice *i* et " "avant indice *j*)" -#: library/stdtypes.rst:888 library/stdtypes.rst:3513 +#: library/stdtypes.rst:3514 msgid "\\(8)" msgstr "\\(8)" @@ -2663,24 +2649,6 @@ msgstr "" #: library/stdtypes.rst:1552 msgid "" -"If the string starts with the *prefix* string, return " -"``string[len(prefix):]``. Otherwise, return a copy of the original string::" -msgstr "" -"Si la chaîne de caractères commence par la chaîne *prefix*, renvoie " -"``string[len(prefix):]``. Sinon, renvoie une copie de la chaîne originale ::" - -#: library/stdtypes.rst:1565 -msgid "" -"If the string ends with the *suffix* string and that *suffix* is not empty, " -"return ``string[:-len(suffix)]``. Otherwise, return a copy of the original " -"string::" -msgstr "" -"Si la chaîne de caractères se termine par la chaîne *suffix* et que ce " -"*suffix* n'est pas vide, renvoie ``string[:-len(suffix)]``. Sinon, renvoie " -"une copie de la chaîne originale ::" - -#: library/stdtypes.rst:1579 -msgid "" "Return an encoded version of the string as a bytes object. Default encoding " "is ``'utf-8'``. *errors* may be given to set a different error handling " "scheme. The default for *errors* is ``'strict'``, meaning that encoding " @@ -2700,22 +2668,22 @@ msgstr "" "`error-handlers`. Pour une liste des encodages possibles, voir la section :" "ref:`standard-encodings`." -#: library/stdtypes.rst:1588 +#: library/stdtypes.rst:1561 msgid "" "By default, the *errors* argument is not checked for best performances, but " "only used at the first encoding error. Enable the :ref:`Python Development " "Mode `, or use a debug build to check *errors*." msgstr "" -#: library/stdtypes.rst:1592 +#: library/stdtypes.rst:1565 msgid "Support for keyword arguments added." msgstr "Gestion des arguments par mot clef." -#: library/stdtypes.rst:1595 library/stdtypes.rst:2702 +#: library/stdtypes.rst:2703 msgid "The *errors* is now checked in development mode and in debug mode." msgstr "" -#: library/stdtypes.rst:1601 +#: library/stdtypes.rst:1574 msgid "" "Return ``True`` if the string ends with the specified *suffix*, otherwise " "return ``False``. *suffix* can also be a tuple of suffixes to look for. " @@ -2728,7 +2696,7 @@ msgstr "" "l'argument optionnel *end* est fourni, la comparaison s'arrête à cette " "position." -#: library/stdtypes.rst:1609 +#: library/stdtypes.rst:1582 msgid "" "Return a copy of the string where all tab characters are replaced by one or " "more spaces, depending on the current column and the given tab size. Tab " @@ -2758,7 +2726,7 @@ msgstr "" "et la colonne en cours est incrémentée de un indépendamment de la façon dont " "le caractère est représenté lors de l'affichage." -#: library/stdtypes.rst:1630 +#: library/stdtypes.rst:1603 msgid "" "Return the lowest index in the string where substring *sub* is found within " "the slice ``s[start:end]``. Optional arguments *start* and *end* are " @@ -2769,7 +2737,7 @@ msgstr "" "interprétés comme dans la notation des *slice*. Donne ``-1`` si *sub* n'est " "pas trouvé." -#: library/stdtypes.rst:1636 +#: library/stdtypes.rst:1609 msgid "" "The :meth:`~str.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" @@ -2779,7 +2747,7 @@ msgstr "" "de connaître la position de *sub*. Pour vérifier si *sub* est une sous " "chaine ou non, utilisez l'opérateur :keyword:`in` ::" -#: library/stdtypes.rst:1646 +#: library/stdtypes.rst:1619 msgid "" "Perform a string formatting operation. The string on which this method is " "called can contain literal text or replacement fields delimited by braces " @@ -2795,7 +2763,7 @@ msgstr "" "clé. Renvoie une copie de la chaîne où chaque champ de remplacement est " "remplacé par la valeur de chaîne de l'argument correspondant." -#: library/stdtypes.rst:1656 +#: library/stdtypes.rst:1629 msgid "" "See :ref:`formatstrings` for a description of the various formatting options " "that can be specified in format strings." @@ -2803,7 +2771,7 @@ msgstr "" "Voir :ref:`formatstrings` pour une description des options de formatage qui " "peuvent être spécifiées dans les chaînes de format." -#: library/stdtypes.rst:1660 +#: library/stdtypes.rst:1633 msgid "" "When formatting a number (:class:`int`, :class:`float`, :class:`complex`, :" "class:`decimal.Decimal` and subclasses) with the ``n`` type (ex: ``'{:n}'." @@ -2822,7 +2790,7 @@ msgstr "" "est différent de ``LC_CTYPE``. Ce changement temporaire affecte les autres " "fils d'exécution." -#: library/stdtypes.rst:1669 +#: library/stdtypes.rst:1642 msgid "" "When formatting a number with the ``n`` type, the function sets temporarily " "the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale in some cases." @@ -2831,7 +2799,7 @@ msgstr "" "temporairement ``LC_CTYPE`` par la valeur de ``LC_NUMERIC`` dans certains " "cas." -#: library/stdtypes.rst:1677 +#: library/stdtypes.rst:1650 msgid "" "Similar to ``str.format(**mapping)``, except that ``mapping`` is used " "directly and not copied to a :class:`dict`. This is useful if for example " @@ -2841,7 +2809,7 @@ msgstr "" "directement et non copié dans un :class:`dict`. C'est utile si, par exemple " "``mapping`` est une sous-classe de ``dict`` :" -#: library/stdtypes.rst:1693 +#: library/stdtypes.rst:1666 msgid "" "Like :meth:`~str.find`, but raise :exc:`ValueError` when the substring is " "not found." @@ -2849,7 +2817,7 @@ msgstr "" "Comme :meth:`~str.find`, mais lève une :exc:`ValueError` lorsque la chaîne " "est introuvable." -#: library/stdtypes.rst:1699 +#: library/stdtypes.rst:1672 msgid "" "Return ``True`` if all characters in the string are alphanumeric and there " "is at least one character, ``False`` otherwise. A character ``c`` is " @@ -2861,7 +2829,7 @@ msgstr "" "alphanumérique si l'un des tests suivants renvoie ``True`` : ``c." "isalpha()``, ``c.isdecimal()``, ``c.isdigit()`` ou ``c.isnumeric()``." -#: library/stdtypes.rst:1707 +#: library/stdtypes.rst:1680 msgid "" "Return ``True`` if all characters in the string are alphabetic and there is " "at least one character, ``False`` otherwise. Alphabetic characters are " @@ -2877,7 +2845,7 @@ msgstr "" "\"Lu\", \"Ll\" ou \"Lo\" comme catégorie générale. Notez que ceci est " "différent de la propriété *Alphabetic* définie dans la norme Unicode." -#: library/stdtypes.rst:1716 +#: library/stdtypes.rst:1689 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" @@ -2887,7 +2855,7 @@ msgstr "" "ASCII, ``False`` sinon. Les caractères ASCII ont un code dans l'intervalle ``" "\"U+0000\"``\\ ---\\ ``\"U+007F\"``." -#: library/stdtypes.rst:1725 +#: library/stdtypes.rst:1698 msgid "" "Return ``True`` if all characters in the string are decimal characters and " "there is at least one character, ``False`` otherwise. Decimal characters are " @@ -2901,7 +2869,7 @@ msgstr "" "en base 10, tels que U+0660, ARABIC-INDIC DIGIT ZERO. Spécifiquement, un " "caractère décimal est un caractère dans la catégorie Unicode générale \"Nd\"." -#: library/stdtypes.rst:1735 +#: library/stdtypes.rst:1708 msgid "" "Return ``True`` if all characters in the string are digits and there is at " "least one character, ``False`` otherwise. Digits include decimal characters " @@ -2919,7 +2887,7 @@ msgstr "" "chiffre est un caractère dont la valeur de la propriété *Numeric_Type* est " "*Digit* ou *Decimal*." -#: library/stdtypes.rst:1745 +#: library/stdtypes.rst:1718 msgid "" "Return ``True`` if the string is a valid identifier according to the " "language definition, section :ref:`identifiers`." @@ -2927,7 +2895,7 @@ msgstr "" "Renvoie ``True`` si la chaîne est un identifiant valide selon la définition " "du langage, section :ref:`identifiers`." -#: library/stdtypes.rst:1748 +#: library/stdtypes.rst:1721 msgid "" "Call :func:`keyword.iskeyword` to test whether string ``s`` is a reserved " "identifier, such as :keyword:`def` and :keyword:`class`." @@ -2935,11 +2903,11 @@ msgstr "" "Utilisez :func:`keyword.iskeyword` pour savoir si la chaîne ``s`` est un " "identifiant réservé, tels que :keyword:`def` et :keyword:`class`." -#: library/stdtypes.rst:1751 +#: library/stdtypes.rst:1724 msgid "Example: ::" msgstr "Par exemple ::" -#: library/stdtypes.rst:1764 +#: library/stdtypes.rst:1737 msgid "" "Return ``True`` if all cased characters [4]_ in the string are lowercase and " "there is at least one cased character, ``False`` otherwise." @@ -2948,7 +2916,7 @@ msgstr "" "sont en minuscules et qu'elle contient au moins un caractère capitalisable. " "Renvoie ``False`` dans le cas contraire." -#: library/stdtypes.rst:1770 +#: library/stdtypes.rst:1743 msgid "" "Return ``True`` if all characters in the string are numeric characters, and " "there is at least one character, ``False`` otherwise. Numeric characters " @@ -2965,7 +2933,7 @@ msgstr "" "les priorités *Numeric_Type=Digit*, *Numeric_Type=Decimal*, ou " "*Numeric_Type=Numeric*." -#: library/stdtypes.rst:1780 +#: library/stdtypes.rst:1753 msgid "" "Return ``True`` if all characters in the string are printable or the string " "is empty, ``False`` otherwise. Nonprintable characters are those characters " @@ -2984,7 +2952,7 @@ msgstr "" "`repr` est invoquée sur une chaîne. Ça n'a aucune incidence sur le " "traitement des chaînes écrites sur :data:`sys.stdout` ou :data:`sys.stderr`.)" -#: library/stdtypes.rst:1791 +#: library/stdtypes.rst:1764 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -2993,7 +2961,7 @@ msgstr "" "et qu'il y a au moins un autre caractère. Renvoie ``False`` dans le cas " "contraire." -#: library/stdtypes.rst:1794 +#: library/stdtypes.rst:1767 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, space" @@ -3004,7 +2972,7 @@ msgstr "" "`unicodedata`) sa catégorie générale est ``Zs`` (« séparateur, espace »), ou " "sa classe bidirectionnelle est une de ``WS``, ``B``, ou ``S``." -#: library/stdtypes.rst:1802 +#: library/stdtypes.rst:1775 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 " @@ -3017,7 +2985,7 @@ msgstr "" "minuscules ne peuvent suivre que des caractères capitalisables. Renvoie " "``False`` dans le cas contraire." -#: library/stdtypes.rst:1809 +#: library/stdtypes.rst:1782 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -3026,7 +2994,7 @@ msgstr "" "la chaîne sont en majuscules et il y a au moins un caractère différentiable " "sur la casse, sinon ``False``." -#: library/stdtypes.rst:1825 +#: library/stdtypes.rst:1798 msgid "" "Return a string which is the concatenation of the strings in *iterable*. A :" "exc:`TypeError` will be raised if there are any non-string values in " @@ -3038,7 +3006,7 @@ msgstr "" "pas une chaîne, y compris pour les objets :class:`bytes`. Le séparateur " "entre les éléments est la chaîne fournissant cette méthode." -#: library/stdtypes.rst:1833 +#: library/stdtypes.rst:1806 msgid "" "Return the string left justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3049,7 +3017,7 @@ msgstr "" "ASCII). La chaîne d'origine est renvoyée si *width* est inférieur ou égale à " "``len(s)``." -#: library/stdtypes.rst:1840 +#: library/stdtypes.rst:1813 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -3057,7 +3025,7 @@ msgstr "" "Renvoie une copie de la chaîne avec tous les caractères capitalisables [4]_ " "convertis en minuscules." -#: library/stdtypes.rst:1843 +#: library/stdtypes.rst:1816 msgid "" "The lowercasing algorithm used is described in section 3.13 of the Unicode " "Standard." @@ -3065,7 +3033,7 @@ msgstr "" "L'algorithme de mise en minuscules utilisé est décrit dans la section 3.13 " "de la norme Unicode." -#: library/stdtypes.rst:1849 +#: library/stdtypes.rst:1822 msgid "" "Return a copy of the string with leading characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3079,13 +3047,13 @@ msgstr "" "des espaces. L'argument *chars* n'est pas un préfixe, toutes les " "combinaisons de ses valeurs sont supprimées ::" -#: library/stdtypes.rst:1859 +#: library/stdtypes.rst:1832 msgid "" "See :meth:`str.removeprefix` for a method that will remove a single prefix " "string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:1870 +#: library/stdtypes.rst:1843 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." @@ -3093,7 +3061,7 @@ msgstr "" "Cette méthode statique renvoie une table de traduction utilisable pour :meth:" "`str.translate`." -#: library/stdtypes.rst:1872 +#: library/stdtypes.rst:1845 msgid "" "If there is only one argument, it must be a dictionary mapping Unicode " "ordinals (integers) or characters (strings of length 1) to Unicode ordinals, " @@ -3104,7 +3072,7 @@ msgstr "" "correspondre des points de code Unicode (nombres entiers) ou des caractères " "(chaînes de longueur 1) à des points de code Unicode." -#: library/stdtypes.rst:1877 +#: library/stdtypes.rst:1850 msgid "" "If there are two arguments, they must be strings of equal length, and in the " "resulting dictionary, each character in x will be mapped to the character at " @@ -3117,7 +3085,7 @@ msgstr "" "argument est fourni, ce doit être une chaîne dont chaque caractère " "correspondra à ``None`` dans le résultat." -#: library/stdtypes.rst:1885 +#: library/stdtypes.rst:1858 msgid "" "Split the string at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3129,7 +3097,25 @@ msgstr "" "même, et la partie après le séparateur. Si le séparateur n'est pas trouvé, " "le *tuple* contiendra la chaîne elle-même, suivie de deux chaînes vides." -#: library/stdtypes.rst:1893 +#: library/stdtypes.rst:1866 +msgid "" +"If the string starts with the *prefix* string, return " +"``string[len(prefix):]``. Otherwise, return a copy of the original string::" +msgstr "" +"Si la chaîne de caractères commence par la chaîne *prefix*, renvoie " +"``string[len(prefix):]``. Sinon, renvoie une copie de la chaîne originale ::" + +#: library/stdtypes.rst:1880 +msgid "" +"If the string ends with the *suffix* string and that *suffix* is not empty, " +"return ``string[:-len(suffix)]``. Otherwise, return a copy of the original " +"string::" +msgstr "" +"Si la chaîne de caractères se termine par la chaîne *suffix* et que ce " +"*suffix* n'est pas vide, renvoie ``string[:-len(suffix)]``. Sinon, renvoie " +"une copie de la chaîne originale ::" + +#: library/stdtypes.rst:1894 msgid "" "Return a copy of the string with all occurrences of substring *old* replaced " "by *new*. If the optional argument *count* is given, only the first *count* " @@ -3139,7 +3125,7 @@ msgstr "" "chaîne *old* sont remplacés par *new*. Si l'argument optionnel *count* est " "donné, seules les *count* premières occurrences sont remplacées." -#: library/stdtypes.rst:1900 +#: library/stdtypes.rst:1901 msgid "" "Return the highest index in the string where substring *sub* is found, such " "that *sub* is contained within ``s[start:end]``. Optional arguments *start* " @@ -3150,7 +3136,7 @@ msgstr "" "arguments facultatifs *start* et *end* sont interprétés comme dans la " "notation des *slices*. Donne ``-1`` en cas d'échec." -#: library/stdtypes.rst:1907 +#: library/stdtypes.rst:1908 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3158,7 +3144,7 @@ msgstr "" "Comme :meth:`rfind` mais lève une exception :exc:`ValueError` lorsque la " "sous-chaîne *sub* est introuvable." -#: library/stdtypes.rst:1913 +#: library/stdtypes.rst:1914 msgid "" "Return the string right justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3169,7 +3155,7 @@ msgstr "" "défaut est un espace ASCII). La chaîne d'origine est renvoyée si *width* est " "inférieure ou égale à ``len(s)``." -#: library/stdtypes.rst:1920 +#: library/stdtypes.rst:1921 msgid "" "Split the string at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3181,7 +3167,7 @@ msgstr "" "même, et la partie après le séparateur. Si le séparateur n'est pas trouvé, " "le *tuple* contiendra deux chaînes vides, puis par la chaîne elle-même." -#: library/stdtypes.rst:1928 +#: library/stdtypes.rst:1929 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done, the " @@ -3196,7 +3182,7 @@ msgstr "" "par la droite, :meth:`rsplit` se comporte comme :meth:`split` qui est décrit " "en détail ci-dessous." -#: library/stdtypes.rst:1937 +#: library/stdtypes.rst:1938 msgid "" "Return a copy of the string with trailing characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3210,13 +3196,13 @@ msgstr "" "L'argument *chars* n'est pas un suffixe : toutes les combinaisons de ses " "valeurs sont retirées ::" -#: library/stdtypes.rst:1947 +#: library/stdtypes.rst:1948 msgid "" "See :meth:`str.removesuffix` for a method that will remove a single suffix " "string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:1957 +#: library/stdtypes.rst:1958 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, " @@ -3230,7 +3216,7 @@ msgstr "" "+1``). Si *maxsplit* n'est pas fourni, ou vaut ``-1``, le nombre de découpes " "n'est pas limité (Toutes les découpes possibles sont faites)." -#: library/stdtypes.rst:1963 +#: library/stdtypes.rst:1964 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3244,20 +3230,15 @@ msgstr "" "(par exemple, ``'1<>2<>3'.split('<>')`` renvoie ``['1', '2', '3']``). " "Découper une chaîne vide en spécifiant *sep* donne ``['']``." -#: library/stdtypes.rst:1969 library/stdtypes.rst:1985 -#: library/stdtypes.rst:2037 library/stdtypes.rst:2105 -#: library/stdtypes.rst:2168 library/stdtypes.rst:3017 -#: library/stdtypes.rst:3033 library/stdtypes.rst:3124 -#: library/stdtypes.rst:3140 library/stdtypes.rst:3165 -#: library/stdtypes.rst:3179 library/stdtypes.rst:3207 -#: library/stdtypes.rst:3221 library/stdtypes.rst:3239 -#: library/stdtypes.rst:3266 library/stdtypes.rst:3289 -#: library/stdtypes.rst:3316 library/stdtypes.rst:3358 -#: library/stdtypes.rst:3382 +#: library/stdtypes.rst:1986 library/stdtypes.rst:2106 +#: library/stdtypes.rst:3018 library/stdtypes.rst:3125 +#: library/stdtypes.rst:3166 library/stdtypes.rst:3208 +#: library/stdtypes.rst:3240 library/stdtypes.rst:3290 +#: library/stdtypes.rst:3359 library/stdtypes.rst:3383 msgid "For example::" msgstr "Par exemple ::" -#: library/stdtypes.rst:1978 +#: library/stdtypes.rst:1979 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive whitespace are regarded as a single separator, " @@ -3273,7 +3254,7 @@ msgstr "" "diviser une chaîne vide ou une chaîne composée d'espaces avec un séparateur " "``None`` renvoie ``[]``." -#: library/stdtypes.rst:2000 +#: library/stdtypes.rst:2001 msgid "" "Return a list of the lines in the string, breaking at line boundaries. Line " "breaks are not included in the resulting list unless *keepends* is given and " @@ -3283,7 +3264,7 @@ msgstr "" "niveau des limites des lignes. Les sauts de ligne ne sont pas inclus dans la " "liste des résultats, sauf si *keepends* est donné, et est vrai." -#: library/stdtypes.rst:2004 +#: library/stdtypes.rst:2005 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3291,107 +3272,107 @@ msgstr "" "Cette méthode découpe sur les limites de ligne suivantes. Ces limites sont " "un sur ensemble de :term:`universal newlines`." -#: library/stdtypes.rst:2008 +#: library/stdtypes.rst:2009 msgid "Representation" msgstr "Représentation" -#: library/stdtypes.rst:2008 +#: library/stdtypes.rst:2009 msgid "Description" msgstr "Description" -#: library/stdtypes.rst:2010 +#: library/stdtypes.rst:2011 msgid "``\\n``" msgstr "``\\n``" -#: library/stdtypes.rst:2010 +#: library/stdtypes.rst:2011 msgid "Line Feed" msgstr "Saut de ligne" -#: library/stdtypes.rst:2012 +#: library/stdtypes.rst:2013 msgid "``\\r``" msgstr "``\\r``" -#: library/stdtypes.rst:2012 +#: library/stdtypes.rst:2013 msgid "Carriage Return" msgstr "Retour chariot" -#: library/stdtypes.rst:2014 +#: library/stdtypes.rst:2015 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: library/stdtypes.rst:2014 +#: library/stdtypes.rst:2015 msgid "Carriage Return + Line Feed" msgstr "Retour chariot + saut de ligne" -#: library/stdtypes.rst:2016 +#: library/stdtypes.rst:2017 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: library/stdtypes.rst:2016 +#: library/stdtypes.rst:2017 msgid "Line Tabulation" msgstr "Tabulation verticale" -#: library/stdtypes.rst:2018 +#: library/stdtypes.rst:2019 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: library/stdtypes.rst:2018 +#: library/stdtypes.rst:2019 msgid "Form Feed" msgstr "Saut de page" -#: library/stdtypes.rst:2020 +#: library/stdtypes.rst:2021 msgid "``\\x1c``" msgstr "``\\x1c``" -#: library/stdtypes.rst:2020 +#: library/stdtypes.rst:2021 msgid "File Separator" msgstr "Séparateur de fichiers" -#: library/stdtypes.rst:2022 +#: library/stdtypes.rst:2023 msgid "``\\x1d``" msgstr "``\\x1d``" -#: library/stdtypes.rst:2022 +#: library/stdtypes.rst:2023 msgid "Group Separator" msgstr "Séparateur de groupes" -#: library/stdtypes.rst:2024 +#: library/stdtypes.rst:2025 msgid "``\\x1e``" msgstr "``\\x1e``" -#: library/stdtypes.rst:2024 +#: library/stdtypes.rst:2025 msgid "Record Separator" msgstr "Séparateur d'enregistrements" -#: library/stdtypes.rst:2026 +#: library/stdtypes.rst:2027 msgid "``\\x85``" msgstr "``\\x85``" -#: library/stdtypes.rst:2026 +#: library/stdtypes.rst:2027 msgid "Next Line (C1 Control Code)" msgstr "Ligne suivante (code de contrôle *C1*)" -#: library/stdtypes.rst:2028 +#: library/stdtypes.rst:2029 msgid "``\\u2028``" msgstr "``\\u2028``" -#: library/stdtypes.rst:2028 +#: library/stdtypes.rst:2029 msgid "Line Separator" msgstr "Séparateur de ligne" -#: library/stdtypes.rst:2030 +#: library/stdtypes.rst:2031 msgid "``\\u2029``" msgstr "``\\u2029``" -#: library/stdtypes.rst:2030 +#: library/stdtypes.rst:2031 msgid "Paragraph Separator" msgstr "Séparateur de paragraphe" -#: library/stdtypes.rst:2035 +#: library/stdtypes.rst:2036 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` et ``\\f`` ajoutés à la liste des limites de lignes." -#: library/stdtypes.rst:2044 +#: library/stdtypes.rst:2045 msgid "" "Unlike :meth:`~str.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -3401,11 +3382,11 @@ msgstr "" "renvoie une liste vide pour la chaîne vide, et un saut de ligne à la fin ne " "se traduit pas par une ligne supplémentaire ::" -#: library/stdtypes.rst:2053 +#: library/stdtypes.rst:2054 msgid "For comparison, ``split('\\n')`` gives::" msgstr "À titre de comparaison, ``split('\\n')`` donne ::" -#: library/stdtypes.rst:2063 +#: library/stdtypes.rst:2064 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3417,7 +3398,7 @@ msgstr "" "est donné, la comparaison commence à cette position, et lorsque *end* est " "donné, la comparaison s'arrête à celle ci." -#: library/stdtypes.rst:2071 +#: library/stdtypes.rst:2072 msgid "" "Return a copy of the string with the leading and trailing characters " "removed. The *chars* argument is a string specifying the set of characters " @@ -3431,7 +3412,7 @@ msgstr "" "L'argument *chars* est pas un préfixe ni un suffixe, toutes les combinaisons " "de ses valeurs sont supprimées ::" -#: library/stdtypes.rst:2082 +#: library/stdtypes.rst:2083 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3443,7 +3424,7 @@ msgstr "" "figurant pas dans le jeu de caractères dans *chars*. La même opération à " "lieu par la droite. Par exemple ::" -#: library/stdtypes.rst:2095 +#: library/stdtypes.rst:2096 msgid "" "Return a copy of the string with uppercase characters converted to lowercase " "and vice versa. Note that it is not necessarily true that ``s.swapcase()." @@ -3453,7 +3434,7 @@ msgstr "" "convertis en minuscules et vice versa. Notez qu'il est pas nécessairement " "vrai que ``s.swapcase().swapcase() == s``." -#: library/stdtypes.rst:2102 +#: library/stdtypes.rst:2103 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3461,7 +3442,7 @@ msgstr "" "Renvoie une version en initiales majuscules de la chaîne où les mots " "commencent par une capitale et les caractères restants sont en minuscules." -#: library/stdtypes.rst:2110 library/stdtypes.rst:3326 +#: library/stdtypes.rst:3327 msgid "" "The algorithm uses a simple language-independent definition of a word as " "groups of consecutive letters. The definition works in many contexts but it " @@ -3474,14 +3455,14 @@ msgstr "" "apostrophes (typiquement de la forme possessive en Anglais) forment les " "limites de mot, ce qui n'est pas toujours le résultat souhaité ::" -#: library/stdtypes.rst:2118 library/stdtypes.rst:3334 +#: library/stdtypes.rst:3335 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "" "Une solution pour contourner le problème des apostrophes peut être obtenue " "en utilisant des expressions rationnelles ::" -#: library/stdtypes.rst:2132 +#: library/stdtypes.rst:2133 msgid "" "Return a copy of the string in which each character has been mapped through " "the given translation table. The table must be an object that implements " @@ -3501,7 +3482,7 @@ msgstr "" "pour supprimer le caractère de la chaîne de renvoyée soit lever une " "exception :exc:`LookupError` pour ne pas changer le caractère." -#: library/stdtypes.rst:2141 +#: library/stdtypes.rst:2142 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." @@ -3509,7 +3490,7 @@ msgstr "" "Vous pouvez utiliser :meth:`str.maketrans` pour créer une table de " "correspondances de caractères dans différents formats." -#: library/stdtypes.rst:2144 +#: library/stdtypes.rst:2145 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." @@ -3517,7 +3498,7 @@ msgstr "" "Voir aussi le module :mod:`codecs` pour une approche plus souple de " "changements de caractères par correspondance." -#: library/stdtypes.rst:2150 +#: library/stdtypes.rst:2151 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` " @@ -3531,7 +3512,7 @@ msgstr "" "catégorie Unicode d'un caractère du résultat n'est pas \"Lu\" (*Letter*, " "*uppercase*), mais par exemple \"Lt\" (*Letter*, *titlecase*)." -#: library/stdtypes.rst:2156 +#: library/stdtypes.rst:2157 msgid "" "The uppercasing algorithm used is described in section 3.13 of the Unicode " "Standard." @@ -3539,7 +3520,7 @@ msgstr "" "L'algorithme de capitalisation utilisé est décrit dans la section 3.13 de la " "norme Unicode." -#: library/stdtypes.rst:2162 +#: library/stdtypes.rst:2163 msgid "" "Return a copy of the string left filled with ASCII ``'0'`` digits to make a " "string of length *width*. A leading sign prefix (``'+'``/``'-'``) is handled " @@ -3552,11 +3533,11 @@ msgstr "" "rembourrage *après* le caractère désigne plutôt qu'avant. La chaîne " "d'origine est renvoyée si *width* est inférieur ou égale à ``len(s)``." -#: library/stdtypes.rst:2180 +#: library/stdtypes.rst:2181 msgid "``printf``-style String Formatting" msgstr "Formatage de chaines à la ``printf``" -#: library/stdtypes.rst:2193 +#: library/stdtypes.rst:2194 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -3574,7 +3555,7 @@ msgstr "" "ces alternatives apporte son lot d'avantages et inconvénients en matière de " "simplicité, de flexibilité et/ou de généralisation possible." -#: library/stdtypes.rst:2201 +#: library/stdtypes.rst:2202 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -3590,7 +3571,7 @@ msgstr "" "plusieurs éléments de *values*. L'effet est similaire à la fonction :c:func:" "`sprintf` du langage C." -#: library/stdtypes.rst:2207 +#: library/stdtypes.rst:2208 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -3602,7 +3583,7 @@ msgstr "" "d'éléments spécifiés par la chaîne de format, ou un seul objet de " "correspondances ( *mapping object*, par exemple, un dictionnaire)." -#: library/stdtypes.rst:2217 library/stdtypes.rst:3437 +#: library/stdtypes.rst:3438 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" @@ -3610,11 +3591,11 @@ msgstr "" "Un indicateur de conversion contient deux ou plusieurs caractères et " "comporte les éléments suivants, qui doivent apparaître dans cet ordre :" -#: library/stdtypes.rst:2220 library/stdtypes.rst:3440 +#: library/stdtypes.rst:3441 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "Le caractère ``'%'``, qui marque le début du marqueur." -#: library/stdtypes.rst:2222 library/stdtypes.rst:3442 +#: library/stdtypes.rst:3443 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." @@ -3622,7 +3603,7 @@ msgstr "" "La clé de correspondance (facultative), composée d'une suite de caractères " "entre parenthèse (par exemple, ``(somename)``)." -#: library/stdtypes.rst:2225 library/stdtypes.rst:3445 +#: library/stdtypes.rst:3446 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." @@ -3630,7 +3611,7 @@ msgstr "" "Des options de conversion, facultatives, qui affectent le résultat de " "certains types de conversion." -#: library/stdtypes.rst:2228 library/stdtypes.rst:3448 +#: library/stdtypes.rst:3449 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is read from the next element of the tuple in *values*, and the " @@ -3640,7 +3621,7 @@ msgstr "" "est lue de l'élément suivant du tuple *values*, et l'objet à convertir vient " "après la largeur de champ minimale et la précision facultative." -#: library/stdtypes.rst:2232 library/stdtypes.rst:3452 +#: library/stdtypes.rst:3453 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3652,15 +3633,15 @@ msgstr "" "lue à partir de l'élément suivant du tuple *values* et la valeur à convertir " "vient ensuite." -#: library/stdtypes.rst:2237 library/stdtypes.rst:3457 +#: library/stdtypes.rst:3458 msgid "Length modifier (optional)." msgstr "Modificateur de longueur (facultatif)." -#: library/stdtypes.rst:2239 library/stdtypes.rst:3459 +#: library/stdtypes.rst:3460 msgid "Conversion type." msgstr "Type de conversion." -#: library/stdtypes.rst:2241 +#: library/stdtypes.rst:2242 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the string *must* include a parenthesised mapping key into that " @@ -3673,7 +3654,7 @@ msgstr "" "caractère ``'%'``. La clé indique quelle valeur du dictionnaire doit être " "formatée. Par exemple :" -#: library/stdtypes.rst:2250 library/stdtypes.rst:3470 +#: library/stdtypes.rst:3471 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." @@ -3681,36 +3662,36 @@ msgstr "" "Dans ce cas, aucune ``*`` ne peuvent se trouver dans le format (car ces " "``*`` nécessitent une liste (accès séquentiel) de paramètres)." -#: library/stdtypes.rst:2253 library/stdtypes.rst:3473 +#: library/stdtypes.rst:3474 msgid "The conversion flag characters are:" msgstr "Les caractères indicateurs de conversion sont :" -#: library/stdtypes.rst:2262 library/stdtypes.rst:3482 +#: library/stdtypes.rst:3483 msgid "Flag" msgstr "Option" -#: library/stdtypes.rst:2264 library/stdtypes.rst:3484 +#: library/stdtypes.rst:3485 msgid "``'#'``" msgstr "``'#'``" -#: library/stdtypes.rst:2264 library/stdtypes.rst:3484 +#: library/stdtypes.rst:3485 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "La conversion utilisera la \"forme alternative\" (définie ci-dessous)." -#: library/stdtypes.rst:2267 library/stdtypes.rst:3487 +#: library/stdtypes.rst:3488 msgid "``'0'``" msgstr "``'0'``" -#: library/stdtypes.rst:2267 library/stdtypes.rst:3487 +#: library/stdtypes.rst:3488 msgid "The conversion will be zero padded for numeric values." msgstr "Les valeurs numériques converties seront complétée de zéros." -#: library/stdtypes.rst:2269 library/stdtypes.rst:3489 +#: library/stdtypes.rst:3490 msgid "``'-'``" msgstr "``'-'``" -#: library/stdtypes.rst:2269 library/stdtypes.rst:3489 +#: library/stdtypes.rst:3490 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." @@ -3718,11 +3699,11 @@ msgstr "" "La valeur convertie est ajustée à gauche (remplace la conversion ``'0'`` si " "les deux sont données)." -#: library/stdtypes.rst:2272 library/stdtypes.rst:3492 +#: library/stdtypes.rst:3493 msgid "``' '``" msgstr "``' '``" -#: library/stdtypes.rst:2272 library/stdtypes.rst:3492 +#: library/stdtypes.rst:3493 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." @@ -3730,11 +3711,11 @@ msgstr "" "(un espace) Un espace doit être laissé avant un nombre positif (ou chaîne " "vide) produite par la conversion d'une valeur signée." -#: library/stdtypes.rst:2275 library/stdtypes.rst:3495 +#: library/stdtypes.rst:3496 msgid "``'+'``" msgstr "``'+'``" -#: library/stdtypes.rst:2275 library/stdtypes.rst:3495 +#: library/stdtypes.rst:3496 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." @@ -3742,7 +3723,7 @@ msgstr "" "Un caractère de signe (``'+'`` ou ``'-'``) précède la valeur convertie " "(remplace le marqueur \"espace\")." -#: library/stdtypes.rst:2279 library/stdtypes.rst:3499 +#: library/stdtypes.rst:3500 msgid "" "A length modifier (``h``, ``l``, or ``L``) may be present, but is ignored as " "it is not necessary for Python -- so e.g. ``%ld`` is identical to ``%d``." @@ -3751,93 +3732,91 @@ msgstr "" "est ignoré car il est pas nécessaire pour Python, donc par exemple ``%ld`` " "est identique à ``%d``." -#: library/stdtypes.rst:2282 library/stdtypes.rst:3502 +#: library/stdtypes.rst:3503 msgid "The conversion types are:" msgstr "Les types utilisables dans les conversion sont :" -#: library/stdtypes.rst:2285 library/stdtypes.rst:3505 +#: library/stdtypes.rst:3506 msgid "Conversion" msgstr "Conversion" -#: library/stdtypes.rst:2287 library/stdtypes.rst:3507 +#: library/stdtypes.rst:3508 msgid "``'d'``" msgstr "``'d'``" -#: library/stdtypes.rst:2287 library/stdtypes.rst:2289 -#: library/stdtypes.rst:3507 library/stdtypes.rst:3509 +#: library/stdtypes.rst:2290 library/stdtypes.rst:3510 msgid "Signed integer decimal." msgstr "Entier décimal signé." -#: library/stdtypes.rst:2289 library/stdtypes.rst:3509 +#: library/stdtypes.rst:3510 msgid "``'i'``" msgstr "``'i'``" -#: library/stdtypes.rst:2291 library/stdtypes.rst:3511 +#: library/stdtypes.rst:3512 msgid "``'o'``" msgstr "``'o'``" -#: library/stdtypes.rst:2291 library/stdtypes.rst:3511 +#: library/stdtypes.rst:3512 msgid "Signed octal value." msgstr "Valeur octale signée." -#: library/stdtypes.rst:2293 library/stdtypes.rst:3513 +#: library/stdtypes.rst:3514 msgid "``'u'``" msgstr "``'u'``" -#: library/stdtypes.rst:2293 library/stdtypes.rst:3513 +#: library/stdtypes.rst:3514 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "Type obsolète — identique à ``'d'``." -#: library/stdtypes.rst:2295 library/stdtypes.rst:3515 +#: library/stdtypes.rst:3516 msgid "``'x'``" msgstr "``'x'``" -#: library/stdtypes.rst:2295 library/stdtypes.rst:3515 +#: library/stdtypes.rst:3516 msgid "Signed hexadecimal (lowercase)." msgstr "Hexadécimal signé (en minuscules)." -#: library/stdtypes.rst:2297 library/stdtypes.rst:3517 +#: library/stdtypes.rst:3518 msgid "``'X'``" msgstr "``'X'``" -#: library/stdtypes.rst:2297 library/stdtypes.rst:3517 +#: library/stdtypes.rst:3518 msgid "Signed hexadecimal (uppercase)." msgstr "Hexadécimal signé (capitales)." -#: library/stdtypes.rst:2299 library/stdtypes.rst:3519 +#: library/stdtypes.rst:3520 msgid "``'e'``" msgstr "``'e'``" -#: library/stdtypes.rst:2299 library/stdtypes.rst:3519 +#: library/stdtypes.rst:3520 msgid "Floating point exponential format (lowercase)." msgstr "Format exponentiel pour un *float* (minuscule)." -#: library/stdtypes.rst:2301 library/stdtypes.rst:3521 +#: library/stdtypes.rst:3522 msgid "``'E'``" msgstr "``'E'``" -#: library/stdtypes.rst:2301 library/stdtypes.rst:3521 +#: library/stdtypes.rst:3522 msgid "Floating point exponential format (uppercase)." msgstr "Format exponentiel pour un *float* (en capitales)." -#: library/stdtypes.rst:2303 library/stdtypes.rst:3523 +#: library/stdtypes.rst:3524 msgid "``'f'``" msgstr "``'f'``" -#: library/stdtypes.rst:2303 library/stdtypes.rst:2305 -#: library/stdtypes.rst:3523 library/stdtypes.rst:3525 +#: library/stdtypes.rst:2306 library/stdtypes.rst:3526 msgid "Floating point decimal format." msgstr "Format décimal pour un *float*." -#: library/stdtypes.rst:2305 library/stdtypes.rst:3525 +#: library/stdtypes.rst:3526 msgid "``'F'``" msgstr "``'F'``" -#: library/stdtypes.rst:2307 library/stdtypes.rst:3527 +#: library/stdtypes.rst:3528 msgid "``'g'``" msgstr "``'g'``" -#: library/stdtypes.rst:2307 library/stdtypes.rst:3527 +#: library/stdtypes.rst:3528 msgid "" "Floating point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." @@ -3846,11 +3825,11 @@ msgstr "" "inférieur à ``-4`` ou pas plus petit que la précision, sinon le format " "décimal." -#: library/stdtypes.rst:2311 library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "``'G'``" msgstr "``'G'``" -#: library/stdtypes.rst:2311 library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "" "Floating point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." @@ -3859,51 +3838,51 @@ msgstr "" "inférieur à ``-4`` ou pas plus petit que la précision, sinon le format " "décimal." -#: library/stdtypes.rst:2315 library/stdtypes.rst:3535 +#: library/stdtypes.rst:3536 msgid "``'c'``" msgstr "``'c'``" -#: library/stdtypes.rst:2315 +#: library/stdtypes.rst:2316 msgid "Single character (accepts integer or single character string)." msgstr "" "Un seul caractère (accepte des entiers ou une chaîne d'un seul caractère)." -#: library/stdtypes.rst:2318 library/stdtypes.rst:3548 +#: library/stdtypes.rst:3549 msgid "``'r'``" msgstr "``'r'``" -#: library/stdtypes.rst:2318 +#: library/stdtypes.rst:2319 msgid "String (converts any Python object using :func:`repr`)." msgstr "String (convertit n'importe quel objet Python avec :func:`repr`)." -#: library/stdtypes.rst:2321 library/stdtypes.rst:3542 +#: library/stdtypes.rst:3543 msgid "``'s'``" msgstr "``'s'``" -#: library/stdtypes.rst:2321 +#: library/stdtypes.rst:2322 msgid "String (converts any Python object using :func:`str`)." msgstr "String (convertit n'importe quel objet Python avec :func:`str`)." -#: library/stdtypes.rst:2324 library/stdtypes.rst:3545 +#: library/stdtypes.rst:3546 msgid "``'a'``" msgstr "``'a'``" -#: library/stdtypes.rst:2324 +#: library/stdtypes.rst:2325 msgid "String (converts any Python object using :func:`ascii`)." msgstr "" "String (convertit n'importe quel objet Python en utilisant :func:`ascii`)." -#: library/stdtypes.rst:2327 library/stdtypes.rst:3551 +#: library/stdtypes.rst:3552 msgid "``'%'``" msgstr "``'%'``" -#: library/stdtypes.rst:2327 library/stdtypes.rst:3551 +#: library/stdtypes.rst:3552 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" "Aucun argument n'est converti, donne un caractère de ``'%'`` dans le " "résultat." -#: library/stdtypes.rst:2334 library/stdtypes.rst:3558 +#: library/stdtypes.rst:3559 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." @@ -3911,7 +3890,7 @@ msgstr "" "La forme alternative entraîne l'insertion d'un préfixe octal (``'0o'``) " "avant le premier chiffre." -#: library/stdtypes.rst:2338 library/stdtypes.rst:3562 +#: library/stdtypes.rst:3563 msgid "" "The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on " "whether the ``'x'`` or ``'X'`` format was used) to be inserted before the " @@ -3921,7 +3900,7 @@ msgstr "" "(respectivement pour les formats ``'x'`` et ``'X'``) avant le premier " "chiffre." -#: library/stdtypes.rst:2342 library/stdtypes.rst:3566 +#: library/stdtypes.rst:3567 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." @@ -3929,14 +3908,14 @@ msgstr "" "La forme alternative implique la présence d'un point décimal, même si aucun " "chiffre ne le suit." -#: library/stdtypes.rst:2345 library/stdtypes.rst:3569 +#: library/stdtypes.rst:3570 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" "La précision détermine le nombre de chiffres après la virgule, 6 par défaut." -#: library/stdtypes.rst:2349 library/stdtypes.rst:3573 +#: library/stdtypes.rst:3574 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." @@ -3944,7 +3923,7 @@ msgstr "" "La forme alternative implique la présence d'un point décimal et les zéros " "non significatifs sont conservés (ils ne le seraient pas autrement)." -#: library/stdtypes.rst:2352 library/stdtypes.rst:3576 +#: library/stdtypes.rst:3577 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." @@ -3952,15 +3931,15 @@ msgstr "" "La précision détermine le nombre de chiffres significatifs avant et après la " "virgule. 6 par défaut." -#: library/stdtypes.rst:2356 library/stdtypes.rst:3580 +#: library/stdtypes.rst:3581 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "Si la précision est ``N``, la sortie est tronquée à ``N`` caractères." -#: library/stdtypes.rst:2359 library/stdtypes.rst:3589 +#: library/stdtypes.rst:3590 msgid "See :pep:`237`." msgstr "Voir la :pep:`237`." -#: library/stdtypes.rst:2361 +#: library/stdtypes.rst:2362 msgid "" "Since Python strings have an explicit length, ``%s`` conversions do not " "assume that ``'\\0'`` is the end of the string." @@ -3968,7 +3947,7 @@ msgstr "" "Puisque les chaînes Python ont une longueur explicite, les conversions ``" "%s`` ne considèrent pas ``'\\0'`` comme la fin de la chaîne." -#: library/stdtypes.rst:2366 +#: library/stdtypes.rst:2367 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." @@ -3976,7 +3955,7 @@ msgstr "" "Les conversions ``%f`` pour nombres dont la valeur absolue est supérieure à " "``1e50`` ne sont plus remplacés par des conversions ``%g``." -#: library/stdtypes.rst:2377 +#: library/stdtypes.rst:2378 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" @@ -3984,7 +3963,7 @@ msgstr "" "Séquences Binaires --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" -#: library/stdtypes.rst:2385 +#: library/stdtypes.rst:2386 msgid "" "The core built-in types for manipulating binary data are :class:`bytes` and :" "class:`bytearray`. They are supported by :class:`memoryview` which uses the :" @@ -3996,7 +3975,7 @@ msgstr "" "qui utilise le :ref:`buffer protocol ` pour accéder à la " "mémoire d'autres objets binaires sans avoir besoin d'en faire une copie." -#: library/stdtypes.rst:2390 +#: library/stdtypes.rst:2391 msgid "" "The :mod:`array` module supports efficient storage of basic data types like " "32-bit integers and IEEE754 double-precision floating values." @@ -4004,11 +3983,11 @@ msgstr "" "Le module :mod:`array` permet le stockage efficace de types basiques comme " "les entiers de 32 bits et les *float* double précision IEEE754." -#: library/stdtypes.rst:2396 +#: library/stdtypes.rst:2397 msgid "Bytes Objects" msgstr "Objets *bytes*" -#: library/stdtypes.rst:2400 +#: library/stdtypes.rst:2401 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -4020,7 +3999,7 @@ msgstr "" "méthodes qui ne sont valables que lors de la manipulation de données ASCII " "et sont étroitement liés aux objets *str* dans bien d'autres aspects." -#: library/stdtypes.rst:2407 +#: library/stdtypes.rst:2408 msgid "" "Firstly, the syntax for bytes literals is largely the same as that for " "string literals, except that a ``b`` prefix is added:" @@ -4028,24 +4007,24 @@ msgstr "" "Tout d'abord, la syntaxe des *bytes* littéraux est en grande partie la même " "que pour les chaînes littérales, en dehors du préfixe ``b`` :" -#: library/stdtypes.rst:2410 +#: library/stdtypes.rst:2411 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "" "Les guillemets simples : ``b'autorisent aussi les guillemets \"doubles\"'``" -#: library/stdtypes.rst:2411 +#: library/stdtypes.rst:2412 msgid "Double quotes: ``b\"still allows embedded 'single' quotes\"``." msgstr "" "Les guillemets doubles : ``b\"permettent aussi les guillemets 'simples'\"``." -#: library/stdtypes.rst:2412 +#: library/stdtypes.rst:2413 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" "Les guillemets triples : ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes" "\"\"\"``" -#: library/stdtypes.rst:2414 +#: library/stdtypes.rst:2415 msgid "" "Only ASCII characters are permitted in bytes literals (regardless of the " "declared source code encoding). Any binary values over 127 must be entered " @@ -4056,7 +4035,7 @@ msgstr "" "delà de 127 doivent être entrés dans littéraux de *bytes* en utilisant une " "séquence d'échappement appropriée." -#: library/stdtypes.rst:2418 +#: library/stdtypes.rst:2419 msgid "" "As with string literals, bytes literals may also use a ``r`` prefix to " "disable processing of escape sequences. See :ref:`strings` for more about " @@ -4068,7 +4047,7 @@ msgstr "" "différentes formes littérales de *bytes*, y compris les séquences " "d'échappement supportées." -#: library/stdtypes.rst:2422 +#: library/stdtypes.rst:2423 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -4091,7 +4070,7 @@ msgstr "" "sur des données binaires qui ne sont pas compatibles ASCII conduit " "généralement à leur corruption)." -#: library/stdtypes.rst:2432 +#: library/stdtypes.rst:2433 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" @@ -4099,26 +4078,26 @@ msgstr "" "En plus des formes littérales, des objets *bytes* peuvent être créés par de " "nombreux moyens :" -#: library/stdtypes.rst:2435 +#: library/stdtypes.rst:2436 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "" "Un objet *bytes* rempli de zéros d'une longueur spécifiée : ``bytes(10)``" -#: library/stdtypes.rst:2436 +#: library/stdtypes.rst:2437 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "D'un itérable d'entiers : ``bytes(range(20))``" -#: library/stdtypes.rst:2437 +#: library/stdtypes.rst:2438 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "" "Copier des données binaires existantes via le *buffer protocol* : " "``bytes(obj)``" -#: library/stdtypes.rst:2439 +#: library/stdtypes.rst:2440 msgid "Also see the :ref:`bytes ` built-in." msgstr "Voir aussi la fonction native :ref:`bytes `." -#: library/stdtypes.rst:2441 +#: library/stdtypes.rst:2442 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4130,7 +4109,7 @@ msgstr "" "données binaires. Par conséquent, le type *bytes* a une méthode de classe " "pour lire des données dans ce format :" -#: library/stdtypes.rst:2447 +#: library/stdtypes.rst:2448 msgid "" "This :class:`bytes` class method returns a bytes object, decoding the given " "string object. The string must contain two hexadecimal digits per byte, " @@ -4140,7 +4119,7 @@ msgstr "" "la chaîne donnée. La chaîne doit contenir deux chiffres hexadécimaux par " "octet, les espaces ASCII sont ignorés." -#: library/stdtypes.rst:2454 +#: library/stdtypes.rst:2455 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." @@ -4148,7 +4127,7 @@ msgstr "" ":meth:`bytes.fromhex` saute maintenant dans la chaîne tous les caractères " "ASCII \"blancs\", pas seulement les espaces." -#: library/stdtypes.rst:2458 +#: library/stdtypes.rst:2459 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." @@ -4156,7 +4135,7 @@ msgstr "" "Une fonction de conversion inverse existe pour transformer un objet *bytes* " "en sa représentation hexadécimale." -#: library/stdtypes.rst:2463 library/stdtypes.rst:2557 +#: library/stdtypes.rst:2558 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." @@ -4164,7 +4143,7 @@ msgstr "" "Renvoie une chaîne contenant deux chiffres hexadécimaux pour chaque octet du " "*byte*." -#: library/stdtypes.rst:2469 +#: library/stdtypes.rst:2470 msgid "" "If you want to make the hex string easier to read, you can specify a single " "character separator *sep* parameter to include in the output. By default " @@ -4179,7 +4158,7 @@ msgstr "" "Les valeurs positives calculent la position du séparateur en partant de la " "droite, les valeurs négatives de la gauche." -#: library/stdtypes.rst:2485 +#: library/stdtypes.rst:2486 msgid "" ":meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* parameters " "to insert separators between bytes in the hex output." @@ -4188,7 +4167,7 @@ msgstr "" "et *bytes_per_sep* pour insérer des séparateurs entre les octets dans la " "sortie hexadécimale." -#: library/stdtypes.rst:2489 +#: library/stdtypes.rst:2490 msgid "" "Since bytes objects are sequences of integers (akin to a tuple), for a bytes " "object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be a bytes " @@ -4200,7 +4179,7 @@ msgstr "" "que``b[0:1]`` sera un objet *bytes* de longueur 1. (Cela contraste avec les " "chaînes, où l'indexation et le *slicing* donne une chaîne de longueur 1)" -#: library/stdtypes.rst:2494 +#: library/stdtypes.rst:2495 msgid "" "The representation of bytes objects uses the literal format (``b'...'``) " "since it is often more useful than e.g. ``bytes([46, 46, 46])``. You can " @@ -4210,7 +4189,7 @@ msgstr "" "est souvent plus utile que par exemple ``bytes([46, 46, 46])``. Vous pouvez " "toujours convertir un *bytes* en liste d'entiers en utilisant ``list(b)``." -#: library/stdtypes.rst:2499 +#: library/stdtypes.rst:2500 msgid "" "For Python 2.x users: In the Python 2.x series, a variety of implicit " "conversions between 8-bit strings (the closest thing 2.x offers to a built-" @@ -4231,11 +4210,11 @@ msgstr "" "conversions entre les données binaires et texte Unicode doivent être " "explicites, et les *bytes* sont toujours différents des chaînes." -#: library/stdtypes.rst:2512 +#: library/stdtypes.rst:2513 msgid "Bytearray Objects" msgstr "Objets *bytearray*" -#: library/stdtypes.rst:2516 +#: library/stdtypes.rst:2517 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." @@ -4243,7 +4222,7 @@ msgstr "" "Les objets :class:`bytearray` sont l'équivalent muable des objets :class:" "`bytes`." -#: library/stdtypes.rst:2521 +#: library/stdtypes.rst:2522 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" @@ -4251,27 +4230,27 @@ msgstr "" "Il n'y a pas de syntaxe littérale dédiée aux *bytearray*, ils sont toujours " "créés en appelant le constructeur :" -#: library/stdtypes.rst:2524 +#: library/stdtypes.rst:2525 msgid "Creating an empty instance: ``bytearray()``" msgstr "Créer une instance vide: ``bytearray()``" -#: library/stdtypes.rst:2525 +#: library/stdtypes.rst:2526 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "" "Créer une instance remplie de zéros d'une longueur donnée : ``bytearray(10)``" -#: library/stdtypes.rst:2526 +#: library/stdtypes.rst:2527 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "À partir d'un itérable d'entiers : ``bytearray(range(20))``" -#: library/stdtypes.rst:2527 +#: library/stdtypes.rst:2528 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" "Copie des données binaires existantes via le *buffer protocol* : " "``bytearray(b'Hi!')``" -#: library/stdtypes.rst:2529 +#: library/stdtypes.rst:2530 msgid "" "As bytearray objects are mutable, they support the :ref:`mutable ` sequence operations in addition to the common bytes and bytearray " @@ -4281,11 +4260,11 @@ msgstr "" "séquence :ref:`muables ` en plus des opérations communes " "de *bytes* et *bytearray* décrites dans :ref:`bytes-methods`." -#: library/stdtypes.rst:2533 +#: library/stdtypes.rst:2534 msgid "Also see the :ref:`bytearray ` built-in." msgstr "Voir aussi la fonction native :ref:`bytearray `." -#: library/stdtypes.rst:2535 +#: library/stdtypes.rst:2536 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4297,7 +4276,7 @@ msgstr "" "données binaires. Par conséquent, le type *bytearray* a une méthode de " "classe pour lire les données dans ce format :" -#: library/stdtypes.rst:2541 +#: library/stdtypes.rst:2542 msgid "" "This :class:`bytearray` class method returns bytearray object, decoding the " "given string object. The string must contain two hexadecimal digits per " @@ -4307,7 +4286,7 @@ msgstr "" "décodant la chaîne donnée. La chaîne doit contenir deux chiffres " "hexadécimaux par octet, les espaces ASCII sont ignorés." -#: library/stdtypes.rst:2548 +#: library/stdtypes.rst:2549 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." @@ -4315,7 +4294,7 @@ msgstr "" ":meth:`bytearray.fromhex` saute maintenant tous les caractères \"blancs\" " "ASCII dans la chaîne, pas seulement les espaces." -#: library/stdtypes.rst:2552 +#: library/stdtypes.rst:2553 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." @@ -4323,7 +4302,7 @@ msgstr "" "Une fonction de conversion inverse existe pour transformer un objet " "*bytearray* en sa représentation hexadécimale." -#: library/stdtypes.rst:2565 +#: library/stdtypes.rst:2566 #, fuzzy msgid "" "Similar to :meth:`bytes.hex`, :meth:`bytearray.hex` now supports optional " @@ -4334,7 +4313,7 @@ msgstr "" "et *bytes_per_sep* pour insérer des séparateurs entre les octets dans la " "sortie hexadécimale." -#: library/stdtypes.rst:2570 +#: library/stdtypes.rst:2571 msgid "" "Since bytearray objects are sequences of integers (akin to a list), for a " "bytearray object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be " @@ -4347,7 +4326,7 @@ msgstr "" "chaînes de texte, où l'indexation et le *slicing* produit une chaîne de " "longueur 1)" -#: library/stdtypes.rst:2575 +#: library/stdtypes.rst:2576 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4359,11 +4338,11 @@ msgstr "" "exemple ``bytearray([46, 46, 46])``. Vous pouvez toujours convertir un objet " "*bytearray* en une liste de nombres entiers en utilisant ``list(b)``." -#: library/stdtypes.rst:2584 +#: library/stdtypes.rst:2585 msgid "Bytes and Bytearray Operations" msgstr "Opérations sur les *bytes* et *bytearray*" -#: library/stdtypes.rst:2589 +#: library/stdtypes.rst:2590 msgid "" "Both bytes and bytearray objects support the :ref:`common ` " "sequence operations. They interoperate not just with operands of the same " @@ -4378,7 +4357,7 @@ msgstr "" "opérations sans provoquer d'erreurs. Cependant, le type du résultat peut " "dépendre de l'ordre des opérandes." -#: library/stdtypes.rst:2597 +#: library/stdtypes.rst:2598 msgid "" "The methods on bytes and bytearray objects don't accept strings as their " "arguments, just as the methods on strings don't accept bytes as their " @@ -4388,11 +4367,11 @@ msgstr "" "comme arguments, tout comme les méthodes sur les chaînes n'acceptent pas les " "*bytes* comme arguments. Par exemple, vous devez écrire ::" -#: library/stdtypes.rst:2604 +#: library/stdtypes.rst:2605 msgid "and::" msgstr "et ::" -#: library/stdtypes.rst:2609 +#: library/stdtypes.rst:2610 msgid "" "Some bytes and bytearray operations assume the use of ASCII compatible " "binary formats, and hence should be avoided when working with arbitrary " @@ -4403,7 +4382,7 @@ msgstr "" "travaillez avec des données binaires arbitraires. Ces restrictions sont " "couvertes ci-dessous." -#: library/stdtypes.rst:2614 +#: library/stdtypes.rst:2615 msgid "" "Using these ASCII based operations to manipulate binary data that is not " "stored in an ASCII based format may lead to data corruption." @@ -4411,7 +4390,7 @@ msgstr "" "Utiliser ces opérations basées sur l'ASCII pour manipuler des données " "binaires qui ne sont pas au format ASCII peut les corrompre." -#: library/stdtypes.rst:2617 +#: library/stdtypes.rst:2618 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." @@ -4419,7 +4398,7 @@ msgstr "" "Les méthodes suivantes sur les *bytes* et *bytearray* peuvent être utilisées " "avec des données binaires arbitraires." -#: library/stdtypes.rst:2623 +#: library/stdtypes.rst:2624 msgid "" "Return the number of non-overlapping occurrences of subsequence *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " @@ -4429,9 +4408,8 @@ msgstr "" "séquence *sub* dans l'intervalle [*start*, *end*]. Les arguments facultatifs " "*start* et *end* sont interprétés comme pour un *slice*." -#: library/stdtypes.rst:2627 library/stdtypes.rst:2725 -#: library/stdtypes.rst:2747 library/stdtypes.rst:2813 -#: library/stdtypes.rst:2826 +#: library/stdtypes.rst:2726 library/stdtypes.rst:2814 +#: library/stdtypes.rst:2827 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." @@ -4439,36 +4417,31 @@ msgstr "" "La sous-séquence à rechercher peut être un quelconque :term:`bytes-like " "object` ou un nombre entier compris entre 0 et 255." -#: library/stdtypes.rst:2630 library/stdtypes.rst:2737 -#: library/stdtypes.rst:2750 library/stdtypes.rst:2816 -#: library/stdtypes.rst:2829 +#: library/stdtypes.rst:2738 library/stdtypes.rst:2817 +#: library/stdtypes.rst:2830 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" "Accepte aussi un nombre entier compris entre 0 et 255 comme sous-séquence." -#: library/stdtypes.rst:2637 +#: library/stdtypes.rst:2638 msgid "" "If the binary data starts with the *prefix* string, return " "``bytes[len(prefix):]``. Otherwise, return a copy of the original binary " "data::" msgstr "" -#: library/stdtypes.rst:2646 +#: library/stdtypes.rst:2647 #, fuzzy msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "" "Le préfixe(s) à rechercher peuvent être n'importe quel :term:`bytes-like " "object`." -#: library/stdtypes.rst:2650 library/stdtypes.rst:2672 -#: library/stdtypes.rst:2801 library/stdtypes.rst:2894 -#: library/stdtypes.rst:2908 library/stdtypes.rst:2939 -#: library/stdtypes.rst:2953 library/stdtypes.rst:2995 -#: library/stdtypes.rst:3065 library/stdtypes.rst:3083 -#: library/stdtypes.rst:3111 library/stdtypes.rst:3250 -#: library/stdtypes.rst:3305 library/stdtypes.rst:3348 -#: library/stdtypes.rst:3369 library/stdtypes.rst:3391 -#: library/stdtypes.rst:3593 +#: library/stdtypes.rst:2673 library/stdtypes.rst:2895 +#: library/stdtypes.rst:2940 library/stdtypes.rst:2996 +#: library/stdtypes.rst:3084 library/stdtypes.rst:3251 +#: library/stdtypes.rst:3349 library/stdtypes.rst:3392 +#: library/stdtypes.rst:3594 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." @@ -4477,21 +4450,21 @@ msgstr "" "produit toujours un nouvel objet, même si aucune modification n'a été " "effectuée." -#: library/stdtypes.rst:2659 +#: library/stdtypes.rst:2660 msgid "" "If the binary data ends with the *suffix* string and that *suffix* is not " "empty, return ``bytes[:-len(suffix)]``. Otherwise, return a copy of the " "original binary data::" msgstr "" -#: library/stdtypes.rst:2668 +#: library/stdtypes.rst:2669 #, fuzzy msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "" "Les suffixes à rechercher peuvent être n'importe quel :term:`bytes-like " "object`." -#: library/stdtypes.rst:2681 +#: library/stdtypes.rst:2682 msgid "" "Return a string decoded from the given bytes. Default encoding is " "``'utf-8'``. *errors* may be given to set a different error handling " @@ -4510,14 +4483,14 @@ msgstr "" "register_error`, voir la section :ref:`error-handlers`. Pour une liste des " "encodages possibles, voir la section :ref:`standard-encodings`." -#: library/stdtypes.rst:2689 +#: library/stdtypes.rst:2690 msgid "" "By default, the *errors* argument is not checked for best performances, but " "only used at the first decoding error. Enable the :ref:`Python Development " "Mode `, or use a debug build to check *errors*." msgstr "" -#: library/stdtypes.rst:2695 +#: library/stdtypes.rst:2696 msgid "" "Passing the *encoding* argument to :class:`str` allows decoding any :term:" "`bytes-like object` directly, without needing to make a temporary bytes or " @@ -4527,11 +4500,11 @@ msgstr "" "`bytes-like object` directement, sans avoir besoin d'utiliser un *bytes* ou " "*bytearray* temporaire." -#: library/stdtypes.rst:2699 +#: library/stdtypes.rst:2700 msgid "Added support for keyword arguments." msgstr "Gère les arguments nommés." -#: library/stdtypes.rst:2709 +#: library/stdtypes.rst:2710 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4543,13 +4516,13 @@ msgstr "" "optionnel *start*, la recherche se fait à partir de cette position. Avec " "l'argument optionnel *end*, la comparaison s'arrête à cette position." -#: library/stdtypes.rst:2714 +#: library/stdtypes.rst:2715 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" "Les suffixes à rechercher peuvent être n'importe quel :term:`bytes-like " "object`." -#: library/stdtypes.rst:2720 +#: library/stdtypes.rst:2721 msgid "" "Return the lowest index in the data where the subsequence *sub* is found, " "such that *sub* is contained in the slice ``s[start:end]``. Optional " @@ -4561,7 +4534,7 @@ msgstr "" "facultatifs *start* et *end* sont interprétés comme dans la notation des " "*slices*. Donne ``-1`` si *sub* n'est pas trouvé." -#: library/stdtypes.rst:2730 +#: library/stdtypes.rst:2731 msgid "" "The :meth:`~bytes.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" @@ -4571,7 +4544,7 @@ msgstr "" "de connaître la position de *sub*. Pour vérifier si *sub* est présent ou " "non, utilisez l'opérateur :keyword:`in` ::" -#: library/stdtypes.rst:2744 +#: library/stdtypes.rst:2745 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." @@ -4579,7 +4552,7 @@ msgstr "" "Comme :meth:`~bytes.find`, mais lève une :exc:`ValueError` lorsque la " "séquence est introuvable." -#: library/stdtypes.rst:2757 +#: library/stdtypes.rst:2758 msgid "" "Return a bytes or bytearray object which is the concatenation of the binary " "data sequences in *iterable*. A :exc:`TypeError` will be raised if there " @@ -4595,7 +4568,7 @@ msgstr "" "éléments est le contenu du *bytes* ou du *bytearray* depuis lequel cette " "méthode est appelée." -#: library/stdtypes.rst:2768 +#: library/stdtypes.rst:2769 msgid "" "This static method returns a translation table usable for :meth:`bytes." "translate` that will map each character in *from* into the character at the " @@ -4608,7 +4581,7 @@ msgstr "" "être des :term:`bytes-like objects ` et avoir la même " "longueur." -#: library/stdtypes.rst:2779 +#: library/stdtypes.rst:2780 msgid "" "Split the sequence at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4622,11 +4595,11 @@ msgstr "" "est pas trouvé, le 3-tuple renvoyé contiendra une copie de la séquence " "d'origine, suivi de deux *bytes* ou *bytearray* vides." -#: library/stdtypes.rst:2786 library/stdtypes.rst:2843 +#: library/stdtypes.rst:2844 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "Le séparateur à rechercher peut être tout :term:`bytes-like object`." -#: library/stdtypes.rst:2792 +#: library/stdtypes.rst:2793 msgid "" "Return a copy of the sequence with all occurrences of subsequence *old* " "replaced by *new*. If the optional argument *count* is given, only the " @@ -4636,7 +4609,7 @@ msgstr "" "séquence *old* sont remplacées par *new*. Si l'argument optionnel *count* " "est donné, seules les *count* premières occurrences de sont remplacés." -#: library/stdtypes.rst:2796 +#: library/stdtypes.rst:2797 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." @@ -4644,7 +4617,7 @@ msgstr "" "La sous-séquence à rechercher et son remplacement peuvent être n'importe " "quel :term:`bytes-like object`." -#: library/stdtypes.rst:2808 +#: library/stdtypes.rst:2809 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4656,7 +4629,7 @@ msgstr "" "sont interprétés comme dans la notation des *slices*. Donne ``-1`` si *sub* " "n'est pas trouvable." -#: library/stdtypes.rst:2823 +#: library/stdtypes.rst:2824 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." @@ -4664,7 +4637,7 @@ msgstr "" "Semblable à :meth:`~bytes.rfind` mais lève une :exc:`ValueError` lorsque " "*sub* est introuvable." -#: library/stdtypes.rst:2836 +#: library/stdtypes.rst:2837 msgid "" "Split the sequence at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4678,7 +4651,7 @@ msgstr "" "Si le séparateur n'est pas trouvé, le triplet contiendra deux *bytes* ou " "*bytesarray* vides suivi d’une copie de la séquence d'origine." -#: library/stdtypes.rst:2849 +#: library/stdtypes.rst:2850 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4690,13 +4663,13 @@ msgstr "" "Avec l'argument *start* la recherche commence à cette position. Avec " "l'argument *end* option, la recherche s'arrête à cette position." -#: library/stdtypes.rst:2854 +#: library/stdtypes.rst:2855 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" "Le préfixe(s) à rechercher peuvent être n'importe quel :term:`bytes-like " "object`." -#: library/stdtypes.rst:2860 +#: library/stdtypes.rst:2861 msgid "" "Return a copy of the bytes or bytearray object where all bytes occurring in " "the optional argument *delete* are removed, and the remaining bytes have " @@ -4707,25 +4680,25 @@ msgstr "" "*delete* sont supprimés, et les octets restants changés par la table de " "correspondance donnée, qui doit être un objet *bytes* d'une longueur de 256." -#: library/stdtypes.rst:2865 +#: library/stdtypes.rst:2866 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" "Vous pouvez utiliser la méthode :func:`bytes.maketrans` pour créer une table " "de correspondance." -#: library/stdtypes.rst:2868 +#: library/stdtypes.rst:2869 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" "Donnez ``None`` comme *table* pour seulement supprimer des caractères ::" -#: library/stdtypes.rst:2874 +#: library/stdtypes.rst:2875 msgid "*delete* is now supported as a keyword argument." msgstr "*delete* est maintenant accepté comme argument nommé." -#: library/stdtypes.rst:2878 +#: library/stdtypes.rst:2879 msgid "" "The following methods on bytes and bytearray objects have default behaviours " "that assume the use of ASCII compatible binary formats, but can still be " @@ -4739,7 +4712,7 @@ msgstr "" "appropriés. Notez que toutes les méthodes de *bytearray* de cette section " "ne travaillent jamais sur l'objet lui même, mais renvoient un nouvel objet." -#: library/stdtypes.rst:2887 +#: library/stdtypes.rst:2888 msgid "" "Return a copy of the object centered in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4751,7 +4724,7 @@ msgstr "" "espace ASCII). Pour les objets :class:`bytes`, la séquence initiale est " "renvoyée si *width* est inférieur ou égal à ``len(s)``." -#: library/stdtypes.rst:2901 +#: library/stdtypes.rst:2902 msgid "" "Return a copy of the object left justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4763,7 +4736,7 @@ msgstr "" "espace ASCII). Pour les objets :class:`bytes`, la séquence initiale est " "renvoyée si *width* est inférieure ou égale à ``len(s)``." -#: library/stdtypes.rst:2915 +#: library/stdtypes.rst:2916 msgid "" "Return a copy of the sequence with specified leading bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4780,14 +4753,14 @@ msgstr "" "*chars* n’est pas un préfixe, toutes les combinaisons de ses valeurs sont " "supprimées ::" -#: library/stdtypes.rst:2927 +#: library/stdtypes.rst:2928 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removeprefix` for a method that will remove a " "single prefix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:2946 +#: library/stdtypes.rst:2947 msgid "" "Return a copy of the object right justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4799,7 +4772,7 @@ msgstr "" "défaut est un espace ASCII). Pour les objets :class:`bytes`, la séquence " "d'origine est renvoyée si *width* est inférieure ou égale à ``len(s)``." -#: library/stdtypes.rst:2960 +#: library/stdtypes.rst:2961 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are " @@ -4816,7 +4789,7 @@ msgstr "" "meth:`rsplit` se comporte comme :meth:`split` qui est décrit en détail ci-" "dessous." -#: library/stdtypes.rst:2971 +#: library/stdtypes.rst:2972 msgid "" "Return a copy of the sequence with specified trailing bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4831,14 +4804,14 @@ msgstr "" "supprimés. L'argument *chars* n'est pas un suffixe : toutes les combinaisons " "de ses valeurs sont retirées ::" -#: library/stdtypes.rst:2983 +#: library/stdtypes.rst:2984 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removesuffix` for a method that will remove a " "single suffix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3002 +#: library/stdtypes.rst:3003 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given and non-negative, at most " @@ -4852,7 +4825,7 @@ msgstr "" "éléments), Si *maxsplit* n'est pas spécifié ou faut ``-1``, il n'y a aucune " "limite au nombre de découpes (elles sont toutes effectuées)." -#: library/stdtypes.rst:3008 +#: library/stdtypes.rst:3009 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty subsequences (for example, ``b'1,,2'.split(b',')`` " @@ -4870,7 +4843,7 @@ msgstr "" "``[b'']`` ou ``[bytearray(b'')]`` en fonction du type de l'objet découpé. " "L'argument *sep* peut être n'importe quel :term:`bytes-like object`." -#: library/stdtypes.rst:3026 +#: library/stdtypes.rst:3027 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive ASCII whitespace are regarded as a single " @@ -4886,7 +4859,7 @@ msgstr "" "diviser une séquence vide ou une séquence composée d'espaces ASCII avec un " "séparateur ``None`` renvoie ``[]``." -#: library/stdtypes.rst:3047 +#: library/stdtypes.rst:3048 msgid "" "Return a copy of the sequence with specified leading and trailing bytes " "removed. The *chars* argument is a binary sequence specifying the set of " @@ -4902,14 +4875,14 @@ msgstr "" "espaces ASCII sont supprimés. L'argument *chars* n'est ni un préfixe ni un " "suffixe, toutes les combinaisons de ses valeurs sont supprimées ::" -#: library/stdtypes.rst:3060 +#: library/stdtypes.rst:3061 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" "La séquence de valeurs à supprimer peut être tout :term:`bytes-like object`." -#: library/stdtypes.rst:3069 +#: library/stdtypes.rst:3070 msgid "" "The following methods on bytes and bytearray objects assume the use of ASCII " "compatible binary formats and should not be applied to arbitrary binary " @@ -4922,7 +4895,7 @@ msgstr "" "que toutes les méthodes de *bytearray* de cette section *ne modifient pas* " "les octets, ils produisent de nouveaux objets." -#: library/stdtypes.rst:3077 +#: library/stdtypes.rst:3078 msgid "" "Return a copy of the sequence with each byte interpreted as an ASCII " "character, and the first byte capitalized and the rest lowercased. Non-ASCII " @@ -4932,7 +4905,7 @@ msgstr "" "caractère ASCII, le premier octet en capitale et le reste en minuscules. Les " "octets non ASCII ne sont pas modifiés." -#: library/stdtypes.rst:3090 +#: library/stdtypes.rst:3091 msgid "" "Return a copy of the sequence where all ASCII tab characters are replaced by " "one or more ASCII spaces, depending on the current column and the given tab " @@ -4963,7 +4936,7 @@ msgstr "" "cours est incrémentée de un indépendamment de la façon dont l'octet est " "représenté lors de l’affichage ::" -#: library/stdtypes.rst:3118 +#: library/stdtypes.rst:3119 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -4978,7 +4951,7 @@ msgstr "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'`` et les " "chiffres : ``b'0123456789'``." -#: library/stdtypes.rst:3135 +#: library/stdtypes.rst:3136 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -4990,7 +4963,7 @@ msgstr "" "caractères ASCII alphabétiques sont : " "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." -#: library/stdtypes.rst:3151 +#: library/stdtypes.rst:3152 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." @@ -4999,7 +4972,7 @@ msgstr "" "octets ASCII, renvoie ``False`` dans le cas contraire. Les octets ASCII dans " "l'intervalle ``0``---``0x7F``." -#: library/stdtypes.rst:3161 +#: library/stdtypes.rst:3162 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 " @@ -5009,7 +4982,7 @@ msgstr "" "et que la séquence n'est pas vide, sinon ``False``. Les chiffres ASCII sont " "ceux dans la séquence d'octets ``b'0123456789'``." -#: library/stdtypes.rst:3176 +#: library/stdtypes.rst:3177 msgid "" "Return ``True`` if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, ``False`` otherwise." @@ -5017,9 +4990,8 @@ msgstr "" "Renvoie ``True`` s'il y a au moins un caractère ASCII minuscule dans la " "séquence et aucune capitale, sinon ``False``." -#: library/stdtypes.rst:3186 library/stdtypes.rst:3228 -#: library/stdtypes.rst:3244 library/stdtypes.rst:3294 -#: library/stdtypes.rst:3363 +#: library/stdtypes.rst:3229 library/stdtypes.rst:3295 +#: library/stdtypes.rst:3364 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -5028,7 +5000,7 @@ msgstr "" "Les caractères ASCII minuscules sont ``b'abcdefghijklmnopqrstuvwxyz'``. Les " "capitales ASCII sont ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." -#: library/stdtypes.rst:3194 +#: library/stdtypes.rst:3195 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -5040,7 +5012,7 @@ msgstr "" "\\t\\n\\r\\x0b\\f'`` (espace, tabulation, saut de ligne, retour chariot, " "tabulation verticale, saut de page)." -#: library/stdtypes.rst:3203 +#: library/stdtypes.rst:3204 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 " @@ -5050,7 +5022,7 @@ msgstr "" "vide, sinon ``False``. Voir :meth:`bytes.title` pour plus de détails sur la " "définition de *titlecase*." -#: library/stdtypes.rst:3218 +#: library/stdtypes.rst:3219 msgid "" "Return ``True`` if there is at least one uppercase alphabetic ASCII " "character in the sequence and no lowercase ASCII characters, ``False`` " @@ -5059,7 +5031,7 @@ msgstr "" "Renvoie ``True`` s'il y a au moins un caractère alphabétique majuscule ASCII " "dans la séquence et aucun caractère ASCII minuscule, sinon ``False``." -#: library/stdtypes.rst:3236 +#: library/stdtypes.rst:3237 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." @@ -5067,7 +5039,7 @@ msgstr "" "Renvoie une copie de la séquence dont tous les caractères ASCII en " "majuscules sont convertis en leur équivalent en minuscules." -#: library/stdtypes.rst:3261 +#: library/stdtypes.rst:3262 msgid "" "Return a list of the lines in the binary sequence, breaking at ASCII line " "boundaries. This method uses the :term:`universal newlines` approach to " @@ -5079,7 +5051,7 @@ msgstr "" "newlines` pour découper les lignes. Les fins de ligne ne sont pas inclus " "dans la liste des résultats, sauf si *keepends* est donné et vrai." -#: library/stdtypes.rst:3273 +#: library/stdtypes.rst:3274 msgid "" "Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -5089,7 +5061,7 @@ msgstr "" "cette méthode renvoie une liste vide pour la chaîne vide, et un saut de " "ligne à la fin ne se traduit pas par une ligne supplémentaire ::" -#: library/stdtypes.rst:3286 +#: library/stdtypes.rst:3287 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." @@ -5097,7 +5069,7 @@ msgstr "" "Renvoie une copie de la séquence dont tous les caractères ASCII minuscules " "sont convertis en majuscules et vice-versa." -#: library/stdtypes.rst:3298 +#: library/stdtypes.rst:3299 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -5108,7 +5080,7 @@ msgstr "" "bin`` est toujours vrai. Les conversions majuscule/minuscule en ASCII étant " "toujours symétrique, ce qui n'est pas toujours vrai avec Unicode." -#: library/stdtypes.rst:3312 +#: library/stdtypes.rst:3313 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " @@ -5118,7 +5090,7 @@ msgstr "" "commencent par un caractère ASCII majuscule et les caractères restants sont " "en minuscules. Les octets non capitalisables ne sont pas modifiés." -#: library/stdtypes.rst:3321 +#: library/stdtypes.rst:3322 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -5129,7 +5101,7 @@ msgstr "" "caractères ASCII majuscules sont ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``. Aucun " "autre octet n'est capitalisable." -#: library/stdtypes.rst:3355 +#: library/stdtypes.rst:3356 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." @@ -5137,7 +5109,7 @@ msgstr "" "Renvoie une copie de la séquence dont tous les caractères ASCII minuscules " "sont convertis en leur équivalent majuscule." -#: library/stdtypes.rst:3376 +#: library/stdtypes.rst:3377 msgid "" "Return a copy of the sequence left filled with ASCII ``b'0'`` digits to make " "a sequence of length *width*. A leading sign prefix (``b'+'``/ ``b'-'``) is " @@ -5152,11 +5124,11 @@ msgstr "" "séquence d'origine est renvoyée si *width* est inférieur ou égale à " "``len(seq)``." -#: library/stdtypes.rst:3398 +#: library/stdtypes.rst:3399 msgid "``printf``-style Bytes Formatting" msgstr "Formatage de *bytes* a la ``printf``" -#: library/stdtypes.rst:3415 +#: library/stdtypes.rst:3416 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -5169,7 +5141,7 @@ msgstr "" "correctement). Si la valeur à afficher peut être un tuple ou un " "dictionnaire, mettez le a l'intérieur d'un autre tuple." -#: library/stdtypes.rst:3420 +#: library/stdtypes.rst:3421 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -5185,7 +5157,7 @@ msgstr "" "plus de *values*. L'effet est similaire à la fonction :c:func:`sprintf` du " "langage C." -#: library/stdtypes.rst:3427 +#: library/stdtypes.rst:3428 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -5197,7 +5169,7 @@ msgstr "" "d'éléments spécifiés dans le format en *bytes*, ou un seul objet de " "correspondances ( *mapping object*, par exemple, un dictionnaire)." -#: library/stdtypes.rst:3461 +#: library/stdtypes.rst:3462 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the bytes object *must* include a parenthesised mapping key into " @@ -5210,15 +5182,15 @@ msgstr "" "caractère ``'%'``. La clé indique quelle valeur du dictionnaire doit être " "formatée. Par exemple :" -#: library/stdtypes.rst:3535 +#: library/stdtypes.rst:3536 msgid "Single byte (accepts integer or single byte objects)." msgstr "Octet simple (Accepte un nombre entier ou un seul objet *byte*)." -#: library/stdtypes.rst:3538 +#: library/stdtypes.rst:3539 msgid "``'b'``" msgstr "``'b'``" -#: library/stdtypes.rst:3538 +#: library/stdtypes.rst:3539 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " "has :meth:`__bytes__`)." @@ -5226,7 +5198,7 @@ msgstr "" "*Bytes* (tout objet respectant le :ref:`buffer protocol ` ou " "ayant la méthode :meth:`__bytes__`)." -#: library/stdtypes.rst:3542 +#: library/stdtypes.rst:3543 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." @@ -5234,7 +5206,7 @@ msgstr "" "``'s'`` est un alias de ``'b'`` et ne devrait être utilisé que pour du code " "Python2/3." -#: library/stdtypes.rst:3545 +#: library/stdtypes.rst:3546 msgid "" "Bytes (converts any Python object using ``repr(obj)." "encode('ascii','backslashreplace)``)." @@ -5242,7 +5214,7 @@ msgstr "" "*Bytes* (convertis n'importe quel objet Python en utilisant ``repr(obj)." "encode('ascii', 'backslashreplace)``)." -#: library/stdtypes.rst:3548 +#: library/stdtypes.rst:3549 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." @@ -5250,27 +5222,27 @@ msgstr "" "``'r'`` est un alias de ``'a'`` et ne devrait être utilise que dans du code " "Python2/3." -#: library/stdtypes.rst:3548 +#: library/stdtypes.rst:3549 msgid "\\(7)" msgstr "\\(7)" -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:3584 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "``b'%s'`` est obsolète, mais ne sera pas retiré des version 3.x." -#: library/stdtypes.rst:3586 +#: library/stdtypes.rst:3587 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "``b'%r'`` est obsolète mais ne sera pas retiré dans Python 3.x." -#: library/stdtypes.rst:3598 +#: library/stdtypes.rst:3599 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr ":pep:`461` -- Ajout du formatage via % aux *bytes* et *bytesarray*" -#: library/stdtypes.rst:3605 +#: library/stdtypes.rst:3606 msgid "Memory Views" msgstr "Vues de mémoires" -#: library/stdtypes.rst:3607 +#: library/stdtypes.rst:3608 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol ` without " @@ -5280,7 +5252,7 @@ msgstr "" "données internes d'un objet prenant en charge le :ref:`buffer protocol " "`." -#: library/stdtypes.rst:3613 +#: library/stdtypes.rst:3614 msgid "" "Create a :class:`memoryview` that references *obj*. *obj* must support the " "buffer protocol. Built-in objects that support the buffer protocol include :" @@ -5290,7 +5262,7 @@ msgstr "" "le *buffer protocol*. Les objets natifs prenant en charge le *buffer " "protocol* sont :class:`bytes` et :class:`bytearray`." -#: library/stdtypes.rst:3617 +#: library/stdtypes.rst:3618 msgid "" "A :class:`memoryview` has the notion of an *element*, which is the atomic " "memory unit handled by the originating object *obj*. For many simple types " @@ -5303,7 +5275,7 @@ msgstr "" "d'autres types tels que :class:`array.array` les éléments peuvent être plus " "grands." -#: library/stdtypes.rst:3623 +#: library/stdtypes.rst:3624 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`. If " "``view.ndim = 0``, the length is 1. If ``view.ndim = 1``, the length is " @@ -5319,7 +5291,7 @@ msgstr "" "L'attribut :class:`~memoryview.itemsize` vous donnera la taille en octets " "d'un élément." -#: library/stdtypes.rst:3630 +#: library/stdtypes.rst:3631 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" @@ -5327,7 +5299,7 @@ msgstr "" "Une :class:`memoryview` autorise le découpage et l'indiçage de ses données. " "Découper sur une dimension donnera une sous-vue ::" -#: library/stdtypes.rst:3643 +#: library/stdtypes.rst:3644 msgid "" "If :class:`~memoryview.format` is one of the native format specifiers from " "the :mod:`struct` module, indexing with an integer or a tuple of integers is " @@ -5346,11 +5318,11 @@ msgstr "" "dimensions. Les *memoryviews* à zéro dimension peuvent être indexées avec " "un *tuple* vide." -#: library/stdtypes.rst:3652 +#: library/stdtypes.rst:3653 msgid "Here is an example with a non-byte format::" msgstr "Voici un exemple avec un autre format que *byte* ::" -#: library/stdtypes.rst:3664 +#: library/stdtypes.rst:3665 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" @@ -5359,7 +5331,7 @@ msgstr "" "autorisera les assignations de tranches à une dimension. Redimensionner " "n'est cependant pas autorisé ::" -#: library/stdtypes.rst:3685 +#: library/stdtypes.rst:3686 msgid "" "One-dimensional memoryviews of hashable (read-only) types with formats 'B', " "'b' or 'c' are also hashable. The hash is defined as ``hash(m) == hash(m." @@ -5369,7 +5341,7 @@ msgstr "" "les formats 'B', 'b', ou 'c' sont aussi hachables. La fonction de hachage " "est définie tel que ``hash(m) == hash(m.tobytes())`` ::" -#: library/stdtypes.rst:3697 +#: library/stdtypes.rst:3698 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now hashable." @@ -5378,7 +5350,7 @@ msgstr "" "*memoryviews* à une dimension avec les formats 'B', 'b', ou 'c' sont " "maintenant hachables." -#: library/stdtypes.rst:3701 +#: library/stdtypes.rst:3702 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" @@ -5386,16 +5358,16 @@ msgstr "" "*memoryview* est maintenant enregistrée automatiquement avec :class:" "`collections.abc.Sequence`" -#: library/stdtypes.rst:3705 +#: library/stdtypes.rst:3706 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" "les *memoryviews* peut maintenant être indexées par un n-uplet d'entiers." -#: library/stdtypes.rst:3708 +#: library/stdtypes.rst:3709 msgid ":class:`memoryview` has several methods:" msgstr "La :class:`memoryview` dispose de plusieurs méthodes :" -#: library/stdtypes.rst:3712 +#: library/stdtypes.rst:3713 msgid "" "A memoryview and a :pep:`3118` exporter are equal if their shapes are " "equivalent and if all corresponding values are equal when the operands' " @@ -5406,7 +5378,7 @@ msgstr "" "égales, le format respectifs des opérandes étant interprétés en utilisant la " "syntaxe de :mod:`struct`." -#: library/stdtypes.rst:3716 +#: library/stdtypes.rst:3717 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" @@ -5414,7 +5386,7 @@ msgstr "" "Pour le sous-ensemble des formats de :mod:`struct` supportés par :meth:" "`tolist`, ``v`` et ``w`` sont égaux si ``v.tolist() ==w.tolist()`` ::" -#: library/stdtypes.rst:3735 +#: library/stdtypes.rst:3736 msgid "" "If either format string is not supported by the :mod:`struct` module, then " "the objects will always compare as unequal (even if the format strings and " @@ -5424,7 +5396,7 @@ msgstr "" "objets seront toujours considérés différents (même si les formats et les " "valeurs contenues sont identiques) ::" -#: library/stdtypes.rst:3751 +#: library/stdtypes.rst:3752 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." @@ -5432,7 +5404,7 @@ msgstr "" "Notez que pour les *memoryview*, comme pour les nombres à virgule flottante, " "``v is w`` *n'implique pas* ``v == w``." -#: library/stdtypes.rst:3754 +#: library/stdtypes.rst:3755 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." @@ -5440,7 +5412,7 @@ msgstr "" "Les versions précédentes comparaient la mémoire brute sans tenir compte du " "format de l'objet ni de sa structure logique." -#: library/stdtypes.rst:3760 +#: library/stdtypes.rst:3761 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" @@ -5448,7 +5420,7 @@ msgstr "" "Renvoie les données du *buffer* sous forme de *bytes*. Cela équivaut à " "appeler le constructeur :class:`bytes` sur le *memoryview*. ::" -#: library/stdtypes.rst:3769 +#: library/stdtypes.rst:3770 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -5460,7 +5432,7 @@ msgstr "" "`tobytes` supporte toutes les chaînes de format, y compris celles qui ne " "sont pas connues du module :mod:`struct`." -#: library/stdtypes.rst:3774 +#: library/stdtypes.rst:3775 msgid "" "*order* can be {'C', 'F', 'A'}. When *order* is 'C' or 'F', the data of the " "original array is converted to C or Fortran order. For contiguous views, 'A' " @@ -5475,7 +5447,7 @@ msgstr "" "contiguës, les données sont d'abord converties en C. `order=None` est " "identique à `order='C'`." -#: library/stdtypes.rst:3783 +#: library/stdtypes.rst:3784 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" @@ -5483,7 +5455,7 @@ msgstr "" "Renvoie une chaîne contenant deux chiffres hexadécimaux pour chaque octet de " "la mémoire. ::" -#: library/stdtypes.rst:3792 +#: library/stdtypes.rst:3793 #, fuzzy msgid "" "Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional " @@ -5494,12 +5466,12 @@ msgstr "" "et *bytes_per_sep* pour insérer des séparateurs entre les octets dans la " "sortie hexadécimale." -#: library/stdtypes.rst:3799 +#: library/stdtypes.rst:3800 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" "Renvoie les données de la mémoire sous la forme d'une liste d'éléments. ::" -#: library/stdtypes.rst:3809 +#: library/stdtypes.rst:3810 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." @@ -5507,7 +5479,7 @@ msgstr "" ":meth:`tolist` prend désormais en charge tous les formats d'un caractère du " "module :mod:`struct` ainsi que des représentations multidimensionnelles." -#: library/stdtypes.rst:3816 +#: library/stdtypes.rst:3817 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" @@ -5515,7 +5487,7 @@ msgstr "" "Renvoie une version en lecture seule de l'objet *memoryview*. Cet objet " "original *memoryview* est inchangé. ::" -#: library/stdtypes.rst:3835 +#: library/stdtypes.rst:3836 msgid "" "Release the underlying buffer exposed by the memoryview object. Many " "objects take special actions when a view is held on them (for example, a :" @@ -5530,7 +5502,7 @@ msgstr "" "lever ces restrictions (et en libérer les ressources liées) aussi tôt que " "possible." -#: library/stdtypes.rst:3841 +#: library/stdtypes.rst:3842 msgid "" "After this method has been called, any further operation on the view raises " "a :class:`ValueError` (except :meth:`release()` itself which can be called " @@ -5540,7 +5512,7 @@ msgstr "" "*view* lève une :class:`ValueError` (sauf :meth:`release()` elle-même qui " "peut être appelée plusieurs fois) ::" -#: library/stdtypes.rst:3852 +#: library/stdtypes.rst:3853 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" @@ -5548,7 +5520,7 @@ msgstr "" "Le protocole de gestion de contexte peut être utilisé pour obtenir un effet " "similaire, via l'instruction ``with`` ::" -#: library/stdtypes.rst:3868 +#: library/stdtypes.rst:3869 msgid "" "Cast a memoryview to a new format or shape. *shape* defaults to " "``[byte_length//new_itemsize]``, which means that the result view will be " @@ -5562,7 +5534,7 @@ msgstr "" "mais la mémoire elle-même n'est pas copiée. Les changements supportés sont " "une dimension vers C-:term:`contiguous` et *C-contiguous* vers une dimension." -#: library/stdtypes.rst:3874 +#: library/stdtypes.rst:3875 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " @@ -5573,37 +5545,37 @@ msgstr "" "'c'). La longueur du résultat en octets doit être la même que la longueur " "initiale." -#: library/stdtypes.rst:3879 +#: library/stdtypes.rst:3880 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "Transforme *1D/long* en *1D/unsigned bytes* ::" -#: library/stdtypes.rst:3902 +#: library/stdtypes.rst:3903 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "Transforme *1D/unsigned bytes* en *1D/char* ::" -#: library/stdtypes.rst:3915 +#: library/stdtypes.rst:3916 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "Transforme *1D/bytes* en *3D/ints* en *1D/signed char* ::" -#: library/stdtypes.rst:3941 +#: library/stdtypes.rst:3942 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "Transforme *1D/unsigned char* en *2D/unsigned long* ::" -#: library/stdtypes.rst:3955 +#: library/stdtypes.rst:3956 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" "Le format de la source n'est plus restreint lors de la transformation vers " "une vue d'octets." -#: library/stdtypes.rst:3958 +#: library/stdtypes.rst:3959 msgid "There are also several readonly attributes available:" msgstr "Plusieurs attributs en lecture seule sont également disponibles :" -#: library/stdtypes.rst:3962 +#: library/stdtypes.rst:3963 msgid "The underlying object of the memoryview::" msgstr "L'objet sous-jacent de la *memoryview* ::" -#: library/stdtypes.rst:3973 +#: library/stdtypes.rst:3974 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " @@ -5613,15 +5585,15 @@ msgstr "" "l'espace que la liste utiliserait en octets, dans une représentation " "contiguë. Ce n'est pas nécessairement égale à ``len(m)`` ::" -#: library/stdtypes.rst:3992 +#: library/stdtypes.rst:3993 msgid "Multi-dimensional arrays::" msgstr "Tableaux multidimensionnels ::" -#: library/stdtypes.rst:4009 +#: library/stdtypes.rst:4010 msgid "A bool indicating whether the memory is read only." msgstr "Un booléen indiquant si la mémoire est en lecture seule." -#: library/stdtypes.rst:4013 +#: library/stdtypes.rst:4014 msgid "" "A string containing the format (in :mod:`struct` module style) for each " "element in the view. A memoryview can be created from exporters with " @@ -5633,7 +5605,7 @@ msgstr "" "de formats arbitraires, mais certaines méthodes (comme :meth:`tolist`) sont " "limitées aux formats natifs à un seul élément." -#: library/stdtypes.rst:4018 +#: library/stdtypes.rst:4019 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." @@ -5641,11 +5613,11 @@ msgstr "" "le format ``'B'`` est maintenant traité selon la syntaxe du module *struct*. " "Cela signifie que ``memoryview(b'abc')[0] == b'abc'[0] == 97``." -#: library/stdtypes.rst:4024 +#: library/stdtypes.rst:4025 msgid "The size in bytes of each element of the memoryview::" msgstr "La taille en octets de chaque élément d'une *memoryview* ::" -#: library/stdtypes.rst:4037 +#: library/stdtypes.rst:4038 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." @@ -5653,7 +5625,7 @@ msgstr "" "Un nombre entier indiquant le nombre de dimensions d'un tableau multi-" "dimensionnel représenté par la *memoryview*." -#: library/stdtypes.rst:4042 +#: library/stdtypes.rst:4043 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." @@ -5661,11 +5633,11 @@ msgstr "" "Un *tuple* d'entiers de longueur :attr:`ndim` donnant la forme de la " "*memoryview* sous forme d'un tableau à N dimensions." -#: library/stdtypes.rst:4045 library/stdtypes.rst:4053 +#: library/stdtypes.rst:4054 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "Un *tuple* vide au lieu de ``None`` lorsque *ndim = 0*." -#: library/stdtypes.rst:4050 +#: library/stdtypes.rst:4051 msgid "" "A tuple of integers the length of :attr:`ndim` giving the size in bytes to " "access each element for each dimension of the array." @@ -5673,29 +5645,29 @@ msgstr "" "Un *tuple* d'entiers de longueur :attr:`ndim` donnant la taille en octets " "permettant d'accéder à chaque dimensions du tableau." -#: library/stdtypes.rst:4058 +#: library/stdtypes.rst:4059 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" "Détail de l'implémentation des *PIL-style arrays*. La valeur n'est donné " "qu'a titre d'information." -#: library/stdtypes.rst:4062 +#: library/stdtypes.rst:4063 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "Un booléen indiquant si la mémoire est C-:term:`contiguous`." -#: library/stdtypes.rst:4068 +#: library/stdtypes.rst:4069 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "Un booléen indiquant si la mémoire est Fortran :term:`contiguous`." -#: library/stdtypes.rst:4074 +#: library/stdtypes.rst:4075 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "Un booléen indiquant si la mémoire est :term:`contiguous`." -#: library/stdtypes.rst:4082 +#: library/stdtypes.rst:4083 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Types d'ensembles — :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:4086 +#: library/stdtypes.rst:4087 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5711,7 +5683,7 @@ msgstr "" "(Pour les autres conteneurs, voir les classes natives :class:`dict`, :class:" "`list`, et :class:`tuple`, ainsi que le module :mod:`collections`.)" -#: library/stdtypes.rst:4093 +#: library/stdtypes.rst:4094 msgid "" "Like other collections, sets support ``x in set``, ``len(set)``, and ``for x " "in set``. Being an unordered collection, sets do not record element " @@ -5724,7 +5696,7 @@ msgstr "" "d'insertion. En conséquence, les *sets* n'autorisent ni l'indexation, ni le " "découpage, ou tout autre comportement de séquence." -#: library/stdtypes.rst:4098 +#: library/stdtypes.rst:4099 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5744,7 +5716,7 @@ msgstr "" "--- son contenu ne peut être modifié après sa création, il peut ainsi être " "utilisé comme clef de dictionnaire ou élément d'un autre *set*." -#: library/stdtypes.rst:4106 +#: library/stdtypes.rst:4107 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5754,11 +5726,11 @@ msgstr "" "d'éléments séparés par des virgules et entre accolades, par exemple : " "``{'jack', 'sjoerd'}``, en plus du constructeur de la classe :class:`set`." -#: library/stdtypes.rst:4110 +#: library/stdtypes.rst:4111 msgid "The constructors for both classes work the same:" msgstr "Les constructeurs des deux classes fonctionnent pareil :" -#: library/stdtypes.rst:4115 +#: library/stdtypes.rst:4116 msgid "" "Return a new set or frozenset object whose elements are taken from " "*iterable*. The elements of a set must be :term:`hashable`. To represent " @@ -5771,7 +5743,7 @@ msgstr "" "class:`frozenset`. Si *iterable* n'est pas spécifié, un nouveau *set* vide " "est renvoyé." -#: library/stdtypes.rst:4121 +#: library/stdtypes.rst:4122 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" @@ -5779,19 +5751,19 @@ msgstr "" "Les instances de :class:`set` et :class:`frozenset` fournissent les " "opérations suivantes :" -#: library/stdtypes.rst:4126 +#: library/stdtypes.rst:4127 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "Donne le nombre d'éléments dans le *set* *s* (cardinalité de *s*)." -#: library/stdtypes.rst:4130 +#: library/stdtypes.rst:4131 msgid "Test *x* for membership in *s*." msgstr "Test d'appartenance de *x* dans *s*." -#: library/stdtypes.rst:4134 +#: library/stdtypes.rst:4135 msgid "Test *x* for non-membership in *s*." msgstr "Test de non-appartenance de *x* dans *s*." -#: library/stdtypes.rst:4138 +#: library/stdtypes.rst:4139 msgid "" "Return ``True`` if the set has no elements in common with *other*. Sets are " "disjoint if and only if their intersection is the empty set." @@ -5800,11 +5772,11 @@ msgstr "" "Les ensembles sont disjoints si et seulement si leurs intersection est un " "ensemble vide." -#: library/stdtypes.rst:4144 +#: library/stdtypes.rst:4145 msgid "Test whether every element in the set is in *other*." msgstr "Teste si tous les éléments du set sont dans *other*." -#: library/stdtypes.rst:4148 +#: library/stdtypes.rst:4149 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5812,11 +5784,11 @@ msgstr "" "Teste si l'ensemble est un sous-ensemble de *other*, c'est-à-dire, ``set <= " "other and set != other``." -#: library/stdtypes.rst:4154 +#: library/stdtypes.rst:4155 msgid "Test whether every element in *other* is in the set." msgstr "Teste si tous les éléments de *other* sont dans l'ensemble." -#: library/stdtypes.rst:4158 +#: library/stdtypes.rst:4159 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5824,36 +5796,36 @@ msgstr "" "Teste si l'ensemble est un sur-ensemble de *other*, c'est-à-dire, ``set >= " "other and set != other``." -#: library/stdtypes.rst:4164 +#: library/stdtypes.rst:4165 msgid "Return a new set with elements from the set and all others." msgstr "" "Renvoie un nouvel ensemble dont les éléments viennent de l'ensemble et de " "tous les autres." -#: library/stdtypes.rst:4169 +#: library/stdtypes.rst:4170 msgid "Return a new set with elements common to the set and all others." msgstr "" "Renvoie un nouvel ensemble dont les éléments sont commun à l'ensemble et à " "tous les autres." -#: library/stdtypes.rst:4174 +#: library/stdtypes.rst:4175 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "Renvoie un nouvel ensemble dont les éléments sont dans l'ensemble mais ne " "sont dans aucun des autres." -#: library/stdtypes.rst:4179 +#: library/stdtypes.rst:4180 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "Renvoie un nouvel ensemble dont les éléments sont soit dans l'ensemble, soit " "dans les autres, mais pas dans les deux." -#: library/stdtypes.rst:4183 +#: library/stdtypes.rst:4184 msgid "Return a shallow copy of the set." msgstr "Renvoie une copie de surface du dictionnaire." -#: library/stdtypes.rst:4186 +#: library/stdtypes.rst:4187 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and :" @@ -5870,7 +5842,7 @@ msgstr "" "typiques d'erreurs, en faveur d'une construction plus lisible : ``set('abc')." "intersection('cbs')``." -#: library/stdtypes.rst:4193 +#: library/stdtypes.rst:4194 msgid "" "Both :class:`set` and :class:`frozenset` support set to set comparisons. Two " "sets are equal if and only if every element of each set is contained in the " @@ -5888,7 +5860,7 @@ msgstr "" "autre ensemble si et seulement si le premier est un sur-ensemble du second " "(est un sur-ensemble mais n'est pas égal)." -#: library/stdtypes.rst:4200 +#: library/stdtypes.rst:4201 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5899,7 +5871,7 @@ msgstr "" "frozenset('abc')`` envoie ``True``, ainsi que ``set('abc') in " "set([frozenset('abc')])``." -#: library/stdtypes.rst:4204 +#: library/stdtypes.rst:4205 msgid "" "The subset and equality comparisons do not generalize to a total ordering " "function. For example, any two nonempty disjoint sets are not equal and are " @@ -5911,7 +5883,7 @@ msgstr "" "vides ne sont ni égaux et ni des sous-ensembles l'un de l'autre, donc toutes " "ces comparaisons donnent ``False`` : ``ab``." -#: library/stdtypes.rst:4209 +#: library/stdtypes.rst:4210 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5920,13 +5892,13 @@ msgstr "" "de sous-ensembles), la sortie de la méthode :meth:`list.sort` n'est pas " "définie pour des listes d'ensembles." -#: library/stdtypes.rst:4212 +#: library/stdtypes.rst:4213 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "" "Les éléments des *sets*, comme les clefs de dictionnaires, doivent être :" "term:`hashable`." -#: library/stdtypes.rst:4214 +#: library/stdtypes.rst:4215 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5936,7 +5908,7 @@ msgstr "" "`frozenset` renvoient le type de la première opérande. Par exemple : " "``frozenset('ab') | set('bc')`` renvoie une instance de :class:`frozenset`." -#: library/stdtypes.rst:4218 +#: library/stdtypes.rst:4219 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5944,32 +5916,32 @@ msgstr "" "La table suivante liste les opérations disponibles pour les :class:`set` " "mais qui ne s'appliquent pas aux instances de :class:`frozenset` :" -#: library/stdtypes.rst:4224 +#: library/stdtypes.rst:4225 msgid "Update the set, adding elements from all others." msgstr "Met à jour l'ensemble, ajoutant les éléments de tous les autres." -#: library/stdtypes.rst:4229 +#: library/stdtypes.rst:4230 msgid "Update the set, keeping only elements found in it and all others." msgstr "" "Met à jour l'ensemble, ne gardant que les éléments trouvés dans tous les " "autres." -#: library/stdtypes.rst:4234 +#: library/stdtypes.rst:4235 msgid "Update the set, removing elements found in others." msgstr "Met à jour l'ensemble, retirant les éléments trouvés dans les autres." -#: library/stdtypes.rst:4239 +#: library/stdtypes.rst:4240 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "" "Met à jour le set, ne gardant que les éléments trouvés dans un des ensembles " "mais pas dans les deux." -#: library/stdtypes.rst:4243 +#: library/stdtypes.rst:4244 msgid "Add element *elem* to the set." msgstr "Ajoute l'élément *elem* au set." -#: library/stdtypes.rst:4247 +#: library/stdtypes.rst:4248 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5977,11 +5949,11 @@ msgstr "" "Retire l'élément *elem* de l'ensemble. Lève une exception :exc:`KeyError` si " "*elem* n'est pas dans l'ensemble." -#: library/stdtypes.rst:4252 +#: library/stdtypes.rst:4253 msgid "Remove element *elem* from the set if it is present." msgstr "Retire l'élément *elem* de l'ensemble s'il y est." -#: library/stdtypes.rst:4256 +#: library/stdtypes.rst:4257 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5989,11 +5961,11 @@ msgstr "" "Retire et renvoie un élément arbitraire de l'ensemble. Lève une exception :" "exc:`KeyError` si l'ensemble est vide." -#: library/stdtypes.rst:4261 +#: library/stdtypes.rst:4262 msgid "Remove all elements from the set." msgstr "Supprime tous les éléments du *set*." -#: library/stdtypes.rst:4264 +#: library/stdtypes.rst:4265 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -6005,7 +5977,7 @@ msgstr "" "`symmetric_difference_update` acceptent n'importe quel itérable comme " "argument." -#: library/stdtypes.rst:4269 +#: library/stdtypes.rst:4270 msgid "" "Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :" "meth:`discard` methods may be a set. To support searching for an equivalent " @@ -6016,11 +5988,11 @@ msgstr "" "recherche d'un *frozenset* équivalent, un *frozenset* temporaire est crée " "depuis *elem*." -#: library/stdtypes.rst:4277 +#: library/stdtypes.rst:4278 msgid "Mapping Types --- :class:`dict`" msgstr "Les types de correspondances — :class:`dict`" -#: library/stdtypes.rst:4287 +#: library/stdtypes.rst:4288 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -6034,7 +6006,7 @@ msgstr "" "(Pour les autres conteneurs, voir les types natifs :class:`list`, :class:" "`set`, et :class:`tuple`, ainsi que le module :mod:`collections`.)" -#: library/stdtypes.rst:4293 +#: library/stdtypes.rst:4294 msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" "term:`hashable`, that is, values containing lists, dictionaries or other " @@ -6057,7 +6029,7 @@ msgstr "" "d'approximations, il est généralement imprudent de les utiliser comme clefs " "de dictionnaires.)" -#: library/stdtypes.rst:4302 +#: library/stdtypes.rst:4303 msgid "" "Dictionaries can be created by placing a comma-separated list of ``key: " "value`` pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` " @@ -6068,7 +6040,7 @@ msgstr "" "``{'jack': 4098, 'sjoerd': 4127}`` ou ``{4098: 'jack', 4127: 'sjoerd'}``, ou " "en utilisant le constructeur de :class:`dict`." -#: library/stdtypes.rst:4310 +#: library/stdtypes.rst:4311 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -6076,7 +6048,7 @@ msgstr "" "Renvoie un nouveau dictionnaire initialisé depuis un argument positionnel " "optionnel, et un ensemble (vide ou non) d'arguments par mot clef." -#: library/stdtypes.rst:4313 +#: library/stdtypes.rst:4314 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it is a mapping object, a dictionary is " @@ -6098,7 +6070,7 @@ msgstr "" "pour cette clef devient la valeur correspondante à cette clef dans le " "nouveau dictionnaire." -#: library/stdtypes.rst:4323 +#: library/stdtypes.rst:4324 msgid "" "If keyword arguments are given, the keyword arguments and their values are " "added to the dictionary created from the positional argument. If a key " @@ -6109,7 +6081,7 @@ msgstr "" "depuis l'argument positionnel. Si une clef est déjà présente, la valeur de " "l'argument nommé remplace la valeur reçue par l'argument positionnel." -#: library/stdtypes.rst:4328 +#: library/stdtypes.rst:4329 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" @@ -6117,7 +6089,7 @@ msgstr "" "Typiquement, les exemples suivants renvoient tous un dictionnaire valant " "``{\"one\": 1, \"two\": 2, \"three\": 3}`` ::" -#: library/stdtypes.rst:4340 +#: library/stdtypes.rst:4341 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." @@ -6126,7 +6098,7 @@ msgstr "" "pour des clefs qui sont des identifiants valide en Python. Dans les autres " "cas, toutes les clefs valides sont utilisables." -#: library/stdtypes.rst:4344 +#: library/stdtypes.rst:4345 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" @@ -6134,16 +6106,16 @@ msgstr "" "Voici les opérations gérées par les dictionnaires, (par conséquent, d'autres " "types de *mapping* peuvent les gérer aussi) :" -#: library/stdtypes.rst:4349 +#: library/stdtypes.rst:4350 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "" "Renvoie une liste de toutes les clés utilisées dans le dictionnaire *d*." -#: library/stdtypes.rst:4353 +#: library/stdtypes.rst:4354 msgid "Return the number of items in the dictionary *d*." msgstr "Renvoie le nombre d'éléments dans le dictionnaire *d*." -#: library/stdtypes.rst:4357 +#: library/stdtypes.rst:4358 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." @@ -6151,7 +6123,7 @@ msgstr "" "Donne l'élément de *d* dont la clef est *key*. Lève une exception :exc:" "`KeyError` si *key* n'est pas dans le dictionnaire." -#: library/stdtypes.rst:4362 +#: library/stdtypes.rst:4363 msgid "" "If a subclass of dict defines a method :meth:`__missing__` and *key* is not " "present, the ``d[key]`` operation calls that method with the key *key* as " @@ -6170,7 +6142,7 @@ msgstr "" "meth:`__missing__` doit être une méthode; ça ne peut être une variable " "d'instance ::" -#: library/stdtypes.rst:4380 +#: library/stdtypes.rst:4381 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." @@ -6180,11 +6152,11 @@ msgstr "" "`collections.Counter`. :class:`collections.defaultdict` implémente aussi " "``__missing__``." -#: library/stdtypes.rst:4386 +#: library/stdtypes.rst:4387 msgid "Set ``d[key]`` to *value*." msgstr "Assigne ``d[key]`` à *value*." -#: library/stdtypes.rst:4390 +#: library/stdtypes.rst:4391 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." @@ -6192,15 +6164,15 @@ msgstr "" "Supprime ``d[key]`` de *d*. Lève une exception :exc:`KeyError` si *key* " "n'est pas dans le dictionnaire." -#: library/stdtypes.rst:4395 +#: library/stdtypes.rst:4396 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "Renvoie ``True`` si *d* a la clef *key*, sinon ``False``." -#: library/stdtypes.rst:4399 +#: library/stdtypes.rst:4400 msgid "Equivalent to ``not key in d``." msgstr "Équivalent à ``not key in d``." -#: library/stdtypes.rst:4403 +#: library/stdtypes.rst:4404 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." @@ -6208,22 +6180,22 @@ msgstr "" "Renvoie un itérateur sur les clefs du dictionnaire. C'est un raccourci pour " "``iter(d.keys())``." -#: library/stdtypes.rst:4408 +#: library/stdtypes.rst:4409 msgid "Remove all items from the dictionary." msgstr "Supprime tous les éléments du dictionnaire." -#: library/stdtypes.rst:4412 +#: library/stdtypes.rst:4413 msgid "Return a shallow copy of the dictionary." msgstr "Renvoie une copie de surface du dictionnaire." -#: library/stdtypes.rst:4416 +#: library/stdtypes.rst:4417 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" "Crée un nouveau dictionnaire avec les clefs de *iterable* et les valeurs à " "*value*." -#: library/stdtypes.rst:4418 +#: library/stdtypes.rst:4419 msgid "" ":meth:`fromkeys` is a class method that returns a new dictionary. *value* " "defaults to ``None``. All of the values refer to just a single instance, so " @@ -6237,7 +6209,7 @@ msgstr "" "*value* soit un objet mutable comme une liste vide. Pour avoir des valeurs " "distinctes, utiliser plutôt une :ref:`compréhension de dictionnaire `." -#: library/stdtypes.rst:4426 +#: library/stdtypes.rst:4427 msgid "" "Return the value for *key* if *key* is in the dictionary, else *default*. If " "*default* is not given, it defaults to ``None``, so that this method never " @@ -6247,7 +6219,7 @@ msgstr "" "*default*. Si *default* n'est pas donné, il vaut ``None`` par défaut, de " "manière à ce que cette méthode ne lève jamais :exc:`KeyError`." -#: library/stdtypes.rst:4432 +#: library/stdtypes.rst:4433 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." @@ -6255,7 +6227,7 @@ msgstr "" "Renvoie une nouvelle vue des éléments du dictionnaire (paires de ``(key, " "value)``). Voir la :ref:`documentation des vues `." -#: library/stdtypes.rst:4437 +#: library/stdtypes.rst:4438 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." @@ -6263,7 +6235,7 @@ msgstr "" "Renvoie une nouvelle vue des clefs du dictionnaire. Voir la :ref:" "`documentation des vues `." -#: library/stdtypes.rst:4442 +#: library/stdtypes.rst:4443 msgid "" "If *key* is in the dictionary, remove it and return its value, else return " "*default*. If *default* is not given and *key* is not in the dictionary, a :" @@ -6273,7 +6245,7 @@ msgstr "" "renvoyée, sinon renvoie *default*. Si *default* n'est pas donné et que " "*key* n'est pas dans le dictionnaire, une :exc:`KeyError` est levée." -#: library/stdtypes.rst:4448 +#: library/stdtypes.rst:4449 msgid "" "Remove and return a ``(key, value)`` pair from the dictionary. Pairs are " "returned in :abbr:`LIFO (last-in, first-out)` order." @@ -6281,7 +6253,7 @@ msgstr "" "Supprime et renvoie une paire ``(key, value)`` du dictionnaire. Les paires " "sont renvoyées dans un ordre :abbr:`LIFO (dernière entrée, prenière sortie)`." -#: library/stdtypes.rst:4451 +#: library/stdtypes.rst:4452 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" @@ -6291,7 +6263,7 @@ msgstr "" "destructive, comme souvent dans les algorithmes sur les ensembles. Si le " "dictionnaire est vide, appeler :meth:`popitem` lève une :exc:`KeyError`." -#: library/stdtypes.rst:4455 +#: library/stdtypes.rst:4456 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." @@ -6300,7 +6272,7 @@ msgstr "" "les versions précédentes, :meth:`popitem` renvoyait une paire clé/valeur " "arbitraire." -#: library/stdtypes.rst:4461 +#: library/stdtypes.rst:4462 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." @@ -6308,7 +6280,7 @@ msgstr "" "Renvoie un itérateur inversé sur les clés du dictionnaire. C'est un " "raccourci pour ``reversed(d.keys())``." -#: library/stdtypes.rst:4468 +#: library/stdtypes.rst:4469 msgid "" "If *key* is in the dictionary, return its value. If not, insert *key* with " "a value of *default* and return *default*. *default* defaults to ``None``." @@ -6317,7 +6289,7 @@ msgstr "" "*key* avec comme valeur *default* et renvoie *default*. *default* vaut " "``None`` par défaut." -#: library/stdtypes.rst:4474 +#: library/stdtypes.rst:4475 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." @@ -6325,7 +6297,7 @@ msgstr "" "Met à jour le dictionnaire avec les paires de clef/valeur d'*other*, " "écrasant les clefs existantes. Renvoie ``None``." -#: library/stdtypes.rst:4477 +#: library/stdtypes.rst:4478 msgid "" ":meth:`update` accepts either another dictionary object or an iterable of " "key/value pairs (as tuples or other iterables of length two). If keyword " @@ -6337,7 +6309,7 @@ msgstr "" "Si des paramètres par mot-clef sont donnés, le dictionnaire et ensuite mis à " "jour avec ces pairs de clef/valeurs : ``d.update(red=1, blue=2)``." -#: library/stdtypes.rst:4484 +#: library/stdtypes.rst:4485 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." @@ -6345,7 +6317,7 @@ msgstr "" "Renvoie une nouvelle vue des valeurs du dictionnaire. Voir la :ref:" "`documentation des vues `." -#: library/stdtypes.rst:4487 +#: library/stdtypes.rst:4488 msgid "" "An equality comparison between one ``dict.values()`` view and another will " "always return ``False``. This also applies when comparing ``dict.values()`` " @@ -6355,21 +6327,21 @@ msgstr "" "renvoie toujours ``False``. Cela s'applique aussi lorsque l'on compare " "``dict.values()`` à lui-même ::" -#: library/stdtypes.rst:4497 +#: library/stdtypes.rst:4498 msgid "" "Create a new dictionary with the merged keys and values of *d* and *other*, " "which must both be dictionaries. The values of *other* take priority when " "*d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4505 +#: library/stdtypes.rst:4506 msgid "" "Update the dictionary *d* with keys and values from *other*, which may be " "either a :term:`mapping` or an :term:`iterable` of key/value pairs. The " "values of *other* take priority when *d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4511 +#: library/stdtypes.rst:4512 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', " @@ -6379,7 +6351,7 @@ msgstr "" "clé-valeur (``(key, value)``, peu importe leur ordre). Les comparaisons " "d'ordre (``<``, ``<=``, ``>=``, ``>``) lèvent une :exc:`TypeError`." -#: library/stdtypes.rst:4515 +#: library/stdtypes.rst:4516 msgid "" "Dictionaries preserve insertion order. Note that updating a key does not " "affect the order. Keys added after deletion are inserted at the end. ::" @@ -6388,7 +6360,7 @@ msgstr "" "clé n'affecte pas l'ordre. Les clés ajoutées après un effacement sont " "insérées à la fin. ::" -#: library/stdtypes.rst:4533 +#: library/stdtypes.rst:4534 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." @@ -6397,16 +6369,16 @@ msgstr "" "comportement était un détail d'implémentation de CPython depuis la version " "3.6." -#: library/stdtypes.rst:4537 +#: library/stdtypes.rst:4538 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "Les dictionnaires et les vues de dictionnaires sont réversibles. ::" # suit un ':' ("changed in version X.Y") -#: library/stdtypes.rst:4549 +#: library/stdtypes.rst:4550 msgid "Dictionaries are now reversible." msgstr "les dictionnaires sont maintenant réversibles." -#: library/stdtypes.rst:4554 +#: library/stdtypes.rst:4555 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." @@ -6414,11 +6386,11 @@ msgstr "" ":class:`types.MappingProxyType` peut être utilisé pour créer une vue en " "lecture seule d'un :class:`dict`." -#: library/stdtypes.rst:4561 +#: library/stdtypes.rst:4562 msgid "Dictionary view objects" msgstr "Les vues de dictionnaires" -#: library/stdtypes.rst:4563 +#: library/stdtypes.rst:4564 msgid "" "The objects returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:" "`dict.items` are *view objects*. They provide a dynamic view on the " @@ -6430,7 +6402,7 @@ msgstr "" "éléments du dictionnaire, ce qui signifie que si le dictionnaire change, la " "vue reflète ces changements." -#: library/stdtypes.rst:4568 +#: library/stdtypes.rst:4569 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" @@ -6438,11 +6410,11 @@ msgstr "" "Les vues de dictionnaires peuvent être itérées et ainsi renvoyer les données " "du dictionnaire, elle gèrent aussi les tests de présence :" -#: library/stdtypes.rst:4573 +#: library/stdtypes.rst:4574 msgid "Return the number of entries in the dictionary." msgstr "Renvoie le nombre d'entrées du dictionnaire." -#: library/stdtypes.rst:4577 +#: library/stdtypes.rst:4578 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." @@ -6450,7 +6422,7 @@ msgstr "" "Renvoie un itérateur sur les clefs, les valeurs, ou les éléments " "(représentés par des *tuples* de ``(key, value)`` du dictionnaire." -#: library/stdtypes.rst:4580 +#: library/stdtypes.rst:4581 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -6462,7 +6434,7 @@ msgstr "" "``pairs = zip(d.values(), d.keys())``. Un autre moyen de construire la même " "liste est ``pairs = [(v, k) for (k, v) in d.items()]``." -#: library/stdtypes.rst:4585 +#: library/stdtypes.rst:4586 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." @@ -6471,11 +6443,11 @@ msgstr "" "dictionnaire peut lever une :exc:`RuntimeError` ou ne pas fournir toutes les " "entrées." -#: library/stdtypes.rst:4588 +#: library/stdtypes.rst:4589 msgid "Dictionary order is guaranteed to be insertion order." msgstr "L'ordre d'un dictionnaire est toujours l'ordre des insertions." -#: library/stdtypes.rst:4593 +#: library/stdtypes.rst:4594 msgid "" "Return ``True`` if *x* is in the underlying dictionary's keys, values or " "items (in the latter case, *x* should be a ``(key, value)`` tuple)." @@ -6484,7 +6456,7 @@ msgstr "" "dictionnaire sous-jacent (dans le dernier cas, *x* doit être un *tuple* " "``(key, value)``)." -#: library/stdtypes.rst:4598 +#: library/stdtypes.rst:4599 msgid "" "Return a reverse iterator over the keys, values or items of the dictionary. " "The view will be iterated in reverse order of the insertion." @@ -6493,11 +6465,11 @@ msgstr "" "dictionnaire. La vue est itérée dans l'ordre inverse d'insertion." # suit un ':' ("changed in version X.Y") -#: library/stdtypes.rst:4601 +#: library/stdtypes.rst:4602 msgid "Dictionary views are now reversible." msgstr "les vues de dictionnaires sont dorénavant réversibles." -#: library/stdtypes.rst:4605 +#: library/stdtypes.rst:4606 msgid "" "Keys views are set-like since their entries are unique and hashable. If all " "values are hashable, so that ``(key, value)`` pairs are unique and hashable, " @@ -6516,15 +6488,15 @@ msgstr "" "abstraite :class:`collections.abc.Set` sont disponibles (comme ``==``, " "``<``, ou ``^``)." -#: library/stdtypes.rst:4612 +#: library/stdtypes.rst:4613 msgid "An example of dictionary view usage::" msgstr "Exemple d'utilisation de vue de dictionnaire ::" -#: library/stdtypes.rst:4647 +#: library/stdtypes.rst:4648 msgid "Context Manager Types" msgstr "Le type gestionnaire de contexte" -#: library/stdtypes.rst:4654 +#: library/stdtypes.rst:4655 msgid "" "Python's :keyword:`with` statement supports the concept of a runtime context " "defined by a context manager. This is implemented using a pair of methods " @@ -6537,7 +6509,7 @@ msgstr "" "entré avant l'exécution du corps de l'instruction, et qui est quitté lorsque " "l'instruction se termine :" -#: library/stdtypes.rst:4662 +#: library/stdtypes.rst:4663 msgid "" "Enter the runtime context and return either this object or another object " "related to the runtime context. The value returned by this method is bound " @@ -6549,7 +6521,7 @@ msgstr "" "cette méthode est liée à l'identifiant donné au :keyword:`!as` de " "l'instruction :keyword:`with` utilisant ce gestionnaire de contexte." -#: library/stdtypes.rst:4667 +#: library/stdtypes.rst:4668 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" @@ -6560,7 +6532,7 @@ msgstr "" "autorisent :func:`open` à être utilisé comme contexte à une instruction :" "keyword:`with`." -#: library/stdtypes.rst:4671 +#: library/stdtypes.rst:4672 msgid "" "An example of a context manager that returns a related object is the one " "returned by :func:`decimal.localcontext`. These managers set the active " @@ -6575,7 +6547,7 @@ msgstr "" "renvoyée. Ça permet de changer le contexte courant dans le corps du :keyword:" "`with` sans affecter le code en dehors de l'instruction :keyword:`!with`." -#: library/stdtypes.rst:4681 +#: library/stdtypes.rst:4682 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -6589,7 +6561,7 @@ msgstr "" "l'exception, sa valeur, et la trace de la pile (*traceback*). Sinon les " "trois arguments valent ``None``." -#: library/stdtypes.rst:4686 +#: library/stdtypes.rst:4687 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -6606,7 +6578,7 @@ msgstr "" "pendant l'exécution de cette méthode remplaceront toute exception qui s'est " "produite dans le corps du :keyword:`!with`." -#: library/stdtypes.rst:4693 +#: library/stdtypes.rst:4694 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -6620,7 +6592,7 @@ msgstr "" "Ceci permet au code de gestion du contexte de comprendre si une méthode :" "meth:`__exit__` a échoué." -#: library/stdtypes.rst:4699 +#: library/stdtypes.rst:4700 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -6635,7 +6607,7 @@ msgstr "" "protocole de gestion du contexte. Voir les exemples dans la documentation du " "module :mod:`contextlib`." -#: library/stdtypes.rst:4705 +#: library/stdtypes.rst:4706 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -6651,7 +6623,7 @@ msgstr "" "`__enter__` et :meth:`__exit__`, plutôt que l'itérateur produit par un " "générateur non décoré." -#: library/stdtypes.rst:4712 +#: library/stdtypes.rst:4713 msgid "" "Note that there is no specific slot for any of these methods in the type " "structure for Python objects in the Python/C API. Extension types wanting to " @@ -6666,11 +6638,11 @@ msgstr "" "d'exécution, les le coût d'un accès au dictionnaire d'une classe unique est " "négligeable." -#: library/stdtypes.rst:4722 +#: library/stdtypes.rst:4723 msgid "Other Built-in Types" msgstr "Autres types natifs" -#: library/stdtypes.rst:4724 +#: library/stdtypes.rst:4725 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6678,11 +6650,11 @@ msgstr "" "L'interpréteur gère aussi d'autres types d'objets, la plupart ne supportant " "cependant qu'une ou deux opérations." -#: library/stdtypes.rst:4731 +#: library/stdtypes.rst:4732 msgid "Modules" msgstr "Modules" -#: library/stdtypes.rst:4733 +#: library/stdtypes.rst:4734 msgid "" "The only special operation on a module is attribute access: ``m.name``, " "where *m* is a module and *name* accesses a name defined in *m*'s symbol " @@ -6700,7 +6672,7 @@ msgstr "" "objet module nommé *foo* existe, il nécessite cependant une *définition* " "(externe) d'un module nommé *foo* quelque part.)" -#: library/stdtypes.rst:4740 +#: library/stdtypes.rst:4741 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6718,7 +6690,7 @@ msgstr "" "vous ne pouvez pas écrire ``m.__dict__ = {}``). Modifier :attr:`~object." "__dict__` directement n'est pas recommandé." -#: library/stdtypes.rst:4748 +#: library/stdtypes.rst:4749 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ````. S'ils sont chargés depuis un fichier, ils sont représentés " "````." -#: library/stdtypes.rst:4756 +#: library/stdtypes.rst:4757 msgid "Classes and Class Instances" msgstr "Les classes et instances de classes" -#: library/stdtypes.rst:4758 +#: library/stdtypes.rst:4759 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Voir :ref:`objects` et :ref:`class`." -#: library/stdtypes.rst:4764 +#: library/stdtypes.rst:4765 msgid "Functions" msgstr "Fonctions" -#: library/stdtypes.rst:4766 +#: library/stdtypes.rst:4767 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6749,7 +6721,7 @@ msgstr "" "opération applicable à un objet fonction est de l'appeler : ``func(argument-" "list)``." -#: library/stdtypes.rst:4769 +#: library/stdtypes.rst:4770 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6761,15 +6733,15 @@ msgstr "" "opérations (l'appel à la fonction), mais leur implémentation est différente, " "d'où les deux types distincts." -#: library/stdtypes.rst:4773 +#: library/stdtypes.rst:4774 msgid "See :ref:`function` for more information." msgstr "Voir :ref:`function` pour plus d'information." -#: library/stdtypes.rst:4779 +#: library/stdtypes.rst:4780 msgid "Methods" msgstr "Méthodes" -#: library/stdtypes.rst:4783 +#: library/stdtypes.rst:4784 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: built-in methods (such as :meth:`append` on lists) and " @@ -6781,7 +6753,7 @@ msgstr "" "listes), et les méthodes d'instances de classes. Les méthodes natives sont " "représentées avec le type qui les supporte." -#: library/stdtypes.rst:4788 +#: library/stdtypes.rst:4789 msgid "" "If you access a method (a function defined in a class namespace) through an " "instance, you get a special object: a :dfn:`bound method` (also called :dfn:" @@ -6802,7 +6774,7 @@ msgstr "" "n)`` est tout à fait équivalent à appeler ``m.__func__(m.__self__, arg-1, " "arg-2, …, arg-n)``." -#: library/stdtypes.rst:4797 +#: library/stdtypes.rst:4798 msgid "" "Like function objects, bound method objects support getting arbitrary " "attributes. However, since method attributes are actually stored on the " @@ -6819,15 +6791,15 @@ msgstr "" "`AttributeError`. Pour affecter l'attribut, vous devrez explicitement " "l'affecter à sa fonction sous-jacente ::" -#: library/stdtypes.rst:4817 library/stdtypes.rst:4845 +#: library/stdtypes.rst:4846 msgid "See :ref:`types` for more information." msgstr "Voir :ref:`types` pour plus d'information." -#: library/stdtypes.rst:4825 +#: library/stdtypes.rst:4826 msgid "Code Objects" msgstr "Objets code" -#: library/stdtypes.rst:4831 +#: library/stdtypes.rst:4832 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -6843,7 +6815,7 @@ msgstr "" "fonction native :func:`compile` et peuvent être obtenus des objets fonction " "via leur attribut :attr:`__code__`. Voir aussi le module :mod:`code`." -#: library/stdtypes.rst:4842 +#: library/stdtypes.rst:4843 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -6852,11 +6824,11 @@ msgstr "" "d'une chaîne contenant du code) aux fonction natives :func:`exec` ou :func:" "`eval`." -#: library/stdtypes.rst:4851 +#: library/stdtypes.rst:4852 msgid "Type Objects" msgstr "Objets type" -#: library/stdtypes.rst:4857 +#: library/stdtypes.rst:4858 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -6868,15 +6840,15 @@ msgstr "" "opération spéciale sur les types. Le module standard :mod:`types` définit " "les noms de tous les types natifs." -#: library/stdtypes.rst:4862 +#: library/stdtypes.rst:4863 msgid "Types are written like this: ````." msgstr "Les types sont représentés : ````." -#: library/stdtypes.rst:4868 +#: library/stdtypes.rst:4869 msgid "The Null Object" msgstr "L'objet Null" -#: library/stdtypes.rst:4870 +#: library/stdtypes.rst:4871 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -6886,15 +6858,15 @@ msgstr "" "valeur. Il ne supporte aucune opération spéciale. Il existe exactement un " "objet *null* nommé ``None`` (c'est un nom natif). ``type(None)()``." -#: library/stdtypes.rst:4874 +#: library/stdtypes.rst:4875 msgid "It is written as ``None``." msgstr "C'est écrit ``None``." -#: library/stdtypes.rst:4881 +#: library/stdtypes.rst:4882 msgid "The Ellipsis Object" msgstr "L'objet points de suspension" -#: library/stdtypes.rst:4883 +#: library/stdtypes.rst:4884 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6906,15 +6878,15 @@ msgstr "" "objet *ellipsis*, nommé :const:`Ellipsis` (un nom natif). ``type(Ellipsis)" "()`` produit le *singleton* :const:`Ellipsis`." -#: library/stdtypes.rst:4888 +#: library/stdtypes.rst:4889 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "C'est écrit ``Ellipsis`` ou ``...``." -#: library/stdtypes.rst:4894 +#: library/stdtypes.rst:4895 msgid "The NotImplemented Object" msgstr "L'objet *NotImplemented*" -#: library/stdtypes.rst:4896 +#: library/stdtypes.rst:4897 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -6926,15 +6898,15 @@ msgstr "" "pour plus d'informations. Il n'y a qu'un seul objet ``NotImplemented``. " "``type(NotImplemented)()`` renvoie un *singleton*." -#: library/stdtypes.rst:4901 +#: library/stdtypes.rst:4902 msgid "It is written as ``NotImplemented``." msgstr "C'est écrit ``NotImplemented``." -#: library/stdtypes.rst:4907 +#: library/stdtypes.rst:4908 msgid "Boolean Values" msgstr "Valeurs booléennes" -#: library/stdtypes.rst:4909 +#: library/stdtypes.rst:4910 msgid "" "Boolean values are the two constant objects ``False`` and ``True``. They " "are used to represent truth values (although other values can also be " @@ -6953,15 +6925,15 @@ msgstr "" "valeur en booléen tant que la valeur peut être interprétée en une valeur de " "vérité (voir :ref:`truth` au dessus)." -#: library/stdtypes.rst:4922 +#: library/stdtypes.rst:4923 msgid "They are written as ``False`` and ``True``, respectively." msgstr "Ils s'écrivent ``False`` et ``True``, respectivement." -#: library/stdtypes.rst:4928 +#: library/stdtypes.rst:4929 msgid "Internal Objects" msgstr "Objets internes" -#: library/stdtypes.rst:4930 +#: library/stdtypes.rst:4931 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -6969,11 +6941,11 @@ msgstr "" "Voir :ref:`types`. Ils décrivent les objets *stack frame*, *traceback*, et " "*slice*." -#: library/stdtypes.rst:4937 +#: library/stdtypes.rst:4938 msgid "Special Attributes" msgstr "Attributs spéciaux" -#: library/stdtypes.rst:4939 +#: library/stdtypes.rst:4940 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -6983,7 +6955,7 @@ msgstr "" "certains types, lorsque ça a du sens. Certains ne sont *pas* listés par la " "fonction native :func:`dir`." -#: library/stdtypes.rst:4946 +#: library/stdtypes.rst:4947 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6991,20 +6963,20 @@ msgstr "" "Un dictionnaire ou un autre *mapping object* utilisé pour stocker les " "attributs (modifiables) de l'objet." -#: library/stdtypes.rst:4952 +#: library/stdtypes.rst:4953 msgid "The class to which a class instance belongs." msgstr "La classe de l'instance de classe." -#: library/stdtypes.rst:4957 +#: library/stdtypes.rst:4958 msgid "The tuple of base classes of a class object." msgstr "Le *tuple* des classes parentes d'un objet classe." -#: library/stdtypes.rst:4962 +#: library/stdtypes.rst:4963 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Le nom de la classe, fonction, méthode, descripteur, ou générateur." -#: library/stdtypes.rst:4968 +#: library/stdtypes.rst:4969 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -7012,7 +6984,7 @@ msgstr "" "Le :term:`qualified name` de la classe, fonction, méthode, descripteur, ou " "générateur." -#: library/stdtypes.rst:4976 +#: library/stdtypes.rst:4977 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -7020,7 +6992,7 @@ msgstr "" "Cet attribut est un *tuple* contenant les classes parents prises en compte " "lors de la résolution de méthode." -#: library/stdtypes.rst:4982 +#: library/stdtypes.rst:4983 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -7031,7 +7003,7 @@ msgstr "" "la l'initialisation de la classe, et son résultat est stocké dans " "l'attribut :attr:`~class.__mro__`." -#: library/stdtypes.rst:4989 +#: library/stdtypes.rst:4990 msgid "" "Each class keeps a list of weak references to its immediate subclasses. " "This method returns a list of all those references still alive. Example::" @@ -7040,11 +7012,11 @@ msgstr "" "immédiates. Cette méthode renvoie la liste de toutes ces références encore " "valables. Exemple ::" -#: library/stdtypes.rst:4998 +#: library/stdtypes.rst:4999 msgid "Footnotes" msgstr "Notes" -#: library/stdtypes.rst:4999 +#: library/stdtypes.rst:5000 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7052,7 +7024,7 @@ msgstr "" "Plus d'informations sur ces méthodes spéciales peuvent être trouvées dans le " "*Python Reference Manual* (:ref:`customization`)." -#: library/stdtypes.rst:5002 +#: library/stdtypes.rst:5003 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7060,13 +7032,13 @@ msgstr "" "Par conséquent, la liste ``[1, 2]`` est considérée égale à ``[1.0, 2.0]``. " "Idem avec des tuples." -#: library/stdtypes.rst:5005 +#: library/stdtypes.rst:5006 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Nécessairement, puisque l'analyseur ne peut pas discerner le type des " "opérandes." -#: library/stdtypes.rst:5007 +#: library/stdtypes.rst:5008 msgid "" "Cased characters are those with general category property being one of \"Lu" "\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7076,7 +7048,7 @@ msgstr "" "category* est soit \"Lu\" (pour *Letter*, *uppercase*), soit \"Ll\" (pour " "*Letter*, *lowercase*), soit \"Lt\" (pour *Letter*, *titlecase*)." -#: library/stdtypes.rst:5010 +#: library/stdtypes.rst:5011 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." diff --git a/library/string.po b/library/string.po index 1f481186..6ef9ec76 100644 --- a/library/string.po +++ b/library/string.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-28 18:47+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -551,12 +551,11 @@ msgstr "" msgid "The meaning of the various alignment options is as follows:" msgstr "Le sens des différentes options d'alignement est donné comme suit :" -#: library/string.rst:339 library/string.rst:370 +#: library/string.rst:370 msgid "Option" msgstr "Option" -#: library/string.rst:339 library/string.rst:370 library/string.rst:439 -#: library/string.rst:450 library/string.rst:482 +#: library/string.rst:370 library/string.rst:450 library/string.rst:482 msgid "Meaning" msgstr "Signification" @@ -773,7 +772,7 @@ msgstr "" msgid "The available string presentation types are:" msgstr "Les types disponibles de représentation de chaîne sont :" -#: library/string.rst:439 library/string.rst:450 library/string.rst:482 +#: library/string.rst:450 library/string.rst:482 msgid "Type" msgstr "Type" @@ -787,7 +786,7 @@ msgstr "" "Format de chaîne. C'est le type par défaut pour les chaînes de caractères et " "peut être omis." -#: library/string.rst:444 library/string.rst:471 library/string.rst:534 +#: library/string.rst:471 library/string.rst:534 msgid "None" msgstr "``None``" @@ -859,7 +858,7 @@ msgstr "" "Format hexadécimal. Affiche le nombre en base 16 en utilisant les lettres " "majuscules pour les chiffres au-dessus de 9." -#: library/string.rst:467 library/string.rst:527 +#: library/string.rst:527 msgid "``'n'``" msgstr "``'n'``" diff --git a/library/struct.po b/library/struct.po index dbbd3525..2dba77c8 100644 --- a/library/struct.po +++ b/library/struct.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-01-18 17:44+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -235,7 +235,7 @@ msgstr "Alignement" msgid "``@``" msgstr "``@``" -#: library/struct.rst:134 library/struct.rst:136 +#: library/struct.rst:136 msgid "native" msgstr "natif" @@ -243,13 +243,11 @@ msgstr "natif" msgid "``=``" msgstr "``=``" -#: library/struct.rst:136 library/struct.rst:138 library/struct.rst:140 -#: library/struct.rst:142 +#: library/struct.rst:138 library/struct.rst:142 msgid "standard" msgstr "standard" -#: library/struct.rst:136 library/struct.rst:138 library/struct.rst:140 -#: library/struct.rst:142 +#: library/struct.rst:138 library/struct.rst:142 msgid "none" msgstr "aucun" @@ -325,11 +323,9 @@ msgstr "" #: library/struct.rst:162 msgid "" -"The form ``'!'`` is available for those poor souls who claim they can't " -"remember whether network byte order is big-endian or little-endian." +"The form ``'!'`` represents the network byte order which is always big-" +"endian as defined in `IETF RFC 1700 `_." msgstr "" -"La forme ``'!'`` existe pour les têtes en l'air qui prétendent ne pas se " -"rappeler si le boutisme réseau est gros-boutiste ou petit-boutiste." #: library/struct.rst:165 msgid "" @@ -340,7 +336,7 @@ msgstr "" "(c'est-à-dire forcer la permutation des octets) ; utilisez le bon caractère " "entre ``'<'`` et ``'>'``." -#: library/struct.rst:168 library/struct.rst:247 +#: library/struct.rst:247 msgid "Notes:" msgstr "Notes :" @@ -436,8 +432,7 @@ msgstr ":c:type:`char`" msgid "bytes of length 1" msgstr "*bytes* (suite d'octets) de taille 1" -#: library/struct.rst:198 library/struct.rst:200 library/struct.rst:202 -#: library/struct.rst:204 +#: library/struct.rst:200 library/struct.rst:204 msgid "1" msgstr "1" @@ -449,10 +444,8 @@ msgstr "``b``" msgid ":c:type:`signed char`" msgstr ":c:type:`signed char`" -#: library/struct.rst:200 library/struct.rst:202 library/struct.rst:206 -#: library/struct.rst:208 library/struct.rst:210 library/struct.rst:212 -#: library/struct.rst:214 library/struct.rst:216 library/struct.rst:218 -#: library/struct.rst:220 library/struct.rst:223 library/struct.rst:225 +#: library/struct.rst:202 library/struct.rst:208 library/struct.rst:212 +#: library/struct.rst:216 library/struct.rst:220 library/struct.rst:225 #: library/struct.rst:237 msgid "integer" msgstr "*int* (entier)" @@ -469,9 +462,8 @@ msgstr "``B``" msgid ":c:type:`unsigned char`" msgstr ":c:type:`unsigned char`" -#: library/struct.rst:202 library/struct.rst:206 library/struct.rst:208 -#: library/struct.rst:210 library/struct.rst:212 library/struct.rst:214 -#: library/struct.rst:216 library/struct.rst:218 library/struct.rst:220 +#: library/struct.rst:206 library/struct.rst:210 library/struct.rst:214 +#: library/struct.rst:218 library/struct.rst:220 msgid "\\(2)" msgstr "\\(2)" @@ -499,7 +491,7 @@ msgstr "``h``" msgid ":c:type:`short`" msgstr ":c:type:`short`" -#: library/struct.rst:206 library/struct.rst:208 library/struct.rst:227 +#: library/struct.rst:208 library/struct.rst:227 msgid "2" msgstr "2" @@ -519,8 +511,7 @@ msgstr "``i``" msgid ":c:type:`int`" msgstr ":c:type:`int`" -#: library/struct.rst:210 library/struct.rst:212 library/struct.rst:214 -#: library/struct.rst:216 library/struct.rst:229 +#: library/struct.rst:212 library/struct.rst:216 library/struct.rst:229 msgid "4" msgstr "4" @@ -556,7 +547,7 @@ msgstr "``q``" msgid ":c:type:`long long`" msgstr ":c:type:`long long`" -#: library/struct.rst:218 library/struct.rst:220 library/struct.rst:231 +#: library/struct.rst:220 library/struct.rst:231 msgid "8" msgstr "8" @@ -576,7 +567,7 @@ msgstr "``n``" msgid ":c:type:`ssize_t`" msgstr ":c:type:`ssize_t`" -#: library/struct.rst:223 library/struct.rst:225 +#: library/struct.rst:225 msgid "\\(3)" msgstr "\\(3)" @@ -596,11 +587,11 @@ msgstr "``e``" msgid "\\(6)" msgstr "\\(6)" -#: library/struct.rst:227 library/struct.rst:229 library/struct.rst:231 +#: library/struct.rst:229 library/struct.rst:231 msgid "float" msgstr "*float* (nombre à virgule flottante)" -#: library/struct.rst:227 library/struct.rst:229 library/struct.rst:231 +#: library/struct.rst:229 library/struct.rst:231 msgid "\\(4)" msgstr "\\(4)" @@ -624,11 +615,11 @@ msgstr ":c:type:`double`" msgid "``s``" msgstr "``s``" -#: library/struct.rst:233 library/struct.rst:235 +#: library/struct.rst:235 msgid ":c:type:`char[]`" msgstr ":c:type:`char[]`" -#: library/struct.rst:233 library/struct.rst:235 +#: library/struct.rst:235 msgid "bytes" msgstr "*bytes* (séquence d'octets)" @@ -1007,3 +998,10 @@ msgid "" msgstr "" "La taille calculée de la structure agrégée (et donc de l'objet `bytes` " "produit par la méthode :meth:`pack`) correspondante à :attr:`format`." + +#~ msgid "" +#~ "The form ``'!'`` is available for those poor souls who claim they can't " +#~ "remember whether network byte order is big-endian or little-endian." +#~ msgstr "" +#~ "La forme ``'!'`` existe pour les têtes en l'air qui prétendent ne pas se " +#~ "rappeler si le boutisme réseau est gros-boutiste ou petit-boutiste." diff --git a/library/subprocess.po b/library/subprocess.po index e73fca28..b62cc44a 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-04-25 23:34+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -216,7 +216,7 @@ msgstr "" "Le code de statut du processus fils. Typiquement, un code de statut de 0 " "indique qu'il s'est exécuté avec succès." -#: library/subprocess.rst:127 library/subprocess.rst:865 +#: library/subprocess.rst:865 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." @@ -302,7 +302,7 @@ msgstr "" "Sous-classe de :exc:`SubprocessError`, levée quand un *timeout* expire " "pendant l'attente d'un processus enfant." -#: library/subprocess.rst:189 library/subprocess.rst:226 +#: library/subprocess.rst:226 msgid "Command that was used to spawn the child process." msgstr "La commande utilisée pour instancier le processus fils." @@ -310,7 +310,7 @@ msgstr "La commande utilisée pour instancier le processus fils." msgid "Timeout in seconds." msgstr "Le *timeout* en secondes." -#: library/subprocess.rst:197 library/subprocess.rst:230 +#: library/subprocess.rst:230 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``." @@ -318,11 +318,11 @@ msgstr "" "La sortie du processus fils, si capturée par :func:`run` ou :func:" "`check_output`. Autrement, ``None``." -#: library/subprocess.rst:202 library/subprocess.rst:235 +#: library/subprocess.rst:235 msgid "Alias for output, for symmetry with :attr:`stderr`." msgstr "Alias pour *output*, afin d'avoir une symétrie avec :attr:`stderr`." -#: library/subprocess.rst:206 library/subprocess.rst:239 +#: library/subprocess.rst:239 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``." @@ -330,7 +330,7 @@ msgstr "" "La sortie d'erreur du processus fils, si capturée par :func:`run`. " "Autrement, ``None``." -#: library/subprocess.rst:211 library/subprocess.rst:242 +#: library/subprocess.rst:242 msgid "*stdout* and *stderr* attributes added" msgstr "Ajout des attributs *stdout* et *stderr*" @@ -500,7 +500,7 @@ msgstr "" "que ``locale.getpreferredencoding()``. Voir la classe :class:`io." "TextIOWrapper` pour plus d'informations sur ce changement." -#: library/subprocess.rst:323 library/subprocess.rst:424 +#: library/subprocess.rst:424 msgid "" "Read the `Security Considerations`_ section before using ``shell=True``." msgstr "" @@ -963,8 +963,7 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:560 library/subprocess.rst:569 -#: library/subprocess.rst:578 library/subprocess.rst:584 +#: library/subprocess.rst:569 library/subprocess.rst:584 #, fuzzy msgid ":ref:`Availability `: POSIX" msgstr ":ref:`Disponibilité ` : POSIX et Windows." @@ -1039,7 +1038,7 @@ msgstr "" msgid "*encoding* and *errors* were added." msgstr "Ajout d'*encoding* et *errors*." -#: library/subprocess.rst:608 library/subprocess.rst:1197 +#: library/subprocess.rst:1197 msgid "*text* was added as a more readable alias for *universal_newlines*." msgstr "" "*text* a été ajouté comme un alias plus lisible de *universal_newlines*." @@ -1312,8 +1311,7 @@ msgstr "" "et *sleep* courts). Utilisez le module :mod:`asyncio` pour une attente " "asynchrone : voir :class:`asyncio.create_subprocess_exec`." -#: library/subprocess.rst:735 library/subprocess.rst:776 -#: library/subprocess.rst:1113 library/subprocess.rst:1143 +#: library/subprocess.rst:776 library/subprocess.rst:1143 #: library/subprocess.rst:1188 msgid "*timeout* was added." msgstr "Ajout de *timeout*." @@ -1850,18 +1848,18 @@ msgstr "" "Lance la commande décrite par *args*, attend qu'elle se termine, et renvoie " "son attribut :attr:`~Popen.returncode`." -#: library/subprocess.rst:1095 library/subprocess.rst:1125 +#: library/subprocess.rst:1125 msgid "" "Code needing to capture stdout or stderr should use :func:`run` instead::" msgstr "" "Le code ayant besoin de capturer *stdout* ou *stderr* doit plutôt utiliser ::" "func:`run` ::" -#: library/subprocess.rst:1099 library/subprocess.rst:1129 +#: library/subprocess.rst:1129 msgid "To suppress stdout or stderr, supply a value of :data:`DEVNULL`." msgstr "Pour supprimer *stdout* ou *stderr*, passez la valeur :data:`DEVNULL`." -#: library/subprocess.rst:1101 library/subprocess.rst:1131 +#: library/subprocess.rst:1131 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is the same as that of the :class:`Popen` constructor - this " @@ -1873,7 +1871,7 @@ msgstr "" "class:`Popen` : cette fonction passe tous les arguments fournis autre que " "*timeout* directement à travers cette interface." -#: library/subprocess.rst:1108 library/subprocess.rst:1138 +#: library/subprocess.rst:1138 msgid "" "Do not use ``stdout=PIPE`` or ``stderr=PIPE`` with this function. The child " "process will block if it generates enough output to a pipe to fill up the OS " @@ -2015,8 +2013,7 @@ msgid "Replacing :program:`/bin/sh` shell command substitution" msgstr "" "Remplacement de la substitution de commandes de terminal :program:`/bin/sh`" -#: library/subprocess.rst:1230 library/subprocess.rst:1241 -#: library/subprocess.rst:1258 +#: library/subprocess.rst:1241 library/subprocess.rst:1258 msgid "becomes::" msgstr "devient ::" @@ -2170,7 +2167,7 @@ msgstr "" "supprimé. Le code de statut de la commande peut être interprété comme le " "code de retour de *subprocess*. Par exemple ::" -#: library/subprocess.rst:1431 library/subprocess.rst:1451 +#: library/subprocess.rst:1451 msgid ":ref:`Availability `: POSIX & Windows." msgstr ":ref:`Disponibilité ` : POSIX et Windows." diff --git a/library/sunau.po b/library/sunau.po index 67081b85..2e290ccc 100644 --- a/library/sunau.po +++ b/library/sunau.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -351,7 +351,7 @@ msgstr "" msgid "Write audio frames, without correcting *nframes*." msgstr "Écrit les trames audio sans corriger *nframes*." -#: library/sunau.rst:249 library/sunau.rst:257 +#: library/sunau.rst:257 msgid "Any :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." diff --git a/library/sys.po b/library/sys.po index f3258e24..b60a91f8 100644 --- a/library/sys.po +++ b/library/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-24 12:18+0200\n" "Last-Translator: louisMaury \n" "Language-Team: FRENCH \n" @@ -269,7 +269,7 @@ msgstr "" "pour libérer des références inutiles durant le débogage de fuite de " "référence." -#: library/sys.rst:162 library/sys.rst:178 +#: library/sys.rst:178 msgid "" "This function should be used for internal and specialized purposes only." msgstr "" @@ -407,8 +407,7 @@ msgstr "" msgid "Integer specifying the handle of the Python DLL." msgstr "Nombre entier spécifiant le descripteur de la DLL Python." -#: library/sys.rst:237 library/sys.rst:771 library/sys.rst:1434 -#: library/sys.rst:1646 +#: library/sys.rst:771 library/sys.rst:1646 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -712,7 +711,7 @@ msgstr "" "La :term:`named tuple` *flags* expose l'état des options de ligne de " "commande. Ces attributs sont en lecture seule." -#: library/sys.rst:434 library/sys.rst:483 library/sys.rst:816 +#: library/sys.rst:483 library/sys.rst:816 msgid "attribute" msgstr "attribut" @@ -732,7 +731,7 @@ msgstr ":option:`-d`" msgid ":const:`inspect`" msgstr ":const:`inspect`" -#: library/sys.rst:437 library/sys.rst:438 +#: library/sys.rst:438 msgid ":option:`-i`" msgstr ":option:`-i`" @@ -886,7 +885,7 @@ msgstr "" msgid "float.h macro" msgstr "macro *float.h*" -#: library/sys.rst:483 library/sys.rst:816 +#: library/sys.rst:816 msgid "explanation" msgstr "explication" @@ -1159,7 +1158,7 @@ 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`)." -#: library/sys.rst:596 library/sys.rst:1207 +#: library/sys.rst:1207 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -1183,7 +1182,7 @@ msgstr "" msgid "This encoding is always ASCII-compatible." msgstr "Cet encodage est toujours compatible avec ASCII." -#: library/sys.rst:610 library/sys.rst:643 +#: library/sys.rst:643 msgid "" ":func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that " "the correct encoding and errors mode are used." @@ -1491,7 +1490,7 @@ msgstr "" msgid "See :pep:`525` for more details." msgstr "Voir la :pep:`525` pour plus d'informations." -#: library/sys.rst:793 library/sys.rst:1401 +#: library/sys.rst:1401 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" @@ -1508,7 +1507,7 @@ msgstr "" "le suivi de leur création, telle que défini par :func:" "`set_coroutine_origin_tracking_depth`." -#: library/sys.rst:805 library/sys.rst:1422 +#: library/sys.rst:1422 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." @@ -1718,11 +1717,11 @@ msgstr "" "Un :term:`named tuple` qui contient des informations sur la représentation " "interne des entiers de Python. Les attributs sont en lecture seule." -#: library/sys.rst:917 library/sys.rst:1531 +#: library/sys.rst:1531 msgid "Attribute" msgstr "Attribut" -#: library/sys.rst:917 library/sys.rst:1531 +#: library/sys.rst:1531 msgid "Explanation" msgstr "Explication" @@ -1993,7 +1992,7 @@ 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." -#: library/sys.rst:1072 library/sys.rst:1083 +#: library/sys.rst:1083 msgid "Originally specified in :pep:`302`." msgstr "Précisé à l'origine dans la :pep:`302`." @@ -2287,11 +2286,11 @@ msgid "" "arguments." msgstr "" -#: library/sys.rst:1233 library/sys.rst:1314 +#: library/sys.rst:1314 msgid "The events have the following meaning:" msgstr "Les événements ont la signification suivante :" -#: library/sys.rst:1237 library/sys.rst:1319 +#: library/sys.rst:1319 msgid "``'call'``" msgstr "``'call'``" @@ -2303,7 +2302,7 @@ 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``." -#: library/sys.rst:1242 library/sys.rst:1334 +#: library/sys.rst:1334 msgid "``'return'``" msgstr "``'return'``" diff --git a/library/sysconfig.po b/library/sysconfig.po index 64a5969b..268deb5f 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -76,7 +76,7 @@ msgstr "" "Retourne la valeur d'une seule variable. C'est l'équivalent de " "``get_config_vars().get(name)``." -#: library/sysconfig.rst:51 library/sysconfig.rst:141 +#: library/sysconfig.rst:141 msgid "If *name* is not found, return ``None``." msgstr "" diff --git a/library/tarfile.po b/library/tarfile.po index facb943b..ea7eac50 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-07-05 09:09+0100\n" "Last-Translator: ALJI Mohamed \n" "Language-Team: FRENCH \n" @@ -385,11 +385,11 @@ msgstr "``'w|xz'``" msgid "Open an lzma compressed *stream* for writing." msgstr "Ouvre un *flux* compressé avec *lzma* en écriture." -#: library/tarfile.rst:146 library/tarfile.rst:333 +#: library/tarfile.rst:333 msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "le mode ``'x'`` (création exclusive) a été ajouté." -#: library/tarfile.rst:149 library/tarfile.rst:336 library/tarfile.rst:504 +#: library/tarfile.rst:336 library/tarfile.rst:504 msgid "The *name* parameter accepts a :term:`path-like object`." msgstr "le paramètre *name* accepte un :term:`path-like object`." @@ -716,7 +716,7 @@ msgstr "" "caractères qui sera ajouté en tant qu'en-tête global *pax* si le *format* " "est :const:`PAX_FORMAT`." -#: library/tarfile.rst:330 library/tarfile.rst:557 +#: library/tarfile.rst:557 msgid "Use ``'surrogateescape'`` as the default for the *errors* argument." msgstr "" "Utilise ``'surrogateescape'`` comme valeur par défaut pour l'argument " @@ -810,7 +810,7 @@ msgstr "" "est créé. Et, si les autorisations d'un répertoire ne permettent pas " "l'écriture, l'extraction de fichiers échoue." -#: library/tarfile.rst:397 library/tarfile.rst:423 +#: library/tarfile.rst:423 msgid "" "If *numeric_owner* is :const:`True`, the uid and gid numbers from the " "tarfile are used to set the owner/group for the extracted files. Otherwise, " @@ -832,11 +832,11 @@ msgstr "" "*chemin*, par ex: les membres qui ont des noms de fichiers absolus " "commençant par ``\"/\"`` ou des noms de fichiers avec deux points ``\"..\"``." -#: library/tarfile.rst:408 library/tarfile.rst:439 +#: library/tarfile.rst:439 msgid "Added the *numeric_owner* parameter." msgstr "Ajout du paramètre *numeric_owner*." -#: library/tarfile.rst:411 library/tarfile.rst:442 +#: library/tarfile.rst:442 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "Le paramètre *path* accepte un :term:`path-like object`." diff --git a/library/telnetlib.po b/library/telnetlib.po index 8a6b71f3..a7e1ace0 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -120,7 +120,7 @@ msgstr "" msgid "Read everything that can be without blocking in I/O (eager)." msgstr "" -#: library/telnetlib.rst:97 library/telnetlib.rst:106 +#: library/telnetlib.rst:106 msgid "" "Raise :exc:`EOFError` if connection closed and no cooked data available. " "Return ``b''`` if no cooked data available otherwise. Do not block unless in " diff --git a/library/tempfile.po b/library/tempfile.po index d76adacc..c7aa3008 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-11 11:19+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -136,7 +136,7 @@ msgstr "" "L'option :py:data:`os.O_TMPFILE` est utilisé s'il est disponible et " "fonctionne (Linux exclusivement, nécessite un noyau Linux 3.11 ou plus)." -#: library/tempfile.rst:66 library/tempfile.rst:91 library/tempfile.rst:186 +#: library/tempfile.rst:91 library/tempfile.rst:186 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -148,7 +148,7 @@ msgstr "" msgid "The :py:data:`os.O_TMPFILE` flag is now used if available." msgstr "L'option :py:data:`os.O_TMPFILE` est maintenant utilisé si disponible." -#: library/tempfile.rst:71 library/tempfile.rst:92 library/tempfile.rst:117 +#: library/tempfile.rst:92 library/tempfile.rst:117 msgid "Added *errors* parameter." msgstr "Le paramètre *errors* a été ajouté." @@ -255,7 +255,7 @@ msgstr "" "Le répertoire peut être explicitement nettoyé en appelant la méthode :func:" "`cleanup`." -#: library/tempfile.rst:138 library/tempfile.rst:212 +#: library/tempfile.rst:212 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." @@ -361,7 +361,7 @@ msgstr "" "que renvoie :func:`os.open`) et le chemin d'accès absolu de ce fichier, dans " "cet ordre." -#: library/tempfile.rst:187 library/tempfile.rst:213 +#: library/tempfile.rst:213 msgid "" "*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to " "obtain a bytes return value. Prior to this, only str was allowed. *suffix* " @@ -373,7 +373,7 @@ msgstr "" "seul autorisé. *suffix* et *prefix* acceptent maintenant la valeur par " "défaut ``None`` pour que la valeur par défaut appropriée soit utilisée." -#: library/tempfile.rst:193 library/tempfile.rst:219 +#: library/tempfile.rst:219 #, fuzzy msgid "The *dir* parameter now accepts a :term:`path-like object`." msgstr "" diff --git a/library/test.po b/library/test.po index ca6b639c..26ac86f2 100644 --- a/library/test.po +++ b/library/test.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -835,8 +835,7 @@ msgstr "" msgid "Context manager to swap out an attribute with a new object." msgstr "" -#: library/test.rst:785 library/test.rst:803 library/test.rst:1159 -#: library/test.rst:1189 +#: library/test.rst:803 library/test.rst:1189 msgid "Usage::" msgstr "Utilisation ::" @@ -847,7 +846,7 @@ msgid "" "on ``obj``, it will be created and then deleted at the end of the block." msgstr "" -#: library/test.rst:795 library/test.rst:813 +#: library/test.rst:813 msgid "" "The old value (or ``None`` if it doesn't exist) will be assigned to the " "target of the \"as\" clause, if there is one." @@ -1142,7 +1141,7 @@ msgid "" "imported." msgstr "" -#: library/test.rst:1090 library/test.rst:1283 +#: library/test.rst:1283 #, fuzzy msgid "Example use::" msgstr "Exemple d'utilisation ::" @@ -1563,7 +1562,7 @@ msgid "" "``__cwd``, and ``TERM``." msgstr "" -#: library/test.rst:1527 library/test.rst:1543 library/test.rst:1555 +#: library/test.rst:1543 library/test.rst:1555 msgid "The function no longer strips whitespaces from *stderr*." msgstr "" diff --git a/library/textwrap.po b/library/textwrap.po index 17de619a..d88cf9e6 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-21 13:34+0200\n" "Last-Translator: Loc Cosnier \n" "Language-Team: French \n" @@ -146,7 +146,7 @@ msgstr "" "Les lignes contenant uniquement des espaces sont ignorées en entrée et " "réduites à un seul caractère de saut de ligne en sortie." -#: library/textwrap.rst:83 library/textwrap.rst:104 +#: library/textwrap.rst:104 msgid "For example::" msgstr "Par exemple ::" diff --git a/library/threading.po b/library/threading.po index e48fcf13..b8ffed4c 100644 --- a/library/threading.po +++ b/library/threading.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-03-29 11:56+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -846,7 +846,7 @@ msgid "" "by the platform." msgstr "" -#: library/threading.rst:453 library/threading.rst:533 +#: library/threading.rst:533 msgid "Acquire a lock, blocking or non-blocking." msgstr "Acquiert un verrou, bloquant ou non bloquant." @@ -878,8 +878,7 @@ msgid "" "if not (for example if the *timeout* expired)." msgstr "" -#: library/threading.rst:471 library/threading.rst:555 -#: library/threading.rst:800 +#: library/threading.rst:555 library/threading.rst:800 msgid "The *timeout* parameter is new." msgstr "Le paramètre *timeout* est nouveau." @@ -906,7 +905,7 @@ msgstr "" msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised." msgstr "" -#: library/threading.rst:490 library/threading.rst:571 +#: library/threading.rst:571 msgid "There is no return value." msgstr "Il n'y a pas de valeur de retour." @@ -1097,8 +1096,7 @@ msgid "" "a new :class:`RLock` object is created and used as the underlying lock." msgstr "" -#: library/threading.rst:653 library/threading.rst:775 -#: library/threading.rst:821 library/threading.rst:873 +#: library/threading.rst:775 library/threading.rst:873 #: library/threading.rst:942 msgid "changed from a factory function to a class." msgstr "" @@ -1153,7 +1151,7 @@ msgid "" "it is ``False``." msgstr "" -#: library/threading.rst:692 library/threading.rst:907 +#: library/threading.rst:907 msgid "Previously, the method always returned ``None``." msgstr "" diff --git a/library/time.po b/library/time.po index 5e5911d3..9f761fec 100644 --- a/library/time.po +++ b/library/time.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-03-27 13:21+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -204,12 +204,11 @@ msgstr "À" msgid "Use" msgstr "Utilisez" -#: library/time.rst:102 library/time.rst:105 library/time.rst:108 -#: library/time.rst:111 +#: library/time.rst:105 library/time.rst:111 msgid "seconds since the epoch" msgstr "secondes depuis *epoch*" -#: library/time.rst:102 library/time.rst:108 +#: library/time.rst:108 msgid ":class:`struct_time` in UTC" msgstr ":class:`struct_time` en UTC" @@ -217,7 +216,7 @@ msgstr ":class:`struct_time` en UTC" msgid ":func:`gmtime`" msgstr ":func:`gmtime`" -#: library/time.rst:105 library/time.rst:111 +#: library/time.rst:111 msgid ":class:`struct_time` in local time" msgstr ":class:`struct_time` en heure locale" @@ -309,10 +308,8 @@ msgstr "" "Renvoie la résolution (précision) de l’horloge *clk_id*. Référez-vous à :ref:" "`time-clock-id-constants` pour une liste des valeurs acceptées pour *clk_id*." -#: library/time.rst:160 library/time.rst:170 library/time.rst:179 -#: library/time.rst:189 library/time.rst:198 library/time.rst:629 -#: library/time.rst:746 library/time.rst:765 library/time.rst:793 -#: library/time.rst:828 +#: library/time.rst:170 library/time.rst:189 library/time.rst:629 +#: library/time.rst:765 library/time.rst:828 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -747,7 +744,7 @@ msgstr "" "précédant le premier dimanche sont considérés comme appartenant à la semaine " "0." -#: library/time.rst:402 library/time.rst:413 +#: library/time.rst:413 msgid "\\(3)" msgstr "\\(3)" @@ -1095,7 +1092,7 @@ msgstr ":attr:`tm_isdst`" msgid "0, 1 or -1; see below" msgstr "``0``, ``1`` or ``-1`` ; voir en bas" -#: library/time.rst:543 library/time.rst:545 +#: library/time.rst:545 msgid "N/A" msgstr "N/A" @@ -1463,7 +1460,7 @@ msgstr "" ":ref:`Disponibilité `: Linux 2.6.28 et ultérieur, MacOS 10.12 " "et ultérieur." -#: library/time.rst:762 library/time.rst:771 +#: library/time.rst:771 msgid "High-resolution per-process timer from the CPU." msgstr "Minuterie haute résolution par processus du CPU." diff --git a/library/timeit.po b/library/timeit.po index 7cf8f3db..31529a19 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-18 00:04+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -94,7 +94,7 @@ msgstr "" "timeit` à *number* reprises. L'argument optionnel *globals* spécifie un " "espace de nommage dans lequel exécuter le code." -#: library/timeit.rst:72 library/timeit.rst:83 library/timeit.rst:120 +#: library/timeit.rst:83 library/timeit.rst:120 msgid "The optional *globals* parameter was added." msgstr "Le paramètre optionnel *globals* a été ajouté." @@ -110,7 +110,7 @@ msgstr "" "repeat` à *number* reprises, *repeat* fois. L'argument optionnel *globals* " "spécifie un espace de nommage dans lequel exécuter le code." -#: library/timeit.rst:86 library/timeit.rst:181 +#: library/timeit.rst:181 msgid "Default value of *repeat* changed from 3 to 5." msgstr "La valeur par défaut de *repeat* est passée de 3 à 5." diff --git a/library/tkinter.font.po b/library/tkinter.font.po index 4ea13aa9..420cb596 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-07-20 15:08+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -74,9 +74,11 @@ msgid "If *size* is positive it is interpreted as size in points." msgstr "" #: library/tkinter.font.rst:0 -msgid "" -"If *size* is a negative number its absolute value is treated as as size in " -"pixels." +msgid "If *size* is a negative number its absolute value is treated" +msgstr "" + +#: library/tkinter.font.rst:0 +msgid "as size in pixels." msgstr "" #: library/tkinter.font.rst:0 @@ -126,7 +128,7 @@ msgstr "" msgid "*ascent* - distance between baseline and highest point that a" msgstr "" -#: library/tkinter.font.rst:76 library/tkinter.font.rst:79 +#: library/tkinter.font.rst:79 msgid "character of the font can occupy" msgstr "" diff --git a/library/tkinter.po b/library/tkinter.po index a4bc9571..84b56f61 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-13 23:41+0100\n" "Last-Translator: pierre choffe \n" "Language-Team: FRENCH \n" @@ -77,13 +77,8 @@ msgstr "Tutoriel complet plus convivial pour certains des objets graphiques." #: library/tkinter.rst:35 msgid "" -"`Tkinter 8.5 reference: a GUI for Python `_" +"`Tkinter 8.5 reference: a GUI for Python `_" msgstr "" -"`Référence Tkinter 8.5 : un GUI pour Python `_" #: library/tkinter.rst:35 msgid "On-line reference material." @@ -592,7 +587,7 @@ msgstr "" "paramètres d'une ligne de commande du shell Unix, et les valeurs sont mises " "entre guillemets si elles font plus d'un mot." -#: library/tkinter.rst:281 library/tkinter.rst:542 library/tkinter.rst:721 +#: library/tkinter.rst:542 library/tkinter.rst:721 msgid "For example::" msgstr "Par exemple ::" @@ -911,7 +906,7 @@ msgstr "0" msgid "option name" msgstr "nom des options" -#: library/tkinter.rst:440 library/tkinter.rst:442 +#: library/tkinter.rst:442 msgid "``'relief'``" msgstr "``'relief'``" @@ -1051,7 +1046,7 @@ msgstr "" "Pour de plus amples informations sur l'empaqueteur et les options qu'il peut " "prendre, voir les pages de manuel et la page 183 du livre de John Ousterhout." -#: library/tkinter.rst:502 library/tkinter.rst:622 +#: library/tkinter.rst:622 msgid "anchor" msgstr "*anchor*" @@ -1842,3 +1837,12 @@ msgstr "Désenregistre un gestionnaire de fichiers." #: library/tkinter.rst:867 msgid "Constants used in the *mask* arguments." msgstr "Constantes utilisées dans les arguments ``mask``." + +#~ msgid "" +#~ "`Tkinter 8.5 reference: a GUI for Python `_" +#~ msgstr "" +#~ "`Référence Tkinter 8.5 : un GUI pour Python `_" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index c059f403..96bc90ad 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -146,24 +146,17 @@ msgstr "" msgid "All the :mod:`ttk` Widgets accepts the following options:" msgstr "" -#: library/tkinter.ttk.rst:112 library/tkinter.ttk.rst:147 -#: library/tkinter.ttk.rst:173 library/tkinter.ttk.rst:216 -#: library/tkinter.ttk.rst:319 library/tkinter.ttk.rst:405 -#: library/tkinter.ttk.rst:481 library/tkinter.ttk.rst:507 -#: library/tkinter.ttk.rst:671 library/tkinter.ttk.rst:742 -#: library/tkinter.ttk.rst:810 library/tkinter.ttk.rst:861 +#: library/tkinter.ttk.rst:147 library/tkinter.ttk.rst:216 +#: library/tkinter.ttk.rst:405 library/tkinter.ttk.rst:507 +#: library/tkinter.ttk.rst:742 library/tkinter.ttk.rst:861 #: library/tkinter.ttk.rst:889 msgid "Option" msgstr "Option" -#: library/tkinter.ttk.rst:112 library/tkinter.ttk.rst:147 -#: library/tkinter.ttk.rst:173 library/tkinter.ttk.rst:216 -#: library/tkinter.ttk.rst:232 library/tkinter.ttk.rst:319 -#: library/tkinter.ttk.rst:405 library/tkinter.ttk.rst:481 -#: library/tkinter.ttk.rst:507 library/tkinter.ttk.rst:671 -#: library/tkinter.ttk.rst:742 library/tkinter.ttk.rst:810 -#: library/tkinter.ttk.rst:861 library/tkinter.ttk.rst:889 -#: library/tkinter.ttk.rst:934 +#: library/tkinter.ttk.rst:147 library/tkinter.ttk.rst:216 +#: library/tkinter.ttk.rst:319 library/tkinter.ttk.rst:481 +#: library/tkinter.ttk.rst:671 library/tkinter.ttk.rst:810 +#: library/tkinter.ttk.rst:889 library/tkinter.ttk.rst:934 msgid "Description" msgstr "Description" @@ -262,8 +255,7 @@ msgid "" "widgets." msgstr "" -#: library/tkinter.ttk.rst:175 library/tkinter.ttk.rst:523 -#: library/tkinter.ttk.rst:863 +#: library/tkinter.ttk.rst:523 library/tkinter.ttk.rst:863 msgid "text" msgstr "" @@ -271,7 +263,7 @@ msgstr "" msgid "Specifies a text string to be displayed inside the widget." msgstr "" -#: library/tkinter.ttk.rst:177 library/tkinter.ttk.rst:341 +#: library/tkinter.ttk.rst:341 msgid "textvariable" msgstr "" @@ -281,7 +273,7 @@ msgid "" "resource." msgstr "" -#: library/tkinter.ttk.rst:180 library/tkinter.ttk.rst:532 +#: library/tkinter.ttk.rst:532 msgid "underline" msgstr "" @@ -291,8 +283,7 @@ msgid "" "text string. The underline character is used for mnemonic activation." msgstr "" -#: library/tkinter.ttk.rst:184 library/tkinter.ttk.rst:525 -#: library/tkinter.ttk.rst:865 library/tkinter.ttk.rst:897 +#: library/tkinter.ttk.rst:525 library/tkinter.ttk.rst:897 msgid "image" msgstr "" @@ -305,7 +296,7 @@ msgid "" "combination of states. All images in the list should have the same size." msgstr "" -#: library/tkinter.ttk.rst:192 library/tkinter.ttk.rst:528 +#: library/tkinter.ttk.rst:528 msgid "compound" msgstr "" @@ -333,8 +324,7 @@ msgstr "" msgid "none: the default. display the image if present, otherwise the text." msgstr "" -#: library/tkinter.ttk.rst:203 library/tkinter.ttk.rst:349 -#: library/tkinter.ttk.rst:493 +#: library/tkinter.ttk.rst:349 library/tkinter.ttk.rst:493 msgid "width" msgstr "width" @@ -349,8 +339,7 @@ msgstr "" msgid "Compatibility Options" msgstr "" -#: library/tkinter.ttk.rst:218 library/tkinter.ttk.rst:334 -#: library/tkinter.ttk.rst:509 +#: library/tkinter.ttk.rst:334 library/tkinter.ttk.rst:509 msgid "state" msgstr "state" @@ -417,7 +406,7 @@ msgid "" "radiobuttons" msgstr "" -#: library/tkinter.ttk.rst:246 library/tkinter.ttk.rst:893 +#: library/tkinter.ttk.rst:893 msgid "background" msgstr "" @@ -517,14 +506,12 @@ msgid "" "it has some other methods, described at :class:`ttk.Combobox`." msgstr "" -#: library/tkinter.ttk.rst:312 library/tkinter.ttk.rst:398 -#: library/tkinter.ttk.rst:474 library/tkinter.ttk.rst:664 -#: library/tkinter.ttk.rst:735 library/tkinter.ttk.rst:803 +#: library/tkinter.ttk.rst:398 library/tkinter.ttk.rst:664 +#: library/tkinter.ttk.rst:803 msgid "Options" msgstr "Options" -#: library/tkinter.ttk.rst:314 library/tkinter.ttk.rst:400 -#: library/tkinter.ttk.rst:476 library/tkinter.ttk.rst:666 +#: library/tkinter.ttk.rst:400 library/tkinter.ttk.rst:666 #: library/tkinter.ttk.rst:805 msgid "This widget accepts the following specific options:" msgstr "" @@ -550,8 +537,7 @@ msgid "" "\"center\", or \"right\"." msgstr "" -#: library/tkinter.ttk.rst:328 library/tkinter.ttk.rst:483 -#: library/tkinter.ttk.rst:820 +#: library/tkinter.ttk.rst:483 library/tkinter.ttk.rst:820 msgid "height" msgstr "height" @@ -584,8 +570,7 @@ msgid "" "vice versa. See :class:`tkinter.StringVar`." msgstr "" -#: library/tkinter.ttk.rst:346 library/tkinter.ttk.rst:419 -#: library/tkinter.ttk.rst:867 +#: library/tkinter.ttk.rst:419 library/tkinter.ttk.rst:867 msgid "values" msgstr "valeurs" @@ -599,7 +584,7 @@ msgid "" "in average-size characters of the widget's font." msgstr "" -#: library/tkinter.ttk.rst:356 library/tkinter.ttk.rst:444 +#: library/tkinter.ttk.rst:444 msgid "Virtual events" msgstr "" @@ -756,8 +741,7 @@ msgid "" "of all panes is used." msgstr "" -#: library/tkinter.ttk.rst:487 library/tkinter.ttk.rst:519 -#: library/tkinter.ttk.rst:824 +#: library/tkinter.ttk.rst:519 library/tkinter.ttk.rst:824 msgid "padding" msgstr "" @@ -865,7 +849,7 @@ msgid "" "for :meth:`Notebook.index`)" msgstr "" -#: library/tkinter.ttk.rst:554 library/tkinter.ttk.rst:927 +#: library/tkinter.ttk.rst:927 msgid "Virtual Events" msgstr "" @@ -889,7 +873,7 @@ msgid "" "its previous position." msgstr "" -#: library/tkinter.ttk.rst:572 library/tkinter.ttk.rst:610 +#: library/tkinter.ttk.rst:610 msgid "See `Tab Options`_ for the list of available options." msgstr "" @@ -1007,7 +991,7 @@ msgid "" "know that work is progressing." msgstr "" -#: library/tkinter.ttk.rst:673 library/tkinter.ttk.rst:744 +#: library/tkinter.ttk.rst:744 msgid "orient" msgstr "" @@ -1503,7 +1487,7 @@ msgid "" "Otherwise, sets the options to the corresponding values." msgstr "" -#: library/tkinter.ttk.rst:989 library/tkinter.ttk.rst:1044 +#: library/tkinter.ttk.rst:1044 msgid "The valid options/values are:" msgstr "" @@ -1702,7 +1686,7 @@ msgstr "" msgid "A data cell." msgstr "" -#: library/tkinter.ttk.rst:1094 library/tkinter.ttk.rst:1101 +#: library/tkinter.ttk.rst:1101 msgid "Availability: Tk 8.6." msgstr "" @@ -1806,8 +1790,7 @@ msgstr "" msgid "*items* becomes the new selection." msgstr "" -#: library/tkinter.ttk.rst:1191 library/tkinter.ttk.rst:1199 -#: library/tkinter.ttk.rst:1207 library/tkinter.ttk.rst:1215 +#: library/tkinter.ttk.rst:1199 library/tkinter.ttk.rst:1215 msgid "" "*items* can be passed as separate arguments, not just as a single tuple." msgstr "" diff --git a/library/traceback.po b/library/traceback.po index 1fd2eb7d..9b40a24b 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -53,7 +53,7 @@ msgid "" "the output." msgstr "" -#: library/traceback.rst:35 library/traceback.rst:89 +#: library/traceback.rst:89 msgid "Added negative *limit* support." msgstr "" @@ -89,7 +89,7 @@ msgid "" "exception." msgstr "" -#: library/traceback.rst:62 library/traceback.rst:143 +#: library/traceback.rst:143 msgid "The *etype* argument is ignored and inferred from the type of *value*." msgstr "" @@ -213,13 +213,13 @@ msgid "" "capture data for later printing in a lightweight fashion." msgstr "" -#: library/traceback.rst:196 library/traceback.rst:243 +#: library/traceback.rst:243 msgid "" "Capture an exception for later rendering. *limit*, *lookup_lines* and " "*capture_locals* are as for the :class:`StackSummary` class." msgstr "" -#: library/traceback.rst:199 library/traceback.rst:246 +#: library/traceback.rst:246 msgid "" "Note that when locals are captured, they are also shown in the traceback." msgstr "" @@ -281,7 +281,7 @@ msgid "" "wrapper around this method which just prints the lines to a file." msgstr "" -#: library/traceback.rst:259 library/traceback.rst:273 +#: library/traceback.rst:273 msgid "" "The message indicating which exception occurred is always the last string in " "the output." diff --git a/library/tracemalloc.po b/library/tracemalloc.po index 005dc0d7..fda9cd97 100644 --- a/library/tracemalloc.po +++ b/library/tracemalloc.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\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 "" msgid "Display the 10 files allocating the most memory::" msgstr "" -#: library/tracemalloc.rst:55 library/tracemalloc.rst:225 +#: library/tracemalloc.rst:225 msgid "Example of output of the Python test suite::" msgstr "" @@ -83,7 +83,7 @@ msgid "" "build :class:`~collections.namedtuple` types." msgstr "" -#: library/tracemalloc.rst:73 library/tracemalloc.rst:250 +#: library/tracemalloc.rst:250 msgid "See :meth:`Snapshot.statistics` for more options." msgstr "" @@ -161,7 +161,7 @@ msgid "" "memory usage during the computations::" msgstr "" -#: library/tracemalloc.rst:280 library/tracemalloc.rst:759 +#: library/tracemalloc.rst:759 msgid "Output::" msgstr "Sortie ::" @@ -372,7 +372,7 @@ msgid "" "the address space :attr:`domain`." msgstr "" -#: library/tracemalloc.rst:441 library/tracemalloc.rst:693 +#: library/tracemalloc.rst:693 msgid "Address space of a memory block (``int``). Read-only property." msgstr "" @@ -414,7 +414,7 @@ msgstr "" msgid "The ``'.pyo'`` file extension is no longer replaced with ``'.py'``." msgstr "" -#: library/tracemalloc.rst:467 library/tracemalloc.rst:688 +#: library/tracemalloc.rst:688 msgid "Added the :attr:`domain` attribute." msgstr "" @@ -422,7 +422,7 @@ msgstr "" msgid "Address space of a memory block (``int`` or ``None``)." msgstr "" -#: library/tracemalloc.rst:475 library/tracemalloc.rst:695 +#: library/tracemalloc.rst:695 msgid "" "tracemalloc uses the domain ``0`` to trace memory allocations made by " "Python. C extensions can use other domains to trace other resources." @@ -647,7 +647,7 @@ msgstr "" msgid "Total size of memory blocks in bytes (``int``)." msgstr "" -#: library/tracemalloc.rst:635 library/tracemalloc.rst:704 +#: library/tracemalloc.rst:704 msgid "" "Traceback where the memory block was allocated, :class:`Traceback` instance." msgstr "" diff --git a/library/turtle.po b/library/turtle.po index aee2ca7d..f1a9e295 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-22 15:01+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -212,7 +212,7 @@ msgstr "Résumé des méthodes de *Turtle* et *Screen* disponibles" msgid "Turtle methods" msgstr "Les méthodes du module *Turtle*" -#: library/turtle.rst:132 library/turtle.rst:242 +#: library/turtle.rst:242 msgid "Turtle motion" msgstr "Les mouvements dans le module *Turtle*" @@ -256,7 +256,7 @@ msgstr ":func:`setheading` | :func:`seth`" msgid ":func:`home`" msgstr ":func:`home`" -#: library/turtle.rst:0 library/turtle.rst:2459 +#: library/turtle.rst:2459 msgid ":func:`circle`" msgstr ":func:`circle`" @@ -264,7 +264,7 @@ msgstr ":func:`circle`" msgid ":func:`dot`" msgstr ":func:`dot`" -#: library/turtle.rst:0 library/turtle.rst:2437 +#: library/turtle.rst:2437 msgid ":func:`stamp`" msgstr ":func:`stamp`" @@ -284,7 +284,7 @@ msgstr ":func:`undo`" msgid ":func:`speed`" msgstr ":func:`speed`" -#: library/turtle.rst:128 library/turtle.rst:644 +#: library/turtle.rst:644 msgid "Tell Turtle's state" msgstr "Connaître l'état de la tortue" @@ -324,11 +324,11 @@ msgstr ":func:`degrees`" msgid ":func:`radians`" msgstr ":func:`radians`" -#: library/turtle.rst:155 library/turtle.rst:795 +#: library/turtle.rst:795 msgid "Pen control" msgstr "Réglage des pinceaux" -#: library/turtle.rst:140 library/turtle.rst:798 +#: library/turtle.rst:798 msgid "Drawing state" msgstr "État des pinceaux" @@ -352,7 +352,7 @@ msgstr ":func:`pen`" msgid ":func:`isdown`" msgstr ":func:`isdown`" -#: library/turtle.rst:145 library/turtle.rst:890 +#: library/turtle.rst:890 msgid "Color control" msgstr "Réglage des couleurs" @@ -368,7 +368,7 @@ msgstr ":func:`pencolor`" msgid ":func:`fillcolor`" msgstr ":func:`fillcolor`" -#: library/turtle.rst:150 library/turtle.rst:1022 +#: library/turtle.rst:1022 msgid "Filling" msgstr "Remplissage" @@ -384,7 +384,7 @@ msgstr ":func:`begin_fill`" msgid ":func:`end_fill`" msgstr ":func:`end_fill`" -#: library/turtle.rst:155 library/turtle.rst:1069 +#: library/turtle.rst:1069 msgid "More drawing control" msgstr "Plus des réglages pour le dessin" @@ -400,11 +400,11 @@ msgstr ":func:`clear`" msgid ":func:`write`" msgstr ":func:`write`" -#: library/turtle.rst:172 library/turtle.rst:1117 +#: library/turtle.rst:1117 msgid "Turtle state" msgstr "État de la tortue" -#: library/turtle.rst:161 library/turtle.rst:1120 +#: library/turtle.rst:1120 msgid "Visibility" msgstr "Visibilité" @@ -420,7 +420,7 @@ msgstr ":func:`hideturtle` | :func:`ht`" msgid ":func:`isvisible`" msgstr ":func:`isvisible`" -#: library/turtle.rst:172 library/turtle.rst:1159 +#: library/turtle.rst:1159 msgid "Appearance" msgstr "Apparence" @@ -460,11 +460,11 @@ msgstr ":func:`shapetransform`" msgid ":func:`get_shapepoly`" msgstr ":func:`get_shapepoly`" -#: library/turtle.rst:177 library/turtle.rst:1364 +#: library/turtle.rst:1364 msgid "Using events" msgstr "Utilisation des événements" -#: library/turtle.rst:0 library/turtle.rst:2431 +#: library/turtle.rst:2431 msgid ":func:`onclick`" msgstr ":func:`onclick`" @@ -472,11 +472,11 @@ msgstr ":func:`onclick`" msgid ":func:`onrelease`" msgstr ":func:`onrelease`" -#: library/turtle.rst:0 library/turtle.rst:2414 +#: library/turtle.rst:2414 msgid ":func:`ondrag`" msgstr ":func:`ondrag`" -#: library/turtle.rst:188 library/turtle.rst:1438 +#: library/turtle.rst:1438 msgid "Special Turtle methods" msgstr "Méthodes spéciales de la tortue" @@ -492,7 +492,7 @@ msgstr ":func:`end_poly`" msgid ":func:`get_poly`" msgstr ":func:`get_poly`" -#: library/turtle.rst:0 library/turtle.rst:2450 +#: library/turtle.rst:2450 msgid ":func:`clone`" msgstr ":func:`clone`" @@ -516,7 +516,7 @@ msgstr ":func:`undobufferentries`" msgid "Methods of TurtleScreen/Screen" msgstr "Méthodes de *TurtleScreen*/*Screen*" -#: library/turtle.rst:199 library/turtle.rst:1592 +#: library/turtle.rst:1592 msgid "Window control" msgstr "Réglage de la fenêtre" @@ -544,7 +544,7 @@ msgstr ":func:`screensize`" msgid ":func:`setworldcoordinates`" msgstr ":func:`setworldcoordinates`" -#: library/turtle.rst:204 library/turtle.rst:1709 +#: library/turtle.rst:1709 msgid "Animation control" msgstr "Réglage de l'animation" @@ -560,7 +560,7 @@ msgstr ":func:`tracer`" msgid ":func:`update`" msgstr ":func:`update`" -#: library/turtle.rst:212 library/turtle.rst:1762 +#: library/turtle.rst:1762 msgid "Using screen events" msgstr "Utilisation des événements concernant l'écran" @@ -588,7 +588,7 @@ msgstr ":func:`ontimer`" msgid ":func:`mainloop` | :func:`done`" msgstr ":func:`mainloop` | :func:`done`" -#: library/turtle.rst:222 library/turtle.rst:1907 +#: library/turtle.rst:1907 msgid "Settings and special methods" msgstr "Paramétrages et méthodes spéciales" @@ -624,7 +624,7 @@ msgstr ":func:`window_height`" msgid ":func:`window_width`" msgstr ":func:`window_width`" -#: library/turtle.rst:226 library/turtle.rst:1871 +#: library/turtle.rst:1871 msgid "Input methods" msgstr "Méthodes de saisie" @@ -672,8 +672,7 @@ msgstr "" msgid "Parameters" msgstr "Paramètres" -#: library/turtle.rst:247 library/turtle.rst:292 library/turtle.rst:317 -#: library/turtle.rst:377 library/turtle.rst:400 library/turtle.rst:423 +#: library/turtle.rst:292 library/turtle.rst:377 library/turtle.rst:423 msgid "a number (integer or float)" msgstr "un nombre (entier ou flottant)" @@ -685,8 +684,7 @@ msgstr "" "Avance la tortue de la *distance* spécifiée, dans la direction où elle se " "dirige." -#: library/turtle.rst:269 library/turtle.rst:473 library/turtle.rst:748 -#: library/turtle.rst:1258 library/turtle.rst:1277 +#: library/turtle.rst:473 library/turtle.rst:1258 library/turtle.rst:1277 msgid "a number" msgstr "un nombre" @@ -818,7 +816,7 @@ msgstr "" msgid "a number (or ``None``)" msgstr "un nombre (ou ``None``)" -#: library/turtle.rst:475 library/turtle.rst:569 +#: library/turtle.rst:569 msgid "an integer (or ``None``)" msgstr "un entier (ou ``None``)" @@ -965,12 +963,12 @@ msgid "" "Return the turtle's current location (x,y) (as a :class:`Vec2D` vector)." msgstr "" -#: library/turtle.rst:660 library/turtle.rst:723 +#: library/turtle.rst:723 msgid "a number or a pair/vector of numbers or a turtle instance" msgstr "" "un nombre, ou une paire / un vecteur de nombres, ou une instance de tortue" -#: library/turtle.rst:661 library/turtle.rst:724 +#: library/turtle.rst:724 msgid "a number if *x* is a number, else ``None``" msgstr "un nombre si `x` est un nombre, sinon ``None``" @@ -1123,7 +1121,7 @@ msgstr "" msgid "Return or set the pencolor." msgstr "Renvoie ou règle la couleur du pinceau" -#: library/turtle.rst:896 library/turtle.rst:945 +#: library/turtle.rst:945 msgid "Four input formats are allowed:" msgstr "Quatre formats d'entrée sont autorisés :" @@ -1425,7 +1423,7 @@ msgid "" "resizemode(\"user\") is called by :func:`shapesize` when used with arguments." msgstr "" -#: library/turtle.rst:1210 library/turtle.rst:1211 library/turtle.rst:1212 +#: library/turtle.rst:1211 library/turtle.rst:1212 msgid "positive number" msgstr "nombre positif" @@ -1439,8 +1437,7 @@ msgid "" "determines the width of the shapes's outline." msgstr "" -#: library/turtle.rst:1237 library/turtle.rst:1890 library/turtle.rst:1891 -#: library/turtle.rst:1892 +#: library/turtle.rst:1890 library/turtle.rst:1892 msgid "number (optional)" msgstr "un nombre (facultatif)" @@ -1473,8 +1470,7 @@ msgid "" "(direction of movement)." msgstr "" -#: library/turtle.rst:1299 library/turtle.rst:1322 library/turtle.rst:1323 -#: library/turtle.rst:1324 library/turtle.rst:1325 +#: library/turtle.rst:1322 library/turtle.rst:1324 library/turtle.rst:1325 msgid "a number (optional)" msgstr "un nombre (facultatif)" @@ -1508,8 +1504,7 @@ msgid "" "used to define a new shape or components of a compound shape." msgstr "" -#: library/turtle.rst:1369 library/turtle.rst:1391 library/turtle.rst:1416 -#: library/turtle.rst:1814 +#: library/turtle.rst:1391 library/turtle.rst:1814 msgid "" "a function with two arguments which will be called with the coordinates of " "the clicked point on the canvas" @@ -1517,13 +1512,11 @@ msgstr "" "une fonction à deux arguments qui sera appelée avec les coordonnées du point " "cliqué sur le canevas" -#: library/turtle.rst:1371 library/turtle.rst:1393 library/turtle.rst:1418 -#: library/turtle.rst:1816 +#: library/turtle.rst:1393 library/turtle.rst:1816 msgid "number of the mouse-button, defaults to 1 (left mouse button)" msgstr "" -#: library/turtle.rst:1372 library/turtle.rst:1394 library/turtle.rst:1419 -#: library/turtle.rst:1817 +#: library/turtle.rst:1394 library/turtle.rst:1817 msgid "" "``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise " "it will replace a former binding" @@ -1782,7 +1775,7 @@ msgstr "" msgid "Optional argument:" msgstr "Argument facultatif :" -#: library/turtle.rst:1733 library/turtle.rst:1734 +#: library/turtle.rst:1734 msgid "nonnegative integer" msgstr "entier non-négatif" @@ -1815,11 +1808,11 @@ msgstr "" "arguments factices sont fournis afin de pouvoir passer :func:`listen` à la " "méthode *onclick*." -#: library/turtle.rst:1773 library/turtle.rst:1793 +#: library/turtle.rst:1793 msgid "a function with no arguments or ``None``" msgstr "une fonction sans arguments ou ``None``" -#: library/turtle.rst:1774 library/turtle.rst:1794 +#: library/turtle.rst:1794 msgid "a string: key (e.g. \"a\") or key-symbol (e.g. \"space\")" msgstr "" @@ -1876,8 +1869,7 @@ msgid "" "turtle graphics. ::" msgstr "" -#: library/turtle.rst:1875 library/turtle.rst:1876 library/turtle.rst:1888 -#: library/turtle.rst:1889 +#: library/turtle.rst:1876 library/turtle.rst:1889 msgid "string" msgstr "chaîne de caractères" diff --git a/library/types.po b/library/types.po index 74b32248..79a70aac 100644 --- a/library/types.po +++ b/library/types.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-09-28 10:04+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -265,7 +265,7 @@ msgstr "" msgid "The :term:`loader` which loaded the module. Defaults to ``None``." msgstr "" -#: library/types.rst:221 library/types.rst:235 +#: library/types.rst:235 msgid "Defaults to ``None``. Previously the attribute was optional." msgstr "" diff --git a/library/typing.po b/library/typing.po index 216531c4..0a2d709f 100644 --- a/library/typing.po +++ b/library/typing.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-26 17:28-0500\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -72,15 +72,16 @@ msgid "Type aliases" msgstr "Alias de type" #: library/typing.rst:40 +#, fuzzy msgid "" "A type alias is defined by assigning the type to the alias. In this example, " -"``Vector`` and ``List[float]`` will be treated as interchangeable synonyms::" +"``Vector`` and ``list[float]`` will be treated as interchangeable synonyms::" msgstr "" "Un alias de type est défini en assignant le type à l'alias. Dans cet " "exemple, ``Vector`` et ``List[float]`` sont traités comme des synonymes " "interchangeables ::" -#: library/typing.rst:52 +#: library/typing.rst:51 msgid "" "Type aliases are useful for simplifying complex type signatures. For " "example::" @@ -88,7 +89,7 @@ msgstr "" "Les alias de type sont utiles pour simplifier les signatures complexes. Par " "exemple ::" -#: library/typing.rst:70 +#: library/typing.rst:69 msgid "" "Note that ``None`` as a type hint is a special case and is replaced by " "``type(None)``." @@ -96,16 +97,16 @@ msgstr "" "Notez que ``None`` comme indication de type est un cas particulier et est " "remplacé par ``type(None)``." -#: library/typing.rst:76 +#: library/typing.rst:75 msgid "NewType" msgstr "*NewType*" -#: library/typing.rst:78 +#: library/typing.rst:77 msgid "Use the :func:`NewType` helper function to create distinct types::" msgstr "" "Aidez-vous de la fonction :func:`NewType` pour créer des types distincts ::" -#: library/typing.rst:85 +#: library/typing.rst:84 msgid "" "The static type checker will treat the new type as if it were a subclass of " "the original type. This is useful in helping catch logical errors::" @@ -114,7 +115,7 @@ msgstr "" "s'agissait d'une sous-classe du type original. C'est utile pour aider à " "détecter les erreurs logiques ::" -#: library/typing.rst:97 +#: library/typing.rst:96 msgid "" "You may still perform all ``int`` operations on a variable of type " "``UserId``, but the result will always be of type ``int``. This lets you " @@ -127,7 +128,7 @@ msgstr "" "où un ``int`` est attendu, mais vous empêche de créer accidentellement un " "``UserId`` d'une manière invalide ::" -#: library/typing.rst:105 +#: library/typing.rst:104 msgid "" "Note that these checks are enforced only by the static type checker. At " "runtime, the statement ``Derived = NewType('Derived', Base)`` will make " @@ -142,7 +143,7 @@ msgstr "" "``Derived(some_value)`` ne crée pas une nouvelle classe ou n'introduit pas " "de surcharge au-delà de celle d'un appel de fonction normal." -#: library/typing.rst:111 +#: library/typing.rst:110 msgid "" "More precisely, the expression ``some_value is Derived(some_value)`` is " "always true at runtime." @@ -150,7 +151,7 @@ msgstr "" "Plus précisément, l'expression ``some_value is Derived(some_value)`` est " "toujours vraie au moment de l'exécution." -#: library/typing.rst:114 +#: library/typing.rst:113 msgid "" "This also means that it is not possible to create a subtype of ``Derived`` " "since it is an identity function at runtime, not an actual type::" @@ -159,7 +160,7 @@ msgstr "" "``Derived`` puisqu'il s'agit d'une fonction d'identité au moment de " "l'exécution, pas d'un type réel ::" -#: library/typing.rst:124 +#: library/typing.rst:123 msgid "" "However, it is possible to create a :func:`NewType` based on a 'derived' " "``NewType``::" @@ -167,15 +168,15 @@ msgstr "" "Cependant, il est possible de créer un :func:`NewType` basé sur un " "``NewType`` « dérivé » ::" -#: library/typing.rst:132 +#: library/typing.rst:131 msgid "and typechecking for ``ProUserId`` will work as expected." msgstr "et la vérification de type pour ``ProUserId`` fonctionne comme prévu." -#: library/typing.rst:134 +#: library/typing.rst:133 msgid "See :pep:`484` for more details." msgstr "Voir la :pep:`484` pour plus de détails." -#: library/typing.rst:138 +#: library/typing.rst:137 msgid "" "Recall that the use of a type alias declares two types to be *equivalent* to " "one another. Doing ``Alias = Original`` will make the static type checker " @@ -188,7 +189,7 @@ msgstr "" "équivalent* à ``Original`` dans tous les cas. C'est utile lorsque vous " "voulez simplifier des signatures complexes." -#: library/typing.rst:143 +#: library/typing.rst:142 msgid "" "In contrast, ``NewType`` declares one type to be a *subtype* of another. " "Doing ``Derived = NewType('Derived', Original)`` will make the static type " @@ -205,11 +206,11 @@ msgstr "" "prévue. C'est utile lorsque vous voulez éviter les erreurs logiques avec un " "coût d'exécution minimal." -#: library/typing.rst:153 +#: library/typing.rst:152 msgid "Callable" msgstr "Appelable" -#: library/typing.rst:155 +#: library/typing.rst:154 msgid "" "Frameworks expecting callback functions of specific signatures might be type " "hinted using ``Callable[[Arg1Type, Arg2Type], ReturnType]``." @@ -218,11 +219,11 @@ msgstr "" "rappel ayant des signatures spécifiques peuvent être typés en utilisant " "``Callable[[Arg1Type, Arg2Type], ReturnType]``." -#: library/typing.rst:158 +#: library/typing.rst:157 msgid "For example::" msgstr "Par exemple ::" -#: library/typing.rst:169 +#: library/typing.rst:168 msgid "" "It is possible to declare the return type of a callable without specifying " "the call signature by substituting a literal ellipsis for the list of " @@ -232,11 +233,11 @@ msgstr "" "la signature de l'appel en indiquant des points de suspension à la liste des " "arguments dans l'indice de type : ``Callable[..., ReturnType]``." -#: library/typing.rst:176 +#: library/typing.rst:175 msgid "Generics" msgstr "Génériques" -#: library/typing.rst:178 +#: library/typing.rst:177 msgid "" "Since type information about objects kept in containers cannot be statically " "inferred in a generic way, abstract base classes have been extended to " @@ -248,7 +249,7 @@ msgstr "" "(*subscription* en anglais) et indiquer les types attendus pour les éléments " "de conteneur." -#: library/typing.rst:189 +#: library/typing.rst:188 msgid "" "Generics can be parameterized by using a new factory available in typing " "called :class:`TypeVar`." @@ -304,18 +305,18 @@ msgstr "" msgid "You can use multiple inheritance with :class:`Generic`::" msgstr "Vous pouvez utiliser l'héritage multiple avec :class:`Generic` ::" -#: library/typing.rst:276 +#: library/typing.rst:277 msgid "" "When inheriting from generic classes, some type variables could be fixed::" msgstr "" "Lors de l'héritage de classes génériques, certaines variables de type " "peuvent être corrigées ::" -#: library/typing.rst:285 +#: library/typing.rst:287 msgid "In this case ``MyDict`` has a single parameter, ``T``." msgstr "Dans ce cas, ``MyDict`` a un seul paramètre, ``T``." -#: library/typing.rst:287 +#: library/typing.rst:289 msgid "" "Using a generic class without specifying type parameters assumes :data:`Any` " "for each position. In the following example, ``MyIterable`` is not generic " @@ -326,17 +327,17 @@ msgstr "" "``MyIterable`` n'est pas générique mais hérite implicitement de " "``Iterable[Any]`` ::" -#: library/typing.rst:295 +#: library/typing.rst:297 msgid "User defined generic type aliases are also supported. Examples::" msgstr "" "Les alias de type générique définis par l'utilisateur sont également pris en " "charge. Exemples ::" -#: library/typing.rst:311 +#: library/typing.rst:314 msgid ":class:`Generic` no longer has a custom metaclass." msgstr ":class:`Generic` n'a plus de métaclasse personnalisée." -#: library/typing.rst:314 +#: library/typing.rst:317 msgid "" "A user-defined generic class can have ABCs as base classes without a " "metaclass conflict. Generic metaclasses are not supported. The outcome of " @@ -349,11 +350,11 @@ msgstr "" "paramétrage des génériques est mis en cache et la plupart des types dans le " "module ``typing`` sont hachables et comparables pour l'égalité." -#: library/typing.rst:321 +#: library/typing.rst:324 msgid "The :data:`Any` type" msgstr "Le type :data:`Any`" -#: library/typing.rst:323 +#: library/typing.rst:326 msgid "" "A special kind of type is :data:`Any`. A static type checker will treat " "every type as being compatible with :data:`Any` and :data:`Any` as being " @@ -363,7 +364,7 @@ msgstr "" "chaque type comme étant compatible avec :data:`Any` et :data:`Any` comme " "étant compatible avec chaque type." -#: library/typing.rst:327 +#: library/typing.rst:330 #, fuzzy msgid "" "This means that it is possible to perform any operation or method call on a " @@ -373,7 +374,7 @@ msgstr "" "appel de méthode sur une valeur de type :data:`Any` et de l'affecter à " "n'importe quelle variable ::" -#: library/typing.rst:345 +#: library/typing.rst:348 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 " @@ -387,7 +388,7 @@ msgstr "" "de ``a`` à ``s`` même si ``s`` était déclaré être de type :class:`str` et " "reçoit une valeur :class:`int` au moment de son exécution !" -#: library/typing.rst:351 +#: library/typing.rst:354 msgid "" "Furthermore, all functions without a return type or parameter types will " "implicitly default to using :data:`Any`::" @@ -395,7 +396,7 @@ msgstr "" "De plus, toutes les fonctions sans type de retour ni type de paramètre sont " "considérées comme utilisant :data:`Any` implicitement par défaut ::" -#: library/typing.rst:364 +#: library/typing.rst:367 msgid "" "This behavior allows :data:`Any` to be used as an *escape hatch* when you " "need to mix dynamically and statically typed code." @@ -403,7 +404,7 @@ msgstr "" "Ce comportement permet à :data:`Any` d'être utilisé comme succédané lorsque " "vous avez besoin de mélanger du code typé dynamiquement et statiquement." -#: library/typing.rst:367 +#: library/typing.rst:370 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, " @@ -415,7 +416,7 @@ msgstr "" "`object`. Cependant, contrairement à :data:`Any`, l'inverse n'est pas " "vrai : :class:`object` n'est *pas* un sous-type de chaque autre type." -#: library/typing.rst:372 +#: library/typing.rst:375 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 " @@ -427,7 +428,7 @@ msgstr "" "l'affecter à une variable (ou l'utiliser comme une valeur de retour) d'un " "type plus spécialisé est une erreur de typage. Par exemple ::" -#: library/typing.rst:394 +#: library/typing.rst:397 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." @@ -436,11 +437,11 @@ msgstr "" "quel type de manière sûre. Utiliser :data:`Any` pour indiquer qu'une valeur " "est typée dynamiquement." -#: library/typing.rst:399 +#: library/typing.rst:402 msgid "Nominal vs structural subtyping" msgstr "Sous-typage nominal et sous-typage structurel" -#: library/typing.rst:401 +#: library/typing.rst:404 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 " @@ -451,7 +452,7 @@ msgstr "" "est permise lorsqu'une classe ``B`` est prévue si et seulement si ``A`` est " "une sous-classe de ``B``." -#: library/typing.rst:405 +#: library/typing.rst:408 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 " @@ -466,7 +467,7 @@ msgstr "" "Python idiomatique typé dynamiquement. Par exemple, ceci est conforme à la :" "pep:`484` ::" -#: library/typing.rst:418 +#: library/typing.rst:421 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 " @@ -481,7 +482,7 @@ msgstr "" "de type statique. C'est ce qu'on appelle le *sous-typage structurel* (ou " "typage canard) ::" -#: library/typing.rst:434 +#: library/typing.rst:437 msgid "" "Moreover, by subclassing a special class :class:`Protocol`, a user can " "define new custom protocols to fully enjoy structural subtyping (see " @@ -491,16 +492,16 @@ msgstr "" "utilisateur peut définir de nouveaux protocoles personnalisés pour profiter " "pleinement du sous-typage structurel (voir exemples ci-dessous)." -#: library/typing.rst:439 +#: library/typing.rst:442 msgid "Module contents" msgstr "" -#: library/typing.rst:441 +#: library/typing.rst:444 #, fuzzy msgid "The module defines the following classes, functions and decorators." msgstr "Ce module définit les classes, fonctions et décorateurs suivants :" -#: library/typing.rst:445 +#: library/typing.rst:448 msgid "" "This module defines several types that are subclasses of pre-existing " "standard library classes which also extend :class:`Generic` to support type " @@ -508,7 +509,7 @@ msgid "" "corresponding pre-existing classes were enhanced to support ``[]``." msgstr "" -#: library/typing.rst:451 +#: library/typing.rst:454 msgid "" "The redundant types are deprecated as of Python 3.9 but no deprecation " "warnings will be issued by the interpreter. It is expected that type " @@ -516,53 +517,53 @@ msgid "" "Python 3.9 or newer." msgstr "" -#: library/typing.rst:456 +#: library/typing.rst:459 msgid "" "The deprecated types will be removed from the :mod:`typing` module in the " "first Python version released 5 years after the release of Python 3.9.0. See " "details in :pep:`585`—*Type Hinting Generics In Standard Collections*." msgstr "" -#: library/typing.rst:462 +#: library/typing.rst:465 msgid "Special typing primitives" msgstr "" -#: library/typing.rst:465 +#: library/typing.rst:468 #, fuzzy msgid "Special types" msgstr "Type « optionnel »." -#: library/typing.rst:467 +#: library/typing.rst:470 msgid "These can be used as types in annotations and do not support ``[]``." msgstr "" -#: library/typing.rst:471 +#: library/typing.rst:474 msgid "Special type indicating an unconstrained type." msgstr "Type spécial indiquant un type non contraint." -#: library/typing.rst:473 +#: library/typing.rst:476 msgid "Every type is compatible with :data:`Any`." msgstr "Chaque type est compatible avec :data:`Any`." -#: library/typing.rst:474 +#: library/typing.rst:477 msgid ":data:`Any` is compatible with every type." msgstr ":data:`Any` est compatible avec tous les types." -#: library/typing.rst:478 +#: library/typing.rst:481 msgid "Special type indicating that a function never returns. For example::" msgstr "Type spécial indiquant qu'une fonction ne renvoie rien. Par exemple ::" -#: library/typing.rst:490 +#: library/typing.rst:493 msgid "Special forms" msgstr "" -#: library/typing.rst:492 +#: library/typing.rst:495 msgid "" "These can be used as types in annotations using ``[]``, each having a unique " "syntax." msgstr "" -#: library/typing.rst:496 +#: library/typing.rst:499 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 " @@ -572,7 +573,7 @@ msgstr "" "avec le premier élément de type X et le second de type Y. Le type du n-uplet " "vide peut être écrit comme ``Tuple[()]``." -#: library/typing.rst:500 +#: library/typing.rst:503 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 " @@ -582,7 +583,7 @@ msgstr "" "type ``T1`` et ``T2``. ``Tuple[int, float, str]`` est un triplet composé " "d'un entier, d'un flottant et d'une chaîne de caractères." -#: library/typing.rst:504 +#: library/typing.rst:507 msgid "" "To specify a variable-length tuple of homogeneous type, use literal " "ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " @@ -592,68 +593,68 @@ msgstr "" "une ellipse, par exemple ``Tuple[int, ....]``. Un n-uplet :data:`Tuple` est " "équivalent à ``Tuple[Any, ....]`` et, à son tour, à :class:`tuple`." -#: library/typing.rst:508 +#: library/typing.rst:511 msgid ":class:`builtins.tuple ` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:513 +#: library/typing.rst:516 msgid "Union type; ``Union[X, Y]`` means either X or Y." msgstr "Type « union » ; ``Union[X, Y]`` signifie X ou Y." -#: library/typing.rst:515 +#: library/typing.rst:518 msgid "To define a union, use e.g. ``Union[int, str]``. Details:" msgstr "" "Pour définir une union, utilisez par exemple ``Union[int, str]``. Détail :" -#: library/typing.rst:517 +#: library/typing.rst:520 msgid "The arguments must be types and there must be at least one." msgstr "" "Les arguments doivent être des types et il doit y en avoir au moins un." -#: library/typing.rst:519 +#: library/typing.rst:522 msgid "Unions of unions are flattened, e.g.::" msgstr "Les unions d'unions sont aplanies, par exemple ::" -#: library/typing.rst:523 +#: library/typing.rst:526 msgid "Unions of a single argument vanish, e.g.::" msgstr "Les unions d'un seul argument disparaissent, par exemple ::" -#: library/typing.rst:527 +#: library/typing.rst:530 msgid "Redundant arguments are skipped, e.g.::" msgstr "Les arguments redondants sont ignorés, par exemple ::" -#: library/typing.rst:531 +#: library/typing.rst:534 msgid "When comparing unions, the argument order is ignored, e.g.::" msgstr "" "Lors de la comparaison d'unions, l'ordre des arguments est ignoré, par " "exemple ::" -#: library/typing.rst:535 +#: library/typing.rst:538 msgid "You cannot subclass or instantiate a union." msgstr "Vous ne pouvez pas sous-classer ou instancier une union." -#: library/typing.rst:537 +#: library/typing.rst:540 msgid "You cannot write ``Union[X][Y]``." msgstr "Vous ne pouvez pas écrire ``Union[X][Y]``." -#: library/typing.rst:539 +#: library/typing.rst:542 msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``." msgstr "" "Vous pouvez utiliser l'abréviation ``Optional[X]`` pour ``Union[X, None]``." -#: library/typing.rst:541 +#: library/typing.rst:544 msgid "Don't remove explicit subclasses from unions at runtime." msgstr "Ne supprime pas les sous-classes explicites des unions à l'exécution." -#: library/typing.rst:546 +#: library/typing.rst:549 msgid "Optional type." msgstr "Type « optionnel »." -#: library/typing.rst:548 +#: library/typing.rst:551 msgid "``Optional[X]`` is equivalent to ``Union[X, None]``." msgstr "``Optional[X]`` équivaut à ``Union[X, None]``." -#: library/typing.rst:550 +#: library/typing.rst:553 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 " @@ -665,7 +666,7 @@ msgstr "" "valeur par défaut) ne nécessite pas, à ce titre, le qualificatif " "``Optional`` sur son annotation de type. Par exemple ::" -#: library/typing.rst:558 +#: library/typing.rst:561 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 " @@ -675,13 +676,13 @@ msgstr "" "de ``Optional`` est appropriée, que l'argument soit facultatif ou non. Par " "exemple ::" -#: library/typing.rst:567 +#: library/typing.rst:570 msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." msgstr "" "Type Appelable. ``Callable[[int], str]`` est une fonction de type ``(int) -> " "str``." -#: library/typing.rst:569 +#: library/typing.rst:572 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 " @@ -692,7 +693,7 @@ msgstr "" "retour. La liste d'arguments doit être une liste de types ou une ellipse ; " "il doit y avoir un seul type de retour." -#: library/typing.rst:574 +#: library/typing.rst:577 msgid "" "There is no syntax to indicate optional or keyword arguments; such function " "types are rarely used as callback types. ``Callable[..., ReturnType]`` " @@ -709,11 +710,11 @@ msgstr "" "équivalent à ``Callable[..., Any]`` et, à son tour, à :class:`collections." "abc.Callable`." -#: library/typing.rst:582 +#: library/typing.rst:585 msgid ":class:`collections.abc.Callable` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:587 +#: library/typing.rst:590 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 " @@ -725,11 +726,11 @@ msgstr "" "qui sont elles-mêmes des classes — plus précisément, elle accepte l'objet " "*class* de ``C``. Par exemple ::" -#: library/typing.rst:596 +#: library/typing.rst:599 msgid "Note that ``Type[C]`` is covariant::" msgstr "Notez que ``Type[C]`` est covariant ::" -#: library/typing.rst:608 +#: library/typing.rst:611 msgid "" "The fact that ``Type[C]`` is covariant implies that all subclasses of ``C`` " "should implement the same constructor signature and class method signatures " @@ -747,7 +748,7 @@ msgstr "" "de type est tenu de traiter ce cas particulier peut changer dans les futures " "révisions de :pep:`484`." -#: library/typing.rst:616 +#: library/typing.rst:619 msgid "" "The only legal parameters for :class:`Type` are classes, :data:`Any`, :ref:" "`type variables `, and unions of any of these types. For example::" @@ -756,7 +757,7 @@ msgstr "" "`Any`, :ref:`type variables `, et les unions de ces types. Par " "exemple ::" -#: library/typing.rst:622 +#: library/typing.rst:625 msgid "" "``Type[Any]`` is equivalent to ``Type`` which in turn is equivalent to " "``type``, which is the root of Python's metaclass hierarchy." @@ -764,11 +765,11 @@ msgstr "" "``Type[Any]`` est équivalent à ``Type`` qui à son tour est équivalent à " "``type``, qui est la racine de la hiérarchie des métaclasses de Python." -#: library/typing.rst:627 +#: library/typing.rst:630 msgid ":class:`builtins.type ` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:632 +#: library/typing.rst:635 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 " @@ -778,7 +779,7 @@ msgstr "" "de fonction correspondant a une valeur équivalente au littéral fourni (ou un " "parmi plusieurs littéraux). Par exemple ::" -#: library/typing.rst:646 +#: library/typing.rst:649 msgid "" "``Literal[...]`` cannot be subclassed. At runtime, an arbitrary value is " "allowed as type argument to ``Literal[...]``, but type checkers may impose " @@ -789,12 +790,12 @@ msgstr "" "les vérificateurs de type peuvent imposer des restrictions. Voir la :pep:" "`586` pour plus de détails sur les types littéraux." -#: library/typing.rst:654 +#: library/typing.rst:657 msgid "Special type construct to mark class variables." msgstr "" "Construction de type particulière pour indiquer les variables de classe." -#: library/typing.rst:656 +#: library/typing.rst:659 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 " @@ -805,11 +806,11 @@ msgstr "" "utilisé comme une variable de classe et ne doit pas être défini sur des " "instances de cette classe. Utilisation ::" -#: library/typing.rst:664 +#: library/typing.rst:667 msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." msgstr ":data:`ClassVar` n'accepte que les types et ne peut plus être dérivé." -#: library/typing.rst:666 +#: library/typing.rst:669 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 " @@ -822,7 +823,7 @@ msgstr "" "par des vérificateurs tiers. Par exemple, un vérificateur de type peut " "marquer le code suivant comme une erreur ::" -#: library/typing.rst:680 +#: library/typing.rst:683 msgid "" "A special typing construct to indicate to type checkers that a name cannot " "be re-assigned or overridden in a subclass. For example::" @@ -831,7 +832,7 @@ msgstr "" "qu'un nom ne peut pas être réassigné ou remplacé dans une sous-classe. Par " "exemple ::" -#: library/typing.rst:692 library/typing.rst:1570 +#: library/typing.rst:1573 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." @@ -839,7 +840,7 @@ msgstr "" "Ces propriétés ne sont pas vérifiées à l'exécution. Voir la :pep:`591` pour " "plus de détails." -#: library/typing.rst:699 +#: library/typing.rst:702 msgid "" "A type, introduced in :pep:`593` (``Flexible function and variable " "annotations``), to decorate existing types with context-specific metadata " @@ -856,7 +857,7 @@ msgid "" "``x`` within a specific application." msgstr "" -#: library/typing.rst:713 +#: library/typing.rst:716 msgid "" "Ultimately, the responsibility of how to interpret the annotations (if at " "all) is the responsibility of the tool or library encountering the " @@ -865,21 +866,21 @@ msgid "" "using ``isinstance()``)." msgstr "" -#: library/typing.rst:719 +#: library/typing.rst:722 msgid "" "When a tool or a library does not support annotations or encounters an " "unknown annotation it should just ignore it and treat annotated type as the " "underlying type." msgstr "" -#: library/typing.rst:723 +#: library/typing.rst:726 msgid "" "It's up to the tool consuming the annotations to decide whether the client " "is allowed to have several annotations on one type and how to merge those " "annotations." msgstr "" -#: library/typing.rst:727 +#: library/typing.rst:730 msgid "" "Since the ``Annotated`` type allows you to put several annotations of the " "same (or different) type(s) on any node, the tools or libraries consuming " @@ -887,67 +888,67 @@ msgid "" "example, if you are doing value range analysis you might allow this::" msgstr "" -#: library/typing.rst:736 +#: library/typing.rst:739 msgid "" "Passing ``include_extras=True`` to :func:`get_type_hints` lets one access " "the extra annotations at runtime." msgstr "" -#: library/typing.rst:739 +#: library/typing.rst:742 msgid "The details of the syntax:" msgstr "" -#: library/typing.rst:741 +#: library/typing.rst:744 msgid "The first argument to ``Annotated`` must be a valid type" msgstr "" -#: library/typing.rst:743 +#: library/typing.rst:746 msgid "" "Multiple type annotations are supported (``Annotated`` supports variadic " "arguments)::" msgstr "" -#: library/typing.rst:748 +#: library/typing.rst:751 msgid "" "``Annotated`` must be called with at least two arguments " "( ``Annotated[int]`` is not valid)" msgstr "" -#: library/typing.rst:751 +#: library/typing.rst:754 msgid "" "The order of the annotations is preserved and matters for equality checks::" msgstr "" -#: library/typing.rst:758 +#: library/typing.rst:761 msgid "" "Nested ``Annotated`` types are flattened, with metadata ordered starting " "with the innermost annotation::" msgstr "" -#: library/typing.rst:765 +#: library/typing.rst:768 msgid "Duplicated annotations are not removed::" msgstr "" -#: library/typing.rst:771 +#: library/typing.rst:774 msgid "``Annotated`` can be used with nested and generic aliases::" msgstr "" -#: library/typing.rst:782 +#: library/typing.rst:785 #, fuzzy msgid "Building generic types" msgstr "Types génériques définis par l'utilisateur" -#: library/typing.rst:784 +#: library/typing.rst:787 msgid "" "These are not used in annotations. They are building blocks for creating " "generic types." msgstr "" -#: library/typing.rst:788 +#: library/typing.rst:791 msgid "Abstract base class for generic types." msgstr "Classe de base abstraite pour les types génériques." -#: library/typing.rst:790 +#: library/typing.rst:793 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 " @@ -957,19 +958,19 @@ msgstr "" "de cette classe avec une ou plusieurs variables de type. Par exemple, un " "type de correspondance générique peut être défini comme suit ::" -#: library/typing.rst:799 +#: library/typing.rst:802 msgid "This class can then be used as follows::" msgstr "Cette classe peut alors être utilisée comme suit ::" -#: library/typing.rst:812 +#: library/typing.rst:815 msgid "Type variable." msgstr "Variables de type." -#: library/typing.rst:814 library/typing.rst:930 +#: library/typing.rst:933 msgid "Usage::" msgstr "Utilisation ::" -#: library/typing.rst:819 +#: library/typing.rst:822 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 " @@ -982,7 +983,7 @@ msgstr "" "``Generic`` pour plus d'informations sur les types génériques. Les fonctions " "génériques fonctionnent comme suit ::" -#: library/typing.rst:832 +#: library/typing.rst:835 msgid "" "The latter example's signature is essentially the overloading of ``(str, " "str) -> str`` and ``(bytes, bytes) -> bytes``. Also note that if the " @@ -994,7 +995,7 @@ msgstr "" "les arguments sont des instances d'une sous-classe de la classe :class:" "`str`, le type de retour est toujours la classe :class:`str`." -#: library/typing.rst:837 +#: library/typing.rst:840 msgid "" "At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`. In general, :" "func:`isinstance` and :func:`issubclass` should not be used with types." @@ -1003,7 +1004,7 @@ msgstr "" "général, :func:`isinstance` et :func:`issubclass` ne devraient pas être " "utilisés avec les types." -#: library/typing.rst:840 +#: library/typing.rst:843 msgid "" "Type variables may be marked covariant or contravariant by passing " "``covariant=True`` or ``contravariant=True``. See :pep:`484` for more " @@ -1020,7 +1021,7 @@ msgstr "" "(explicitement ou implicitement) à la variable type doit être une sous-" "classe du type frontière (*boundary* en anglais), voir la :pep:`484`." -#: library/typing.rst:850 +#: library/typing.rst:853 msgid "" "``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, " "bytes)``." @@ -1028,7 +1029,7 @@ msgstr "" "``AnyStr`` est une variable de type définie comme ``AnyStr = " "TypeVar('AnyStr', str, bytes)``." -#: library/typing.rst:853 +#: library/typing.rst:856 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::" @@ -1037,14 +1038,14 @@ msgstr "" "n'importe quel type de chaîne de caractères sans permettre à différents " "types de chaînes de caractères de se mélanger. Par exemple ::" -#: library/typing.rst:865 +#: library/typing.rst:868 msgid "" "Base class for protocol classes. Protocol classes are defined like this::" msgstr "" "Classe de base pour les classes de protocole. Les classes de protocole sont " "définies comme suit ::" -#: library/typing.rst:871 +#: library/typing.rst:874 msgid "" "Such classes are primarily used with static type checkers that recognize " "structural subtyping (static duck-typing), for example::" @@ -1053,7 +1054,7 @@ msgstr "" "de type qui reconnaissent les sous-types structurels (typage canard " "statique), par exemple ::" -#: library/typing.rst:883 +#: library/typing.rst:886 msgid "" "See :pep:`544` for details. Protocol classes decorated with :func:" "`runtime_checkable` (described later) act as simple-minded runtime protocols " @@ -1065,15 +1066,15 @@ msgstr "" "protocoles d'exécution simples qui ne vérifient que la présence d'attributs " "donnés, ignorant leurs signatures de type." -#: library/typing.rst:888 +#: library/typing.rst:891 msgid "Protocol classes can be generic, for example::" msgstr "Les classes de protocole peuvent être génériques, par exemple ::" -#: library/typing.rst:898 +#: library/typing.rst:901 msgid "Mark a protocol class as a runtime protocol." msgstr "Marquez une classe de protocole comme protocole d'exécution." -#: library/typing.rst:900 +#: library/typing.rst:903 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 " @@ -1086,7 +1087,7 @@ msgstr "" "similaire aux « classes qui ne savent faire qu'une chose » présentes dans :" "mod:`collections.abc` tel que :class:`Iterable`. Par exemple ::" -#: library/typing.rst:913 +#: library/typing.rst:916 msgid "" ":func:`runtime_checkable` will check only the presence of the required " "methods, not their type signatures! For example, :class:`builtins.complex " @@ -1096,39 +1097,39 @@ msgid "" "informative message." msgstr "" -#: library/typing.rst:922 +#: library/typing.rst:925 msgid "Other special directives" msgstr "" -#: library/typing.rst:924 +#: library/typing.rst:927 msgid "" "These are not used in annotations. They are building blocks for declaring " "types." msgstr "" -#: library/typing.rst:928 +#: library/typing.rst:931 msgid "Typed version of :func:`collections.namedtuple`." msgstr "Version typée de :func:`collections.namedtuple`." -#: library/typing.rst:936 +#: library/typing.rst:939 msgid "This is equivalent to::" msgstr "Ce qui est équivalent à ::" -#: library/typing.rst:940 +#: library/typing.rst:943 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" "Pour assigner une valeur par défaut à un champ, vous pouvez lui donner dans " "le corps de classe ::" -#: library/typing.rst:949 +#: library/typing.rst:952 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" "Les champs avec une valeur par défaut doivent venir après tous les champs " "sans valeur par défaut." -#: library/typing.rst:951 +#: library/typing.rst:954 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 " @@ -1141,28 +1142,28 @@ msgstr "" "défaut sont dans l'attribut ``_field_defaults`` qui font partie de l'API " "*namedtuple*.)" -#: library/typing.rst:957 +#: library/typing.rst:960 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" "Les sous-classes de ``NamedTuple`` peuvent aussi avoir des *docstrings* et " "des méthodes ::" -#: library/typing.rst:967 +#: library/typing.rst:970 msgid "Backward-compatible usage::" msgstr "Utilisation rétrocompatible ::" -#: library/typing.rst:971 +#: library/typing.rst:974 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" "Ajout de la gestion de la syntaxe d'annotation variable de la :pep:`526`." -#: library/typing.rst:974 +#: library/typing.rst:977 msgid "Added support for default values, methods, and docstrings." msgstr "" "Ajout de la prise en charge des valeurs par défaut, des méthodes et des " "chaînes de caractères *docstrings*." -#: library/typing.rst:977 +#: library/typing.rst:980 msgid "" "The ``_field_types`` and ``__annotations__`` attributes are now regular " "dictionaries instead of instances of ``OrderedDict``." @@ -1170,7 +1171,7 @@ msgstr "" "Les attributs ``_field_types`` et ``__annotations__`` sont maintenant des " "dictionnaires standards au lieu d'instances de ``OrderedDict``." -#: library/typing.rst:981 +#: library/typing.rst:984 #, fuzzy msgid "" "Removed the ``_field_types`` attribute in favor of the more standard " @@ -1179,7 +1180,7 @@ msgstr "" "rend l'attribut ``_field_types`` obsolète en faveur de l'attribut plus " "standard ``__annotations__`` qui a la même information." -#: library/typing.rst:987 +#: library/typing.rst:990 #, fuzzy msgid "" "A helper function to indicate a distinct type to a typechecker, see :ref:" @@ -1190,7 +1191,7 @@ msgstr "" "vérificateur de type, voir :ref:`distinct`. Lors de l'exécution, elle " "renvoie une fonction qui renvoie son argument. Utilisation ::" -#: library/typing.rst:998 +#: library/typing.rst:1001 #, fuzzy msgid "" "Special construct to add type hints to a dictionary. At runtime it is a " @@ -1199,7 +1200,7 @@ msgstr "" "Un simple espace de nommage typé. À l'exécution, c'est l'équivalent d'un " "simple :class:`dict`." -#: library/typing.rst:1001 +#: library/typing.rst:1004 #, fuzzy msgid "" "``TypedDict`` declares a dictionary type that expects all of its instances " @@ -1213,7 +1214,7 @@ msgstr "" "l'exécution mais n'est appliquée que par les vérificateurs de type. " "Utilisation ::" -#: library/typing.rst:1017 +#: library/typing.rst:1020 msgid "" "The type info for introspection can be accessed via ``Point2D." "__annotations__`` and ``Point2D.__total__``. To allow using this feature " @@ -1226,13 +1227,13 @@ msgstr "" "pas en compte la :pep:`526`, ``TypedDict`` gère deux formes syntaxiques " "équivalentes supplémentaires ::" -#: library/typing.rst:1025 +#: library/typing.rst:1028 msgid "" "By default, all keys must be present in a TypedDict. It is possible to " "override this by specifying totality. Usage::" msgstr "" -#: library/typing.rst:1033 +#: library/typing.rst:1036 msgid "" "This means that a point2D TypedDict can have any of the keys omitted. A type " "checker is only expected to support a literal False or True as the value of " @@ -1240,7 +1241,7 @@ msgid "" "class body be required." msgstr "" -#: library/typing.rst:1038 +#: library/typing.rst:1041 #, fuzzy msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict``." @@ -1248,15 +1249,15 @@ msgstr "" "Voir la :pep:`589` pour plus d'exemples et de règles détaillées " "d'utilisation de ``TypedDict`` avec les vérificateurs de type." -#: library/typing.rst:1043 +#: library/typing.rst:1046 msgid "Generic concrete collections" msgstr "" -#: library/typing.rst:1046 +#: library/typing.rst:1049 msgid "Corresponding to built-in types" msgstr "" -#: library/typing.rst:1050 +#: library/typing.rst:1053 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 " @@ -1266,15 +1267,15 @@ msgstr "" "retour. Pour annoter les arguments, il est préférable d'utiliser un type de " "collection abstraite tel que :class:`Mapping`." -#: library/typing.rst:1054 +#: library/typing.rst:1057 msgid "This type can be used as follows::" msgstr "Ce type peut être utilisé comme suit ::" -#: library/typing.rst:1059 +#: library/typing.rst:1062 msgid ":class:`builtins.dict ` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1064 +#: library/typing.rst:1067 msgid "" "Generic version of :class:`list`. Useful for annotating return types. To " "annotate arguments it is preferred to use an abstract collection type such " @@ -1284,15 +1285,15 @@ msgstr "" "Pour annoter les arguments, il est préférable d'utiliser un type de " "collection abstraite tel que :class:`Sequence` ou :class:`Iterable`." -#: library/typing.rst:1069 +#: library/typing.rst:1072 msgid "This type may be used as follows::" msgstr "Ce type peut être utilisé comme suit ::" -#: library/typing.rst:1079 +#: library/typing.rst:1082 msgid ":class:`builtins.list ` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1084 +#: library/typing.rst:1087 msgid "" "A generic version of :class:`builtins.set `. Useful for annotating " "return types. To annotate arguments it is preferred to use an abstract " @@ -1302,72 +1303,72 @@ msgstr "" "types de retour. Pour annoter les arguments, il est préférable d'utiliser un " "type de collection abstraite tel que :class:`AbstractSet`." -#: library/typing.rst:1088 +#: library/typing.rst:1091 msgid ":class:`builtins.set ` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1093 +#: library/typing.rst:1096 msgid "A generic version of :class:`builtins.frozenset `." msgstr "Une version générique de :class:`builtins.frozenset `." -#: library/typing.rst:1095 +#: library/typing.rst:1098 msgid "" ":class:`builtins.frozenset ` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1098 +#: library/typing.rst:1101 msgid ":data:`Tuple` is a special form." msgstr "" -#: library/typing.rst:1101 +#: library/typing.rst:1104 msgid "Corresponding to types in :mod:`collections`" msgstr "" -#: library/typing.rst:1105 +#: library/typing.rst:1108 msgid "A generic version of :class:`collections.defaultdict`." msgstr "Une version générique de :class:`collections.defaultdict`." -#: library/typing.rst:1109 +#: library/typing.rst:1112 msgid ":class:`collections.defaultdict` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1114 +#: library/typing.rst:1117 msgid "A generic version of :class:`collections.OrderedDict`." msgstr "Une version générique de :class:`collections.OrderedDict`." -#: library/typing.rst:1118 +#: library/typing.rst:1121 msgid ":class:`collections.OrderedDict` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1123 +#: library/typing.rst:1126 msgid "A generic version of :class:`collections.ChainMap`." msgstr "Une version générique de :class:`collections.ChainMap`." -#: library/typing.rst:1128 +#: library/typing.rst:1131 msgid ":class:`collections.ChainMap` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1133 +#: library/typing.rst:1136 msgid "A generic version of :class:`collections.Counter`." msgstr "Une version générique de :class:`collections.Counter`." -#: library/typing.rst:1138 +#: library/typing.rst:1141 msgid ":class:`collections.Counter` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1143 +#: library/typing.rst:1146 msgid "A generic version of :class:`collections.deque`." msgstr "Une version générique de :class:`collections.deque`." -#: library/typing.rst:1148 +#: library/typing.rst:1151 msgid ":class:`collections.deque` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1152 +#: library/typing.rst:1155 msgid "Other concrete types" msgstr "" -#: library/typing.rst:1158 +#: library/typing.rst:1161 #, fuzzy msgid "" "Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " @@ -1378,7 +1379,7 @@ msgstr "" "``BinaryIO(IO[bytes])`` représentent les types de flux d'entrées-sorties " "tels que renvoyés par :func:`open`." -#: library/typing.rst:1166 +#: library/typing.rst:1169 #, fuzzy msgid "" "These type aliases correspond to the return types from :func:`re.compile` " @@ -1392,13 +1393,13 @@ msgstr "" "génériques dans ``AnyStr`` et peuvent être rendus spécifiques en écrivant " "``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]`` ou ``Match[bytes]``." -#: library/typing.rst:1173 +#: library/typing.rst:1176 msgid "" "Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" "pep:`585`." msgstr "" -#: library/typing.rst:1178 +#: library/typing.rst:1181 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 " @@ -1408,7 +1409,7 @@ msgstr "" "compatibilité ascendante du code Python 2 : en Python 2, ``Text`` est un " "alias pour ``unicode``." -#: library/typing.rst:1182 +#: library/typing.rst:1185 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::" @@ -1416,28 +1417,28 @@ msgstr "" "Utilisez ``Text`` pour indiquer qu'une valeur doit contenir une chaîne " "Unicode d'une manière compatible avec Python 2 et Python 3 ::" -#: library/typing.rst:1191 +#: library/typing.rst:1194 #, fuzzy msgid "Abstract Base Classes" msgstr "Classe de base abstraite pour les types génériques." -#: library/typing.rst:1194 +#: library/typing.rst:1197 msgid "Corresponding to collections in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:1198 +#: library/typing.rst:1201 msgid "A generic version of :class:`collections.abc.Set`." msgstr "Une version générique de :class:`collections.abc.Set`." -#: library/typing.rst:1200 +#: library/typing.rst:1203 msgid ":class:`collections.abc.Set` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1205 +#: library/typing.rst:1208 msgid "A generic version of :class:`collections.abc.ByteString`." msgstr "Une version générique de :class:`collections.abc.ByteString`." -#: library/typing.rst:1207 +#: library/typing.rst:1210 #, fuzzy msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" @@ -1446,7 +1447,7 @@ msgstr "" "Ce type représente les types :class:`bytes`, :class:`bytearray` et :class:" "`memoryview`." -#: library/typing.rst:1210 +#: library/typing.rst:1213 msgid "" "As a shorthand for this type, :class:`bytes` can be used to annotate " "arguments of any of the types mentioned above." @@ -1454,45 +1455,45 @@ msgstr "" "Comme abréviation pour ce type, :class:`bytes` peut être utilisé pour " "annoter des arguments de n'importe quel type mentionné ci-dessus." -#: library/typing.rst:1213 +#: library/typing.rst:1216 msgid "" ":class:`collections.abc.ByteString` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1218 +#: library/typing.rst:1221 msgid "A generic version of :class:`collections.abc.Collection`" msgstr "Une version générique de :class:`collections.abc.Collection`" -#: library/typing.rst:1222 +#: library/typing.rst:1225 msgid "" ":class:`collections.abc.Collection` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1227 +#: library/typing.rst:1230 msgid "A generic version of :class:`collections.abc.Container`." msgstr "Une version générique de :class:`collections.abc.Container`." -#: library/typing.rst:1229 +#: library/typing.rst:1232 msgid ":class:`collections.abc.Container` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1234 +#: library/typing.rst:1237 msgid "A generic version of :class:`collections.abc.ItemsView`." msgstr "Une version générique de :class:`collections.abc.ItemsView`." -#: library/typing.rst:1236 +#: library/typing.rst:1239 msgid ":class:`collections.abc.ItemsView` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1241 +#: library/typing.rst:1244 msgid "A generic version of :class:`collections.abc.KeysView`." msgstr "Une version générique de :class:`collections.abc.KeysView`." -#: library/typing.rst:1243 +#: library/typing.rst:1246 msgid ":class:`collections.abc.KeysView` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1248 +#: library/typing.rst:1251 msgid "" "A generic version of :class:`collections.abc.Mapping`. This type can be used " "as follows::" @@ -1500,84 +1501,84 @@ msgstr "" "Une version générique de :class:`collections.abc.Mapping`. Ce type peut être " "utilisé comme suit ::" -#: library/typing.rst:1254 +#: library/typing.rst:1257 msgid ":class:`collections.abc.Mapping` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1259 +#: library/typing.rst:1262 msgid "A generic version of :class:`collections.abc.MappingView`." msgstr "Une version générique de :class:`collections.abc.MappingView`." -#: library/typing.rst:1261 +#: library/typing.rst:1264 msgid "" ":class:`collections.abc.MappingView` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1266 +#: library/typing.rst:1269 msgid "A generic version of :class:`collections.abc.MutableMapping`." msgstr "Une version générique de :class:`collections.abc.MutableMapping`." -#: library/typing.rst:1268 +#: library/typing.rst:1271 msgid "" ":class:`collections.abc.MutableMapping` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1273 +#: library/typing.rst:1276 msgid "A generic version of :class:`collections.abc.MutableSequence`." msgstr "Une version générique de :class:`collections.abc.MutableSequence`." -#: library/typing.rst:1275 +#: library/typing.rst:1278 msgid "" ":class:`collections.abc.MutableSequence` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1280 +#: library/typing.rst:1283 msgid "A generic version of :class:`collections.abc.MutableSet`." msgstr "Une version générique de :class:`collections.abc.MutableSet`." -#: library/typing.rst:1282 +#: library/typing.rst:1285 msgid "" ":class:`collections.abc.MutableSet` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1287 +#: library/typing.rst:1290 msgid "A generic version of :class:`collections.abc.Sequence`." msgstr "Une version générique de :class:`collections.abc.Sequence`." -#: library/typing.rst:1289 +#: library/typing.rst:1292 msgid ":class:`collections.abc.Sequence` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1294 +#: library/typing.rst:1297 msgid "A generic version of :class:`collections.abc.ValuesView`." msgstr "Une version générique de :class:`collections.abc.ValuesView`." -#: library/typing.rst:1296 +#: library/typing.rst:1299 msgid "" ":class:`collections.abc.ValuesView` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1300 +#: library/typing.rst:1303 msgid "Corresponding to other types in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:1304 +#: library/typing.rst:1307 msgid "A generic version of :class:`collections.abc.Iterable`." msgstr "Une version générique de :class:`collections.abc.Iterable`." -#: library/typing.rst:1306 +#: library/typing.rst:1309 msgid ":class:`collections.abc.Iterable` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1311 +#: library/typing.rst:1314 msgid "A generic version of :class:`collections.abc.Iterator`." msgstr "Une version générique de :class:`collections.abc.Iterator`." -#: library/typing.rst:1313 +#: library/typing.rst:1316 msgid ":class:`collections.abc.Iterator` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1318 +#: library/typing.rst:1321 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" @@ -1585,7 +1586,7 @@ msgstr "" "Un générateur peut être annoté par le type générique ``Generator[YieldType, " "SendType, ReturnType]``. Par exemple ::" -#: library/typing.rst:1327 +#: library/typing.rst:1330 msgid "" "Note that unlike many other generics in the typing module, the ``SendType`` " "of :class:`Generator` behaves contravariantly, not covariantly or " @@ -1595,7 +1596,7 @@ msgstr "" "*typing*, le ``SendType`` de :class:`Generator` se comporte de manière " "contravariante, pas de manière covariante ou invariante." -#: library/typing.rst:1331 +#: library/typing.rst:1334 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" @@ -1603,7 +1604,7 @@ msgstr "" "Si votre générateur ne donne que des valeurs, réglez les paramètres " "``SendType`` et ``ReturnType`` sur ``None`` ::" -#: library/typing.rst:1339 +#: library/typing.rst:1342 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" @@ -1611,32 +1612,32 @@ msgstr "" "Alternativement, annotez votre générateur comme ayant un type de retour soit " "``Iterable[YieldType]`` ou ``Iterator[YieldType]`` ::" -#: library/typing.rst:1347 +#: library/typing.rst:1350 msgid ":class:`collections.abc.Generator` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1352 +#: library/typing.rst:1355 msgid "An alias to :class:`collections.abc.Hashable`" msgstr "Un alias pour :class:`collections.abc.Hashable`" -#: library/typing.rst:1356 +#: library/typing.rst:1359 msgid "A generic version of :class:`collections.abc.Reversible`." msgstr "Une version générique de :class:`collections.abc.Reversible`." -#: library/typing.rst:1358 +#: library/typing.rst:1361 msgid "" ":class:`collections.abc.Reversible` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1363 +#: library/typing.rst:1366 msgid "An alias to :class:`collections.abc.Sized`" msgstr "Un alias pour :class:`collections.abc.Sized`" -#: library/typing.rst:1366 +#: library/typing.rst:1369 msgid "Asynchronous programming" msgstr "" -#: library/typing.rst:1370 +#: library/typing.rst:1373 msgid "" "A generic version of :class:`collections.abc.Coroutine`. The variance and " "order of type variables correspond to those of :class:`Generator`, for " @@ -1646,11 +1647,11 @@ msgstr "" "l'ordre des variables de type correspondent à ceux de la classe :class:" "`Generator`, par exemple ::" -#: library/typing.rst:1383 +#: library/typing.rst:1386 msgid ":class:`collections.abc.Coroutine` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1388 +#: library/typing.rst:1391 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" @@ -1658,7 +1659,7 @@ msgstr "" "Un générateur asynchrone peut être annoté par le type générique " "``AsyncGenerator[YieldType, SendType]``. Par exemple ::" -#: library/typing.rst:1397 +#: library/typing.rst:1400 msgid "" "Unlike normal generators, async generators cannot return a value, so there " "is no ``ReturnType`` type parameter. As with :class:`Generator`, the " @@ -1669,14 +1670,14 @@ msgstr "" "``ReturnType``. Comme avec :class:`Generator`, le ``SendType`` se comporte " "de manière contravariante." -#: library/typing.rst:1401 +#: library/typing.rst:1404 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" "Si votre générateur ne donne que des valeurs, réglez le paramètre " "``SendType`` sur ``None`` ::" -#: library/typing.rst:1409 +#: library/typing.rst:1412 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" @@ -1684,71 +1685,71 @@ msgstr "" "Alternativement, annotez votre générateur comme ayant un type de retour soit " "``AsyncIterable[YieldType]`` ou ``AsyncIterator[YieldType]`` ::" -#: library/typing.rst:1419 +#: library/typing.rst:1422 msgid "" ":class:`collections.abc.AsyncGenerator` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1424 +#: library/typing.rst:1427 msgid "A generic version of :class:`collections.abc.AsyncIterable`." msgstr "Une version générique de :class:`collections.abc.AsyncIterable`." -#: library/typing.rst:1428 +#: library/typing.rst:1431 msgid "" ":class:`collections.abc.AsyncIterable` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1433 +#: library/typing.rst:1436 msgid "A generic version of :class:`collections.abc.AsyncIterator`." msgstr "Une version générique de :class:`collections.abc.AsyncIterator`." -#: library/typing.rst:1437 +#: library/typing.rst:1440 msgid "" ":class:`collections.abc.AsyncIterator` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1442 +#: library/typing.rst:1445 msgid "A generic version of :class:`collections.abc.Awaitable`." msgstr "Une version générique de :class:`collections.abc.Awaitable`." -#: library/typing.rst:1446 +#: library/typing.rst:1449 msgid ":class:`collections.abc.Awaitable` now supports ``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1451 +#: library/typing.rst:1454 msgid "Context manager types" msgstr "" -#: library/typing.rst:1455 +#: library/typing.rst:1458 msgid "A generic version of :class:`contextlib.AbstractContextManager`." msgstr "Une version générique de :class:`contextlib.AbstractContextManager`." -#: library/typing.rst:1460 +#: library/typing.rst:1463 msgid "" ":class:`collections.contextlib.AbstractContextManager` now supports ``[]``. " "See :pep:`585`." msgstr "" -#: library/typing.rst:1465 +#: library/typing.rst:1468 msgid "A generic version of :class:`contextlib.AbstractAsyncContextManager`." msgstr "" "Une version générique de :class:`contextlib.AbstractAsyncContextManager`." -#: library/typing.rst:1470 +#: library/typing.rst:1473 msgid "" ":class:`collections.contextlib.AbstractAsyncContextManager` now supports " "``[]``. See :pep:`585`." msgstr "" -#: library/typing.rst:1474 +#: library/typing.rst:1477 msgid "Protocols" msgstr "" -#: library/typing.rst:1476 +#: library/typing.rst:1479 msgid "These protocols are decorated with :func:`runtime_checkable`." msgstr "" -#: library/typing.rst:1480 +#: library/typing.rst:1483 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." @@ -1756,27 +1757,27 @@ msgstr "" "Une ABC avec une méthode abstraite ``__abs__`` qui est covariante dans son " "type de retour." -#: library/typing.rst:1485 +#: library/typing.rst:1488 msgid "An ABC with one abstract method ``__bytes__``." msgstr "Une ABC avec une méthode abstraite ``__bytes__``." -#: library/typing.rst:1489 +#: library/typing.rst:1492 msgid "An ABC with one abstract method ``__complex__``." msgstr "Une ABC avec une méthode abstraite ``__complex__``." -#: library/typing.rst:1493 +#: library/typing.rst:1496 msgid "An ABC with one abstract method ``__float__``." msgstr "Une ABC avec une méthode abstraite ``__float__``." -#: library/typing.rst:1497 +#: library/typing.rst:1500 msgid "An ABC with one abstract method ``__index__``." msgstr "Une ABC avec une méthode abstraite ``__index__``." -#: library/typing.rst:1503 +#: library/typing.rst:1506 msgid "An ABC with one abstract method ``__int__``." msgstr "Une ABC avec une méthode abstraite ``__int__``." -#: library/typing.rst:1507 +#: library/typing.rst:1510 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." @@ -1784,16 +1785,16 @@ msgstr "" "Une ABC avec une méthode abstraite ``__round__`` qui est covariante dans son " "type de retour." -#: library/typing.rst:1511 +#: library/typing.rst:1514 #, fuzzy msgid "Functions and decorators" msgstr "Classes, fonctions et décorateurs" -#: library/typing.rst:1515 +#: library/typing.rst:1518 msgid "Cast a value to a type." msgstr "Convertit une valeur en un type." -#: library/typing.rst:1517 +#: library/typing.rst:1520 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 " @@ -1804,7 +1805,7 @@ msgstr "" "intentionnellement, rien n'est vérifié (afin que cela soit aussi rapide que " "possible)." -#: library/typing.rst:1524 +#: library/typing.rst:1527 msgid "" "The ``@overload`` decorator allows describing functions and methods that " "support multiple different combinations of argument types. A series of " @@ -1830,13 +1831,13 @@ msgstr "" "`NotImplementedError`. Un exemple de surcharge qui donne un type plus précis " "que celui qui peut être exprimé à l'aide d'une variable union ou type ::" -#: library/typing.rst:1548 +#: library/typing.rst:1551 msgid "See :pep:`484` for details and comparison with other typing semantics." msgstr "" "Voir la :pep:`484` pour plus de détails et la comparaison avec d'autres " "sémantiques de typage." -#: library/typing.rst:1552 +#: library/typing.rst:1555 msgid "" "A decorator to indicate to type checkers that the decorated method cannot be " "overridden, and the decorated class cannot be subclassed. For example::" @@ -1845,13 +1846,13 @@ msgstr "" "décorée ne peut pas être remplacée et que la classe décorée ne peut pas être " "sous-classée. Par exemple ::" -#: library/typing.rst:1577 +#: library/typing.rst:1580 msgid "Decorator to indicate that annotations are not type hints." msgstr "" "Décorateur pour indiquer que les annotations ne sont pas des indications de " "type." -#: library/typing.rst:1579 +#: library/typing.rst:1582 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 " @@ -1862,16 +1863,16 @@ msgstr "" "méthodes définies dans cette classe (mais pas aux méthodes définies dans ses " "superclasses ou sous-classes)." -#: library/typing.rst:1583 +#: library/typing.rst:1586 msgid "This mutates the function(s) in place." msgstr "Cela fait muter la ou les fonctions en place." -#: library/typing.rst:1587 +#: library/typing.rst:1590 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" "Décorateur pour donner à un autre décorateur l'effet :func:`no_type_check`." -#: library/typing.rst:1589 +#: library/typing.rst:1592 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." @@ -1879,13 +1880,13 @@ msgstr "" "Ceci enveloppe le décorateur avec quelque chose qui enveloppe la fonction " "décorée dans :func:`no_type_check`." -#: library/typing.rst:1594 +#: library/typing.rst:1597 msgid "Decorator to mark a class or function to be unavailable at runtime." msgstr "" "Décorateur pour marquer une classe ou une fonction comme étant indisponible " "au moment de l'exécution." -#: library/typing.rst:1596 +#: library/typing.rst:1599 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 " @@ -1896,7 +1897,7 @@ msgstr "" "d'annotations de type (*type stub file*, en anglais) si une implémentation " "renvoie une instance d'une classe privée ::" -#: library/typing.rst:1607 +#: library/typing.rst:1610 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." @@ -1904,11 +1905,11 @@ msgstr "" "Notez qu'il n'est pas recommandé de renvoyer les instances des classes " "privées. Il est généralement préférable de rendre ces classes publiques." -#: library/typing.rst:1611 +#: library/typing.rst:1614 msgid "Introspection helpers" msgstr "" -#: library/typing.rst:1615 +#: library/typing.rst:1618 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." @@ -1916,7 +1917,7 @@ msgstr "" "renvoie un dictionnaire contenant des indications de type pour une fonction, " "une méthode, un module ou un objet de classe." -#: library/typing.rst:1618 +#: library/typing.rst:1621 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " @@ -1933,24 +1934,24 @@ msgstr "" "classe ``C``, renvoie un dictionnaire construit en fusionnant toutes les " "``__annotations__`` en parcourant ``C.__mro__`` en ordre inverse." -#: library/typing.rst:1626 +#: library/typing.rst:1629 msgid "" "The function recursively replaces all ``Annotated[T, ...]`` with ``T``, " "unless ``include_extras`` is set to ``True`` (see :class:`Annotated` for " "more information). For example::" msgstr "" -#: library/typing.rst:1639 +#: library/typing.rst:1642 msgid "Added ``include_extras`` parameter as part of :pep:`593`." msgstr "" -#: library/typing.rst:1645 +#: library/typing.rst:1648 msgid "Provide basic introspection for generic types and special typing forms." msgstr "" "Fournit une introspection de base pour les types génériques et les formes " "spéciales de typage." -#: library/typing.rst:1647 +#: library/typing.rst:1650 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:" @@ -1962,7 +1963,7 @@ msgstr "" "native ou de :mod:`collections`, il est normalisé en la classe originale. " "Pour les objets non gérés, renvoie la paire ``None`` , ``()``. Exemples ::" -#: library/typing.rst:1663 +#: library/typing.rst:1666 msgid "" "A class used for internal typing representation of string forward " "references. For example, ``List[\"SomeClass\"]`` is implicitly transformed " @@ -1976,11 +1977,11 @@ msgstr "" "instanciée par un utilisateur, mais peut être utilisée par des outils " "d'introspection." -#: library/typing.rst:1669 +#: library/typing.rst:1672 msgid "Constant" msgstr "" -#: library/typing.rst:1673 +#: library/typing.rst:1676 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime. Usage::" @@ -1988,7 +1989,7 @@ msgstr "" "Constante spéciale qui vaut ``True`` pour les vérificateurs de type " "statiques tiers et ``False`` à l'exécution. Utilisation ::" -#: library/typing.rst:1682 +#: library/typing.rst:1685 #, fuzzy msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " @@ -2003,7 +2004,7 @@ msgstr "" "sorte que la deuxième annotation n'a pas besoin d'être placée entre " "guillemets." -#: library/typing.rst:1689 +#: library/typing.rst:1692 msgid "" "If ``from __future__ import annotations`` is used in Python 3.7 or later, " "annotations are not evaluated at function definition time. Instead, the are " diff --git a/library/unittest.po b/library/unittest.po index c0ca93cb..25b7b691 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-11 11:27+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -1122,7 +1122,7 @@ msgstr "" "question. ``setUpClass`` est appelée avec la classe comme seul argument et " "doit être décorée comme une :func:`classmethod` ::" -#: library/unittest.rst:743 library/unittest.rst:758 +#: library/unittest.rst:758 msgid "See `Class and Module Fixtures`_ for more details." msgstr "Voir `Class and Module Fixtures`_ pour plus de détails." @@ -1217,17 +1217,15 @@ msgstr "" "les plus couramment utilisées (voir les tableaux ci-dessous pour plus de " "méthodes d'assertion) :" -#: library/unittest.rst:814 library/unittest.rst:936 library/unittest.rst:1128 -#: library/unittest.rst:1255 +#: library/unittest.rst:936 library/unittest.rst:1255 msgid "Method" msgstr "Méthode" -#: library/unittest.rst:814 library/unittest.rst:936 library/unittest.rst:1128 +#: library/unittest.rst:936 library/unittest.rst:1128 msgid "Checks that" msgstr "Vérifie que" -#: library/unittest.rst:814 library/unittest.rst:936 library/unittest.rst:1128 -#: library/unittest.rst:1255 +#: library/unittest.rst:936 library/unittest.rst:1255 msgid "New in" msgstr "Disponible en" @@ -1271,14 +1269,10 @@ msgstr ":meth:`assertIs(a, b) `" msgid "``a is b``" msgstr "``a is b``" -#: library/unittest.rst:828 library/unittest.rst:831 library/unittest.rst:834 -#: library/unittest.rst:837 library/unittest.rst:840 library/unittest.rst:843 -#: library/unittest.rst:941 library/unittest.rst:1136 library/unittest.rst:1139 -#: library/unittest.rst:1142 library/unittest.rst:1145 -#: library/unittest.rst:1148 library/unittest.rst:1257 -#: library/unittest.rst:1260 library/unittest.rst:1263 -#: library/unittest.rst:1266 library/unittest.rst:1269 -#: library/unittest.rst:1272 +#: library/unittest.rst:831 library/unittest.rst:837 library/unittest.rst:843 +#: library/unittest.rst:1136 library/unittest.rst:1142 +#: library/unittest.rst:1148 library/unittest.rst:1260 +#: library/unittest.rst:1266 library/unittest.rst:1272 msgid "3.1" msgstr "3.1" @@ -1330,8 +1324,7 @@ msgstr ":meth:`assertIsInstance(a, b) `" msgid "``isinstance(a, b)``" msgstr "``isinstance(a, b)``" -#: library/unittest.rst:846 library/unittest.rst:849 library/unittest.rst:944 -#: library/unittest.rst:947 library/unittest.rst:1151 library/unittest.rst:1154 +#: library/unittest.rst:849 library/unittest.rst:947 library/unittest.rst:1154 msgid "3.2" msgstr "3.2" @@ -1569,8 +1562,7 @@ msgstr "" msgid "Added the :attr:`exception` attribute." msgstr "Ajout de l'attribut :attr:`exception`." -#: library/unittest.rst:990 library/unittest.rst:1016 library/unittest.rst:1057 -#: library/unittest.rst:1080 +#: library/unittest.rst:1016 library/unittest.rst:1080 msgid "Added the *msg* keyword argument when used as a context manager." msgstr "" "Ajout de l'argument *msg* comme mot-clé lorsqu'il est utilisé comme " @@ -1589,7 +1581,7 @@ msgstr "" "expression rationnelle appropriée pour être utilisée par :func:`re.search`. " "Exemples ::" -#: library/unittest.rst:1005 library/unittest.rst:1073 +#: library/unittest.rst:1073 msgid "or::" msgstr "ou ::" @@ -3080,7 +3072,7 @@ msgstr "" "tests. Aucune méthode sur l'objet résultant n'est nécessaire. La valeur par " "défaut est la classe :class:`TestSuite`." -#: library/unittest.rst:1888 library/unittest.rst:1901 +#: library/unittest.rst:1901 msgid "This affects all the :meth:`loadTestsFrom\\*` methods." msgstr "Cela affecte toutes les méthodes :meth:`loadTestsFrom\\*`." diff --git a/library/urllib.parse.po b/library/urllib.parse.po index 50fdf2ad..1ca4ac11 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -97,74 +97,65 @@ msgid "" "accessed by index or as named attributes, which are:" msgstr "" -#: library/urllib.parse.rst:96 library/urllib.parse.rst:263 -#: library/urllib.parse.rst:360 +#: library/urllib.parse.rst:263 library/urllib.parse.rst:360 msgid "Attribute" msgstr "Attribut" -#: library/urllib.parse.rst:96 library/urllib.parse.rst:263 -#: library/urllib.parse.rst:360 +#: library/urllib.parse.rst:263 library/urllib.parse.rst:360 msgid "Index" msgstr "Index" -#: library/urllib.parse.rst:96 library/urllib.parse.rst:263 -#: library/urllib.parse.rst:360 +#: library/urllib.parse.rst:263 library/urllib.parse.rst:360 msgid "Value" msgstr "Valeur" -#: library/urllib.parse.rst:96 library/urllib.parse.rst:263 -#: library/urllib.parse.rst:360 +#: library/urllib.parse.rst:263 library/urllib.parse.rst:360 msgid "Value if not present" msgstr "" -#: library/urllib.parse.rst:98 library/urllib.parse.rst:265 +#: library/urllib.parse.rst:265 msgid ":attr:`scheme`" msgstr ":attr:`scheme`" -#: library/urllib.parse.rst:98 library/urllib.parse.rst:265 -#: library/urllib.parse.rst:362 +#: library/urllib.parse.rst:265 library/urllib.parse.rst:362 msgid "0" msgstr "0" -#: library/urllib.parse.rst:98 library/urllib.parse.rst:265 +#: library/urllib.parse.rst:265 msgid "URL scheme specifier" msgstr "" -#: library/urllib.parse.rst:98 library/urllib.parse.rst:265 +#: library/urllib.parse.rst:265 msgid "*scheme* parameter" msgstr "" -#: library/urllib.parse.rst:100 library/urllib.parse.rst:267 +#: library/urllib.parse.rst:267 msgid ":attr:`netloc`" msgstr ":attr:`netloc`" -#: library/urllib.parse.rst:100 library/urllib.parse.rst:267 -#: library/urllib.parse.rst:364 +#: library/urllib.parse.rst:267 library/urllib.parse.rst:364 msgid "1" msgstr "1" -#: library/urllib.parse.rst:100 library/urllib.parse.rst:267 +#: library/urllib.parse.rst:267 msgid "Network location part" msgstr "" -#: library/urllib.parse.rst:100 library/urllib.parse.rst:102 -#: library/urllib.parse.rst:104 library/urllib.parse.rst:107 -#: library/urllib.parse.rst:109 library/urllib.parse.rst:267 -#: library/urllib.parse.rst:269 library/urllib.parse.rst:271 -#: library/urllib.parse.rst:273 library/urllib.parse.rst:362 -#: library/urllib.parse.rst:364 +#: library/urllib.parse.rst:102 library/urllib.parse.rst:107 +#: library/urllib.parse.rst:267 library/urllib.parse.rst:271 +#: library/urllib.parse.rst:362 library/urllib.parse.rst:364 msgid "empty string" msgstr "" -#: library/urllib.parse.rst:102 library/urllib.parse.rst:269 +#: library/urllib.parse.rst:269 msgid ":attr:`path`" msgstr ":attr:`path`" -#: library/urllib.parse.rst:102 library/urllib.parse.rst:269 +#: library/urllib.parse.rst:269 msgid "2" msgstr "2" -#: library/urllib.parse.rst:102 library/urllib.parse.rst:269 +#: library/urllib.parse.rst:269 msgid "Hierarchical path" msgstr "" @@ -172,7 +163,7 @@ msgstr "" msgid ":attr:`params`" msgstr ":attr:`params`" -#: library/urllib.parse.rst:104 library/urllib.parse.rst:271 +#: library/urllib.parse.rst:271 msgid "3" msgstr "3" @@ -180,20 +171,19 @@ msgstr "3" msgid "Parameters for last path element" msgstr "" -#: library/urllib.parse.rst:107 library/urllib.parse.rst:271 +#: library/urllib.parse.rst:271 msgid ":attr:`query`" msgstr ":attr:`query`" -#: library/urllib.parse.rst:107 library/urllib.parse.rst:273 +#: library/urllib.parse.rst:273 msgid "4" msgstr "4" -#: library/urllib.parse.rst:107 library/urllib.parse.rst:271 +#: library/urllib.parse.rst:271 msgid "Query component" msgstr "" -#: library/urllib.parse.rst:109 library/urllib.parse.rst:273 -#: library/urllib.parse.rst:364 +#: library/urllib.parse.rst:273 library/urllib.parse.rst:364 msgid ":attr:`fragment`" msgstr ":attr:`fragment`" @@ -201,64 +191,61 @@ msgstr ":attr:`fragment`" msgid "5" msgstr "5" -#: library/urllib.parse.rst:109 library/urllib.parse.rst:273 -#: library/urllib.parse.rst:364 +#: library/urllib.parse.rst:273 library/urllib.parse.rst:364 msgid "Fragment identifier" msgstr "" -#: library/urllib.parse.rst:111 library/urllib.parse.rst:275 +#: library/urllib.parse.rst:275 msgid ":attr:`username`" msgstr ":attr:`username`" -#: library/urllib.parse.rst:111 library/urllib.parse.rst:275 +#: library/urllib.parse.rst:275 msgid "User name" msgstr "" -#: library/urllib.parse.rst:111 library/urllib.parse.rst:113 -#: library/urllib.parse.rst:115 library/urllib.parse.rst:117 -#: library/urllib.parse.rst:275 library/urllib.parse.rst:277 -#: library/urllib.parse.rst:279 library/urllib.parse.rst:281 +#: library/urllib.parse.rst:113 library/urllib.parse.rst:117 +#: library/urllib.parse.rst:277 library/urllib.parse.rst:281 msgid ":const:`None`" msgstr ":const:`None`" -#: library/urllib.parse.rst:113 library/urllib.parse.rst:277 +#: library/urllib.parse.rst:277 msgid ":attr:`password`" msgstr ":attr:`password`" -#: library/urllib.parse.rst:113 library/urllib.parse.rst:277 +#: library/urllib.parse.rst:277 msgid "Password" msgstr "" -#: library/urllib.parse.rst:115 library/urllib.parse.rst:279 +#: library/urllib.parse.rst:279 msgid ":attr:`hostname`" msgstr ":attr:`hostname`" -#: library/urllib.parse.rst:115 library/urllib.parse.rst:279 +#: library/urllib.parse.rst:279 msgid "Host name (lower case)" msgstr "" -#: library/urllib.parse.rst:117 library/urllib.parse.rst:281 +#: library/urllib.parse.rst:281 msgid ":attr:`port`" msgstr ":attr:`port`" -#: library/urllib.parse.rst:117 library/urllib.parse.rst:281 +#: library/urllib.parse.rst:281 msgid "Port number as integer, if present" msgstr "" -#: library/urllib.parse.rst:121 library/urllib.parse.rst:285 +#: library/urllib.parse.rst:285 msgid "" "Reading the :attr:`port` attribute will raise a :exc:`ValueError` if an " "invalid port is specified in the URL. See section :ref:`urlparse-result-" "object` for more information on the result object." msgstr "" -#: library/urllib.parse.rst:125 library/urllib.parse.rst:289 +#: library/urllib.parse.rst:289 msgid "" "Unmatched square brackets in the :attr:`netloc` attribute will raise a :exc:" "`ValueError`." msgstr "" -#: library/urllib.parse.rst:128 library/urllib.parse.rst:292 +#: library/urllib.parse.rst:292 msgid "" "Characters in the :attr:`netloc` attribute that decompose under NFKC " "normalization (as used by the IDNA encoding) into any of ``/``, ``?``, " @@ -285,13 +272,13 @@ msgid "" "that support fragments existed." msgstr "" -#: library/urllib.parse.rst:159 library/urllib.parse.rst:297 +#: library/urllib.parse.rst:297 msgid "" "Out-of-range port numbers now raise :exc:`ValueError`, instead of returning :" "const:`None`." msgstr "" -#: library/urllib.parse.rst:163 library/urllib.parse.rst:301 +#: library/urllib.parse.rst:301 msgid "" "Characters that affect netloc parsing under NFKC normalization will now " "raise :exc:`ValueError`." @@ -305,7 +292,7 @@ msgid "" "lists of values for each name." msgstr "" -#: library/urllib.parse.rst:175 library/urllib.parse.rst:211 +#: library/urllib.parse.rst:211 msgid "" "The optional argument *keep_blank_values* is a flag indicating whether blank " "values in percent-encoded queries should be treated as blank strings. A true " @@ -314,21 +301,21 @@ msgid "" "treated as if they were not included." msgstr "" -#: library/urllib.parse.rst:181 library/urllib.parse.rst:217 +#: library/urllib.parse.rst:217 msgid "" "The optional argument *strict_parsing* is a flag indicating what to do with " "parsing errors. If false (the default), errors are silently ignored. If " "true, errors raise a :exc:`ValueError` exception." msgstr "" -#: library/urllib.parse.rst:185 library/urllib.parse.rst:221 +#: library/urllib.parse.rst:221 msgid "" "The optional *encoding* and *errors* parameters specify how to decode " "percent-encoded sequences into Unicode characters, as accepted by the :meth:" "`bytes.decode` method." msgstr "" -#: library/urllib.parse.rst:189 library/urllib.parse.rst:225 +#: library/urllib.parse.rst:225 msgid "" "The optional argument *max_num_fields* is the maximum number of fields to " "read. If set, then throws a :exc:`ValueError` if there are more than " @@ -341,11 +328,11 @@ msgid "" "parameter set to ``True``) to convert such dictionaries into query strings." msgstr "" -#: library/urllib.parse.rst:198 library/urllib.parse.rst:232 +#: library/urllib.parse.rst:232 msgid "Add *encoding* and *errors* parameters." msgstr "" -#: library/urllib.parse.rst:201 library/urllib.parse.rst:235 +#: library/urllib.parse.rst:235 msgid "Added *max_num_fields* parameter." msgstr "" @@ -381,7 +368,7 @@ msgid "" "returns a 5-item :term:`named tuple`::" msgstr "" -#: library/urllib.parse.rst:259 library/urllib.parse.rst:356 +#: library/urllib.parse.rst:356 msgid "" "The return value is a :term:`named tuple`, its items can be accessed by " "index or as named attributes:" @@ -625,8 +612,7 @@ msgid "" "quoted --- its default value is ``'/'``." msgstr "" -#: library/urllib.parse.rst:528 library/urllib.parse.rst:574 -#: library/urllib.parse.rst:603 +#: library/urllib.parse.rst:574 library/urllib.parse.rst:603 msgid "*string* may be either a :class:`str` or a :class:`bytes` object." msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index 0f78d864..423c735d 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -474,7 +474,7 @@ msgid "" "presented with a wrong Authentication scheme." msgstr "" -#: library/urllib.request.rst:373 library/urllib.request.rst:407 +#: library/urllib.request.rst:407 msgid "" "Handle authentication with the proxy. *password_mgr*, if given, should be " "something that is compatible with :class:`HTTPPasswordMgr`; refer to " @@ -542,7 +542,7 @@ msgstr "" msgid "A catch-all class to handle unknown URLs." msgstr "" -#: library/urllib.request.rst:454 library/urllib.request.rst:1149 +#: library/urllib.request.rst:1149 msgid "Process HTTP error responses." msgstr "" @@ -1157,8 +1157,8 @@ msgstr "" msgid "HTTPBasicAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:995 library/urllib.request.rst:1006 -#: library/urllib.request.rst:1031 library/urllib.request.rst:1042 +#: library/urllib.request.rst:1006 library/urllib.request.rst:1031 +#: library/urllib.request.rst:1042 msgid "Retry the request with authentication information, if available." msgstr "" diff --git a/library/uuid.po b/library/uuid.po index 49c3ace1..47fe11bb 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-07 19:56+0200\n" "Last-Translator: Nicolas Audebert \n" "Language-Team: FRENCH \n" @@ -185,7 +185,7 @@ msgstr "les 32 premiers bits de l'UUID" msgid ":attr:`time_mid`" msgstr ":attr:`time_mid`" -#: library/uuid.rst:103 library/uuid.rst:105 +#: library/uuid.rst:105 msgid "the next 16 bits of the UUID" msgstr "les 16 bits suivants de l'UUID" @@ -197,7 +197,7 @@ msgstr ":attr:`time_hi_version`" msgid ":attr:`clock_seq_hi_variant`" msgstr ":attr:`clock_seq_hi_variant`" -#: library/uuid.rst:107 library/uuid.rst:109 +#: library/uuid.rst:109 msgid "the next 8 bits of the UUID" msgstr "les 8 bits suivants de l'UUID" diff --git a/library/venv.po b/library/venv.po index 09805976..89ce3c9f 100644 --- a/library/venv.po +++ b/library/venv.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-01 18:36+0200\n" "Last-Translator: ZepmanBC \n" "Language-Team: FRENCH \n" @@ -518,11 +518,11 @@ msgstr "" msgid "``upgrade_deps`` -- Update the base venv modules to the latest on PyPI" msgstr "" -#: library/venv.rst:130 library/venv.rst:259 +#: library/venv.rst:259 msgid "Added the ``with_pip`` parameter" msgstr "Ajout du paramètre ``with_pip``" -#: library/venv.rst:133 library/venv.rst:262 +#: library/venv.rst:262 msgid "Added the ``prompt`` parameter" msgstr "Ajout du paramètre ``prompt``" diff --git a/library/warnings.po b/library/warnings.po index 72342766..f6359fed 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-01 13:16+0100\n" "Last-Translator: Stéphane Lambelin\n" "Language-Team: FRENCH \n" @@ -793,7 +793,7 @@ msgstr "" "`deprecation` plutôt qu'à la source de :func:`deprecation` elle-même " "(puisque celle-ci irait à l'encontre du but du message d'avertissement)." -#: library/warnings.rst:413 library/warnings.rst:436 +#: library/warnings.rst:436 msgid "" "*source*, if supplied, is the destroyed object which emitted a :exc:" "`ResourceWarning`." diff --git a/library/wave.po b/library/wave.po index 54cc78ca..22113128 100644 --- a/library/wave.po +++ b/library/wave.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-05-31 15:21+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -101,7 +101,7 @@ msgstr "" "close() ` ou la méthode :meth:`Wave_write.close() " "` est appelée." -#: library/wave.rst:47 library/wave.rst:163 +#: library/wave.rst:163 msgid "Added support for unseekable files." msgstr "Ajout de la gestion des fichiers non navigables." @@ -323,7 +323,7 @@ msgstr "" msgid "Write audio frames, without correcting *nframes*." msgstr "Écrit les trames audio sans corriger *nframes*." -#: library/wave.rst:224 library/wave.rst:235 +#: library/wave.rst:235 msgid "Any :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." diff --git a/library/webbrowser.po b/library/webbrowser.po index be0f76a9..c239651e 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\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 "Notes" msgid "``'mozilla'``" msgstr "``'mozilla'``" -#: library/webbrowser.rst:112 library/webbrowser.rst:114 +#: library/webbrowser.rst:114 msgid ":class:`Mozilla('mozilla')`" msgstr ":class:`Mozilla('mozilla')`" @@ -208,13 +208,11 @@ msgstr ":class:`BackgroundBrowser('skipstone')`" msgid "``'kfmclient'``" msgstr "``'kfmclient'``" -#: library/webbrowser.rst:124 library/webbrowser.rst:126 -#: library/webbrowser.rst:128 +#: library/webbrowser.rst:126 library/webbrowser.rst:128 msgid ":class:`Konqueror()`" msgstr ":class:`Konqueror()`" -#: library/webbrowser.rst:124 library/webbrowser.rst:126 -#: library/webbrowser.rst:128 +#: library/webbrowser.rst:126 library/webbrowser.rst:128 msgid "\\(1)" msgstr "\\(1)" @@ -302,7 +300,7 @@ msgstr "``'macosx'``" msgid ":class:`MacOSX('default')`" msgstr ":class:`MacOSX('default')`" -#: library/webbrowser.rst:146 library/webbrowser.rst:148 +#: library/webbrowser.rst:148 msgid "\\(3)" msgstr "\\(3)" diff --git a/library/winreg.po b/library/winreg.po index 3e11b84f..b22d11db 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -68,7 +68,7 @@ msgstr "" msgid "*key* is the predefined handle to connect to." msgstr "" -#: library/winreg.rst:53 library/winreg.rst:77 library/winreg.rst:109 +#: library/winreg.rst:77 library/winreg.rst:109 msgid "" "The return value is the handle of the opened key. If the function fails, an :" "exc:`OSError` exception is raised." @@ -80,56 +80,52 @@ msgid "" "arguments ``computer_name``, ``key``." msgstr "" -#: library/winreg.rst:58 library/winreg.rst:84 library/winreg.rst:118 -#: library/winreg.rst:139 library/winreg.rst:177 library/winreg.rst:208 -#: library/winreg.rst:243 library/winreg.rst:334 +#: library/winreg.rst:84 library/winreg.rst:139 library/winreg.rst:208 +#: library/winreg.rst:334 msgid "See :ref:`above `." msgstr "" -#: library/winreg.rst:64 library/winreg.rst:90 +#: library/winreg.rst:90 msgid "" "Creates or opens the specified key, returning a :ref:`handle object `." msgstr "" -#: library/winreg.rst:67 library/winreg.rst:93 library/winreg.rst:126 -#: library/winreg.rst:153 library/winreg.rst:185 library/winreg.rst:197 -#: library/winreg.rst:216 library/winreg.rst:265 library/winreg.rst:312 -#: library/winreg.rst:342 library/winreg.rst:368 library/winreg.rst:388 -#: library/winreg.rst:412 library/winreg.rst:437 library/winreg.rst:465 -#: library/winreg.rst:496 library/winreg.rst:513 library/winreg.rst:528 +#: library/winreg.rst:93 library/winreg.rst:153 library/winreg.rst:197 +#: library/winreg.rst:265 library/winreg.rst:342 library/winreg.rst:388 +#: library/winreg.rst:437 library/winreg.rst:496 library/winreg.rst:528 msgid "" "*key* is an already open key, or one of the predefined :ref:`HKEY_* " "constants `." msgstr "" -#: library/winreg.rst:70 library/winreg.rst:96 +#: library/winreg.rst:96 msgid "*sub_key* is a string that names the key this method opens or creates." msgstr "" -#: library/winreg.rst:72 library/winreg.rst:104 +#: library/winreg.rst:104 msgid "" "If *key* is one of the predefined keys, *sub_key* may be ``None``. In that " "case, the handle returned is the same key handle passed in to the function." msgstr "" -#: library/winreg.rst:75 library/winreg.rst:107 +#: library/winreg.rst:107 msgid "If the key already exists, this function opens the existing key." msgstr "" -#: library/winreg.rst:81 library/winreg.rst:113 +#: library/winreg.rst:113 msgid "" "Raises an :ref:`auditing event ` ``winreg.CreateKey`` with " "arguments ``key``, ``sub_key``, ``access``." msgstr "" -#: library/winreg.rst:83 library/winreg.rst:115 library/winreg.rst:330 +#: library/winreg.rst:115 library/winreg.rst:330 msgid "" "Raises an :ref:`auditing event ` ``winreg.OpenKey/result`` with " "argument ``key``." msgstr "" -#: library/winreg.rst:98 library/winreg.rst:160 +#: library/winreg.rst:160 msgid "" "*reserved* is a reserved integer, and must be zero. The default is zero." msgstr "" @@ -141,7 +137,7 @@ msgid "" "ref:`Access Rights ` for other allowed values." msgstr "" -#: library/winreg.rst:124 library/winreg.rst:145 +#: library/winreg.rst:145 msgid "Deletes the specified key." msgstr "" @@ -152,17 +148,17 @@ msgid "" "subkeys." msgstr "" -#: library/winreg.rst:132 library/winreg.rst:166 +#: library/winreg.rst:166 msgid "*This method can not delete keys with subkeys.*" msgstr "" -#: library/winreg.rst:134 library/winreg.rst:168 +#: library/winreg.rst:168 msgid "" "If the method succeeds, the entire key, including all of its values, is " "removed. If the method fails, an :exc:`OSError` exception is raised." msgstr "" -#: library/winreg.rst:138 library/winreg.rst:174 +#: library/winreg.rst:174 msgid "" "Raises an :ref:`auditing event ` ``winreg.DeleteKey`` with " "arguments ``key``, ``sub_key``, ``access``." @@ -245,19 +241,19 @@ msgid "" "indicating no more values." msgstr "" -#: library/winreg.rst:225 library/winreg.rst:345 +#: library/winreg.rst:345 msgid "The result is a tuple of 3 items:" msgstr "" -#: library/winreg.rst:228 library/winreg.rst:348 library/winreg.rst:396 +#: library/winreg.rst:348 library/winreg.rst:396 msgid "Index" msgstr "Index" -#: library/winreg.rst:228 library/winreg.rst:348 library/winreg.rst:396 +#: library/winreg.rst:348 library/winreg.rst:396 msgid "Meaning" msgstr "Signification" -#: library/winreg.rst:230 library/winreg.rst:350 library/winreg.rst:398 +#: library/winreg.rst:350 library/winreg.rst:398 msgid "``0``" msgstr "``0``" @@ -265,7 +261,7 @@ msgstr "``0``" msgid "A string that identifies the value name" msgstr "" -#: library/winreg.rst:232 library/winreg.rst:353 library/winreg.rst:400 +#: library/winreg.rst:353 library/winreg.rst:400 msgid "``1``" msgstr "``1``" @@ -275,7 +271,7 @@ msgid "" "underlying registry type" msgstr "" -#: library/winreg.rst:236 library/winreg.rst:356 +#: library/winreg.rst:356 msgid "``2``" msgstr "``2``" @@ -450,7 +446,7 @@ msgid "" "`QueryValueEx` if possible." msgstr "" -#: library/winreg.rst:380 library/winreg.rst:405 +#: library/winreg.rst:405 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryValue`` with " "arguments ``key``, ``sub_key``, ``value_name``." @@ -529,7 +525,7 @@ msgid "" "`SetValueEx` function for support for other data types." msgstr "" -#: library/winreg.rst:446 library/winreg.rst:476 +#: library/winreg.rst:476 msgid "*value* is a string that specifies the new value." msgstr "" @@ -539,7 +535,7 @@ msgid "" "function creates it." msgstr "" -#: library/winreg.rst:451 library/winreg.rst:484 +#: library/winreg.rst:484 msgid "" "Value lengths are limited by available memory. Long values (more than 2048 " "bytes) should be stored as files with the filenames stored in the " @@ -552,7 +548,7 @@ msgid "" "`KEY_SET_VALUE` access." msgstr "" -#: library/winreg.rst:458 library/winreg.rst:488 +#: library/winreg.rst:488 msgid "" "Raises an :ref:`auditing event ` ``winreg.SetValue`` with " "arguments ``key``, ``sub_key``, ``type``, ``value``." @@ -595,7 +591,7 @@ msgid "" "operating system." msgstr "" -#: library/winreg.rst:499 library/winreg.rst:516 library/winreg.rst:533 +#: library/winreg.rst:516 library/winreg.rst:533 msgid "" "Will generally raise :exc:`NotImplementedError` if executed on a 32-bit " "operating system." diff --git a/library/winsound.po b/library/winsound.po index 33ceb544..3510eb19 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -152,7 +152,7 @@ msgstr "" msgid "Stop playing all instances of the specified sound." msgstr "" -#: library/winsound.rst:111 library/winsound.rst:135 +#: library/winsound.rst:135 msgid "This flag is not supported on modern Windows platforms." msgstr "" @@ -173,7 +173,7 @@ msgstr "" msgid "Return immediately if the sound driver is busy." msgstr "" -#: library/winsound.rst:140 library/winsound.rst:160 +#: library/winsound.rst:160 msgid "Play the ``SystemDefault`` sound." msgstr "" diff --git a/library/wsgiref.po b/library/wsgiref.po index 0818976e..045ee392 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -188,8 +188,7 @@ msgstr "" "être utilisée dans une application ou un serveur WSGI, étant donné que les " "données sont factices !" -#: library/wsgiref.rst:117 library/wsgiref.rst:164 library/wsgiref.rst:286 -#: library/wsgiref.rst:418 +#: library/wsgiref.rst:164 library/wsgiref.rst:418 msgid "Example usage::" msgstr "Exemple d'utilisation ::" @@ -545,8 +544,8 @@ msgid "" "rarely used and is not guaranteed by WSGI. On IIS<7, though, the setting can " "only be made on a vhost level, affecting all other script mappings, many of " "which break when exposed to the ``PATH_TRANSLATED`` bug. For this reason " -"IIS<7 is almost never deployed with the fix. (Even IIS7 rarely uses it " -"because there is still no UI for it.)" +"IIS<7 is almost never deployed with the fix (Even IIS7 rarely uses it " +"because there is still no UI for it.)." msgstr "" #: library/wsgiref.rst:486 diff --git a/library/xml.dom.po b/library/xml.dom.po index f0336126..6ce4db99 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-11-17 23:17+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -1035,7 +1035,7 @@ msgstr "" "Le nom de l'élément type. Dans un document utilisant des *namespace*, il " "pourrait y avoir des *:* dedans. La valeur est une chaîne." -#: library/xml.dom.rst:597 library/xml.dom.rst:602 +#: library/xml.dom.rst:602 msgid "Same as equivalent method in the :class:`Document` class." msgstr "Identique à la méthode équivalente de la classe :class:`Document`." @@ -1651,7 +1651,7 @@ msgstr "``boolean``" msgid "``bool`` or ``int``" msgstr "``bool`` ou ``int``" -#: library/xml.dom.rst:985 library/xml.dom.rst:987 library/xml.dom.rst:989 +#: library/xml.dom.rst:987 library/xml.dom.rst:989 msgid "``int``" msgstr "``int``" diff --git a/library/xml.dom.pulldom.po b/library/xml.dom.pulldom.po index 1bf16fed..db515f8e 100644 --- a/library/xml.dom.pulldom.po +++ b/library/xml.dom.pulldom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -112,7 +112,7 @@ msgid "" "`DOMEventStream.expandNode` method and switch to DOM-related processing." msgstr "" -#: library/xml.dom.pulldom.rst:80 library/xml.dom.pulldom.rst:85 +#: library/xml.dom.pulldom.rst:85 msgid "Subclass of :class:`xml.sax.handler.ContentHandler`." msgstr "" diff --git a/library/xml.po b/library/xml.po index 86c19b70..ea7e7d1f 100644 --- a/library/xml.po +++ b/library/xml.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-12-24 14:55+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -31,10 +31,11 @@ msgstr "" "``xml``." #: library/xml.rst:20 +#, fuzzy msgid "" "The XML modules are not secure against erroneous or maliciously constructed " "data. If you need to parse untrusted or unauthenticated data see the :ref:" -"`xml-vulnerabilities` and :ref:`defused-packages` sections." +"`xml-vulnerabilities` and :ref:`defusedxml-package` sections." msgstr "" "Les modules XML ne sont pas protégés contre les données mal construites ou " "malicieuses. Si vous devez parcourir des données douteuses non authentifiées " @@ -146,7 +147,7 @@ msgstr "xmlrpc" msgid "billion laughs" msgstr "*billion laughs*" -#: library/xml.rst:66 library/xml.rst:67 library/xml.rst:70 +#: library/xml.rst:67 library/xml.rst:70 msgid "**Vulnerable**" msgstr "**Vulnérable**" @@ -154,11 +155,11 @@ msgstr "**Vulnérable**" msgid "quadratic blowup" msgstr "*quadratic blowup*" -#: library/xml.rst:68 library/xml.rst:99 +#: library/xml.rst:99 msgid "external entity expansion" msgstr "*external entity expansion*" -#: library/xml.rst:68 library/xml.rst:69 +#: library/xml.rst:69 msgid "Safe (4)" msgstr "Sûr (4)" @@ -174,15 +175,15 @@ msgstr "Sûr (2)" msgid "Safe (3)" msgstr "Sûr (3)" -#: library/xml.rst:69 library/xml.rst:104 +#: library/xml.rst:104 msgid "`DTD`_ retrieval" msgstr "Récupération de `DTD`_" -#: library/xml.rst:69 library/xml.rst:70 +#: library/xml.rst:70 msgid "Safe" msgstr "Sûr" -#: library/xml.rst:70 library/xml.rst:111 +#: library/xml.rst:111 msgid "decompression bomb" msgstr "*decompression bomb*" @@ -296,7 +297,8 @@ msgstr "" "tous les vecteurs d'attaques connus ainsi que des exemples et des références." #: library/xml.rst:119 -msgid "The :mod:`defusedxml` and :mod:`defusedexpat` Packages" +#, fuzzy +msgid "The :mod:`defusedxml` Package" msgstr "Les paquets :mod:`defusedxml` et :mod:`defusedexpat`" #: library/xml.rst:121 @@ -314,19 +316,18 @@ msgstr "" "fiables. Le paquet inclut également des exemples d'attaques et une " "documentation plus fournie sur plus d'attaques XML comme *XPath injection*." -#: library/xml.rst:127 -msgid "" -"`defusedexpat`_ provides a modified libexpat and a patched :mod:`pyexpat` " -"module that have countermeasures against entity expansion DoS attacks. The :" -"mod:`defusedexpat` module still allows a sane and configurable amount of " -"entity expansions. The modifications may be included in some future release " -"of Python, but will not be included in any bugfix releases of Python because " -"they break backward compatibility." -msgstr "" -"`defusedexpat`_ fournit une version modifiée de *libexpat* et le module :mod:" -"`pyexpat` modifiée embarquant des contre-mesures contre les attaques *DoS* " -"par *entity expansion*. Le module :mod:`defusedexpat` autorise un nombre " -"configurable et raisonnable d'extension d'entités. Ces modifications " -"pourraient être incluses dans des futures version de Python mais ne seront " -"incluses dans aucune version corrective de Python pour éviter de casser la " -"compatibilité rétrograde." +#~ msgid "" +#~ "`defusedexpat`_ provides a modified libexpat and a patched :mod:`pyexpat` " +#~ "module that have countermeasures against entity expansion DoS attacks. " +#~ "The :mod:`defusedexpat` module still allows a sane and configurable " +#~ "amount of entity expansions. The modifications may be included in some " +#~ "future release of Python, but will not be included in any bugfix releases " +#~ "of Python because they break backward compatibility." +#~ msgstr "" +#~ "`defusedexpat`_ fournit une version modifiée de *libexpat* et le module :" +#~ "mod:`pyexpat` modifiée embarquant des contre-mesures contre les attaques " +#~ "*DoS* par *entity expansion*. Le module :mod:`defusedexpat` autorise un " +#~ "nombre configurable et raisonnable d'extension d'entités. Ces " +#~ "modifications pourraient être incluses dans des futures version de Python " +#~ "mais ne seront incluses dans aucune version corrective de Python pour " +#~ "éviter de casser la compatibilité rétrograde." diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index cc2710c0..59ee18c7 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -83,10 +83,8 @@ msgid "" "prefixes; default)." msgstr "" -#: library/xml.sax.handler.rst:60 library/xml.sax.handler.rst:70 -#: library/xml.sax.handler.rst:79 library/xml.sax.handler.rst:88 -#: library/xml.sax.handler.rst:96 library/xml.sax.handler.rst:106 -#: library/xml.sax.handler.rst:138 +#: library/xml.sax.handler.rst:70 library/xml.sax.handler.rst:88 +#: library/xml.sax.handler.rst:106 library/xml.sax.handler.rst:138 msgid "access: (parsing) read-only; (not parsing) read/write" msgstr "" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index ae360113..f6bc5844 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -80,7 +80,7 @@ msgid "" "date/time values." msgstr "" -#: library/xmlrpc.client.rst:65 library/xmlrpc.client.rst:552 +#: library/xmlrpc.client.rst:552 msgid "The *use_builtin_types* flag was added." msgstr "" @@ -366,12 +366,11 @@ msgid "" "protocol for closing the underlying transport." msgstr "" -#: library/xmlrpc.client.rst:233 library/xmlrpc.client.rst:279 +#: library/xmlrpc.client.rst:279 msgid "A working example follows. The server code::" msgstr "" -#: library/xmlrpc.client.rst:245 library/xmlrpc.client.rst:294 -#: library/xmlrpc.client.rst:404 library/xmlrpc.client.rst:510 +#: library/xmlrpc.client.rst:294 library/xmlrpc.client.rst:510 msgid "The client code for the preceding server::" msgstr "" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 91c46a16..043776fc 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -61,8 +61,7 @@ msgid "" "binary data are received; it defaults to false." msgstr "" -#: library/xmlrpc.server.rst:47 library/xmlrpc.server.rst:61 -#: library/xmlrpc.server.rst:373 +#: library/xmlrpc.server.rst:61 library/xmlrpc.server.rst:373 msgid "The *use_builtin_types* flag was added." msgstr "" @@ -94,7 +93,7 @@ msgid "" "servers." msgstr "" -#: library/xmlrpc.server.rst:84 library/xmlrpc.server.rst:298 +#: library/xmlrpc.server.rst:298 msgid "" "Register a function that can respond to XML-RPC requests. If *name* is " "given, it will be the method name associated with *function*, otherwise " @@ -102,14 +101,14 @@ msgid "" "characters not legal in Python identifiers, including the period character." msgstr "" -#: library/xmlrpc.server.rst:89 library/xmlrpc.server.rst:303 +#: library/xmlrpc.server.rst:303 msgid "" "This method can also be used as a decorator. When used as a decorator, " "*name* can only be given as a keyword argument to register *function* under " "*name*. If no *name* is given, ``function.__name__`` will be used." msgstr "" -#: library/xmlrpc.server.rst:93 library/xmlrpc.server.rst:307 +#: library/xmlrpc.server.rst:307 msgid ":meth:`register_function` can be used as a decorator." msgstr "" @@ -302,19 +301,19 @@ msgid "" "documentation." msgstr "" -#: library/xmlrpc.server.rst:404 library/xmlrpc.server.rst:432 +#: library/xmlrpc.server.rst:432 msgid "" "Set the title used in the generated HTML documentation. This title will be " "used inside the HTML \"title\" element." msgstr "" -#: library/xmlrpc.server.rst:410 library/xmlrpc.server.rst:438 +#: library/xmlrpc.server.rst:438 msgid "" "Set the name used in the generated HTML documentation. This name will appear " "at the top of the generated documentation inside a \"h1\" element." msgstr "" -#: library/xmlrpc.server.rst:416 library/xmlrpc.server.rst:444 +#: library/xmlrpc.server.rst:444 msgid "" "Set the description used in the generated HTML documentation. This " "description will appear as a paragraph, below the server name, in the " diff --git a/library/zipfile.po b/library/zipfile.po index 5f27d8a1..9779fc42 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-02-28 09:13+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -281,7 +281,7 @@ msgstr "" "de ``1``à ``9`` sont acceptés (voir :class:`bz2 ` pour plus " "d'informations)." -#: library/zipfile.rst:181 library/zipfile.rst:636 +#: library/zipfile.rst:636 msgid "" "The *strict_timestamps* argument, when set to ``False``, allows to zip files " "older than 1980-01-01 at the cost of setting the timestamp to 1980-01-01. " @@ -320,7 +320,7 @@ msgid "Added support for :mod:`bzip2 ` and :mod:`lzma` compression." msgstr "" "Ajout de la gestion de la compression :mod:`bzip2 ` et :mod:`lzma`." -#: library/zipfile.rst:204 library/zipfile.rst:550 +#: library/zipfile.rst:550 msgid "ZIP64 extensions are enabled by default." msgstr "Les extensions ZIP64 sont activées par défaut." @@ -350,7 +350,7 @@ msgstr "" msgid "Add the *compresslevel* parameter." msgstr "Ajout du paramètre *compresslevel*." -#: library/zipfile.rst:221 library/zipfile.rst:647 +#: library/zipfile.rst:647 msgid "The *strict_timestamps* keyword-only argument" msgstr "" @@ -529,7 +529,7 @@ msgstr "" "Appeler :meth:`.extract` sur un fichier ZipFile fermé lève une erreur :exc:" "`ValueError`. Précédemment, une erreur :exc:`RuntimeError` était levée." -#: library/zipfile.rst:325 library/zipfile.rst:348 +#: library/zipfile.rst:348 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "" "Le paramètre *path* accepte un objet chemin-compatible :term:`path-like " diff --git a/license.po b/license.po index c214989c..212f0dc2 100644 --- a/license.po +++ b/license.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-19 22:59+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -112,8 +112,7 @@ msgstr "1991-1995" msgid "CWI" msgstr "CWI" -#: license.rst:37 license.rst:39 license.rst:49 license.rst:51 license.rst:53 -#: license.rst:55 license.rst:57 +#: license.rst:49 license.rst:55 license.rst:57 msgid "yes" msgstr "oui" @@ -129,11 +128,11 @@ msgstr "1.2" msgid "1995-1999" msgstr "1995-1999" -#: license.rst:39 license.rst:41 license.rst:45 +#: license.rst:45 msgid "CNRI" msgstr "CNRI" -#: license.rst:41 license.rst:43 license.rst:45 +#: license.rst:45 msgid "1.6" msgstr "1.6" @@ -141,11 +140,11 @@ msgstr "1.6" msgid "1.5.2" msgstr "1.5.2" -#: license.rst:41 license.rst:43 +#: license.rst:43 msgid "2000" msgstr "2000" -#: license.rst:41 license.rst:43 license.rst:45 license.rst:47 +#: license.rst:45 license.rst:47 msgid "no" msgstr "non" @@ -161,7 +160,7 @@ msgstr "BeOpen.com" msgid "1.6.1" msgstr "1.6.1" -#: license.rst:45 license.rst:47 license.rst:49 license.rst:51 +#: license.rst:49 license.rst:51 msgid "2001" msgstr "2001" @@ -169,12 +168,11 @@ msgstr "2001" msgid "2.1" msgstr "2.1" -#: license.rst:47 license.rst:49 +#: license.rst:49 msgid "2.0+1.6.1" msgstr "2.0+1.6.1" -#: license.rst:47 license.rst:49 license.rst:51 license.rst:53 license.rst:55 -#: license.rst:57 +#: license.rst:51 license.rst:57 msgid "PSF" msgstr "PSF" @@ -182,7 +180,7 @@ msgstr "PSF" msgid "2.0.1" msgstr "2.0.1" -#: license.rst:51 license.rst:53 license.rst:57 +#: license.rst:57 msgid "2.1.1" msgstr "2.1.1" @@ -190,11 +188,11 @@ msgstr "2.1.1" msgid "2.1+2.0.1" msgstr "2.1+2.0.1" -#: license.rst:53 license.rst:55 +#: license.rst:55 msgid "2.1.2" msgstr "2.1.2" -#: license.rst:53 license.rst:55 +#: license.rst:55 msgid "2002" msgstr "2002" @@ -237,31 +235,55 @@ msgstr "" msgid "Terms and conditions for accessing or otherwise using Python" msgstr "Conditions générales pour accéder à, ou utiliser, Python" -#: license.rst:77 +#: license.rst:75 +msgid "" +"Python software and documentation are licensed under the :ref:`PSF License " +"Agreement `." +msgstr "" + +#: license.rst:78 +msgid "" +"Starting with Python 3.8.6, examples, recipes, and other code in the " +"documentation are dual licensed under the PSF License Agreement and the :ref:" +"`Zero-Clause BSD license `." +msgstr "" + +#: license.rst:82 +msgid "" +"Some software incorporated into Python is under different licenses. The " +"licenses are listed with code falling under that license. See :ref:" +"`OtherLicenses` for an incomplete list of these licenses." +msgstr "" + +#: license.rst:90 msgid "PSF LICENSE AGREEMENT FOR PYTHON |release|" msgstr "PSF LICENSE AGREEMENT FOR PYTHON |release|" -#: license.rst:125 +#: license.rst:138 msgid "BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0" msgstr "LICENCE D'UTILISATION BEOPEN.COM POUR PYTHON 2.0" -#: license.rst:127 +#: license.rst:140 msgid "BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1" msgstr "LICENCE D'UTILISATION LIBRE BEOPEN PYTHON VERSION 1" -#: license.rst:172 +#: license.rst:185 msgid "CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1" msgstr "LICENCE D'UTILISATION CNRI POUR PYTHON 1.6.1" -#: license.rst:237 +#: license.rst:250 msgid "CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2" msgstr "LICENCE D'UTILISATION CWI POUR PYTHON 0.9.0 à 1.2" -#: license.rst:262 +#: license.rst:277 +msgid "ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON |release| DOCUMENTATION" +msgstr "" + +#: license.rst:296 msgid "Licenses and Acknowledgements for Incorporated Software" msgstr "Licences et remerciements pour les logiciels tiers" -#: license.rst:264 +#: license.rst:298 msgid "" "This section is an incomplete, but growing list of licenses and " "acknowledgements for third-party software incorporated in the Python " @@ -271,11 +293,11 @@ msgstr "" "remerciements pour les logiciels tiers incorporés dans la distribution de " "Python." -#: license.rst:269 +#: license.rst:303 msgid "Mersenne Twister" msgstr "Mersenne twister" -#: license.rst:271 +#: license.rst:305 msgid "" "The :mod:`_random` module includes code based on a download from http://www." "math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following " @@ -285,11 +307,11 @@ msgstr "" "téléchargement depuis http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/" "emt19937ar.html. Voici mot pour mot les commentaires du code original ::" -#: license.rst:318 +#: license.rst:352 msgid "Sockets" msgstr "Interfaces de connexion (*sockets*)" -#: license.rst:320 +#: license.rst:354 msgid "" "The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and :func:" "`getnameinfo`, which are coded in separate source files from the WIDE " @@ -299,11 +321,11 @@ msgstr "" "`getnameinfo` codées dans des fichiers source séparés et provenant du projet " "WIDE: http://www.wide.ad.jp/. ::" -#: license.rst:353 +#: license.rst:387 msgid "Asynchronous socket services" msgstr "Interfaces de connexion asynchrones" -#: license.rst:355 +#: license.rst:389 msgid "" "The :mod:`asynchat` and :mod:`asyncore` modules contain the following " "notice::" @@ -311,52 +333,52 @@ msgstr "" "Les modules :mod:`asynchat` et :mod:`asyncore` contiennent la note " "suivante ::" -#: license.rst:380 +#: license.rst:414 msgid "Cookie management" msgstr "Gestion de témoin (*cookie*)" -#: license.rst:382 +#: license.rst:416 msgid "The :mod:`http.cookies` module contains the following notice::" msgstr "Le module :mod:`http.cookies` contient la note suivante ::" -#: license.rst:408 +#: license.rst:442 msgid "Execution tracing" msgstr "Traçage d'exécution" -#: license.rst:410 +#: license.rst:444 msgid "The :mod:`trace` module contains the following notice::" msgstr "Le module :mod:`trace` contient la note suivante ::" -#: license.rst:441 +#: license.rst:475 msgid "UUencode and UUdecode functions" msgstr "Les fonctions UUencode et UUdecode" -#: license.rst:443 +#: license.rst:477 msgid "The :mod:`uu` module contains the following notice::" msgstr "Le module :mod:`uu` contient la note suivante ::" -#: license.rst:471 +#: license.rst:505 msgid "XML Remote Procedure Calls" msgstr "" "Appel de procédures distantes en XML (*RPC*, pour *Remote Procedure Call*)" -#: license.rst:473 +#: license.rst:507 msgid "The :mod:`xmlrpc.client` module contains the following notice::" msgstr "Le module :mod:`xmlrpc.client` contient la note suivante ::" -#: license.rst:504 +#: license.rst:538 msgid "test_epoll" msgstr "test_epoll" -#: license.rst:506 +#: license.rst:540 msgid "The :mod:`test_epoll` module contains the following notice::" msgstr "Le module :mod:`test_epoll` contient la note suivante ::" -#: license.rst:530 +#: license.rst:564 msgid "Select kqueue" msgstr "Select kqueue" -#: license.rst:532 +#: license.rst:566 msgid "" "The :mod:`select` module contains the following notice for the kqueue " "interface::" @@ -364,11 +386,11 @@ msgstr "" "Le module :mod:`select` contient la note suivante pour l'interface " "*kqueue* ::" -#: license.rst:561 +#: license.rst:595 msgid "SipHash24" msgstr "SipHash24" -#: license.rst:563 +#: license.rst:597 msgid "" "The file :file:`Python/pyhash.c` contains Marek Majkowski' implementation of " "Dan Bernstein's SipHash24 algorithm. It contains the following note::" @@ -377,11 +399,11 @@ msgstr "" "Majkowski de l'algorithme *SipHash24* de Dan Bernstein. Il contient la note " "suivante ::" -#: license.rst:590 +#: license.rst:624 msgid "strtod and dtoa" msgstr "*strtod* et *dtoa*" -#: license.rst:592 +#: license.rst:626 msgid "" "The file :file:`Python/dtoa.c`, which supplies C functions dtoa and strtod " "for conversion of C doubles to and from strings, is derived from the file of " @@ -395,11 +417,11 @@ msgstr "" "http://www.netlib.org/fp/. Le fichier original, tel que récupéré le 16 mars " "2009, contient la licence suivante ::" -#: license.rst:620 +#: license.rst:654 msgid "OpenSSL" msgstr "OpenSSL" -#: license.rst:622 +#: license.rst:656 msgid "" "The modules :mod:`hashlib`, :mod:`posix`, :mod:`ssl`, :mod:`crypt` use the " "OpenSSL library for added performance if made available by the operating " @@ -414,11 +436,11 @@ msgstr "" "bibliothèques d'OpenSSL, donc on colle une copie de la licence d'OpenSSL " "ici ::" -#: license.rst:757 +#: license.rst:791 msgid "expat" msgstr "expat" -#: license.rst:759 +#: license.rst:793 msgid "" "The :mod:`pyexpat` extension is built using an included copy of the expat " "sources unless the build is configured ``--with-system-expat``::" @@ -426,11 +448,11 @@ msgstr "" "Le module :mod:`pyexpat` est compilé avec une copie des sources d'*expat*, " "sauf si la compilation est configurée avec ``--with-system-expat`` ::" -#: license.rst:786 +#: license.rst:820 msgid "libffi" msgstr "libffi" -#: license.rst:788 +#: license.rst:822 msgid "" "The :mod:`_ctypes` extension is built using an included copy of the libffi " "sources unless the build is configured ``--with-system-libffi``::" @@ -439,11 +461,11 @@ msgstr "" "la *libffi*, sauf si la compilation est configurée avec ``--with-system-" "libffi`` ::" -#: license.rst:815 +#: license.rst:849 msgid "zlib" msgstr "zlib" -#: license.rst:817 +#: license.rst:851 msgid "" "The :mod:`zlib` extension is built using an included copy of the zlib " "sources if the zlib version found on the system is too old to be used for " @@ -453,11 +475,11 @@ msgstr "" "*zlib* si la version de *zlib* trouvée sur le système est trop vieille pour " "être utilisée ::" -#: license.rst:846 +#: license.rst:880 msgid "cfuhash" msgstr "cfuhash" -#: license.rst:848 +#: license.rst:882 msgid "" "The implementation of the hash table used by the :mod:`tracemalloc` is based " "on the cfuhash project::" @@ -465,11 +487,11 @@ msgstr "" "L'implémentation des dictionnaires, utilisée par le module :mod:" "`tracemalloc` est basée sur le projet *cfuhash* ::" -#: license.rst:887 +#: license.rst:921 msgid "libmpdec" msgstr "libmpdec" -#: license.rst:889 +#: license.rst:923 msgid "" "The :mod:`_decimal` module is built using an included copy of the libmpdec " "library unless the build is configured ``--with-system-libmpdec``::" @@ -478,11 +500,11 @@ msgstr "" "bibliothèque *libmpdec*, sauf si elle est compilée avec ``--with-system-" "libmpdec`` ::" -#: license.rst:919 +#: license.rst:953 msgid "W3C C14N test suite" msgstr "Ensemble de tests C14N du W3C" -#: license.rst:921 +#: license.rst:955 msgid "" "The C14N 2.0 test suite in the :mod:`test` package (``Lib/test/xmltestdata/" "c14n-20/``) was retrieved from the W3C website at https://www.w3.org/TR/xml-" @@ -492,13 +514,13 @@ msgstr "" "c14n-20/``) proviennent du site du W3C à l'adresse https://www.w3.org/TR/xml-" "c14n2-testcases/ et sont distribués sous licence BSD modifiée :" -#: license.rst:926 +#: license.rst:960 msgid "" "Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang), All Rights Reserved." msgstr "" "Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang), All Rights Reserved." -#: license.rst:929 +#: license.rst:963 msgid "" "Redistribution and use in source and binary forms, with or without " "modification, are permitted provided that the following conditions are met:" @@ -506,7 +528,7 @@ msgstr "" "Redistribution and use in source and binary forms, with or without " "modification, are permitted provided that the following conditions are met:" -#: license.rst:933 +#: license.rst:967 msgid "" "Redistributions of works must retain the original copyright notice, this " "list of conditions and the following disclaimer." @@ -514,7 +536,7 @@ msgstr "" "Redistributions of works must retain the original copyright notice, this " "list of conditions and the following disclaimer." -#: license.rst:935 +#: license.rst:969 msgid "" "Redistributions in binary form must reproduce the original copyright notice, " "this list of conditions and the following disclaimer in the documentation " @@ -524,7 +546,7 @@ msgstr "" "this list of conditions and the following disclaimer in the documentation " "and/or other materials provided with the distribution." -#: license.rst:938 +#: license.rst:972 msgid "" "Neither the name of the W3C nor the names of its contributors may be used to " "endorse or promote products derived from this work without specific prior " @@ -534,7 +556,7 @@ msgstr "" "endorse or promote products derived from this work without specific prior " "written permission." -#: license.rst:942 +#: license.rst:976 msgid "" "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS" "\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE " diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 77b70c5b..35383851 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-30 20:30+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -91,7 +91,7 @@ msgstr "" msgid "Summarizing:" msgstr "En résumé :" -#: reference/compound_stmts.rst:67 +#: reference/compound_stmts.rst:68 msgid "" "Note that statements always end in a ``NEWLINE`` possibly followed by a " "``DEDENT``. Also note that optional continuation clauses always begin with " @@ -107,7 +107,7 @@ msgstr "" "Python en exigeant que des instructions :keyword:`if` imbriquées soient " "indentées les unes par rapport aux autres)." -#: reference/compound_stmts.rst:73 +#: reference/compound_stmts.rst:74 msgid "" "The formatting of the grammar rules in the following sections places each " "clause on a separate line for clarity." @@ -115,17 +115,17 @@ msgstr "" "L'agencement des règles de grammaire dans les sections qui suivent place " "chaque clause sur une ligne séparée pour plus de clarté." -#: reference/compound_stmts.rst:82 +#: reference/compound_stmts.rst:83 msgid "The :keyword:`!if` statement" msgstr "L'instruction :keyword:`!if`" -#: reference/compound_stmts.rst:90 +#: reference/compound_stmts.rst:91 msgid "The :keyword:`if` statement is used for conditional execution:" msgstr "" "L'instruction :keyword:`if` est utilisée pour exécuter des instructions en " "fonction d'une condition :" -#: reference/compound_stmts.rst:97 +#: reference/compound_stmts.rst:98 msgid "" "It selects exactly one of the suites by evaluating the expressions one by " "one until one is found to be true (see section :ref:`booleans` for the " @@ -141,11 +141,11 @@ msgstr "" "toutes les expressions sont fausses, la suite de la clause :keyword:`else`, " "si elle existe, est exécutée." -#: reference/compound_stmts.rst:107 +#: reference/compound_stmts.rst:108 msgid "The :keyword:`!while` statement" msgstr "L'instruction :keyword:`!while`" -#: reference/compound_stmts.rst:115 +#: reference/compound_stmts.rst:116 msgid "" "The :keyword:`while` statement is used for repeated execution as long as an " "expression is true:" @@ -153,7 +153,7 @@ msgstr "" "L'instruction :keyword:`while` est utilisée pour exécuter des instructions " "de manière répétée tant qu'une expression est vraie :" -#: reference/compound_stmts.rst:122 +#: reference/compound_stmts.rst:123 msgid "" "This repeatedly tests the expression and, if it is true, executes the first " "suite; if the expression is false (which may be the first time it is tested) " @@ -165,7 +165,7 @@ msgstr "" "même lors du premier test), la suite de la clause :keyword:`!else`, si elle " "existe, est exécutée et la boucle se termine." -#: reference/compound_stmts.rst:131 +#: reference/compound_stmts.rst:132 msgid "" "A :keyword:`break` statement executed in the first suite terminates the loop " "without executing the :keyword:`!else` clause's suite. A :keyword:" @@ -177,11 +177,11 @@ msgstr "" "instruction :keyword:`continue` exécutée dans la première suite saute le " "reste de la suite et retourne au test de l'expression." -#: reference/compound_stmts.rst:140 +#: reference/compound_stmts.rst:141 msgid "The :keyword:`!for` statement" msgstr "L'instruction :keyword:`!for`" -#: reference/compound_stmts.rst:151 +#: reference/compound_stmts.rst:152 msgid "" "The :keyword:`for` statement is used to iterate over the elements of a " "sequence (such as a string, tuple or list) or other iterable object:" @@ -190,7 +190,7 @@ msgstr "" "séquence (par exemple une chaîne, un tuple ou une liste) ou un autre objet " "itérable :" -#: reference/compound_stmts.rst:158 +#: reference/compound_stmts.rst:159 msgid "" "The expression list is evaluated once; it should yield an iterable object. " "An iterator is created for the result of the ``expression_list``. The suite " @@ -214,7 +214,7 @@ msgstr "" "`StopIteration`), la suite de la clause :keyword:`!else`, si elle existe, " "est exécutée et la boucle se termine." -#: reference/compound_stmts.rst:171 +#: reference/compound_stmts.rst:172 msgid "" "A :keyword:`break` statement executed in the first suite terminates the loop " "without executing the :keyword:`!else` clause's suite. A :keyword:" @@ -228,7 +228,7 @@ msgstr "" "reste de la suite et continue avec l'élément suivant, ou avec la clause :" "keyword:`!else` s'il n'y a pas d'élément suivant." -#: reference/compound_stmts.rst:177 +#: reference/compound_stmts.rst:178 msgid "" "The for-loop makes assignments to the variables in the target list. This " "overwrites all previous assignments to those variables including those made " @@ -238,7 +238,7 @@ msgstr "" "ce qui écrase toutes les affectations antérieures de ces variables, y " "compris celles effectuées dans la suite de la boucle ``for`` ::" -#: reference/compound_stmts.rst:191 +#: reference/compound_stmts.rst:192 msgid "" "Names in the target list are not deleted when the loop is finished, but if " "the sequence is empty, they will not have been assigned to at all by the " @@ -253,7 +253,7 @@ msgstr "" "classique en Pascal sur des entiers ``for i := a to b do`` ; par exemple, " "``list(range(3))`` renvoie la liste ``[0, 1, 2]``." -#: reference/compound_stmts.rst:203 +#: reference/compound_stmts.rst:204 msgid "" "There is a subtlety when the sequence is being modified by the loop (this " "can only occur for mutable sequences, e.g. lists). An internal counter is " @@ -280,11 +280,11 @@ msgstr "" "éviter en effectuant une copie temporaire d'une tranche ou de la séquence " "complète, par exemple ::" -#: reference/compound_stmts.rst:224 +#: reference/compound_stmts.rst:225 msgid "The :keyword:`!try` statement" msgstr "L'instruction :keyword:`!try`" -#: reference/compound_stmts.rst:234 +#: reference/compound_stmts.rst:235 msgid "" "The :keyword:`try` statement specifies exception handlers and/or cleanup " "code for a group of statements:" @@ -292,7 +292,7 @@ msgstr "" "L'instruction :keyword:`try` spécifie les gestionnaires d'exception ou le " "code de nettoyage pour un groupe d'instructions :" -#: reference/compound_stmts.rst:247 +#: reference/compound_stmts.rst:248 msgid "" "The :keyword:`except` clause(s) specify one or more exception handlers. When " "no exception occurs in the :keyword:`try` clause, no exception handler is " @@ -320,7 +320,7 @@ msgstr "" "l'objet exception ou si c'est un tuple contenant un élément qui est " "compatible avec l'exception." -#: reference/compound_stmts.rst:258 +#: reference/compound_stmts.rst:259 msgid "" "If no except clause matches the exception, the search for an exception " "handler continues in the surrounding code and on the invocation stack. [#]_" @@ -329,7 +329,7 @@ msgstr "" "gestionnaire d'exception se poursuit dans le code englobant et dans la pile " "d'appels. [#]_" -#: reference/compound_stmts.rst:261 +#: reference/compound_stmts.rst:262 msgid "" "If the evaluation of an expression in the header of an except clause raises " "an exception, the original search for a handler is canceled and a search " @@ -343,7 +343,7 @@ msgstr "" "la pile d'appels (c'est traité comme si l'instruction :keyword:`try` avait " "levé l'exception)." -#: reference/compound_stmts.rst:268 +#: reference/compound_stmts.rst:269 msgid "" "When a matching except clause is found, the exception is assigned to the " "target specified after the :keyword:`!as` keyword in that except clause, if " @@ -364,7 +364,7 @@ msgstr "" "se produit dans la clause ``try`` du gestionnaire interne, le gestionnaire " "externe ne gère pas l'exception)." -#: reference/compound_stmts.rst:276 +#: reference/compound_stmts.rst:277 msgid "" "When an exception has been assigned using ``as target``, it is cleared at " "the end of the except clause. This is as if ::" @@ -372,11 +372,11 @@ msgstr "" "Lorsqu'une exception a été assignée en utilisant ``as cible``, elle est " "effacée à la fin de la clause ``except``. C'est comme si ::" -#: reference/compound_stmts.rst:282 +#: reference/compound_stmts.rst:283 msgid "was translated to ::" msgstr "avait été traduit en ::" -#: reference/compound_stmts.rst:290 +#: reference/compound_stmts.rst:291 msgid "" "This means the exception must be assigned to a different name to be able to " "refer to it after the except clause. Exceptions are cleared because with " @@ -391,7 +391,7 @@ msgstr "" "ce qui conduit à conserver tous les noms locaux de ce cadre en mémoire " "jusqu'au passage du ramasse-miettes." -#: reference/compound_stmts.rst:299 +#: reference/compound_stmts.rst:300 msgid "" "Before an except clause's suite is executed, details about the exception are " "stored in the :mod:`sys` module and can be accessed via :func:`sys." @@ -410,7 +410,7 @@ msgstr "" "leurs anciennes valeurs (celles d'avant l'appel) au retour d'une fonction " "qui a géré une exception." -#: reference/compound_stmts.rst:313 +#: reference/compound_stmts.rst:314 msgid "" "The optional :keyword:`!else` clause is executed if the control flow leaves " "the :keyword:`try` suite, no exception was raised, and no :keyword:" @@ -424,7 +424,7 @@ msgstr "" "étés exécutés. Les exceptions dans la clause :keyword:`!else` ne sont pas " "gérées par les clauses :keyword:`except` précédentes." -#: reference/compound_stmts.rst:321 +#: reference/compound_stmts.rst:322 msgid "" "If :keyword:`finally` is present, it specifies a 'cleanup' handler. The :" "keyword:`try` clause is executed, including any :keyword:`except` and :" @@ -449,7 +449,7 @@ msgstr "" "instruction :keyword:`return`, :keyword:`break` ou :keyword:`continue`, " "l'exception sauvegardée est jetée ::" -#: reference/compound_stmts.rst:340 +#: reference/compound_stmts.rst:341 msgid "" "The exception information is not available to the program during execution " "of the :keyword:`finally` clause." @@ -457,7 +457,7 @@ msgstr "" "L'information relative à l'exception n'est pas disponible pour le programme " "pendant l'exécution de la clause :keyword:`finally`." -#: reference/compound_stmts.rst:348 +#: reference/compound_stmts.rst:349 msgid "" "When a :keyword:`return`, :keyword:`break` or :keyword:`continue` statement " "is executed in the :keyword:`try` suite of a :keyword:`!try`...\\ :keyword:`!" @@ -469,7 +469,7 @@ msgstr "" "construction :keyword:`!try`…\\ :keyword:`!finally`, la clause :keyword:" "`finally` est aussi exécutée « à la sortie »." -#: reference/compound_stmts.rst:352 +#: reference/compound_stmts.rst:353 msgid "" "The return value of a function is determined by the last :keyword:`return` " "statement executed. Since the :keyword:`finally` clause always executes, a :" @@ -481,7 +481,7 @@ msgstr "" "s'exécute toujours, une instruction :keyword:`!return` exécutée dans le :" "keyword:`!finally` sera toujours la dernière clause exécutée ::" -#: reference/compound_stmts.rst:366 +#: reference/compound_stmts.rst:367 msgid "" "Additional information on exceptions can be found in section :ref:" "`exceptions`, and information on using the :keyword:`raise` statement to " @@ -492,7 +492,7 @@ msgstr "" "informations relatives à l'utilisation de l'instruction :keyword:`raise` " "pour produire des exceptions." -#: reference/compound_stmts.rst:370 +#: reference/compound_stmts.rst:371 msgid "" "Prior to Python 3.8, a :keyword:`continue` statement was illegal in the :" "keyword:`finally` clause due to a problem with the implementation." @@ -501,11 +501,11 @@ msgstr "" "dans une clause :keyword:`finally` en raison d'un problème dans " "l'implémentation." -#: reference/compound_stmts.rst:379 +#: reference/compound_stmts.rst:380 msgid "The :keyword:`!with` statement" msgstr "L'instruction :keyword:`!with`" -#: reference/compound_stmts.rst:388 +#: reference/compound_stmts.rst:389 msgid "" "The :keyword:`with` statement is used to wrap the execution of a block with " "methods defined by a context manager (see section :ref:`context-managers`). " @@ -518,7 +518,7 @@ msgstr "" "le patron de conception classique :keyword:`try`…\\ :keyword:`except`…\\ :" "keyword:`finally`." -#: reference/compound_stmts.rst:397 +#: reference/compound_stmts.rst:398 msgid "" "The execution of the :keyword:`with` statement with one \"item\" proceeds as " "follows:" @@ -526,7 +526,7 @@ msgstr "" "L'exécution de l'instruction :keyword:`with` avec un seul " "« élément » (*item* dans la grammaire) se déroule comme suit :" -#: reference/compound_stmts.rst:399 +#: reference/compound_stmts.rst:400 msgid "" "The context expression (the expression given in the :token:`with_item`) is " "evaluated to obtain a context manager." @@ -534,23 +534,23 @@ msgstr "" "L'expression de contexte (l'expression donnée dans le :token:`with_item`) " "est évaluée pour obtenir un gestionnaire de contexte." -#: reference/compound_stmts.rst:402 +#: reference/compound_stmts.rst:403 msgid "The context manager's :meth:`__enter__` is loaded for later use." msgstr "" "La méthode :meth:`__enter__` du gestionnaire de contexte est chargée pour " "une utilisation ultérieure." -#: reference/compound_stmts.rst:404 +#: reference/compound_stmts.rst:405 msgid "The context manager's :meth:`__exit__` is loaded for later use." msgstr "" "La méthode :meth:`__exit__` du gestionnaire de contexte est chargée pour une " "utilisation ultérieure." -#: reference/compound_stmts.rst:406 +#: reference/compound_stmts.rst:407 msgid "The context manager's :meth:`__enter__` method is invoked." msgstr "La méthode :meth:`__enter__` du gestionnaire de contexte est invoquée." -#: reference/compound_stmts.rst:408 +#: reference/compound_stmts.rst:409 msgid "" "If a target was included in the :keyword:`with` statement, the return value " "from :meth:`__enter__` is assigned to it." @@ -559,7 +559,7 @@ msgstr "" "l'instruction :keyword:`with`, la valeur de retour de :meth:`__enter__` lui " "est assignée." -#: reference/compound_stmts.rst:413 +#: reference/compound_stmts.rst:414 msgid "" "The :keyword:`with` statement guarantees that if the :meth:`__enter__` " "method returns without an error, then :meth:`__exit__` will always be " @@ -573,11 +573,11 @@ msgstr "" "cible, elle est traitée de la même façon qu'une erreur se produisant dans la " "suite. Voir l'étape 6 ci-dessous." -#: reference/compound_stmts.rst:419 +#: reference/compound_stmts.rst:420 msgid "The suite is executed." msgstr "La suite est exécutée." -#: reference/compound_stmts.rst:421 +#: reference/compound_stmts.rst:422 msgid "" "The context manager's :meth:`__exit__` method is invoked. If an exception " "caused the suite to be exited, its type, value, and traceback are passed as " @@ -589,7 +589,7 @@ msgstr "" "d'appels sont passés en arguments à :meth:`__exit__`. Sinon, trois " "arguments :const:`None` sont fournis." -#: reference/compound_stmts.rst:426 +#: reference/compound_stmts.rst:427 msgid "" "If the suite was exited due to an exception, and the return value from the :" "meth:`__exit__` method was false, the exception is reraised. If the return " @@ -602,7 +602,7 @@ msgstr "" "l'exécution continue avec l'instruction qui suit l'instruction :keyword:" "`with`." -#: reference/compound_stmts.rst:431 +#: reference/compound_stmts.rst:432 msgid "" "If the suite was exited for any reason other than an exception, the return " "value from :meth:`__exit__` is ignored, and execution proceeds at the normal " @@ -612,17 +612,17 @@ msgstr "" "valeur de retour de :meth:`__exit__` est ignorée et l'exécution se poursuit " "à l'endroit normal pour le type de sortie prise." -#: reference/compound_stmts.rst:435 reference/compound_stmts.rst:808 -#: reference/compound_stmts.rst:849 +#: reference/compound_stmts.rst:436 reference/compound_stmts.rst:809 +#: reference/compound_stmts.rst:850 msgid "The following code::" msgstr "Le code suivant ::" -#: reference/compound_stmts.rst:440 reference/compound_stmts.rst:465 -#: reference/compound_stmts.rst:854 +#: reference/compound_stmts.rst:441 reference/compound_stmts.rst:466 +#: reference/compound_stmts.rst:855 msgid "is semantically equivalent to::" msgstr "est sémantiquement équivalent à ::" -#: reference/compound_stmts.rst:459 +#: reference/compound_stmts.rst:460 msgid "" "With more than one item, the context managers are processed as if multiple :" "keyword:`with` statements were nested::" @@ -630,15 +630,15 @@ msgstr "" "Avec plus d'un élément, les gestionnaires de contexte sont traités comme si " "plusieurs instructions :keyword:`with` étaient imbriquées ::" -#: reference/compound_stmts.rst:471 +#: reference/compound_stmts.rst:472 msgid "Support for multiple context expressions." msgstr "Prise en charge de multiples expressions de contexte." -#: reference/compound_stmts.rst:477 +#: reference/compound_stmts.rst:478 msgid ":pep:`343` - The \"with\" statement" msgstr ":pep:`343` — L'instruction « *with* »" -#: reference/compound_stmts.rst:477 +#: reference/compound_stmts.rst:478 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." @@ -646,11 +646,11 @@ msgstr "" "La spécification, les motivations et des exemples de l'instruction :keyword:" "`with` en Python." -#: reference/compound_stmts.rst:488 +#: reference/compound_stmts.rst:489 msgid "Function definitions" msgstr "Définition de fonctions" -#: reference/compound_stmts.rst:503 +#: reference/compound_stmts.rst:504 msgid "" "A function definition defines a user-defined function object (see section :" "ref:`types`):" @@ -658,7 +658,7 @@ msgstr "" "Une définition de fonction définit un objet fonction allogène (voir la " "section :ref:`types`) :" -#: reference/compound_stmts.rst:523 +#: reference/compound_stmts.rst:524 msgid "" "A function definition is an executable statement. Its execution binds the " "function name in the current local namespace to a function object (a wrapper " @@ -673,7 +673,7 @@ msgstr "" "globaux courant comme espace des noms globaux à utiliser lorsque la fonction " "est appelée." -#: reference/compound_stmts.rst:529 +#: reference/compound_stmts.rst:530 msgid "" "The function definition does not execute the function body; this gets " "executed only when the function is called. [#]_" @@ -681,7 +681,7 @@ msgstr "" "La définition de la fonction n'exécute pas le corps de la fonction ; elle " "n'est exécutée que lorsque la fonction est appelée. [#]_" -#: reference/compound_stmts.rst:535 +#: reference/compound_stmts.rst:536 msgid "" "A function definition may be wrapped by one or more :term:`decorator` " "expressions. Decorator expressions are evaluated when the function is " @@ -700,25 +700,25 @@ msgstr "" "décorateurs, ils sont appliqués par imbrication ; par exemple, le code " "suivant ::" -#: reference/compound_stmts.rst:546 reference/compound_stmts.rst:717 +#: reference/compound_stmts.rst:547 reference/compound_stmts.rst:718 msgid "is roughly equivalent to ::" msgstr "est à peu près équivalent à ::" -#: reference/compound_stmts.rst:551 +#: reference/compound_stmts.rst:552 msgid "" "except that the original function is not temporarily bound to the name " "``func``." msgstr "" "sauf que la fonction originale n'est pas temporairement liée au nom ``func``." -#: reference/compound_stmts.rst:553 +#: reference/compound_stmts.rst:554 msgid "" "Functions may be decorated with any valid :token:`assignment_expression`. " "Previously, the grammar was much more restrictive; see :pep:`614` for " "details." msgstr "" -#: reference/compound_stmts.rst:563 +#: reference/compound_stmts.rst:564 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -737,7 +737,7 @@ msgstr "" "une valeur par défaut — ceci est une restriction syntaxique qui n'est pas " "exprimée dans la grammaire." -#: reference/compound_stmts.rst:571 +#: reference/compound_stmts.rst:572 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -760,7 +760,7 @@ msgstr "" "d'éviter cet écueil est d'utiliser ``None`` par défaut et de tester " "explicitement la valeur dans le corps de la fonction. Par exemple ::" -#: reference/compound_stmts.rst:591 +#: reference/compound_stmts.rst:592 msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " @@ -786,7 +786,7 @@ msgstr "" "ou \"``*identifier``\" sont forcément des paramètres par mot-clé et ne " "peuvent être passés qu'en utilisant des arguments par mot-clé." -#: reference/compound_stmts.rst:607 +#: reference/compound_stmts.rst:608 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -818,7 +818,7 @@ msgstr "" "cas, les annotations peuvent être interprétées dans un ordre différent de " "l'ordre dans lequel elles apparaissent dans le fichier." -#: reference/compound_stmts.rst:622 +#: reference/compound_stmts.rst:623 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -839,7 +839,7 @@ msgstr "" "en fait plus puissante puisqu'elle permet l'exécution de plusieurs " "instructions et les annotations." -#: reference/compound_stmts.rst:630 +#: reference/compound_stmts.rst:631 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -854,29 +854,29 @@ msgstr "" "ont accès aux variables locales de la fonction contenant le \"``def``\". " "Voir la section :ref:`naming` pour plus de détails." -#: reference/compound_stmts.rst:639 +#: reference/compound_stmts.rst:640 msgid ":pep:`3107` - Function Annotations" msgstr ":pep:`3107` — Annotations de fonctions" -#: reference/compound_stmts.rst:639 +#: reference/compound_stmts.rst:640 msgid "The original specification for function annotations." msgstr "La spécification originale pour les annotations de fonctions." -#: reference/compound_stmts.rst:642 +#: reference/compound_stmts.rst:643 msgid ":pep:`484` - Type Hints" msgstr ":pep:`484` — Indications de types" -#: reference/compound_stmts.rst:642 +#: reference/compound_stmts.rst:643 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" "Définition de la signification standard pour les annotations : indications " "de types." -#: reference/compound_stmts.rst:646 +#: reference/compound_stmts.rst:647 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr ":pep:`526` — Syntaxe pour les annotations de variables" -#: reference/compound_stmts.rst:645 +#: reference/compound_stmts.rst:646 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" @@ -884,11 +884,11 @@ msgstr "" "Capacité d'indiquer des types pour les déclarations de variables, y compris " "les variables de classes et les variables d'instances" -#: reference/compound_stmts.rst:649 +#: reference/compound_stmts.rst:650 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr ":pep:`563` — Évaluation différée des annotations" -#: reference/compound_stmts.rst:649 +#: reference/compound_stmts.rst:650 msgid "" "Support for forward references within annotations by preserving annotations " "in a string form at runtime instead of eager evaluation." @@ -897,17 +897,17 @@ msgstr "" "préservant les annotations sous forme de chaînes à l'exécution au lieu d'une " "évaluation directe." -#: reference/compound_stmts.rst:656 +#: reference/compound_stmts.rst:657 msgid "Class definitions" msgstr "Définition de classes" -#: reference/compound_stmts.rst:671 +#: reference/compound_stmts.rst:672 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" "Une définition de classe définit un objet classe (voir la section :ref:" "`types`) :" -#: reference/compound_stmts.rst:678 +#: reference/compound_stmts.rst:679 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -923,11 +923,11 @@ msgstr "" "classes sans liste d'héritage héritent, par défaut, de la classe de base :" "class:`object` ; d'où ::" -#: reference/compound_stmts.rst:687 +#: reference/compound_stmts.rst:688 msgid "is equivalent to ::" msgstr "est équivalente à ::" -#: reference/compound_stmts.rst:692 +#: reference/compound_stmts.rst:693 msgid "" "The class's suite is then executed in a new execution frame (see :ref:" "`naming`), using a newly created local namespace and the original global " @@ -948,7 +948,7 @@ msgstr "" "de nommage sauvegardé comme dictionnaire des attributs. Le nom de classe est " "lié à l'objet classe dans l'espace de nommage local original." -#: reference/compound_stmts.rst:701 +#: reference/compound_stmts.rst:702 msgid "" "The order in which attributes are defined in the class body is preserved in " "the new class's ``__dict__``. Note that this is reliable only right after " @@ -960,7 +960,7 @@ msgstr "" "n'est fiable que juste après la création de la classe et seulement pour les " "classes qui ont été définies en utilisant la syntaxe de définition." -#: reference/compound_stmts.rst:706 +#: reference/compound_stmts.rst:707 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." @@ -968,13 +968,13 @@ msgstr "" "La création de classes peut être fortement personnalisée en utilisant les :" "ref:`métaclasses `." -#: reference/compound_stmts.rst:711 +#: reference/compound_stmts.rst:712 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" "Les classes peuvent aussi être décorées : comme pour les décorateurs de " "fonctions, ::" -#: reference/compound_stmts.rst:722 +#: reference/compound_stmts.rst:723 msgid "" "The evaluation rules for the decorator expressions are the same as for " "function decorators. The result is then bound to the class name." @@ -983,14 +983,14 @@ msgstr "" "que pour les décorateurs de fonctions. Le résultat est alors lié au nom de " "la classe." -#: reference/compound_stmts.rst:725 +#: reference/compound_stmts.rst:726 msgid "" "Classes may be decorated with any valid :token:`assignment_expression`. " "Previously, the grammar was much more restrictive; see :pep:`614` for " "details." msgstr "" -#: reference/compound_stmts.rst:730 +#: reference/compound_stmts.rst:731 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1014,11 +1014,11 @@ msgstr "" "peuvent être utilisés pour créer des variables d'instances avec des détails " "d'implémentation différents." -#: reference/compound_stmts.rst:745 +#: reference/compound_stmts.rst:746 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr ":pep:`3115` — Métaclasses dans Python 3000" -#: reference/compound_stmts.rst:743 +#: reference/compound_stmts.rst:744 msgid "" "The proposal that changed the declaration of metaclasses to the current " "syntax, and the semantics for how classes with metaclasses are constructed." @@ -1027,11 +1027,11 @@ msgstr "" "actuelle, et la sémantique pour la façon dont les classes avec métaclasses " "sont construites." -#: reference/compound_stmts.rst:748 +#: reference/compound_stmts.rst:749 msgid ":pep:`3129` - Class Decorators" msgstr ":pep:`3129` — Décorateurs de classes" -#: reference/compound_stmts.rst:748 +#: reference/compound_stmts.rst:749 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." @@ -1039,15 +1039,15 @@ msgstr "" "La proposition qui a ajouté des décorateurs de classe. Les décorateurs de " "fonction et de méthode ont été introduits dans :pep:`318`." -#: reference/compound_stmts.rst:755 +#: reference/compound_stmts.rst:756 msgid "Coroutines" msgstr "Coroutines" -#: reference/compound_stmts.rst:763 +#: reference/compound_stmts.rst:764 msgid "Coroutine function definition" msgstr "Définition de fonctions coroutines" -#: reference/compound_stmts.rst:773 +#: reference/compound_stmts.rst:774 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). Inside the body of a coroutine function, ``await`` " @@ -1061,7 +1061,7 @@ msgstr "" "expressions :keyword:`await`, :keyword:`async for` et :keyword:`async with` " "ne peuvent être utilisées que dans les corps de coroutines." -#: reference/compound_stmts.rst:779 +#: reference/compound_stmts.rst:780 msgid "" "Functions defined with ``async def`` syntax are always coroutine functions, " "even if they do not contain ``await`` or ``async`` keywords." @@ -1070,7 +1070,7 @@ msgstr "" "fonctions coroutines, même si elles ne contiennent aucun mot-clé ``await`` " "ou ``async``." -#: reference/compound_stmts.rst:782 +#: reference/compound_stmts.rst:783 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." @@ -1078,15 +1078,15 @@ msgstr "" "C'est une :exc:`SyntaxError` d'utiliser une expression ``yield from`` dans " "une coroutine." -#: reference/compound_stmts.rst:785 +#: reference/compound_stmts.rst:786 msgid "An example of a coroutine function::" msgstr "Un exemple de fonction coroutine ::" -#: reference/compound_stmts.rst:796 +#: reference/compound_stmts.rst:797 msgid "The :keyword:`!async for` statement" msgstr "L'instruction :keyword:`!async for`" -#: reference/compound_stmts.rst:801 +#: reference/compound_stmts.rst:802 msgid "" "An :term:`asynchronous iterable` is able to call asynchronous code in its " "*iter* implementation, and :term:`asynchronous iterator` can call " @@ -1097,7 +1097,7 @@ msgstr "" "`itérateur asynchrone ` peut appeler du code " "asynchrone dans sa méthode *next*." -#: reference/compound_stmts.rst:805 +#: reference/compound_stmts.rst:806 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterators." @@ -1105,16 +1105,16 @@ msgstr "" "L'instruction ``async for`` permet d'itérer facilement sur des itérateurs " "asynchrones." -#: reference/compound_stmts.rst:815 +#: reference/compound_stmts.rst:816 msgid "Is semantically equivalent to::" msgstr "est sémantiquement équivalent à ::" -#: reference/compound_stmts.rst:831 +#: reference/compound_stmts.rst:832 msgid "See also :meth:`__aiter__` and :meth:`__anext__` for details." msgstr "" "Voir aussi :meth:`__aiter__` et :meth:`__anext__` pour plus de détails." -#: reference/compound_stmts.rst:833 +#: reference/compound_stmts.rst:834 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." @@ -1122,11 +1122,11 @@ msgstr "" "C'est une :exc:`SyntaxError` d'utiliser une instruction ``async for`` en " "dehors d'une fonction coroutine." -#: reference/compound_stmts.rst:841 +#: reference/compound_stmts.rst:842 msgid "The :keyword:`!async with` statement" msgstr "L'instruction :keyword:`!async with`" -#: reference/compound_stmts.rst:846 +#: reference/compound_stmts.rst:847 msgid "" "An :term:`asynchronous context manager` is a :term:`context manager` that is " "able to suspend execution in its *enter* and *exit* methods." @@ -1135,12 +1135,12 @@ msgstr "" "manager>` est un :term:`gestionnaire de contexte ` qui est " "capable de suspendre l'exécution dans ses méthodes *enter* et *exit*." -#: reference/compound_stmts.rst:873 +#: reference/compound_stmts.rst:874 msgid "See also :meth:`__aenter__` and :meth:`__aexit__` for details." msgstr "" "Voir aussi :meth:`__aenter__` et :meth:`__aexit__` pour plus de détails." -#: reference/compound_stmts.rst:875 +#: reference/compound_stmts.rst:876 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." @@ -1148,11 +1148,11 @@ msgstr "" "C'est une :exc:`SyntaxError` d'utiliser l'instruction ``async with`` en " "dehors d'une fonction coroutine." -#: reference/compound_stmts.rst:881 +#: reference/compound_stmts.rst:882 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr ":pep:`492` — Coroutines avec les syntaxes *async* et *await*" -#: reference/compound_stmts.rst:881 +#: reference/compound_stmts.rst:882 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." @@ -1160,11 +1160,11 @@ msgstr "" "La proposition qui a fait que les coroutines soient un concept propre en " "Python, et a ajouté la syntaxe de prise en charge de celles-ci." -#: reference/compound_stmts.rst:886 +#: reference/compound_stmts.rst:887 msgid "Footnotes" msgstr "Notes" -#: reference/compound_stmts.rst:887 +#: reference/compound_stmts.rst:888 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " @@ -1175,7 +1175,7 @@ msgstr "" "perte de l'ancienne exception. Cette nouvelle exception entraîne la perte " "pure et simple de l'ancienne." -#: reference/compound_stmts.rst:891 +#: reference/compound_stmts.rst:892 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's ``__doc__`` attribute and therefore the " @@ -1185,7 +1185,7 @@ msgstr "" "de la fonction est transformée en attribut ``__doc__`` de la fonction et " "donc en :term:`docstring` de la fonction." -#: reference/compound_stmts.rst:895 +#: reference/compound_stmts.rst:896 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" diff --git a/reference/datamodel.po b/reference/datamodel.po index d9873e0f..b3aedda2 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-06-01 16:54+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -845,10 +845,8 @@ msgstr "" "Texte de documentation de la fonction ou ``None`` s'il n'en existe pas ; " "n'est pas héritée par les sous-classes." -#: reference/datamodel.rst:490 reference/datamodel.rst:495 -#: reference/datamodel.rst:498 reference/datamodel.rst:503 -#: reference/datamodel.rst:507 reference/datamodel.rst:513 -#: reference/datamodel.rst:523 reference/datamodel.rst:534 +#: reference/datamodel.rst:495 reference/datamodel.rst:503 +#: reference/datamodel.rst:513 reference/datamodel.rst:534 #: reference/datamodel.rst:541 msgid "Writable" msgstr "Accessible en écriture" @@ -914,7 +912,7 @@ msgstr "" "la fonction — l'espace de noms global du module dans lequel la fonction est " "définie." -#: reference/datamodel.rst:516 reference/datamodel.rst:527 +#: reference/datamodel.rst:527 msgid "Read-only" msgstr "Accessible en lecture seule" @@ -3363,7 +3361,7 @@ msgstr "" "utilisé à la place de la classe de base. Le tuple peut être vide, dans ce " "cas la classe de base originale est ignorée." -#: reference/datamodel.rst:1929 reference/datamodel.rst:2119 +#: reference/datamodel.rst:2119 msgid ":pep:`560` - Core support for typing module and generic types" msgstr "" ":pep:`560` — Gestion de base pour les types modules et les types génériques" @@ -4156,7 +4154,14 @@ msgstr "" "erreurs inattendues (voir :ref:`faq-augmented-assignment-tuple-error`), mais " "ce comportement est en fait partie intégrante du modèle de données." -#: reference/datamodel.rst:2420 +#: reference/datamodel.rst:2414 +msgid "" +"Due to a bug in the dispatching mechanism for ``**=``, a class that defines :" +"meth:`__ipow__` but returns ``NotImplemented`` would fail to fall back to " +"``x.__pow__(y)`` and ``y.__rpow__(x)``. This bug is fixed in Python 3.10." +msgstr "" + +#: reference/datamodel.rst:2427 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." @@ -4164,7 +4169,7 @@ msgstr "" "Appelée pour implémenter les opérations arithmétiques unaires (``-``, ``" "+``, :func:`abs` et ``~``)." -#: reference/datamodel.rst:2433 +#: reference/datamodel.rst:2440 msgid "" "Called to implement the built-in functions :func:`complex`, :func:`int` and :" "func:`float`. Should return a value of the appropriate type." @@ -4172,7 +4177,7 @@ msgstr "" "Appelées pour implémenter les fonctions natives :func:`complex`, :func:`int` " "et :func:`float`. Elles doivent renvoyer une valeur du type approprié." -#: reference/datamodel.rst:2440 +#: reference/datamodel.rst:2447 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -4186,7 +4191,7 @@ msgstr "" "`oct`). La présence de cette méthode indique que l'objet numérique est un " "type entier. Elle doit renvoyer un entier." -#: reference/datamodel.rst:2446 +#: reference/datamodel.rst:2453 msgid "" "If :meth:`__int__`, :meth:`__float__` and :meth:`__complex__` are not " "defined then corresponding built-in functions :func:`int`, :func:`float` " @@ -4196,7 +4201,7 @@ msgstr "" "définies, alors les fonctions natives :func:`int`, :func:`float` et :func:" "`complex` redirigent par défaut vers :meth:`__index__`." -#: reference/datamodel.rst:2458 +#: reference/datamodel.rst:2465 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -4210,7 +4215,7 @@ msgstr "" "toutes ces méthodes doivent renvoyer la valeur de l'objet tronquée pour " "donner un :class:`~numbers.Integral` (typiquement un :class:`int`)." -#: reference/datamodel.rst:2464 +#: reference/datamodel.rst:2471 msgid "" "If :meth:`__int__` is not defined then the built-in function :func:`int` " "falls back to :meth:`__trunc__`." @@ -4218,11 +4223,11 @@ msgstr "" "Si :meth:`__int__` n'est pas définie, alors la fonction native :func:`int` " "se replie sur :meth:`__trunc__`." -#: reference/datamodel.rst:2471 +#: reference/datamodel.rst:2478 msgid "With Statement Context Managers" msgstr "Gestionnaire de contexte With" -#: reference/datamodel.rst:2473 +#: reference/datamodel.rst:2480 msgid "" "A :dfn:`context manager` is an object that defines the runtime context to be " "established when executing a :keyword:`with` statement. The context manager " @@ -4239,7 +4244,7 @@ msgstr "" "dans la section :ref:`with`), mais ils peuvent aussi être directement " "invoqués par leurs méthodes." -#: reference/datamodel.rst:2484 +#: reference/datamodel.rst:2491 msgid "" "Typical uses of context managers include saving and restoring various kinds " "of global state, locking and unlocking resources, closing opened files, etc." @@ -4248,14 +4253,14 @@ msgstr "" "et la restauration d'états divers, le verrouillage et le déverrouillage de " "ressources, la fermeture de fichiers ouverts, etc." -#: reference/datamodel.rst:2487 +#: reference/datamodel.rst:2494 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" "Pour plus d'informations sur les gestionnaires de contexte, lisez :ref:" "`typecontextmanager`." -#: reference/datamodel.rst:2492 +#: reference/datamodel.rst:2499 msgid "" "Enter the runtime context related to this object. The :keyword:`with` " "statement will bind this method's return value to the target(s) specified in " @@ -4266,7 +4271,7 @@ msgstr "" "cible spécifiée par la clause :keyword:`!as` de l'instruction, si elle est " "spécifiée." -#: reference/datamodel.rst:2499 +#: reference/datamodel.rst:2506 msgid "" "Exit the runtime context related to this object. The parameters describe the " "exception that caused the context to be exited. If the context was exited " @@ -4276,7 +4281,7 @@ msgstr "" "l'exception qui a causé la sortie du contexte. Si l'on sort du contexte sans " "exception, les trois arguments sont à :const:`None`." -#: reference/datamodel.rst:2503 +#: reference/datamodel.rst:2510 msgid "" "If an exception is supplied, and the method wishes to suppress the exception " "(i.e., prevent it from being propagated), it should return a true value. " @@ -4288,7 +4293,7 @@ msgstr "" "propagée), elle doit renvoyer ``True``. Sinon, l'exception est traitée " "normalement à la sortie de cette méthode." -#: reference/datamodel.rst:2507 +#: reference/datamodel.rst:2514 msgid "" "Note that :meth:`__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." @@ -4296,11 +4301,11 @@ msgstr "" "Notez qu'une méthode :meth:`__exit__` ne doit pas lever à nouveau " "l'exception qu'elle reçoit ; c'est du ressort de l'appelant." -#: reference/datamodel.rst:2514 +#: reference/datamodel.rst:2521 msgid ":pep:`343` - The \"with\" statement" msgstr ":pep:`343` — L'instruction ``with``" -#: reference/datamodel.rst:2514 +#: reference/datamodel.rst:2521 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." @@ -4308,11 +4313,11 @@ msgstr "" "La spécification, les motivations et des exemples de l'instruction :keyword:" "`with` en Python." -#: reference/datamodel.rst:2521 +#: reference/datamodel.rst:2528 msgid "Special method lookup" msgstr "Recherche des méthodes spéciales" -#: reference/datamodel.rst:2523 +#: reference/datamodel.rst:2530 msgid "" "For custom classes, implicit invocations of special methods are only " "guaranteed to work correctly if defined on an object's type, not in the " @@ -4324,7 +4329,7 @@ msgstr "" "type d'objet, pas dans le dictionnaire de l'objet instance. Ce comportement " "explique pourquoi le code suivant lève une exception ::" -#: reference/datamodel.rst:2538 +#: reference/datamodel.rst:2545 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`__hash__` and :meth:`__repr__` that are implemented by all " @@ -4338,7 +4343,7 @@ msgstr "" "méthodes utilisait le processus normal de recherche, elles ne " "fonctionneraient pas si on les appelait sur l'objet type lui-même ::" -#: reference/datamodel.rst:2551 +#: reference/datamodel.rst:2558 msgid "" "Incorrectly attempting to invoke an unbound method of a class in this way is " "sometimes referred to as 'metaclass confusion', and is avoided by bypassing " @@ -4348,7 +4353,7 @@ msgstr "" "parfois appelé « confusion de méta-classe » et se contourne en shuntant " "l'instance lors de la recherche des méthodes spéciales ::" -#: reference/datamodel.rst:2560 +#: reference/datamodel.rst:2567 msgid "" "In addition to bypassing any instance attributes in the interest of " "correctness, implicit special method lookup generally also bypasses the :" @@ -4358,7 +4363,7 @@ msgstr "" "correctement, la recherche des méthodes spéciales implicites shunte aussi la " "méthode :meth:`__getattribute__` même dans la méta-classe de l'objet ::" -#: reference/datamodel.rst:2586 +#: reference/datamodel.rst:2593 msgid "" "Bypassing the :meth:`__getattribute__` machinery in this fashion provides " "significant scope for speed optimisations within the interpreter, at the " @@ -4372,15 +4377,15 @@ msgstr "" "être définie sur l'objet classe lui-même afin d'être invoquée de manière " "cohérente par l'interpréteur)." -#: reference/datamodel.rst:2597 +#: reference/datamodel.rst:2604 msgid "Coroutines" msgstr "Coroutines" -#: reference/datamodel.rst:2601 +#: reference/datamodel.rst:2608 msgid "Awaitable Objects" msgstr "Objets *attendables* (*awaitable*)" -#: reference/datamodel.rst:2603 +#: reference/datamodel.rst:2610 #, fuzzy msgid "" "An :term:`awaitable` object generally implements an :meth:`__await__` " @@ -4391,7 +4396,7 @@ msgstr "" "`__await__`. Les objets :term:`Coroutine` renvoyés par les fonctions :" "keyword:`async def` sont des *attendables* (*awaitable*)." -#: reference/datamodel.rst:2609 +#: reference/datamodel.rst:2616 msgid "" "The :term:`generator iterator` objects returned from generators decorated " "with :func:`types.coroutine` or :func:`asyncio.coroutine` are also " @@ -4402,7 +4407,7 @@ msgstr "" "des *attendables* (*awaitable*), mais ils n'implémentent pas :meth:" "`__await__`." -#: reference/datamodel.rst:2615 +#: reference/datamodel.rst:2622 msgid "" "Must return an :term:`iterator`. Should be used to implement :term:" "`awaitable` objects. For instance, :class:`asyncio.Future` implements this " @@ -4412,17 +4417,17 @@ msgstr "" "objets :term:`awaitable`. Par exemple, :class:`asyncio.Future` implémente " "cette méthode pour être compatible avec les expressions :keyword:`await`." -#: reference/datamodel.rst:2621 +#: reference/datamodel.rst:2628 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" ":pep:`492` pour les informations relatives aux objets *attendables* " "(*awaitable*)." -#: reference/datamodel.rst:2627 +#: reference/datamodel.rst:2634 msgid "Coroutine Objects" msgstr "Objets coroutines" -#: reference/datamodel.rst:2629 +#: reference/datamodel.rst:2636 #, fuzzy msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " @@ -4441,7 +4446,7 @@ msgstr "" "exception, elle est propagée par l'itérateur. Les coroutines ne doivent pas " "lever directement des exceptions :exc:`StopIteration` non gérées." -#: reference/datamodel.rst:2637 +#: reference/datamodel.rst:2644 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " @@ -4452,13 +4457,13 @@ msgstr "" "contraire des générateurs, vous ne pouvez pas itérer directement sur des " "coroutines." -#: reference/datamodel.rst:2641 +#: reference/datamodel.rst:2648 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" "Utiliser *await* plus d'une fois sur une coroutine lève une :exc:" "`RuntimeError`." -#: reference/datamodel.rst:2647 +#: reference/datamodel.rst:2654 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`__await__`. If " @@ -4475,7 +4480,7 @@ msgstr "" "est le même que lorsque vous itérez sur la valeur de retour de :meth:" "`__await__`, décrite ci-dessus." -#: reference/datamodel.rst:2657 +#: reference/datamodel.rst:2664 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -4493,7 +4498,7 @@ msgstr "" "retour de :meth:`__await__`, décrite ci-dessus. Si l'exception n'est pas " "gérée par la coroutine, elle est propagée à l'appelant." -#: reference/datamodel.rst:2668 +#: reference/datamodel.rst:2675 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -4510,7 +4515,7 @@ msgstr "" "la coroutine est marquée comme ayant terminé son exécution, même si elle n'a " "jamais démarré." -#: reference/datamodel.rst:2676 +#: reference/datamodel.rst:2683 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." @@ -4518,11 +4523,11 @@ msgstr "" "Les objets coroutines sont automatiquement fermés en utilisant le processus " "décrit au-dessus au moment où ils sont détruits." -#: reference/datamodel.rst:2682 +#: reference/datamodel.rst:2689 msgid "Asynchronous Iterators" msgstr "Itérateurs asynchrones" -#: reference/datamodel.rst:2684 +#: reference/datamodel.rst:2691 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." @@ -4530,18 +4535,18 @@ msgstr "" "Un *itérateur asynchrone* peut appeler du code asynchrone dans sa méthode " "``__anext__``." -#: reference/datamodel.rst:2687 +#: reference/datamodel.rst:2694 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" "Les itérateurs asynchrones peuvent être utilisés dans des instructions :" "keyword:`async for`." -#: reference/datamodel.rst:2691 +#: reference/datamodel.rst:2698 msgid "Must return an *asynchronous iterator* object." msgstr "Doit renvoyer un objet *itérateur asynchrone*." -#: reference/datamodel.rst:2695 +#: reference/datamodel.rst:2702 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." @@ -4550,11 +4555,11 @@ msgstr "" "suivante de l'itérateur. Doit lever une :exc:`StopAsyncIteration` quand " "l'itération est terminée." -#: reference/datamodel.rst:2698 +#: reference/datamodel.rst:2705 msgid "An example of an asynchronous iterable object::" msgstr "Un exemple d'objet itérateur asynchrone ::" -#: reference/datamodel.rst:2715 +#: reference/datamodel.rst:2722 msgid "" "Prior to Python 3.7, ``__aiter__`` could return an *awaitable* that would " "resolve to an :term:`asynchronous iterator `." @@ -4563,7 +4568,7 @@ msgstr "" "(*awaitable*) qui se résolvait potentiellement en un :term:`itérateur " "asynchrone `." -#: reference/datamodel.rst:2720 +#: reference/datamodel.rst:2727 msgid "" "Starting with Python 3.7, ``__aiter__`` must return an asynchronous iterator " "object. Returning anything else will result in a :exc:`TypeError` error." @@ -4571,11 +4576,11 @@ msgstr "" "À partir de Python 3.7, ``__aiter__`` doit renvoyer un objet itérateur " "asynchrone. Renvoyer autre chose entraine une erreur :exc:`TypeError`." -#: reference/datamodel.rst:2728 +#: reference/datamodel.rst:2735 msgid "Asynchronous Context Managers" msgstr "Gestionnaires de contexte asynchrones" -#: reference/datamodel.rst:2730 +#: reference/datamodel.rst:2737 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." @@ -4584,7 +4589,7 @@ msgstr "" "qui est capable de suspendre son exécution dans ses méthodes ``__aenter__`` " "et ``__aexit__``." -#: reference/datamodel.rst:2733 +#: reference/datamodel.rst:2740 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." @@ -4592,7 +4597,7 @@ msgstr "" "Les gestionnaires de contexte asynchrones peuvent être utilisés dans des " "instructions :keyword:`async with`." -#: reference/datamodel.rst:2737 +#: reference/datamodel.rst:2744 msgid "" "Semantically similar to :meth:`__enter__`, the only difference being that it " "must return an *awaitable*." @@ -4600,7 +4605,7 @@ msgstr "" "Sémantiquement équivalente à :meth:`__enter__`, à la seule différence près " "qu'elle doit renvoyer un *attendable* (*awaitable*)." -#: reference/datamodel.rst:2742 +#: reference/datamodel.rst:2749 msgid "" "Semantically similar to :meth:`__exit__`, the only difference being that it " "must return an *awaitable*." @@ -4608,15 +4613,15 @@ msgstr "" "Sémantiquement équivalente à :meth:`__exit__`, à la seule différence près " "qu'elle doit renvoyer un *attendable* (*awaitable*)." -#: reference/datamodel.rst:2745 +#: reference/datamodel.rst:2752 msgid "An example of an asynchronous context manager class::" msgstr "Un exemple de classe de gestionnaire de contexte asynchrone ::" -#: reference/datamodel.rst:2758 +#: reference/datamodel.rst:2765 msgid "Footnotes" msgstr "Notes de bas de page" -#: reference/datamodel.rst:2759 +#: reference/datamodel.rst:2766 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " @@ -4627,7 +4632,7 @@ msgstr "" "car cela peut conduire à un comportement très étrange si ce n'est pas géré " "correctement." -#: reference/datamodel.rst:2763 +#: reference/datamodel.rst:2770 msgid "" "The :meth:`__hash__`, :meth:`__iter__`, :meth:`__reversed__`, and :meth:" "`__contains__` methods have special handling for this; others will still " @@ -4639,7 +4644,7 @@ msgstr "" "lèvent toujours :exc:`TypeError`, mais le font en considérant que ``None`` " "n'est pas un appelable." -#: reference/datamodel.rst:2768 +#: reference/datamodel.rst:2775 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns ``NotImplemented``. Do not set the method to ``None`` if you " @@ -4651,7 +4656,7 @@ msgstr "" "``None`` à la méthode si vous voulez un repli vers la méthode symétrique de " "l'opérande de droite — cela aurait pour effet de *bloquer* un tel repli." -#: reference/datamodel.rst:2774 +#: reference/datamodel.rst:2781 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method (such as :meth:`__add__`) fails the operation is not supported, which " diff --git a/reference/expressions.po b/reference/expressions.po index b69d54a2..eb2b75a9 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-30 21:58+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -358,7 +358,7 @@ msgstr "" msgid "Asynchronous comprehensions were introduced." msgstr "Les compréhensions asynchrones ont été introduites." -#: reference/expressions.rst:226 reference/expressions.rst:397 +#: reference/expressions.rst:397 msgid "``yield`` and ``yield from`` prohibited in the implicitly nested scope." msgstr "" "``yield`` et ``yield from`` sont interdites dans la portée implicite " @@ -1651,7 +1651,7 @@ msgstr "" "la classe doit définir une méthode :meth:`__call__` ; l'effet est le même " "que si cette méthode était appelée." -#: reference/expressions.rst:1086 reference/expressions.rst:1851 +#: reference/expressions.rst:1851 msgid "Await expression" msgstr "Expression ``await``" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index c820e686..5ebfb027 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-06-05 17:39+0900\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -1188,7 +1188,7 @@ msgid "" msgstr "" #: reference/lexical_analysis.rst:704 -msgid "The equal sign ``'='`` was added in Python 3.8." +msgid "The equal sign ``'='``." msgstr "" #: reference/lexical_analysis.rst:707 diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 7796075d..800cd5d4 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-13 16:57+0100\n" "Last-Translator: Antoine \n" "Language-Team: FRENCH \n" @@ -134,7 +134,7 @@ msgstr "" "Si la liste cible est une cible unique sans virgule de fin, optionnellement " "entre parenthèses, l'objet est assigné à cette cible." -#: reference/simple_stmts.rst:127 reference/simple_stmts.rst:139 +#: reference/simple_stmts.rst:139 msgid "" "Else: The object must be an iterable with the same number of items as there " "are targets in the target list, and the items are assigned, from left to " diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index 87026223..8fd42892 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-05-21 16:45+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -64,7 +64,7 @@ msgstr "" "Le problème est plus simple à aborder en base 10. Prenons par exemple, la " "fraction 1/3. Vous pouvez l'approximer en une fraction décimale ::" -#: tutorial/floatingpoint.rst:37 tutorial/floatingpoint.rst:41 +#: tutorial/floatingpoint.rst:41 msgid "or, better, ::" msgstr "ou, mieux, ::" diff --git a/using/cmdline.po b/using/cmdline.po index 7fcbe8c5..ed44fda3 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-27 10:39+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -254,7 +254,7 @@ msgstr "" msgid ":func:`runpy.run_module`" msgstr ":func:`runpy.run_module`" -#: using/cmdline.rst:119 using/cmdline.rst:171 +#: using/cmdline.rst:171 msgid "Equivalent functionality directly available to Python code" msgstr "Fonctionnalité équivalente directement disponible en code Python" @@ -526,7 +526,7 @@ msgstr "" "(:term:`bytecode`), avant l'extension ``.pyc`` (voir la :pep:`488`). Voir " "aussi :envvar:`PYTHONOPTIMIZE`." -#: using/cmdline.rst:290 using/cmdline.rst:300 +#: using/cmdline.rst:300 msgid "Modify ``.pyc`` filenames according to :pep:`488`." msgstr "Modifie les noms de fichiers ``.pyc`` suivant la :pep:`488`." @@ -603,7 +603,7 @@ msgstr "" "N'ajoute pas le répertoire utilisateur :data:`site-packages ` à :data:`sys.path`." -#: using/cmdline.rst:344 using/cmdline.rst:688 using/cmdline.rst:700 +#: using/cmdline.rst:688 using/cmdline.rst:700 msgid ":pep:`370` -- Per user site-packages directory" msgstr ":pep:`370` -- Répertoire site-packages propre à l'utilisateur" @@ -694,7 +694,7 @@ msgstr "" "d'environnement :envvar:`PYTHONWARNINGS` et depuis un programme Python en " "utilisant le module :mod:`warnings`." -#: using/cmdline.rst:398 using/cmdline.rst:716 +#: using/cmdline.rst:716 msgid "" "The simplest settings apply a particular action unconditionally to all " "warnings emitted by a process (even those that are otherwise ignored by " @@ -714,7 +714,7 @@ msgstr "" "``-Wi``, ``-Wd``, ``-Wa``, ``-We``), l'interpréteur fait la résolution vers " "le nom adéquat." -#: using/cmdline.rst:413 using/cmdline.rst:727 +#: using/cmdline.rst:727 msgid "" "See :ref:`warning-filter` and :ref:`describing-warning-filters` for more " "details." @@ -1424,7 +1424,7 @@ msgstr "" "Vous pouvez aussi activer ceci à l'exécution avec :func:`sys." "_enablelegacywindowsfsencoding()`." -#: using/cmdline.rst:827 using/cmdline.rst:841 +#: using/cmdline.rst:841 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." diff --git a/using/windows.po b/using/windows.po index 7c61e837..5613d4a2 100644 --- a/using/windows.po +++ b/using/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2020-08-20 23:42+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -348,8 +348,7 @@ msgstr "InstallAllUsers" msgid "Perform a system-wide installation." msgstr "Effectue une installation pour tous les utilisateurs." -#: using/windows.rst:142 using/windows.rst:165 using/windows.rst:168 -#: using/windows.rst:177 using/windows.rst:195 using/windows.rst:203 +#: using/windows.rst:165 using/windows.rst:177 using/windows.rst:203 #: using/windows.rst:206 msgid "0" msgstr "0" @@ -413,7 +412,7 @@ msgstr "" "Le dossier d'installation personnalisé par défaut affiché par l'interface " "utilisateur" -#: using/windows.rst:159 using/windows.rst:208 +#: using/windows.rst:208 msgid "(empty)" msgstr "(vide)" @@ -425,10 +424,8 @@ msgstr "AssociateFiles" msgid "Create file associations if the launcher is also installed." msgstr "Crée les associations de fichiers si le lanceur est aussi installé." -#: using/windows.rst:162 using/windows.rst:172 using/windows.rst:175 -#: using/windows.rst:179 using/windows.rst:182 using/windows.rst:185 -#: using/windows.rst:187 using/windows.rst:190 using/windows.rst:193 -#: using/windows.rst:197 using/windows.rst:199 using/windows.rst:201 +#: using/windows.rst:172 using/windows.rst:179 using/windows.rst:185 +#: using/windows.rst:190 using/windows.rst:197 using/windows.rst:201 msgid "1" msgstr "1" diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 4f1f9fa5..2a0d71e1 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-12-11 11:28+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -474,7 +474,7 @@ msgstr "" msgid ":pep:`229` - Using Distutils to Build Python" msgstr "" -#: whatsnew/2.1.rst:336 whatsnew/2.1.rst:571 +#: whatsnew/2.1.rst:571 msgid "Written and implemented by A.M. Kuchling." msgstr "" diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 4052d1b4..12170dbd 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-31 23:42+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -504,7 +504,7 @@ msgid "" "functions that always use the root log::" msgstr "" -#: whatsnew/2.3.rst:475 whatsnew/2.3.rst:500 +#: whatsnew/2.3.rst:500 msgid "This produces the following output::" msgstr "Ceci produit l’affichage suivant ::" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index 6b1b8b3b..be56cda7 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-08-01 00:06+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -997,11 +997,11 @@ msgstr "" msgid "the expression returns the new sorted copy" msgstr "" -#: whatsnew/2.4.rst:891 whatsnew/2.4.rst:919 whatsnew/2.4.rst:1212 +#: whatsnew/2.4.rst:919 whatsnew/2.4.rst:1212 msgid "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:893 whatsnew/2.4.rst:1519 +#: whatsnew/2.4.rst:1519 msgid "" "Integer operations will no longer trigger an :exc:`OverflowWarning`. The :" "exc:`OverflowWarning` warning will disappear in Python 2.5." diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index af2be860..6ec52b54 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-31 23:32+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1602,7 +1602,7 @@ msgid "" "example::" msgstr "" -#: whatsnew/2.5.rst:1373 whatsnew/2.5.rst:1382 +#: whatsnew/2.5.rst:1382 msgid "(Contributed by Raymond Hettinger.)" msgstr "" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 2a4914f6..11b4e06a 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-31 23:37+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -1704,7 +1704,7 @@ msgid "" "`update`, :meth:`difference` and :meth:`difference_update`." msgstr "" -#: whatsnew/2.6.rst:1596 whatsnew/2.6.rst:1880 whatsnew/2.6.rst:1901 +#: whatsnew/2.6.rst:1880 whatsnew/2.6.rst:1901 msgid "(Contributed by Raymond Hettinger.)" msgstr "" @@ -3245,7 +3245,7 @@ msgstr "La documentation du module :mod:`codecs`." msgid "Deprecations and Removals" msgstr "" -#: whatsnew/2.6.rst:2913 whatsnew/2.6.rst:3241 +#: whatsnew/2.6.rst:3241 msgid "" "String exceptions have been removed. Attempting to use them raises a :exc:" "`TypeError`." diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 7678d240..39a647a3 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2017-08-10 00:52+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -875,7 +875,7 @@ msgid "" "after a suggestion by George Sakkis; :issue:`5982`.)" msgstr "" -#: whatsnew/2.7.rst:867 whatsnew/2.7.rst:2462 +#: whatsnew/2.7.rst:2462 msgid "" "When a restricted set of attributes were set using ``__slots__``, deleting " "an unset attribute would not raise :exc:`AttributeError` as you would " @@ -1777,7 +1777,7 @@ msgid "" "Hylton.)" msgstr "" -#: whatsnew/2.7.rst:1598 whatsnew/2.7.rst:2496 +#: whatsnew/2.7.rst:2496 msgid "" "The :mod:`syslog` module will now use the value of ``sys.argv[0]`` as the " "identifier instead of the previous default value of ``'python'``. (Changed " @@ -1800,7 +1800,7 @@ msgid "" "issue:`7766`.)" msgstr "" -#: whatsnew/2.7.rst:1613 whatsnew/2.7.rst:2500 +#: whatsnew/2.7.rst:2500 msgid "" "The :mod:`tarfile` module's default error handling has changed, to no longer " "suppress fatal errors. The default error level was previously 0, which " @@ -1844,7 +1844,7 @@ msgid "" "Florent Xicluna; :issue:`8024`)." msgstr "" -#: whatsnew/2.7.rst:1648 whatsnew/2.7.rst:2508 +#: whatsnew/2.7.rst:2508 msgid "" "The :mod:`urlparse` module's :func:`~urlparse.urlsplit` now handles unknown " "URL schemes in a fashion compliant with :rfc:`3986`: if the URL is of the " @@ -1854,11 +1854,11 @@ msgid "" "For example, Python 2.6.4 or 2.5 will return the following:" msgstr "" -#: whatsnew/2.7.rst:1663 whatsnew/2.7.rst:2523 +#: whatsnew/2.7.rst:2523 msgid "Python 2.7 (and Python 2.6.5) will return:" msgstr "" -#: whatsnew/2.7.rst:1672 whatsnew/2.7.rst:2532 +#: whatsnew/2.7.rst:2532 msgid "" "(Python 2.7 actually produces slightly different output, since it returns a " "named tuple instead of a standard tuple.)" @@ -3276,7 +3276,7 @@ msgid "" "pre.in` for details." msgstr "" -#: whatsnew/2.7.rst:2772 whatsnew/2.7.rst:2785 +#: whatsnew/2.7.rst:2785 #, fuzzy msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "(Contribution par Victor Stinner; :issue:`12049`.)" diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 67996072..612786c9 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-03 11:14+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -322,7 +322,7 @@ msgstr "" msgid ":pep:`3147` - PYC Repository Directories" msgstr "" -#: whatsnew/3.2.rst:353 whatsnew/3.2.rst:384 +#: whatsnew/3.2.rst:384 msgid "PEP written by Barry Warsaw." msgstr "" @@ -908,8 +908,7 @@ msgid "" "filled in automatically." msgstr "" -#: whatsnew/3.2.rst:822 whatsnew/3.2.rst:834 whatsnew/3.2.rst:878 -#: whatsnew/3.2.rst:899 whatsnew/3.2.rst:913 whatsnew/3.2.rst:1783 +#: whatsnew/3.2.rst:834 whatsnew/3.2.rst:899 whatsnew/3.2.rst:1783 #: whatsnew/3.2.rst:1828 msgid "(Contributed by Raymond Hettinger.)" msgstr "" @@ -1651,7 +1650,7 @@ msgid "" "`shutil.copy2` is used by default." msgstr "" -#: whatsnew/3.2.rst:1549 whatsnew/3.2.rst:1587 +#: whatsnew/3.2.rst:1587 msgid "(Contributed by Tarek Ziadé.)" msgstr "" @@ -1934,7 +1933,7 @@ msgid "" "and a directory to start discovery with ``-s``:" msgstr "" -#: whatsnew/3.2.rst:1754 whatsnew/3.2.rst:1763 whatsnew/3.2.rst:1919 +#: whatsnew/3.2.rst:1763 whatsnew/3.2.rst:1919 msgid "(Contributed by Michael Foord.)" msgstr "" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 4b9d4cb3..581e03c2 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-07-31 23:09+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -213,7 +213,7 @@ msgid "" "dimensional NumPy-style arrays is explained." msgstr "" -#: whatsnew/3.3.rst:161 whatsnew/3.3.rst:1122 +#: whatsnew/3.3.rst:1122 msgid "Features" msgstr "Caractéristiques" @@ -250,7 +250,7 @@ msgid "" "now possible to reverse a memoryview in O(1) by using a negative step." msgstr "" -#: whatsnew/3.3.rst:180 whatsnew/3.3.rst:1132 +#: whatsnew/3.3.rst:1132 msgid "API changes" msgstr "" @@ -1199,19 +1199,19 @@ msgid "" "updated property. The built-in descriptors have been updated accordingly." msgstr "" -#: whatsnew/3.3.rst:919 whatsnew/3.3.rst:2245 +#: whatsnew/3.3.rst:2245 msgid "" ":class:`abc.abstractproperty` has been deprecated, use :class:`property` " "with :func:`abc.abstractmethod` instead." msgstr "" -#: whatsnew/3.3.rst:921 whatsnew/3.3.rst:2247 +#: whatsnew/3.3.rst:2247 msgid "" ":class:`abc.abstractclassmethod` has been deprecated, use :class:" "`classmethod` with :func:`abc.abstractmethod` instead." msgstr "" -#: whatsnew/3.3.rst:923 whatsnew/3.3.rst:2249 +#: whatsnew/3.3.rst:2249 msgid "" ":class:`abc.abstractstaticmethod` has been deprecated, use :class:" "`staticmethod` with :func:`abc.abstractmethod` instead." @@ -1612,11 +1612,11 @@ msgstr "64-bit" msgid ":const:`MAX_PREC`" msgstr ":const:`MAX_PREC`" -#: whatsnew/3.3.rst:1140 whatsnew/3.3.rst:1142 +#: whatsnew/3.3.rst:1142 msgid ":const:`425000000`" msgstr ":const:`425000000`" -#: whatsnew/3.3.rst:1140 whatsnew/3.3.rst:1142 +#: whatsnew/3.3.rst:1142 msgid ":const:`999999999999999999`" msgstr ":const:`999999999999999999`" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index 302179cc..22b5efe5 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -421,7 +421,7 @@ msgstr "" msgid ":pep:`446` -- Make newly created file descriptors non-inheritable" msgstr "" -#: whatsnew/3.4.rst:280 whatsnew/3.4.rst:1812 +#: whatsnew/3.4.rst:1812 msgid "PEP written and implemented by Victor Stinner." msgstr "" @@ -627,7 +627,7 @@ msgid "" "implementations to interoperate with the standard library and each other." msgstr "" -#: whatsnew/3.4.rst:471 whatsnew/3.4.rst:534 +#: whatsnew/3.4.rst:534 msgid "For Python 3.4, this module is considered a :term:`provisional API`." msgstr "" @@ -715,7 +715,7 @@ msgstr "" ":pep:`428` : Le module *pathlib* -- chemins de système de fichiers orientés " "objet." -#: whatsnew/3.4.rst:539 whatsnew/3.4.rst:1835 +#: whatsnew/3.4.rst:1835 msgid "PEP written and implemented by Antoine Pitrou." msgstr "" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 1c3f5fa4..30335780 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2017-08-10 00:52+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -386,7 +386,7 @@ msgid "" "ASCII compatible text." msgstr "" -#: whatsnew/3.5.rst:373 whatsnew/3.5.rst:1848 +#: whatsnew/3.5.rst:1848 msgid "Examples::" msgstr "Exemples ::" @@ -2841,13 +2841,13 @@ msgid "" "-.pyd``:" msgstr "" -#: whatsnew/3.5.rst:2225 whatsnew/3.5.rst:2242 +#: whatsnew/3.5.rst:2242 msgid "" "```` is the major number of the Python version; for Python 3.5 this " "is ``3``." msgstr "" -#: whatsnew/3.5.rst:2228 whatsnew/3.5.rst:2245 +#: whatsnew/3.5.rst:2245 msgid "" "```` is the minor number of the Python version; for Python 3.5 this " "is ``5``." @@ -3343,7 +3343,7 @@ msgid "" "pre.in` for details." msgstr "" -#: whatsnew/3.5.rst:2558 whatsnew/3.5.rst:2571 +#: whatsnew/3.5.rst:2571 #, fuzzy msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "(Contribution par Victor Stinner; :issue:`12049`.)" diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index c45085a9..e9d50340 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-10-13 17:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -172,7 +172,7 @@ msgid "" "such as account authentication, tokens, and similar." msgstr "" -#: whatsnew/3.6.rst:136 whatsnew/3.6.rst:1283 +#: whatsnew/3.6.rst:1283 msgid "" "On Linux, :func:`os.urandom` now blocks until the system urandom entropy " "pool is initialized to increase the security. See the :pep:`524` for the " @@ -367,7 +367,7 @@ msgstr "" msgid ":pep:`525` -- Asynchronous Generators" msgstr ":pep:`525` : Générateurs asynchrones" -#: whatsnew/3.6.rst:302 whatsnew/3.6.rst:323 +#: whatsnew/3.6.rst:323 msgid "PEP written and implemented by Yury Selivanov." msgstr "" @@ -410,11 +410,11 @@ msgid "" "``type.__new__`` (as described in :ref:`class-object-creation`)." msgstr "" -#: whatsnew/3.6.rst:356 whatsnew/3.6.rst:394 +#: whatsnew/3.6.rst:394 msgid ":pep:`487` -- Simpler customization of class creation" msgstr "" -#: whatsnew/3.6.rst:356 whatsnew/3.6.rst:394 +#: whatsnew/3.6.rst:394 msgid "PEP written and implemented by Martin Teichmann." msgstr "" @@ -626,7 +626,7 @@ msgstr "" msgid ":pep:`520` -- Preserving Class Attribute Definition Order" msgstr "" -#: whatsnew/3.6.rst:561 whatsnew/3.6.rst:575 +#: whatsnew/3.6.rst:575 msgid "PEP written and implemented by Eric Snow." msgstr "" @@ -1144,7 +1144,7 @@ msgid "" "Hettinger in :issue:`17941`.)" msgstr "" -#: whatsnew/3.6.rst:940 whatsnew/3.6.rst:2278 +#: whatsnew/3.6.rst:2278 msgid "" "The *verbose* and *rename* arguments for :func:`~collections.namedtuple` are " "now keyword-only. (Contributed by Raymond Hettinger in :issue:`25628`.)" @@ -1235,7 +1235,7 @@ msgstr "" msgid "(Contributed by Stefan Krah amd Mark Dickinson in :issue:`25928`.)" msgstr "" -#: whatsnew/3.6.rst:1012 whatsnew/3.6.rst:1986 +#: whatsnew/3.6.rst:1986 msgid "distutils" msgstr "distutils" @@ -1505,7 +1505,7 @@ msgid "" "button. (Contributed by Tal Einat in :issue:`1529353`.)" msgstr "" -#: whatsnew/3.6.rst:1199 whatsnew/3.6.rst:2003 +#: whatsnew/3.6.rst:2003 msgid "importlib" msgstr "importlib" @@ -1600,7 +1600,7 @@ msgid "" "issue:`6766`.)" msgstr "" -#: whatsnew/3.6.rst:1268 whatsnew/3.6.rst:2017 +#: whatsnew/3.6.rst:2017 msgid "os" msgstr "" @@ -1705,7 +1705,7 @@ msgid "" "by Raymond Hettinger in :issue:`18844`.)" msgstr "" -#: whatsnew/3.6.rst:1345 whatsnew/3.6.rst:2025 +#: whatsnew/3.6.rst:2025 msgid "re" msgstr "" @@ -1847,7 +1847,7 @@ msgid "" "(Contributed by Martin Panter in :issue:`26721`.)" msgstr "" -#: whatsnew/3.6.rst:1445 whatsnew/3.6.rst:2033 +#: whatsnew/3.6.rst:2033 msgid "ssl" msgstr "" @@ -1999,7 +1999,7 @@ msgid "" "and worst times. (Contributed by Serhiy Storchaka in :issue:`23552`.)" msgstr "" -#: whatsnew/3.6.rst:1548 whatsnew/3.6.rst:2050 +#: whatsnew/3.6.rst:2050 msgid "tkinter" msgstr "tkinter" @@ -2169,7 +2169,7 @@ msgid "" "in :issue:`16099`.)" msgstr "" -#: whatsnew/3.6.rst:1687 whatsnew/3.6.rst:2056 +#: whatsnew/3.6.rst:2056 msgid "venv" msgstr "venv" @@ -3163,7 +3163,7 @@ msgid "" "pre.in` for details." msgstr "" -#: whatsnew/3.6.rst:2395 whatsnew/3.6.rst:2408 +#: whatsnew/3.6.rst:2408 #, fuzzy msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "(Contribution par Victor Stinner; :issue:`12049`.)" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 17e73ed4..348bf1fd 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -362,7 +362,7 @@ msgstr "" msgid ":pep:`540` -- Add a new UTF-8 mode" msgstr "" -#: whatsnew/3.7.rst:260 whatsnew/3.7.rst:362 +#: whatsnew/3.7.rst:362 msgid "PEP written and implemented by Victor Stinner" msgstr "" @@ -458,7 +458,7 @@ msgstr "" msgid ":pep:`562` -- Module ``__getattr__`` and ``__dir__``" msgstr ":pep:`562` — ``__getattr__`` et ``__dir__`` pour un module" -#: whatsnew/3.7.rst:332 whatsnew/3.7.rst:421 +#: whatsnew/3.7.rst:421 msgid "PEP written and implemented by Ivan Levkivskyi" msgstr "" @@ -475,27 +475,27 @@ msgid "" "module:" msgstr "" -#: whatsnew/3.7.rst:346 whatsnew/3.7.rst:1446 +#: whatsnew/3.7.rst:1446 msgid ":func:`time.clock_gettime_ns`" msgstr "" -#: whatsnew/3.7.rst:347 whatsnew/3.7.rst:1447 +#: whatsnew/3.7.rst:1447 msgid ":func:`time.clock_settime_ns`" msgstr "" -#: whatsnew/3.7.rst:348 whatsnew/3.7.rst:1448 +#: whatsnew/3.7.rst:1448 msgid ":func:`time.monotonic_ns`" msgstr "" -#: whatsnew/3.7.rst:349 whatsnew/3.7.rst:1449 +#: whatsnew/3.7.rst:1449 msgid ":func:`time.perf_counter_ns`" msgstr "" -#: whatsnew/3.7.rst:350 whatsnew/3.7.rst:1450 +#: whatsnew/3.7.rst:1450 msgid ":func:`time.process_time_ns`" msgstr "" -#: whatsnew/3.7.rst:351 whatsnew/3.7.rst:1451 +#: whatsnew/3.7.rst:1451 msgid ":func:`time.time_ns`" msgstr "" @@ -869,7 +869,7 @@ msgid "" "positional arguments. (Contributed by paul.j3 in :issue:`14191`.)" msgstr "" -#: whatsnew/3.7.rst:633 whatsnew/3.7.rst:1950 +#: whatsnew/3.7.rst:1950 msgid "asyncio" msgstr "asyncio" @@ -1097,7 +1097,7 @@ msgid "" "(Contributed by Oz Tiram in :issue:`30095`.)" msgstr "" -#: whatsnew/3.7.rst:795 whatsnew/3.7.rst:1964 +#: whatsnew/3.7.rst:1964 msgid "collections" msgstr "" @@ -1204,7 +1204,7 @@ msgid "" "(Contributed by Alexander Belopolsky in :issue:`5288`.)" msgstr "" -#: whatsnew/3.7.rst:871 whatsnew/3.7.rst:1974 +#: whatsnew/3.7.rst:1974 msgid "dbm" msgstr "dbm" @@ -1249,7 +1249,7 @@ msgid "" "in :issue:`11913`.)" msgstr "" -#: whatsnew/3.7.rst:905 whatsnew/3.7.rst:1984 +#: whatsnew/3.7.rst:1984 msgid "enum" msgstr "enum" @@ -1449,7 +1449,7 @@ msgid "" "`17535`.)" msgstr "" -#: whatsnew/3.7.rst:1043 whatsnew/3.7.rst:2003 +#: whatsnew/3.7.rst:2003 msgid "importlib" msgstr "importlib" @@ -1517,7 +1517,7 @@ msgid "" "Roberts in :issue:`30537`.)" msgstr "" -#: whatsnew/3.7.rst:1092 whatsnew/3.7.rst:2021 +#: whatsnew/3.7.rst:2021 msgid "locale" msgstr "" @@ -1782,7 +1782,7 @@ msgid "" "in :issue:`30050`.)" msgstr "" -#: whatsnew/3.7.rst:1271 whatsnew/3.7.rst:2044 +#: whatsnew/3.7.rst:2044 msgid "socket" msgstr "" @@ -1859,7 +1859,7 @@ msgid "" "Lorentsen in :issue:`31843`.)" msgstr "" -#: whatsnew/3.7.rst:1322 whatsnew/3.7.rst:2053 +#: whatsnew/3.7.rst:2053 msgid "ssl" msgstr "" @@ -1994,7 +1994,7 @@ msgid "" "`25942`.)" msgstr "" -#: whatsnew/3.7.rst:1422 whatsnew/3.7.rst:2069 +#: whatsnew/3.7.rst:2069 msgid "sys" msgstr "sys" @@ -3096,7 +3096,7 @@ msgid "" "Smith in :issue:`29137`.)" msgstr "" -#: whatsnew/3.7.rst:2196 whatsnew/3.7.rst:2472 +#: whatsnew/3.7.rst:2472 msgid "Windows-only Changes" msgstr "" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index f29fd73d..fe47afd6 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: 2019-09-04 11:41+0200\n" "Last-Translator: Fred-si \n" "Language-Team: FRENCH \n" @@ -820,7 +820,7 @@ msgstr "" msgid "(Contributed by Yury Selivanov in :issue:`37028`.)" msgstr "" -#: whatsnew/3.8.rst:648 whatsnew/3.8.rst:1954 +#: whatsnew/3.8.rst:1964 msgid "" "The exception :class:`asyncio.CancelledError` now inherits from :class:" "`BaseException` rather than :class:`Exception` and no longer inherits from :" @@ -1084,14 +1084,36 @@ msgid "" msgstr "" #: whatsnew/3.8.rst:873 +msgid "New in 3.8.1:" +msgstr "" + +#: whatsnew/3.8.rst:875 +msgid "" +"Add option to toggle cursor blink off. (Contributed by Zackery Spytz in :" +"issue:`4603`.)" +msgstr "" + +#: whatsnew/3.8.rst:878 +msgid "" +"Escape key now closes IDLE completion windows. (Contributed by Johnny " +"Najera in :issue:`38944`.)" +msgstr "" + +#: whatsnew/3.8.rst:881 msgid "The changes above have been backported to 3.7 maintenance releases." msgstr "" -#: whatsnew/3.8.rst:877 +#: whatsnew/3.8.rst:883 +msgid "" +"Add keywords to module name completion list. (Contributed by Terry J. Reedy " +"in :issue:`37765`.)" +msgstr "" + +#: whatsnew/3.8.rst:887 msgid "inspect" msgstr "" -#: whatsnew/3.8.rst:879 +#: whatsnew/3.8.rst:889 msgid "" "The :func:`inspect.getdoc` function can now find docstrings for " "``__slots__`` if that attribute is a :class:`dict` where the values are " @@ -1099,15 +1121,15 @@ msgid "" "have for :func:`property`, :func:`classmethod`, and :func:`staticmethod`::" msgstr "" -#: whatsnew/3.8.rst:891 +#: whatsnew/3.8.rst:901 msgid "(Contributed by Raymond Hettinger in :issue:`36326`.)" msgstr "" -#: whatsnew/3.8.rst:895 +#: whatsnew/3.8.rst:905 msgid "io" msgstr "" -#: whatsnew/3.8.rst:897 +#: whatsnew/3.8.rst:907 msgid "" "In development mode (:option:`-X` ``env``) and in debug build, the :class:" "`io.IOBase` finalizer now logs the exception if the ``close()`` method " @@ -1115,35 +1137,35 @@ msgid "" "(Contributed by Victor Stinner in :issue:`18748`.)" msgstr "" -#: whatsnew/3.8.rst:904 +#: whatsnew/3.8.rst:914 msgid "itertools" msgstr "" -#: whatsnew/3.8.rst:906 +#: whatsnew/3.8.rst:916 msgid "" "The :func:`itertools.accumulate` function added an option *initial* keyword " "argument to specify an initial value::" msgstr "" -#: whatsnew/3.8.rst:913 +#: whatsnew/3.8.rst:923 msgid "(Contributed by Lisa Roach in :issue:`34659`.)" msgstr "" -#: whatsnew/3.8.rst:917 +#: whatsnew/3.8.rst:927 msgid "json.tool" msgstr "" -#: whatsnew/3.8.rst:919 +#: whatsnew/3.8.rst:929 msgid "" "Add option ``--json-lines`` to parse every input line as a separate JSON " "object. (Contributed by Weipeng Hong in :issue:`31553`.)" msgstr "" -#: whatsnew/3.8.rst:924 +#: whatsnew/3.8.rst:934 msgid "logging" msgstr "" -#: whatsnew/3.8.rst:926 +#: whatsnew/3.8.rst:936 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 " @@ -1151,7 +1173,7 @@ msgid "" "arguments." msgstr "" -#: whatsnew/3.8.rst:931 +#: whatsnew/3.8.rst:941 msgid "" "This solves a long-standing problem. Once a logger or *basicConfig()* had " "been called, subsequent calls to *basicConfig()* were silently ignored. This " @@ -1159,53 +1181,53 @@ msgid "" "configuration options using the interactive prompt or a Jupyter notebook." msgstr "" -#: whatsnew/3.8.rst:937 +#: whatsnew/3.8.rst:947 msgid "" "(Suggested by Raymond Hettinger, implemented by Dong-hee Na, and reviewed by " "Vinay Sajip in :issue:`33897`.)" msgstr "" -#: whatsnew/3.8.rst:942 +#: whatsnew/3.8.rst:952 msgid "math" msgstr "" -#: whatsnew/3.8.rst:944 +#: whatsnew/3.8.rst:954 msgid "" "Added new function :func:`math.dist` for computing Euclidean distance " "between two points. (Contributed by Raymond Hettinger in :issue:`33089`.)" msgstr "" -#: whatsnew/3.8.rst:947 +#: whatsnew/3.8.rst:957 msgid "" "Expanded the :func:`math.hypot` function to handle multiple dimensions. " "Formerly, it only supported the 2-D case. (Contributed by Raymond Hettinger " "in :issue:`33089`.)" msgstr "" -#: whatsnew/3.8.rst:951 +#: whatsnew/3.8.rst:961 msgid "" "Added new function, :func:`math.prod`, as analogous function to :func:`sum` " "that returns the product of a 'start' value (default: 1) times an iterable " "of numbers::" msgstr "" -#: whatsnew/3.8.rst:960 +#: whatsnew/3.8.rst:970 msgid "(Contributed by Pablo Galindo in :issue:`35606`.)" msgstr "" -#: whatsnew/3.8.rst:962 +#: whatsnew/3.8.rst:972 msgid "" "Added two new combinatoric functions :func:`math.perm` and :func:`math." "comb`::" msgstr "" -#: whatsnew/3.8.rst:969 +#: whatsnew/3.8.rst:979 msgid "" "(Contributed by Yash Aggarwal, Keller Fuchs, Serhiy Storchaka, and Raymond " "Hettinger in :issue:`37128`, :issue:`37178`, and :issue:`35431`.)" msgstr "" -#: whatsnew/3.8.rst:972 +#: whatsnew/3.8.rst:982 msgid "" "Added a new function :func:`math.isqrt` for computing accurate integer " "square roots without conversion to floating point. The new function " @@ -1213,48 +1235,48 @@ msgid "" "but slower than :func:`math.sqrt`::" msgstr "" -#: whatsnew/3.8.rst:984 +#: whatsnew/3.8.rst:994 msgid "(Contributed by Mark Dickinson in :issue:`36887`.)" msgstr "" -#: whatsnew/3.8.rst:986 +#: whatsnew/3.8.rst:996 msgid "" "The function :func:`math.factorial` no longer accepts arguments that are not " "int-like. (Contributed by Pablo Galindo in :issue:`33083`.)" msgstr "" -#: whatsnew/3.8.rst:991 +#: whatsnew/3.8.rst:1001 msgid "mmap" msgstr "" -#: whatsnew/3.8.rst:993 +#: whatsnew/3.8.rst:1003 msgid "" "The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.madvise` method to " "access the ``madvise()`` system call. (Contributed by Zackery Spytz in :" "issue:`32941`.)" msgstr "" -#: whatsnew/3.8.rst:999 +#: whatsnew/3.8.rst:1009 msgid "multiprocessing" msgstr "multiprocessing" -#: whatsnew/3.8.rst:1001 +#: whatsnew/3.8.rst:1011 msgid "" "Added new :mod:`multiprocessing.shared_memory` module. (Contributed by Davin " "Potts in :issue:`35813`.)" msgstr "" -#: whatsnew/3.8.rst:1004 +#: whatsnew/3.8.rst:1014 msgid "" "On macOS, the *spawn* start method is now used by default. (Contributed by " "Victor Stinner in :issue:`33725`.)" msgstr "" -#: whatsnew/3.8.rst:1009 +#: whatsnew/3.8.rst:1019 msgid "os" msgstr "" -#: whatsnew/3.8.rst:1011 +#: whatsnew/3.8.rst:1021 msgid "" "Added new function :func:`~os.add_dll_directory` on Windows for providing " "additional search paths for native dependencies when importing extension " @@ -1262,14 +1284,14 @@ msgid "" "issue:`36085`.)" msgstr "" -#: whatsnew/3.8.rst:1016 +#: whatsnew/3.8.rst:1026 msgid "" "A new :func:`os.memfd_create` function was added to wrap the " "``memfd_create()`` syscall. (Contributed by Zackery Spytz and Christian " "Heimes in :issue:`26836`.)" msgstr "" -#: whatsnew/3.8.rst:1020 +#: whatsnew/3.8.rst:1030 msgid "" "On Windows, much of the manual logic for handling reparse points (including " "symlinks and directory junctions) has been delegated to the operating " @@ -1282,7 +1304,7 @@ msgid "" "st_reparse_tag` attribute." msgstr "" -#: whatsnew/3.8.rst:1029 +#: whatsnew/3.8.rst:1039 msgid "" "On Windows, :func:`os.readlink` is now able to read directory junctions. " "Note that :func:`~os.path.islink` will return ``False`` for directory " @@ -1291,15 +1313,15 @@ msgid "" "readlink` may now treat junctions as links." msgstr "" -#: whatsnew/3.8.rst:1035 whatsnew/3.8.rst:1060 +#: whatsnew/3.8.rst:1070 msgid "(Contributed by Steve Dower in :issue:`37834`.)" msgstr "" -#: whatsnew/3.8.rst:1039 +#: whatsnew/3.8.rst:1049 msgid "os.path" msgstr "" -#: whatsnew/3.8.rst:1041 +#: whatsnew/3.8.rst:1051 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." @@ -1310,7 +1332,7 @@ msgid "" "Storchaka in :issue:`33721`.)" msgstr "" -#: whatsnew/3.8.rst:1049 whatsnew/3.8.rst:1949 +#: whatsnew/3.8.rst:1959 msgid "" ":func:`~os.path.expanduser` on Windows now prefers the :envvar:`USERPROFILE` " "environment variable and does not use :envvar:`HOME`, which is not normally " @@ -1318,23 +1340,23 @@ msgid "" "`36264`.)" msgstr "" -#: whatsnew/3.8.rst:1054 +#: whatsnew/3.8.rst:1064 msgid "" ":func:`~os.path.isdir` on Windows no longer returns ``True`` for a link to a " "non-existent directory." msgstr "" -#: whatsnew/3.8.rst:1057 +#: whatsnew/3.8.rst:1067 msgid "" ":func:`~os.path.realpath` on Windows now resolves reparse points, including " "symlinks and directory junctions." msgstr "" -#: whatsnew/3.8.rst:1064 +#: whatsnew/3.8.rst:1074 msgid "pathlib" msgstr "pathlib" -#: whatsnew/3.8.rst:1066 +#: whatsnew/3.8.rst:1076 msgid "" ":mod:`pathlib.Path` methods that return a boolean result like :meth:" "`~pathlib.Path.exists()`, :meth:`~pathlib.Path.is_dir()`, :meth:`~pathlib." @@ -1347,17 +1369,17 @@ msgid "" "`33721`.)" msgstr "" -#: whatsnew/3.8.rst:1076 +#: whatsnew/3.8.rst:1086 msgid "" "Added :meth:`pathlib.Path.link_to()` which creates a hard link pointing to a " "path. (Contributed by Joannah Nanjekye in :issue:`26978`)" msgstr "" -#: whatsnew/3.8.rst:1082 +#: whatsnew/3.8.rst:1092 msgid "pickle" msgstr "" -#: whatsnew/3.8.rst:1084 +#: whatsnew/3.8.rst:1094 msgid "" ":mod:`pickle` extensions subclassing the C-optimized :class:`~pickle." "Pickler` can now override the pickling logic of functions and classes by " @@ -1365,22 +1387,22 @@ msgid "" "(Contributed by Pierre Glaser and Olivier Grisel in :issue:`35900`.)" msgstr "" -#: whatsnew/3.8.rst:1091 +#: whatsnew/3.8.rst:1101 msgid "plistlib" msgstr "" -#: whatsnew/3.8.rst:1093 +#: whatsnew/3.8.rst:1103 msgid "" "Added new :class:`plistlib.UID` and enabled support for reading and writing " "NSKeyedArchiver-encoded binary plists. (Contributed by Jon Janzen in :issue:" "`26707`.)" msgstr "" -#: whatsnew/3.8.rst:1099 +#: whatsnew/3.8.rst:1109 msgid "pprint" msgstr "" -#: whatsnew/3.8.rst:1101 +#: whatsnew/3.8.rst:1111 msgid "" "The :mod:`pprint` module added a *sort_dicts* parameter to several " "functions. By default, those functions continue to sort dictionaries before " @@ -1389,47 +1411,47 @@ msgid "" "for comparison to JSON inputs during debugging." msgstr "" -#: whatsnew/3.8.rst:1107 +#: whatsnew/3.8.rst:1117 msgid "" "In addition, there is a convenience new function, :func:`pprint.pp` that is " "like :func:`pprint.pprint` but with *sort_dicts* defaulting to ``False``::" msgstr "" -#: whatsnew/3.8.rst:1121 +#: whatsnew/3.8.rst:1131 msgid "(Contributed by Rémi Lapeyre in :issue:`30670`.)" msgstr "" -#: whatsnew/3.8.rst:1125 +#: whatsnew/3.8.rst:1135 msgid "py_compile" msgstr "" -#: whatsnew/3.8.rst:1127 +#: whatsnew/3.8.rst:1137 msgid "" ":func:`py_compile.compile` now supports silent mode. (Contributed by Joannah " "Nanjekye in :issue:`22640`.)" msgstr "" -#: whatsnew/3.8.rst:1132 +#: whatsnew/3.8.rst:1142 msgid "shlex" msgstr "" -#: whatsnew/3.8.rst:1134 +#: whatsnew/3.8.rst:1144 msgid "" "The new :func:`shlex.join` function acts as the inverse of :func:`shlex." "split`. (Contributed by Bo Bayles in :issue:`32102`.)" msgstr "" -#: whatsnew/3.8.rst:1139 +#: whatsnew/3.8.rst:1149 msgid "shutil" msgstr "" -#: whatsnew/3.8.rst:1141 +#: whatsnew/3.8.rst:1151 msgid "" ":func:`shutil.copytree` now accepts a new ``dirs_exist_ok`` keyword " "argument. (Contributed by Josh Bronson in :issue:`20849`.)" msgstr "" -#: whatsnew/3.8.rst:1144 +#: whatsnew/3.8.rst:1154 msgid "" ":func:`shutil.make_archive` now defaults to the modern pax (POSIX.1-2001) " "format for new archives to improve portability and standards conformance, " @@ -1437,18 +1459,18 @@ msgid "" "(Contributed by C.A.M. Gerlach in :issue:`30661`.)" msgstr "" -#: whatsnew/3.8.rst:1149 +#: whatsnew/3.8.rst:1159 msgid "" ":func:`shutil.rmtree` on Windows now removes directory junctions without " "recursively removing their contents first. (Contributed by Steve Dower in :" "issue:`37834`.)" msgstr "" -#: whatsnew/3.8.rst:1155 +#: whatsnew/3.8.rst:1165 msgid "socket" msgstr "" -#: whatsnew/3.8.rst:1157 +#: whatsnew/3.8.rst:1167 msgid "" "Added :meth:`~socket.create_server()` and :meth:`~socket." "has_dualstack_ipv6()` convenience functions to automate the necessary tasks " @@ -1457,66 +1479,66 @@ msgid "" "Rodolà in :issue:`17561`.)" msgstr "" -#: whatsnew/3.8.rst:1162 +#: whatsnew/3.8.rst:1172 msgid "" "The :func:`socket.if_nameindex()`, :func:`socket.if_nametoindex()`, and :" "func:`socket.if_indextoname()` functions have been implemented on Windows. " "(Contributed by Zackery Spytz in :issue:`37007`.)" msgstr "" -#: whatsnew/3.8.rst:1168 +#: whatsnew/3.8.rst:1178 msgid "ssl" msgstr "" -#: whatsnew/3.8.rst:1170 +#: whatsnew/3.8.rst:1180 msgid "" "Added :attr:`~ssl.SSLContext.post_handshake_auth` to enable and :meth:`~ssl." "SSLSocket.verify_client_post_handshake` to initiate TLS 1.3 post-handshake " "authentication. (Contributed by Christian Heimes in :issue:`34670`.)" msgstr "" -#: whatsnew/3.8.rst:1177 +#: whatsnew/3.8.rst:1187 msgid "statistics" msgstr "" -#: whatsnew/3.8.rst:1179 +#: whatsnew/3.8.rst:1189 msgid "" "Added :func:`statistics.fmean` as a faster, floating point variant of :func:" "`statistics.mean()`. (Contributed by Raymond Hettinger and Steven D'Aprano " "in :issue:`35904`.)" msgstr "" -#: whatsnew/3.8.rst:1183 +#: whatsnew/3.8.rst:1193 msgid "" "Added :func:`statistics.geometric_mean()` (Contributed by Raymond Hettinger " "in :issue:`27181`.)" msgstr "" -#: whatsnew/3.8.rst:1186 +#: whatsnew/3.8.rst:1196 msgid "" "Added :func:`statistics.multimode` that returns a list of the most common " "values. (Contributed by Raymond Hettinger in :issue:`35892`.)" msgstr "" -#: whatsnew/3.8.rst:1189 +#: whatsnew/3.8.rst:1199 msgid "" "Added :func:`statistics.quantiles` that divides data or a distribution in to " "equiprobable intervals (e.g. quartiles, deciles, or percentiles). " "(Contributed by Raymond Hettinger in :issue:`36546`.)" msgstr "" -#: whatsnew/3.8.rst:1193 +#: whatsnew/3.8.rst:1203 msgid "" "Added :class:`statistics.NormalDist`, a tool for creating and manipulating " "normal distributions of a random variable. (Contributed by Raymond Hettinger " "in :issue:`36018`.)" msgstr "" -#: whatsnew/3.8.rst:1223 +#: whatsnew/3.8.rst:1233 msgid "sys" msgstr "sys" -#: whatsnew/3.8.rst:1225 +#: whatsnew/3.8.rst:1235 msgid "" "Add new :func:`sys.unraisablehook` function which can be overridden to " "control how \"unraisable exceptions\" are handled. It is called when an " @@ -1525,11 +1547,11 @@ msgid "" "(:func:`gc.collect`). (Contributed by Victor Stinner in :issue:`36829`.)" msgstr "" -#: whatsnew/3.8.rst:1234 +#: whatsnew/3.8.rst:1244 msgid "tarfile" msgstr "" -#: whatsnew/3.8.rst:1236 +#: whatsnew/3.8.rst:1246 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 " @@ -1538,11 +1560,11 @@ msgid "" "(Contributed by C.A.M. Gerlach in :issue:`36268`.)" msgstr "" -#: whatsnew/3.8.rst:1244 +#: whatsnew/3.8.rst:1254 msgid "threading" msgstr "threading" -#: whatsnew/3.8.rst:1246 +#: whatsnew/3.8.rst:1256 msgid "" "Add a new :func:`threading.excepthook` function which handles uncaught :meth:" "`threading.Thread.run` exception. It can be overridden to control how " @@ -1550,7 +1572,7 @@ msgid "" "by Victor Stinner in :issue:`1230540`.)" msgstr "" -#: whatsnew/3.8.rst:1251 +#: whatsnew/3.8.rst:1261 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 " @@ -1560,11 +1582,11 @@ msgid "" "by Jake Tesler in :issue:`36084`.)" msgstr "" -#: whatsnew/3.8.rst:1261 +#: whatsnew/3.8.rst:1271 msgid "tokenize" msgstr "" -#: whatsnew/3.8.rst:1263 +#: whatsnew/3.8.rst:1273 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 " @@ -1572,11 +1594,11 @@ msgid "" "Askar in :issue:`33899`.)" msgstr "" -#: whatsnew/3.8.rst:1270 +#: whatsnew/3.8.rst:1280 msgid "tkinter" msgstr "tkinter" -#: whatsnew/3.8.rst:1272 +#: whatsnew/3.8.rst:1282 msgid "" "Added methods :meth:`~tkinter.Spinbox.selection_from`, :meth:`~tkinter." "Spinbox.selection_present`, :meth:`~tkinter.Spinbox.selection_range` and :" @@ -1584,38 +1606,38 @@ msgid "" "(Contributed by Juliette Monsel in :issue:`34829`.)" msgstr "" -#: whatsnew/3.8.rst:1279 +#: whatsnew/3.8.rst:1289 msgid "" "Added method :meth:`~tkinter.Canvas.moveto` in the :class:`tkinter.Canvas` " "class. (Contributed by Juliette Monsel in :issue:`23831`.)" msgstr "" -#: whatsnew/3.8.rst:1283 +#: whatsnew/3.8.rst:1293 msgid "" "The :class:`tkinter.PhotoImage` class now has :meth:`~tkinter.PhotoImage." "transparency_get` and :meth:`~tkinter.PhotoImage.transparency_set` methods. " "(Contributed by Zackery Spytz in :issue:`25451`.)" msgstr "" -#: whatsnew/3.8.rst:1290 +#: whatsnew/3.8.rst:1300 msgid "time" msgstr "time" -#: whatsnew/3.8.rst:1292 +#: whatsnew/3.8.rst:1302 msgid "" "Added new clock :data:`~time.CLOCK_UPTIME_RAW` for macOS 10.12. (Contributed " "by Joannah Nanjekye in :issue:`35702`.)" msgstr "" -#: whatsnew/3.8.rst:1297 +#: whatsnew/3.8.rst:1307 msgid "typing" msgstr "" -#: whatsnew/3.8.rst:1299 +#: whatsnew/3.8.rst:1309 msgid "The :mod:`typing` module incorporates several new features:" msgstr "" -#: whatsnew/3.8.rst:1301 +#: whatsnew/3.8.rst:1311 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 " @@ -1623,46 +1645,46 @@ msgid "" "optional::" msgstr "" -#: whatsnew/3.8.rst:1311 +#: whatsnew/3.8.rst:1321 msgid "" "Literal types. See :pep:`586` and :class:`typing.Literal`. Literal types " "indicate that a parameter or return value is constrained to one or more " "specific literal values::" msgstr "" -#: whatsnew/3.8.rst:1318 +#: whatsnew/3.8.rst:1328 msgid "" "\"Final\" variables, functions, methods and classes. See :pep:`591`, :class:" "`typing.Final` and :func:`typing.final`. The final qualifier instructs a " "static type checker to restrict subclassing, overriding, or reassignment::" msgstr "" -#: whatsnew/3.8.rst:1325 +#: whatsnew/3.8.rst:1335 msgid "" "Protocol definitions. See :pep:`544`, :class:`typing.Protocol` and :func:" "`typing.runtime_checkable`. Simple ABCs like :class:`typing.SupportsInt` " "are now ``Protocol`` subclasses." msgstr "" -#: whatsnew/3.8.rst:1329 +#: whatsnew/3.8.rst:1339 msgid "New protocol class :class:`typing.SupportsIndex`." msgstr "" -#: whatsnew/3.8.rst:1331 +#: whatsnew/3.8.rst:1341 msgid "New functions :func:`typing.get_origin` and :func:`typing.get_args`." msgstr "" -#: whatsnew/3.8.rst:1335 +#: whatsnew/3.8.rst:1345 msgid "unicodedata" msgstr "unicodedata" -#: whatsnew/3.8.rst:1337 +#: whatsnew/3.8.rst:1347 msgid "" "The :mod:`unicodedata` module has been upgraded to use the `Unicode 12.1.0 " "`_ release." msgstr "" -#: whatsnew/3.8.rst:1340 +#: whatsnew/3.8.rst:1350 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 " @@ -1670,11 +1692,11 @@ msgid "" "Greg Price in :issue:`32285` and :issue:`37966`)." msgstr "" -#: whatsnew/3.8.rst:1347 +#: whatsnew/3.8.rst:1357 msgid "unittest" msgstr "unittest" -#: whatsnew/3.8.rst:1349 +#: whatsnew/3.8.rst:1359 msgid "" "Added :class:`~unittest.mock.AsyncMock` to support an asynchronous version " "of :class:`~unittest.mock.Mock`. Appropriate new assert functions for " @@ -1682,7 +1704,7 @@ msgid "" "`26467`)." msgstr "" -#: whatsnew/3.8.rst:1354 +#: whatsnew/3.8.rst:1364 msgid "" "Added :func:`~unittest.addModuleCleanup()` and :meth:`~unittest.TestCase." "addClassCleanup()` to unittest to support cleanups for :func:`~unittest." @@ -1690,57 +1712,57 @@ msgid "" "Lisa Roach in :issue:`24412`.)" msgstr "" -#: whatsnew/3.8.rst:1360 +#: whatsnew/3.8.rst:1370 msgid "" "Several mock assert functions now also print a list of actual calls upon " "failure. (Contributed by Petter Strandmark in :issue:`35047`.)" msgstr "" -#: whatsnew/3.8.rst:1363 +#: whatsnew/3.8.rst:1373 msgid "" ":mod:`unittest` module gained support for coroutines to be used as test " "cases with :class:`unittest.IsolatedAsyncioTestCase`. (Contributed by Andrew " "Svetlov in :issue:`32972`.)" msgstr "" -#: whatsnew/3.8.rst:1367 +#: whatsnew/3.8.rst:1377 msgid "Example::" msgstr "Exemple ::" -#: whatsnew/3.8.rst:1390 +#: whatsnew/3.8.rst:1400 msgid "venv" msgstr "venv" -#: whatsnew/3.8.rst:1392 +#: whatsnew/3.8.rst:1402 msgid "" ":mod:`venv` now includes an ``Activate.ps1`` script on all platforms for " "activating virtual environments under PowerShell Core 6.1. (Contributed by " "Brett Cannon in :issue:`32718`.)" msgstr "" -#: whatsnew/3.8.rst:1398 +#: whatsnew/3.8.rst:1408 msgid "weakref" msgstr "weakref" -#: whatsnew/3.8.rst:1400 +#: whatsnew/3.8.rst:1410 msgid "" "The proxy objects returned by :func:`weakref.proxy` now support the matrix " "multiplication operators ``@`` and ``@=`` in addition to the other numeric " "operators. (Contributed by Mark Dickinson in :issue:`36669`.)" msgstr "" -#: whatsnew/3.8.rst:1406 +#: whatsnew/3.8.rst:1416 msgid "xml" msgstr "" -#: whatsnew/3.8.rst:1408 +#: whatsnew/3.8.rst:1418 msgid "" "As mitigation against DTD and external entity retrieval, the :mod:`xml.dom." "minidom` and :mod:`xml.sax` modules no longer process external entities by " "default. (Contributed by Christian Heimes in :issue:`17239`.)" msgstr "" -#: whatsnew/3.8.rst:1413 +#: whatsnew/3.8.rst:1423 msgid "" "The ``.find*()`` methods in the :mod:`xml.etree.ElementTree` module support " "wildcard searches like ``{*}tag`` which ignores the namespace and " @@ -1748,14 +1770,14 @@ msgid "" "by Stefan Behnel in :issue:`28238`.)" msgstr "" -#: whatsnew/3.8.rst:1418 +#: whatsnew/3.8.rst:1428 msgid "" "The :mod:`xml.etree.ElementTree` module provides a new function :func:`–xml." "etree.ElementTree.canonicalize()` that implements C14N 2.0. (Contributed by " "Stefan Behnel in :issue:`13611`.)" msgstr "" -#: whatsnew/3.8.rst:1422 +#: whatsnew/3.8.rst:1432 msgid "" "The target object of :class:`xml.etree.ElementTree.XMLParser` can receive " "namespace declaration events through the new callback methods ``start_ns()`` " @@ -1765,11 +1787,11 @@ msgid "" "by Stefan Behnel in :issue:`36676` and :issue:`36673`.)" msgstr "" -#: whatsnew/3.8.rst:1432 +#: whatsnew/3.8.rst:1442 msgid "xmlrpc" msgstr "xmlrpc" -#: whatsnew/3.8.rst:1434 +#: whatsnew/3.8.rst:1444 msgid "" ":class:`xmlrpc.client.ServerProxy` now supports an optional *headers* " "keyword argument for a sequence of HTTP headers to be sent with each " @@ -1778,37 +1800,37 @@ msgid "" "Cédric Krier in :issue:`35153`.)" msgstr "" -#: whatsnew/3.8.rst:1442 +#: whatsnew/3.8.rst:1452 #, fuzzy msgid "Optimizations" msgstr "Optimisation" -#: whatsnew/3.8.rst:1444 +#: whatsnew/3.8.rst:1454 msgid "" "The :mod:`subprocess` module can now use the :func:`os.posix_spawn` function " "in some cases for better performance. Currently, it is only used on macOS " "and Linux (using glibc 2.24 or newer) if all these conditions are met:" msgstr "" -#: whatsnew/3.8.rst:1448 +#: whatsnew/3.8.rst:1458 msgid "*close_fds* is false;" msgstr "" -#: whatsnew/3.8.rst:1449 +#: whatsnew/3.8.rst:1459 msgid "" "*preexec_fn*, *pass_fds*, *cwd* and *start_new_session* parameters are not " "set;" msgstr "" -#: whatsnew/3.8.rst:1451 +#: whatsnew/3.8.rst:1461 msgid "the *executable* path contains a directory." msgstr "" -#: whatsnew/3.8.rst:1453 +#: whatsnew/3.8.rst:1463 msgid "(Contributed by Joannah Nanjekye and Victor Stinner in :issue:`35537`.)" msgstr "" -#: whatsnew/3.8.rst:1455 +#: whatsnew/3.8.rst:1465 msgid "" ":func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:" "`shutil.copytree` and :func:`shutil.move` use platform-specific \"fast-copy" @@ -1824,7 +1846,7 @@ msgid "" "Rodolà in :issue:`33671`.)" msgstr "" -#: whatsnew/3.8.rst:1471 +#: whatsnew/3.8.rst:1481 msgid "" ":func:`shutil.copytree` uses :func:`os.scandir` function and all copy " "functions depending from it use cached :func:`os.stat` values. The speedup " @@ -1834,27 +1856,27 @@ msgid "" "on network filesystems. (Contributed by Giampaolo Rodolà in :issue:`33695`.)" msgstr "" -#: whatsnew/3.8.rst:1478 +#: whatsnew/3.8.rst:1488 msgid "" "The default protocol in the :mod:`pickle` module is now Protocol 4, first " "introduced in Python 3.4. It offers better performance and smaller size " "compared to Protocol 3 available since Python 3.0." msgstr "" -#: whatsnew/3.8.rst:1482 +#: whatsnew/3.8.rst:1492 msgid "" "Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked " "objects (e.g. tuple, list, dict) size is reduced 4 or 8 bytes. (Contributed " "by Inada Naoki in :issue:`33597`.)" msgstr "" -#: whatsnew/3.8.rst:1486 +#: whatsnew/3.8.rst:1496 msgid "" ":class:`uuid.UUID` now uses ``__slots__`` to reduce its memory footprint. " "(Contributed by Wouter Bolsterlee and Tal Einat in :issue:`30977`)" msgstr "" -#: whatsnew/3.8.rst:1489 +#: whatsnew/3.8.rst:1499 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-" @@ -1862,7 +1884,7 @@ msgid "" "standard library). (Contributed by Raymond Hettinger in :issue:`35664`.)" msgstr "" -#: whatsnew/3.8.rst:1495 +#: whatsnew/3.8.rst:1505 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 " @@ -1870,7 +1892,7 @@ msgid "" "Jevnik, Serhiy Storchaka in :issue:`32492`.)" msgstr "" -#: whatsnew/3.8.rst:1500 +#: whatsnew/3.8.rst:1510 msgid "" "The :class:`list` constructor does not overallocate the internal item buffer " "if the input iterable has a known length (the input implements ``__len__``). " @@ -1878,7 +1900,7 @@ msgid "" "Hettinger and Pablo Galindo in :issue:`33234`.)" msgstr "" -#: whatsnew/3.8.rst:1505 +#: whatsnew/3.8.rst:1515 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 " @@ -1886,7 +1908,7 @@ msgid "" "and Serhiy Storchaka in :issue:`36012`.)" msgstr "" -#: whatsnew/3.8.rst:1510 +#: whatsnew/3.8.rst:1520 msgid "" "Reduced an overhead of converting arguments passed to many builtin functions " "and methods. This sped up calling some simple builtin functions and methods " @@ -1894,18 +1916,18 @@ msgid "" "`35582` and :issue:`36127`.)" msgstr "" -#: whatsnew/3.8.rst:1515 +#: whatsnew/3.8.rst:1525 msgid "" "``LOAD_GLOBAL`` instruction now uses new \"per opcode cache\" mechanism. It " "is about 40% faster now. (Contributed by Yury Selivanov and Inada Naoki in :" "issue:`26219`.)" msgstr "" -#: whatsnew/3.8.rst:1521 +#: whatsnew/3.8.rst:1531 msgid "Build and C API Changes" msgstr "" -#: whatsnew/3.8.rst:1523 +#: whatsnew/3.8.rst:1533 msgid "" "Default :data:`sys.abiflags` became an empty string: the ``m`` flag for " "pymalloc became useless (builds with and without pymalloc are ABI " @@ -1913,22 +1935,22 @@ msgid "" "issue:`36707`.)" msgstr "" -#: whatsnew/3.8.rst:1527 +#: whatsnew/3.8.rst:1537 msgid "Example of changes:" msgstr "" -#: whatsnew/3.8.rst:1529 +#: whatsnew/3.8.rst:1539 msgid "" "Only ``python3.8`` program is installed, ``python3.8m`` program is gone." msgstr "" -#: whatsnew/3.8.rst:1530 +#: whatsnew/3.8.rst:1540 msgid "" "Only ``python3.8-config`` script is installed, ``python3.8m-config`` script " "is gone." msgstr "" -#: whatsnew/3.8.rst:1532 +#: whatsnew/3.8.rst:1542 msgid "" "The ``m`` flag has been removed from the suffix of dynamic library " "filenames: extension modules in the standard library as well as those " @@ -1937,23 +1959,23 @@ msgid "" "linux-gnu.so`` became ``.cpython-38-x86_64-linux-gnu.so`` in Python 3.8." msgstr "" -#: whatsnew/3.8.rst:1539 +#: whatsnew/3.8.rst:1549 msgid "" "The header files have been reorganized to better separate the different " "kinds of APIs:" msgstr "" -#: whatsnew/3.8.rst:1542 +#: whatsnew/3.8.rst:1552 msgid "``Include/*.h`` should be the portable public stable C API." msgstr "" -#: whatsnew/3.8.rst:1543 +#: whatsnew/3.8.rst:1553 msgid "" "``Include/cpython/*.h`` should be the unstable C API specific to CPython; " "public API, with some private API prefixed by ``_Py`` or ``_PY``." msgstr "" -#: whatsnew/3.8.rst:1545 +#: whatsnew/3.8.rst:1555 msgid "" "``Include/internal/*.h`` is the private internal C API very specific to " "CPython. This API comes with no backward compatibility warranty and should " @@ -1962,43 +1984,43 @@ msgid "" "calling functions. This API is now installed by ``make install``." msgstr "" -#: whatsnew/3.8.rst:1551 +#: whatsnew/3.8.rst:1561 msgid "" "(Contributed by Victor Stinner in :issue:`35134` and :issue:`35081`, work " "initiated by Eric Snow in Python 3.7.)" msgstr "" -#: whatsnew/3.8.rst:1554 +#: whatsnew/3.8.rst:1564 msgid "" "Some macros have been converted to static inline functions: parameter types " "and return type are well defined, they don't have issues specific to macros, " "variables have a local scopes. Examples:" msgstr "" -#: whatsnew/3.8.rst:1558 +#: whatsnew/3.8.rst:1568 msgid ":c:func:`Py_INCREF`, :c:func:`Py_DECREF`" msgstr "" -#: whatsnew/3.8.rst:1559 +#: whatsnew/3.8.rst:1569 msgid ":c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`" msgstr "" -#: whatsnew/3.8.rst:1560 +#: whatsnew/3.8.rst:1570 msgid ":c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`" msgstr "" -#: whatsnew/3.8.rst:1561 +#: whatsnew/3.8.rst:1571 msgid "" "Private functions: :c:func:`_PyObject_GC_TRACK`, :c:func:" "`_PyObject_GC_UNTRACK`, :c:func:`_Py_Dealloc`" msgstr "" -#: whatsnew/3.8.rst:1564 +#: whatsnew/3.8.rst:1574 #, fuzzy msgid "(Contributed by Victor Stinner in :issue:`35059`.)" msgstr "(Contribution par Victor Stinner; :issue:`12049`.)" -#: whatsnew/3.8.rst:1566 +#: whatsnew/3.8.rst:1576 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 " @@ -2006,14 +2028,14 @@ msgid "" "(Contributed by Victor Stinner in :issue:`35713`.)" msgstr "" -#: whatsnew/3.8.rst:1571 +#: whatsnew/3.8.rst:1581 msgid "" "The result of :c:func:`PyExceptionClass_Name` is now of type ``const char " "*`` rather of ``char *``. (Contributed by Serhiy Storchaka in :issue:" "`33818`.)" msgstr "" -#: whatsnew/3.8.rst:1575 +#: whatsnew/3.8.rst:1585 msgid "" "The duality of ``Modules/Setup.dist`` and ``Modules/Setup`` has been " "removed. Previously, when updating the CPython source tree, one had to " @@ -2024,7 +2046,7 @@ msgid "" "the file could produce build failures." msgstr "" -#: whatsnew/3.8.rst:1583 +#: whatsnew/3.8.rst:1593 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 " @@ -2032,12 +2054,12 @@ msgid "" "for any other change to the source tree." msgstr "" -#: whatsnew/3.8.rst:1588 +#: whatsnew/3.8.rst:1598 #, fuzzy msgid "(Contributed by Antoine Pitrou in :issue:`32430`.)" msgstr "(Contribution par Antoine Pitrou; :issue:`9260`.)" -#: whatsnew/3.8.rst:1590 +#: whatsnew/3.8.rst:1600 msgid "" "Functions that convert Python number to C integer like :c:func:" "`PyLong_AsLong` and argument parsing functions like :c:func:" @@ -2053,7 +2075,7 @@ msgid "" "`20092`.)" msgstr "" -#: whatsnew/3.8.rst:1604 +#: whatsnew/3.8.rst:1614 msgid "" "Heap-allocated type objects will now increase their reference count in :c:" "func:`PyObject_Init` (and its parallel macro ``PyObject_INIT``) instead of " @@ -2062,7 +2084,7 @@ msgid "" "issue:`35810`.)" msgstr "" -#: whatsnew/3.8.rst:1610 +#: whatsnew/3.8.rst:1620 msgid "" "The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create code " "objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount* " @@ -2070,25 +2092,25 @@ msgid "" "(Contributed by Pablo Galindo in :issue:`37221`.)" msgstr "" -#: whatsnew/3.8.rst:1615 +#: whatsnew/3.8.rst:1625 msgid "" ":c:func:`Py_SetPath` now sets :data:`sys.executable` to the program full " "path (:c:func:`Py_GetProgramFullPath`) rather than to the program name (:c:" "func:`Py_GetProgramName`). (Contributed by Victor Stinner in :issue:`38234`.)" msgstr "" -#: whatsnew/3.8.rst:1622 +#: whatsnew/3.8.rst:1632 msgid "Deprecated" msgstr "" -#: whatsnew/3.8.rst:1624 +#: whatsnew/3.8.rst:1634 msgid "" "The distutils ``bdist_wininst`` command is now deprecated, use " "``bdist_wheel`` (wheel packages) instead. (Contributed by Victor Stinner in :" "issue:`37481`.)" msgstr "" -#: whatsnew/3.8.rst:1628 +#: whatsnew/3.8.rst:1638 msgid "" "Deprecated methods ``getchildren()`` and ``getiterator()`` in the :mod:`~xml." "etree.ElementTree` module now emit a :exc:`DeprecationWarning` instead of :" @@ -2096,7 +2118,7 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1634 +#: whatsnew/3.8.rst:1644 msgid "" "Passing an object that is not an instance of :class:`concurrent.futures." "ThreadPoolExecutor` to :meth:`loop.set_default_executor() `. (Contributed by Serhiy Storchaka in :issue:`36492`.)" msgstr "" -#: whatsnew/3.8.rst:1735 +#: whatsnew/3.8.rst:1745 msgid "API and Feature Removals" msgstr "" -#: whatsnew/3.8.rst:1737 +#: whatsnew/3.8.rst:1747 msgid "The following features and APIs have been removed from Python 3.8:" msgstr "" -#: whatsnew/3.8.rst:1739 +#: whatsnew/3.8.rst:1749 msgid "" "Starting with Python 3.3, importing ABCs from :mod:`collections` was " "deprecated, and importing should be done from :mod:`collections.abc`. Being " @@ -2267,20 +2289,20 @@ msgid "" "delayed to 3.9. (See :issue:`36952`.)" msgstr "" -#: whatsnew/3.8.rst:1744 +#: whatsnew/3.8.rst:1754 msgid "" "The :mod:`macpath` module, deprecated in Python 3.7, has been removed. " "(Contributed by Victor Stinner in :issue:`35471`.)" msgstr "" -#: whatsnew/3.8.rst:1747 whatsnew/3.8.rst:1866 +#: whatsnew/3.8.rst:1876 msgid "" "The function :func:`platform.popen` has been removed, after having been " "deprecated since Python 3.3: use :func:`os.popen` instead. (Contributed by " "Victor Stinner in :issue:`35345`.)" msgstr "" -#: whatsnew/3.8.rst:1751 +#: whatsnew/3.8.rst:1761 msgid "" "The function :func:`time.clock` has been removed, after having been " "deprecated since Python 3.3: use :func:`time.perf_counter` or :func:`time." @@ -2288,27 +2310,27 @@ msgid "" "behavior. (Contributed by Matthias Bussonnier in :issue:`36895`.)" msgstr "" -#: whatsnew/3.8.rst:1757 +#: whatsnew/3.8.rst:1767 msgid "" "The ``pyvenv`` script has been removed in favor of ``python3.8 -m venv`` to " "help eliminate confusion as to what Python interpreter the ``pyvenv`` script " "is tied to. (Contributed by Brett Cannon in :issue:`25427`.)" msgstr "" -#: whatsnew/3.8.rst:1761 +#: whatsnew/3.8.rst:1771 msgid "" "``parse_qs``, ``parse_qsl``, and ``escape`` are removed from the :mod:`cgi` " "module. They are deprecated in Python 3.2 or older. They should be imported " "from the ``urllib.parse`` and ``html`` modules instead." msgstr "" -#: whatsnew/3.8.rst:1765 +#: whatsnew/3.8.rst:1775 msgid "" "``filemode`` function is removed from the :mod:`tarfile` module. It is not " "documented and deprecated since Python 3.3." msgstr "" -#: whatsnew/3.8.rst:1768 +#: whatsnew/3.8.rst:1778 msgid "" "The :class:`~xml.etree.ElementTree.XMLParser` constructor no longer accepts " "the *html* argument. It never had an effect and was deprecated in Python " @@ -2316,54 +2338,54 @@ msgid "" "only_parameter>`. (Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1773 +#: whatsnew/3.8.rst:1783 msgid "" "Removed the ``doctype()`` method of :class:`~xml.etree.ElementTree." "XMLParser`. (Contributed by Serhiy Storchaka in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1776 +#: whatsnew/3.8.rst:1786 msgid "" "\"unicode_internal\" codec is removed. (Contributed by Inada Naoki in :issue:" "`36297`.)" msgstr "" -#: whatsnew/3.8.rst:1779 +#: whatsnew/3.8.rst:1789 msgid "" "The ``Cache`` and ``Statement`` objects of the :mod:`sqlite3` module are not " "exposed to the user. (Contributed by Aviv Palivoda in :issue:`30262`.)" msgstr "" -#: whatsnew/3.8.rst:1783 +#: whatsnew/3.8.rst:1793 msgid "" "The ``bufsize`` keyword argument of :func:`fileinput.input` and :func:" "`fileinput.FileInput` which was ignored and deprecated since Python 3.6 has " "been removed. :issue:`36952` (Contributed by Matthias Bussonnier.)" msgstr "" -#: whatsnew/3.8.rst:1787 +#: whatsnew/3.8.rst:1797 msgid "" "The functions :func:`sys.set_coroutine_wrapper` and :func:`sys." "get_coroutine_wrapper` deprecated in Python 3.7 have been removed; :issue:" "`36933` (Contributed by Matthias Bussonnier.)" msgstr "" -#: whatsnew/3.8.rst:1793 +#: whatsnew/3.8.rst:1803 #, fuzzy msgid "Porting to Python 3.8" msgstr "Portage vers Python 3.1" -#: whatsnew/3.8.rst:1795 +#: whatsnew/3.8.rst:1805 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.8.rst:1800 +#: whatsnew/3.8.rst:1810 msgid "Changes in Python behavior" msgstr "" -#: whatsnew/3.8.rst:1802 +#: whatsnew/3.8.rst:1812 msgid "" "Yield expressions (both ``yield`` and ``yield from`` clauses) are now " "disallowed in comprehensions and generator expressions (aside from the " @@ -2371,7 +2393,7 @@ msgid "" "Serhiy Storchaka in :issue:`10544`.)" msgstr "" -#: whatsnew/3.8.rst:1807 +#: whatsnew/3.8.rst:1817 msgid "" "The compiler now produces a :exc:`SyntaxWarning` when identity checks " "(``is`` and ``is not``) are used with certain types of literals (e.g. " @@ -2381,7 +2403,7 @@ msgid "" "issue:`34850`.)" msgstr "" -#: whatsnew/3.8.rst:1814 +#: whatsnew/3.8.rst:1824 msgid "" "The CPython interpreter can swallow exceptions in some circumstances. In " "Python 3.8 this happens in fewer cases. In particular, exceptions raised " @@ -2389,7 +2411,7 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`35459`.)" msgstr "" -#: whatsnew/3.8.rst:1819 +#: whatsnew/3.8.rst:1829 msgid "" "Removed ``__str__`` implementations from builtin types :class:`bool`, :class:" "`int`, :class:`float`, :class:`complex` and few classes from the standard " @@ -2399,7 +2421,7 @@ msgid "" "issue:`36793`.)" msgstr "" -#: whatsnew/3.8.rst:1826 +#: whatsnew/3.8.rst:1836 msgid "" "On AIX, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'aix'``, instead of ``'aix3'`` .. ``'aix7'``. Since older " @@ -2408,7 +2430,7 @@ msgid "" "`36588`.)" msgstr "" -#: whatsnew/3.8.rst:1832 +#: whatsnew/3.8.rst:1842 msgid "" ":c:func:`PyEval_AcquireLock` and :c:func:`PyEval_AcquireThread` now " "terminate the current thread if called while the interpreter is finalizing, " @@ -2419,11 +2441,11 @@ msgid "" "`36475`.)" msgstr "" -#: whatsnew/3.8.rst:1842 +#: whatsnew/3.8.rst:1852 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.8.rst:1844 +#: whatsnew/3.8.rst:1854 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 " @@ -2431,7 +2453,7 @@ msgid "" "in :issue:`37412`.)" msgstr "" -#: whatsnew/3.8.rst:1849 +#: whatsnew/3.8.rst:1859 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 " @@ -2441,7 +2463,7 @@ msgid "" "by Joannah Nanjekye and Victor Stinner in :issue:`35537`.)" msgstr "" -#: whatsnew/3.8.rst:1856 +#: whatsnew/3.8.rst:1866 msgid "" "The *preexec_fn* argument of * :class:`subprocess.Popen` is no longer " "compatible with subinterpreters. The use of the parameter in a " @@ -2449,20 +2471,20 @@ msgid "" "issue:`34651`, modified by Christian Heimes in :issue:`37951`.)" msgstr "" -#: whatsnew/3.8.rst:1862 +#: whatsnew/3.8.rst:1872 msgid "" "The :meth:`imap.IMAP4.logout` method no longer silently ignores arbitrary " "exceptions. (Contributed by Victor Stinner in :issue:`36348`.)" msgstr "" -#: whatsnew/3.8.rst:1870 +#: whatsnew/3.8.rst:1880 msgid "" "The :func:`statistics.mode` function no longer raises an exception when " "given multimodal data. Instead, it returns the first mode encountered in " "the input data. (Contributed by Raymond Hettinger in :issue:`35892`.)" msgstr "" -#: whatsnew/3.8.rst:1875 +#: whatsnew/3.8.rst:1885 msgid "" "The :meth:`~tkinter.ttk.Treeview.selection` method of the :class:`tkinter." "ttk.Treeview` class no longer takes arguments. Using it with arguments for " @@ -2471,7 +2493,7 @@ msgid "" "selection. (Contributed by Serhiy Storchaka in :issue:`31508`.)" msgstr "" -#: whatsnew/3.8.rst:1881 +#: whatsnew/3.8.rst:1891 msgid "" "The :meth:`writexml`, :meth:`toxml` and :meth:`toprettyxml` methods of :mod:" "`xml.dom.minidom`, and the :meth:`write` method of :mod:`xml.etree`, now " @@ -2479,14 +2501,14 @@ msgid "" "Rojas and Raymond Hettinger in :issue:`34160`.)" msgstr "" -#: whatsnew/3.8.rst:1886 +#: whatsnew/3.8.rst:1896 msgid "" "A :mod:`dbm.dumb` database opened with flags ``'r'`` is now read-only. :func:" "`dbm.dumb.open` with flags ``'r'`` and ``'w'`` no longer creates a database " "if it does not exist. (Contributed by Serhiy Storchaka in :issue:`32749`.)" msgstr "" -#: whatsnew/3.8.rst:1891 +#: whatsnew/3.8.rst:1901 msgid "" "The ``doctype()`` method defined in a subclass of :class:`~xml.etree." "ElementTree.XMLParser` will no longer be called and will emit a :exc:" @@ -2496,7 +2518,7 @@ msgid "" "in :issue:`29209`.)" msgstr "" -#: whatsnew/3.8.rst:1898 +#: whatsnew/3.8.rst:1908 msgid "" "A :exc:`RuntimeError` is now raised when the custom metaclass doesn't " "provide the ``__classcell__`` entry in the namespace passed to ``type." @@ -2504,13 +2526,13 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`23722`.)" msgstr "" -#: whatsnew/3.8.rst:1903 +#: whatsnew/3.8.rst:1913 msgid "" "The :class:`cProfile.Profile` class can now be used as a context manager. " "(Contributed by Scott Sanderson in :issue:`29235`.)" msgstr "" -#: whatsnew/3.8.rst:1906 +#: whatsnew/3.8.rst:1916 msgid "" ":func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:" "`shutil.copytree` and :func:`shutil.move` use platform-specific \"fast-copy" @@ -2518,19 +2540,19 @@ msgid "" "section)." msgstr "" -#: whatsnew/3.8.rst:1911 +#: whatsnew/3.8.rst:1921 msgid "" ":func:`shutil.copyfile` default buffer size on Windows was changed from 16 " "KiB to 1 MiB." msgstr "" -#: whatsnew/3.8.rst:1914 +#: whatsnew/3.8.rst:1924 msgid "" "The ``PyGC_Head`` struct has changed completely. All code that touched the " "struct member should be rewritten. (See :issue:`33597`.)" msgstr "" -#: whatsnew/3.8.rst:1917 +#: whatsnew/3.8.rst:1927 msgid "" "The :c:type:`PyInterpreterState` struct has been moved into the \"internal\" " "header files (specifically Include/internal/pycore_pystate.h). An opaque " @@ -2542,7 +2564,7 @@ msgid "" "functions to the public API). (See :issue:`35886`.)" msgstr "" -#: whatsnew/3.8.rst:1927 +#: whatsnew/3.8.rst:1937 msgid "" "The :meth:`mmap.flush() ` method now returns ``None`` on " "success and raises an exception on error under all platforms. Previously, " @@ -2552,13 +2574,13 @@ msgid "" "(Contributed by Berker Peksag in :issue:`2122`.)" msgstr "" -#: whatsnew/3.8.rst:1934 +#: whatsnew/3.8.rst:1944 msgid "" ":mod:`xml.dom.minidom` and :mod:`xml.sax` modules no longer process external " "entities by default. (Contributed by Christian Heimes in :issue:`17239`.)" msgstr "" -#: whatsnew/3.8.rst:1938 +#: whatsnew/3.8.rst:1948 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`, :" @@ -2566,7 +2588,7 @@ msgid "" "(Contributed by Xiang Zhang in :issue:`33106`.)" msgstr "" -#: whatsnew/3.8.rst:1943 +#: whatsnew/3.8.rst:1953 msgid "" "Simplified AST for literals. All constants will be represented as :class:" "`ast.Constant` instances. Instantiating old classes ``Num``, ``Str``, " @@ -2574,7 +2596,7 @@ msgid "" "``Constant``. (Contributed by Serhiy Storchaka in :issue:`32892`.)" msgstr "" -#: whatsnew/3.8.rst:1959 +#: whatsnew/3.8.rst:1969 msgid "" "The function :func:`asyncio.wait_for` now correctly waits for cancellation " "when using an instance of :class:`asyncio.Task`. Previously, upon reaching " @@ -2582,18 +2604,18 @@ msgid "" "Pranskevichus in :issue:`32751`.)" msgstr "" -#: whatsnew/3.8.rst:1964 +#: whatsnew/3.8.rst:1974 msgid "" "The function :func:`asyncio.BaseTransport.get_extra_info` now returns a safe " "to use socket object when 'socket' is passed to the *name* parameter. " "(Contributed by Yury Selivanov in :issue:`37027`.)" msgstr "" -#: whatsnew/3.8.rst:1968 +#: whatsnew/3.8.rst:1978 msgid ":class:`asyncio.BufferedProtocol` has graduated to the stable API." msgstr "" -#: whatsnew/3.8.rst:1972 +#: whatsnew/3.8.rst:1982 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 " @@ -2608,14 +2630,14 @@ msgid "" "verified by the installer). (Contributed by Steve Dower in :issue:`36085`.)" msgstr "" -#: whatsnew/3.8.rst:1985 +#: whatsnew/3.8.rst:1995 msgid "" "The header files and functions related to pgen have been removed after its " "replacement by a pure Python implementation. (Contributed by Pablo Galindo " "in :issue:`36623`.)" msgstr "" -#: whatsnew/3.8.rst:1989 +#: whatsnew/3.8.rst:1999 msgid "" ":class:`types.CodeType` has a new parameter in the second position of the " "constructor (*posonlyargcount*) to support positional-only arguments defined " @@ -2625,11 +2647,11 @@ msgid "" "code future-proof." msgstr "" -#: whatsnew/3.8.rst:1998 +#: whatsnew/3.8.rst:2008 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.8.rst:2000 +#: whatsnew/3.8.rst:2010 msgid "" "The :c:type:`PyCompilerFlags` structure got a new *cf_feature_version* " "field. It should be initialized to ``PY_MINOR_VERSION``. The field is " @@ -2637,14 +2659,14 @@ msgid "" "in *cf_flags*. (Contributed by Guido van Rossum in :issue:`35766`.)" msgstr "" -#: whatsnew/3.8.rst:2006 +#: whatsnew/3.8.rst:2016 msgid "" "The :c:func:`PyEval_ReInitThreads` function has been removed from the C API. " "It should not be called explicitly: use :c:func:`PyOS_AfterFork_Child` " "instead. (Contributed by Victor Stinner in :issue:`36728`.)" msgstr "" -#: whatsnew/3.8.rst:2011 +#: whatsnew/3.8.rst:2021 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 " @@ -2655,7 +2677,7 @@ msgid "" "Stinner in :issue:`21536`.)" msgstr "" -#: whatsnew/3.8.rst:2019 +#: whatsnew/3.8.rst:2029 msgid "" "Use of ``#`` variants of formats in parsing or building value (e.g. :c:func:" "`PyArg_ParseTuple`, :c:func:`Py_BuildValue`, :c:func:" @@ -2664,7 +2686,7 @@ msgid "" "`arg-parsing` for detail. (Contributed by Inada Naoki in :issue:`36381`.)" msgstr "" -#: whatsnew/3.8.rst:2025 +#: whatsnew/3.8.rst:2035 msgid "" "Instances of heap-allocated types (such as those created with :c:func:" "`PyType_FromSpec`) hold a reference to their type object. Increasing the " @@ -2674,11 +2696,11 @@ msgid "" "through :c:func:`PyType_FromSpec` behave like other classes in managed code." msgstr "" -#: whatsnew/3.8.rst:2033 +#: whatsnew/3.8.rst:2043 msgid "Statically allocated types are not affected." msgstr "" -#: whatsnew/3.8.rst:2035 +#: whatsnew/3.8.rst:2045 msgid "" "For the vast majority of cases, there should be no side effect. However, " "types that manually increase the reference count after allocating an " @@ -2687,12 +2709,12 @@ msgid "" "instance deallocation." msgstr "" -#: whatsnew/3.8.rst:2041 +#: whatsnew/3.8.rst:2051 msgid "" "To correctly port these types into 3.8, please apply the following changes:" msgstr "" -#: whatsnew/3.8.rst:2044 +#: whatsnew/3.8.rst:2054 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:" @@ -2701,31 +2723,31 @@ msgid "" "`PyObject_INIT`." msgstr "" -#: whatsnew/3.8.rst:2051 whatsnew/3.8.rst:2070 whatsnew/3.8.rst:2089 +#: whatsnew/3.8.rst:2080 whatsnew/3.8.rst:2099 msgid "Example:" msgstr "Exemple :" -#: whatsnew/3.8.rst:2067 +#: whatsnew/3.8.rst:2077 msgid "" "Ensure that all custom ``tp_dealloc`` functions of heap-allocated types " "decrease the type's reference count." msgstr "" -#: whatsnew/3.8.rst:2084 +#: whatsnew/3.8.rst:2094 msgid "(Contributed by Eddie Elizondo in :issue:`35810`.)" msgstr "" -#: whatsnew/3.8.rst:2086 +#: whatsnew/3.8.rst:2096 msgid "" "The :c:macro:`Py_DEPRECATED()` macro has been implemented for MSVC. The " "macro now must be placed before the symbol name." msgstr "" -#: whatsnew/3.8.rst:2095 +#: whatsnew/3.8.rst:2105 msgid "(Contributed by Zackery Spytz in :issue:`33407`.)" msgstr "" -#: whatsnew/3.8.rst:2097 +#: whatsnew/3.8.rst:2107 msgid "" "The interpreter does not pretend to support binary compatibility of " "extension types across feature releases, anymore. A :c:type:`PyTypeObject` " @@ -2735,25 +2757,25 @@ msgid "" "before reading :c:member:`~PyTypeObject.tp_finalize`)." msgstr "" -#: whatsnew/3.8.rst:2104 +#: whatsnew/3.8.rst:2114 #, fuzzy msgid "(Contributed by Antoine Pitrou in :issue:`32388`.)" msgstr "(Contribution par Antoine Pitrou; :issue:`13748`.)" -#: whatsnew/3.8.rst:2106 +#: whatsnew/3.8.rst:2116 msgid "" "The :c:func:`PyCode_New` has a new parameter in the second position " "(*posonlyargcount*) to support :pep:`570`, indicating the number of " "positional-only arguments." msgstr "" -#: whatsnew/3.8.rst:2109 +#: whatsnew/3.8.rst:2119 msgid "" "The functions :c:func:`PyNode_AddChild` and :c:func:`PyParser_AddToken` now " "accept two additional ``int`` arguments *end_lineno* and *end_col_offset*." msgstr "" -#: whatsnew/3.8.rst:2112 +#: whatsnew/3.8.rst:2122 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 " @@ -2762,7 +2784,7 @@ msgid "" "package:" msgstr "" -#: whatsnew/3.8.rst:2122 +#: whatsnew/3.8.rst:2132 msgid "" "The location of an installed :file:`pythonXY.dll` will depend on the " "installation options and the version and language of Windows. See :ref:" @@ -2771,15 +2793,15 @@ msgid "" "the :file:`libs` directory under your Python installation." msgstr "" -#: whatsnew/3.8.rst:2128 +#: whatsnew/3.8.rst:2138 msgid "(Contributed by Steve Dower in :issue:`37351`.)" msgstr "" -#: whatsnew/3.8.rst:2132 +#: whatsnew/3.8.rst:2142 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.8.rst:2134 +#: whatsnew/3.8.rst:2144 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 " @@ -2787,7 +2809,7 @@ msgid "" "code for :keyword:`break`, :keyword:`continue` and :keyword:`return`." msgstr "" -#: whatsnew/3.8.rst:2140 +#: whatsnew/3.8.rst:2150 msgid "" "Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" "`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" @@ -2796,20 +2818,20 @@ msgid "" "`WITH_CLEANUP_START`." msgstr "" -#: whatsnew/3.8.rst:2146 +#: whatsnew/3.8.rst:2156 msgid "" "(Contributed by Mark Shannon, Antoine Pitrou and Serhiy Storchaka in :issue:" "`17611`.)" msgstr "" -#: whatsnew/3.8.rst:2149 +#: whatsnew/3.8.rst:2159 msgid "" "Added new opcode :opcode:`END_ASYNC_FOR` for handling exceptions raised when " "awaiting a next item in an :keyword:`async for` loop. (Contributed by Serhiy " "Storchaka in :issue:`33041`.)" msgstr "" -#: whatsnew/3.8.rst:2153 +#: whatsnew/3.8.rst:2163 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 " @@ -2817,22 +2839,22 @@ msgid "" "by :pep:`572`. (Contributed by Jörn Heissler in :issue:`35224`.)" msgstr "" -#: whatsnew/3.8.rst:2160 +#: whatsnew/3.8.rst:2170 msgid "Demos and Tools" msgstr "" -#: whatsnew/3.8.rst:2162 +#: whatsnew/3.8.rst:2172 msgid "" "Added a benchmark script for timing various ways to access variables: " "``Tools/scripts/var_access_benchmark.py``. (Contributed by Raymond Hettinger " "in :issue:`35884`.)" msgstr "" -#: whatsnew/3.8.rst:2166 +#: whatsnew/3.8.rst:2176 msgid "Here's a summary of performance improvements since Python 3.3:" msgstr "" -#: whatsnew/3.8.rst:2213 +#: whatsnew/3.8.rst:2223 msgid "" "The benchmarks were measured on an `Intel® Core™ i7-4960HQ processor " "\n" @@ -133,7 +133,7 @@ msgstr "" "Development Mode ` qui aide à préparer votre code pour le rendre " "compatible avec la prochaine version de Python." -#: whatsnew/3.9.rst:99 whatsnew/3.9.rst:1031 +#: whatsnew/3.9.rst:1050 msgid "New Features" msgstr "Nouvelles fonctionnalités" @@ -191,7 +191,7 @@ msgstr "" "ou ``Dict``) à partir de ``typing``. D'autres types de la bibliothèque " "standard sont maintenant génériques, par exemple ``queue.Queue``." -#: whatsnew/3.9.rst:127 whatsnew/3.9.rst:963 +#: whatsnew/3.9.rst:982 msgid "Example:" msgstr "Exemple :" @@ -577,11 +577,37 @@ msgid "" msgstr "" #: whatsnew/3.9.rst:391 -msgid "imaplib" +msgid "IDLE and idlelib" msgstr "" #: whatsnew/3.9.rst:393 msgid "" +"Add option to toggle cursor blink off. (Contributed by Zackery Spytz in :" +"issue:`4603`.)" +msgstr "" + +#: whatsnew/3.9.rst:396 +msgid "" +"Escape key now closes IDLE completion windows. (Contributed by Johnny " +"Najera in :issue:`38944`.)" +msgstr "" + +#: whatsnew/3.9.rst:399 +msgid "" +"Add keywords to module name completion list. (Contributed by Terry J. Reedy " +"in :issue:`37765`.)" +msgstr "" + +#: whatsnew/3.9.rst:402 +msgid "The changes above have been backported to 3.8 maintenance releases." +msgstr "" + +#: whatsnew/3.9.rst:405 +msgid "imaplib" +msgstr "" + +#: whatsnew/3.9.rst:407 +msgid "" ":class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional " "*timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4." "open` method now has an optional *timeout* parameter with this change. The " @@ -590,7 +616,7 @@ msgid "" "issue:`38615`.)" msgstr "" -#: whatsnew/3.9.rst:400 +#: whatsnew/3.9.rst:414 msgid "" ":meth:`imaplib.IMAP4.unselect` is added. :meth:`imaplib.IMAP4.unselect` " "frees server's resources associated with the selected mailbox and returns " @@ -600,11 +626,11 @@ msgid "" "Dong-hee Na in :issue:`40375`.)" msgstr "" -#: whatsnew/3.9.rst:408 +#: whatsnew/3.9.rst:422 msgid "importlib" msgstr "importlib" -#: whatsnew/3.9.rst:410 +#: whatsnew/3.9.rst:424 msgid "" "To improve consistency with import statements, :func:`importlib.util." "resolve_name` now raises :exc:`ImportError` instead of :exc:`ValueError` for " @@ -612,28 +638,28 @@ msgid "" "`37444`.)" msgstr "" -#: whatsnew/3.9.rst:416 +#: whatsnew/3.9.rst:430 msgid "inspect" msgstr "" -#: whatsnew/3.9.rst:418 +#: whatsnew/3.9.rst:432 msgid "" ":attr:`inspect.BoundArguments.arguments` is changed from ``OrderedDict`` to " "regular dict. (Contributed by Inada Naoki in :issue:`36350` and :issue:" "`39775`.)" msgstr "" -#: whatsnew/3.9.rst:422 +#: whatsnew/3.9.rst:436 msgid "ipaddress" msgstr "" -#: whatsnew/3.9.rst:424 +#: whatsnew/3.9.rst:438 msgid "" ":mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with " "suffix ``%``)." msgstr "" -#: whatsnew/3.9.rst:426 +#: whatsnew/3.9.rst:440 msgid "" "Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`. If " "present, scope zone ID is available through the :attr:`~ipaddress." @@ -641,52 +667,52 @@ msgid "" "`34788`.)" msgstr "" -#: whatsnew/3.9.rst:431 +#: whatsnew/3.9.rst:445 msgid "math" msgstr "" -#: whatsnew/3.9.rst:433 +#: whatsnew/3.9.rst:447 msgid "" "Expanded the :func:`math.gcd` function to handle multiple arguments. " "Formerly, it only supported two arguments. (Contributed by Serhiy Storchaka " "in :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:437 +#: whatsnew/3.9.rst:451 msgid "" "Add :func:`math.lcm`: return the least common multiple of specified " "arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy " "Storchaka in :issue:`39479` and :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:441 +#: whatsnew/3.9.rst:455 msgid "" "Add :func:`math.nextafter`: return the next floating-point value after *x* " "towards *y*. (Contributed by Victor Stinner in :issue:`39288`.)" msgstr "" -#: whatsnew/3.9.rst:445 +#: whatsnew/3.9.rst:459 msgid "" "Add :func:`math.ulp`: return the value of the least significant bit of a " "float. (Contributed by Victor Stinner in :issue:`39310`.)" msgstr "" -#: whatsnew/3.9.rst:450 +#: whatsnew/3.9.rst:464 msgid "multiprocessing" msgstr "multiprocessing" -#: whatsnew/3.9.rst:452 +#: whatsnew/3.9.rst:466 msgid "" "The :class:`multiprocessing.SimpleQueue` class has a new :meth:" "`~multiprocessing.SimpleQueue.close` method to explicitly close the queue. " "(Contributed by Victor Stinner in :issue:`30966`.)" msgstr "" -#: whatsnew/3.9.rst:458 +#: whatsnew/3.9.rst:472 msgid "nntplib" msgstr "" -#: whatsnew/3.9.rst:460 +#: whatsnew/3.9.rst:474 msgid "" ":class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -694,55 +720,55 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:465 +#: whatsnew/3.9.rst:479 msgid "os" msgstr "" -#: whatsnew/3.9.rst:467 +#: whatsnew/3.9.rst:481 msgid "" "Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:" "`si_code`. (Contributed by Dong-hee Na in :issue:`38493`.)" msgstr "" -#: whatsnew/3.9.rst:470 +#: whatsnew/3.9.rst:484 msgid "" "Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and :data:" "`os.P_PIDFD` (:issue:`38713`) for process management with file descriptors." msgstr "" -#: whatsnew/3.9.rst:474 +#: whatsnew/3.9.rst:488 msgid "" "The :func:`os.unsetenv` function is now also available on Windows. " "(Contributed by Victor Stinner in :issue:`39413`.)" msgstr "" -#: whatsnew/3.9.rst:477 +#: whatsnew/3.9.rst:491 msgid "" "The :func:`os.putenv` and :func:`os.unsetenv` functions are now always " "available. (Contributed by Victor Stinner in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:481 +#: whatsnew/3.9.rst:495 msgid "" "Add :func:`os.waitstatus_to_exitcode` function: convert a wait status to an " "exit code. (Contributed by Victor Stinner in :issue:`40094`.)" msgstr "" -#: whatsnew/3.9.rst:486 +#: whatsnew/3.9.rst:500 msgid "pathlib" msgstr "pathlib" -#: whatsnew/3.9.rst:488 +#: whatsnew/3.9.rst:502 msgid "" "Added :meth:`pathlib.Path.readlink()` which acts similarly to :func:`os." "readlink`. (Contributed by Girts Folkmanis in :issue:`30618`)" msgstr "" -#: whatsnew/3.9.rst:493 +#: whatsnew/3.9.rst:507 msgid "poplib" msgstr "" -#: whatsnew/3.9.rst:495 +#: whatsnew/3.9.rst:509 msgid "" ":class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -750,53 +776,53 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:500 +#: whatsnew/3.9.rst:514 msgid "pprint" msgstr "" -#: whatsnew/3.9.rst:502 +#: whatsnew/3.9.rst:516 msgid "" ":mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`. " "(Contributed by Carl Bordum Hansen in :issue:`37376`.)" msgstr "" -#: whatsnew/3.9.rst:506 +#: whatsnew/3.9.rst:520 msgid "pydoc" msgstr "" -#: whatsnew/3.9.rst:508 +#: whatsnew/3.9.rst:522 msgid "" "The documentation string is now shown not only for class, function, method " "etc, but for any object that has its own ``__doc__`` attribute. (Contributed " "by Serhiy Storchaka in :issue:`40257`.)" msgstr "" -#: whatsnew/3.9.rst:513 +#: whatsnew/3.9.rst:527 msgid "random" msgstr "" -#: whatsnew/3.9.rst:515 +#: whatsnew/3.9.rst:529 msgid "" "Add a new :attr:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" msgstr "" -#: whatsnew/3.9.rst:519 +#: whatsnew/3.9.rst:533 msgid "signal" msgstr "" -#: whatsnew/3.9.rst:521 +#: whatsnew/3.9.rst:535 msgid "" "Exposed the Linux-specific :func:`signal.pidfd_send_signal` for sending to " "signals to a process using a file descriptor instead of a pid. (:issue:" "`38712`)" msgstr "" -#: whatsnew/3.9.rst:525 +#: whatsnew/3.9.rst:539 msgid "smtplib" msgstr "" -#: whatsnew/3.9.rst:527 +#: whatsnew/3.9.rst:541 msgid "" ":class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -804,34 +830,34 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:531 +#: whatsnew/3.9.rst:545 msgid "" ":class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. " "(Contributed by Dong-hee Na in :issue:`39329`.)" msgstr "" -#: whatsnew/3.9.rst:535 +#: whatsnew/3.9.rst:549 msgid "socket" msgstr "" -#: whatsnew/3.9.rst:537 +#: whatsnew/3.9.rst:551 msgid "" "The :mod:`socket` module now exports the :data:`~socket." "CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by " "Stefan Tatschner and Zackery Spytz in :issue:`25780`.)" msgstr "" -#: whatsnew/3.9.rst:541 +#: whatsnew/3.9.rst:555 msgid "" "The socket module now supports the :data:`~socket.CAN_J1939` protocol on " "platforms that support it. (Contributed by Karl Ding in :issue:`40291`.)" msgstr "" -#: whatsnew/3.9.rst:545 +#: whatsnew/3.9.rst:559 msgid "time" msgstr "time" -#: whatsnew/3.9.rst:547 +#: whatsnew/3.9.rst:561 msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -839,11 +865,11 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`40192`)" msgstr "" -#: whatsnew/3.9.rst:553 +#: whatsnew/3.9.rst:567 msgid "sys" msgstr "sys" -#: whatsnew/3.9.rst:555 +#: whatsnew/3.9.rst:569 msgid "" "Add a new :attr:`sys.platlibdir` attribute: name of the platform-specific " "library directory. It is used to build the path of standard library and the " @@ -853,29 +879,29 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:561 +#: whatsnew/3.9.rst:575 msgid "" "Previously, :attr:`sys.stderr` was block-buffered when non-interactive. Now " "``stderr`` defaults to always being line-buffered. (Contributed by Jendrik " "Seipp in :issue:`13601`.)" msgstr "" -#: whatsnew/3.9.rst:566 +#: whatsnew/3.9.rst:580 msgid "tracemalloc" msgstr "" -#: whatsnew/3.9.rst:568 +#: whatsnew/3.9.rst:582 msgid "" "Added :func:`tracemalloc.reset_peak` to set the peak size of traced memory " "blocks to the current size, to measure the peak of specific pieces of code. " "(Contributed by Huon Wilson in :issue:`40630`.)" msgstr "" -#: whatsnew/3.9.rst:573 +#: whatsnew/3.9.rst:587 msgid "typing" msgstr "" -#: whatsnew/3.9.rst:575 +#: whatsnew/3.9.rst:589 msgid "" ":pep:`593` introduced an :data:`typing.Annotated` type to decorate existing " "types with context-specific metadata and new ``include_extras`` parameter " @@ -883,20 +909,20 @@ msgid "" "(Contributed by Till Varoquaux and Konstantin Kashin.)" msgstr "" -#: whatsnew/3.9.rst:581 +#: whatsnew/3.9.rst:595 msgid "unicodedata" msgstr "unicodedata" -#: whatsnew/3.9.rst:583 +#: whatsnew/3.9.rst:597 msgid "" "The Unicode database has been updated to version 13.0.0. (:issue:`39926`)." msgstr "" -#: whatsnew/3.9.rst:586 +#: whatsnew/3.9.rst:600 msgid "venv" msgstr "venv" -#: whatsnew/3.9.rst:588 +#: whatsnew/3.9.rst:602 msgid "" "The activation scripts provided by :mod:`venv` now all specify their prompt " "customization consistently by always using the value specified by " @@ -906,11 +932,11 @@ msgid "" "Cannon in :issue:`37663`.)" msgstr "" -#: whatsnew/3.9.rst:596 +#: whatsnew/3.9.rst:610 msgid "xml" msgstr "" -#: whatsnew/3.9.rst:598 +#: whatsnew/3.9.rst:612 msgid "" "White space characters within attributes are now preserved when serializing :" "mod:`xml.etree.ElementTree` to XML file. EOLNs are no longer normalized to " @@ -918,32 +944,32 @@ msgid "" "2.11 of XML spec. (Contributed by Mefistotelis in :issue:`39011`.)" msgstr "" -#: whatsnew/3.9.rst:606 +#: whatsnew/3.9.rst:620 msgid "Optimizations" msgstr "" -#: whatsnew/3.9.rst:608 +#: whatsnew/3.9.rst:622 msgid "" "Optimized the idiom for assignment a temporary variable in comprehensions. " "Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment " "``y = expr``. For example:" msgstr "" -#: whatsnew/3.9.rst:612 +#: whatsnew/3.9.rst:626 msgid "sums = [s for s in [0] for x in data for s in [s + x]]" msgstr "" -#: whatsnew/3.9.rst:614 +#: whatsnew/3.9.rst:628 msgid "" "Unlike the ``:=`` operator this idiom does not leak a variable to the outer " "scope." msgstr "" -#: whatsnew/3.9.rst:617 +#: whatsnew/3.9.rst:631 msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)" msgstr "" -#: whatsnew/3.9.rst:619 +#: whatsnew/3.9.rst:633 msgid "" "Optimize signal handling in multithreaded applications. If a thread " "different than the main thread gets a signal, the bytecode evaluation loop " @@ -952,27 +978,27 @@ msgid "" "interpreter can handle signals." msgstr "" -#: whatsnew/3.9.rst:625 +#: whatsnew/3.9.rst:639 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals. (Contributed by Victor Stinner in :" "issue:`40010`.)" msgstr "" -#: whatsnew/3.9.rst:629 +#: whatsnew/3.9.rst:643 msgid "" "Optimize the :mod:`subprocess` module on FreeBSD using ``closefrom()``. " "(Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor " "Stinner in :issue:`38061`.)" msgstr "" -#: whatsnew/3.9.rst:633 +#: whatsnew/3.9.rst:647 msgid "" "Here's a summary of performance improvements from Python 3.4 through Python " "3.9:" msgstr "" -#: whatsnew/3.9.rst:680 +#: whatsnew/3.9.rst:694 msgid "" "These results were generated from the variable access benchmark script at: " "``Tools/scripts/var_access_benchmark.py``. The benchmark script displays " @@ -983,7 +1009,7 @@ msgid "" "python.org/downloads/mac-osx/>`_." msgstr "" -#: whatsnew/3.9.rst:688 +#: whatsnew/3.9.rst:702 msgid "" "A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :" "class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :" @@ -991,18 +1017,18 @@ msgid "" "Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)" msgstr "" -#: whatsnew/3.9.rst:694 +#: whatsnew/3.9.rst:708 msgid "Deprecated" msgstr "" -#: whatsnew/3.9.rst:696 +#: whatsnew/3.9.rst:710 msgid "" "The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` " "(wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:" "`39586`.)" msgstr "" -#: whatsnew/3.9.rst:700 +#: whatsnew/3.9.rst:714 msgid "" "Currently :func:`math.factorial` accepts :class:`float` instances with non-" "negative integer values (like ``5.0``). It raises a :exc:`ValueError` for " @@ -1011,7 +1037,7 @@ msgid "" "Serhiy Storchaka in :issue:`37315`.)" msgstr "" -#: whatsnew/3.9.rst:706 +#: whatsnew/3.9.rst:720 msgid "" "The :mod:`parser` and :mod:`symbol` modules are deprecated and will be " "removed in future versions of Python. For the majority of use cases, users " @@ -1019,7 +1045,7 @@ msgid "" "stage, using the :mod:`ast` module." msgstr "" -#: whatsnew/3.9.rst:711 +#: whatsnew/3.9.rst:725 msgid "" "The Public C API functions :c:func:`PyParser_SimpleParseStringFlags`, :c:" "func:`PyParser_SimpleParseStringFlagsFilename`, :c:func:" @@ -1027,7 +1053,7 @@ msgid "" "and will be removed in Python 3.10 together with the old parser." msgstr "" -#: whatsnew/3.9.rst:716 +#: whatsnew/3.9.rst:730 msgid "" "Using :data:`NotImplemented` in a boolean context has been deprecated, as it " "is almost exclusively the result of incorrect rich comparator " @@ -1035,7 +1061,7 @@ msgid "" "Python. (Contributed by Josh Rosenberg in :issue:`35712`.)" msgstr "" -#: whatsnew/3.9.rst:722 +#: whatsnew/3.9.rst:736 msgid "" "The :mod:`random` module currently accepts any hashable type as a possible " "seed value. Unfortunately, some of those types are not guaranteed to have a " @@ -1044,7 +1070,7 @@ msgid "" "`bytes`, and :class:`bytearray`." msgstr "" -#: whatsnew/3.9.rst:728 +#: whatsnew/3.9.rst:742 msgid "" "Opening the :class:`~gzip.GzipFile` file for writing without specifying the " "*mode* argument is deprecated. In future Python versions it will always be " @@ -1053,39 +1079,39 @@ msgid "" "issue:`28286`.)" msgstr "" -#: whatsnew/3.9.rst:734 +#: whatsnew/3.9.rst:748 msgid "" "Deprecated the ``split()`` method of :class:`_tkinter.TkappType` in favour " "of the ``splitlist()`` method which has more consistent and predicable " "behavior. (Contributed by Serhiy Storchaka in :issue:`38371`.)" msgstr "" -#: whatsnew/3.9.rst:739 +#: whatsnew/3.9.rst:753 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 and Kyle Stanley in :issue:`34790`.)" msgstr "" -#: whatsnew/3.9.rst:743 +#: whatsnew/3.9.rst:757 msgid "" "binhex4 and hexbin4 standards are now deprecated. The :mod:`binhex` module " "and the following :mod:`binascii` functions are now deprecated:" msgstr "" -#: whatsnew/3.9.rst:746 +#: whatsnew/3.9.rst:760 msgid ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" msgstr "" -#: whatsnew/3.9.rst:747 +#: whatsnew/3.9.rst:761 msgid ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" msgstr "" -#: whatsnew/3.9.rst:749 +#: whatsnew/3.9.rst:763 msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "" -#: whatsnew/3.9.rst:751 +#: whatsnew/3.9.rst:765 msgid "" ":mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered " "deprecated and will be removed in future Python versions. ``value`` itself " @@ -1094,7 +1120,7 @@ msgid "" "Storchaka in :issue:`32892`.)" msgstr "" -#: whatsnew/3.9.rst:757 +#: whatsnew/3.9.rst:771 msgid "" ":mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are " "considered deprecated and will be removed in future Python versions. They " @@ -1103,7 +1129,7 @@ msgid "" "`39969` and Serhiy Storchaka in :issue:`39988`.)" msgstr "" -#: whatsnew/3.9.rst:764 +#: whatsnew/3.9.rst:778 msgid "" "The :c:func:`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized` " "functions are now deprecated and will be removed in Python 3.11. Calling :c:" @@ -1112,13 +1138,13 @@ msgid "" "Stinner in :issue:`39877`.)" msgstr "" -#: whatsnew/3.9.rst:770 +#: whatsnew/3.9.rst:784 msgid "" "Passing ``None`` as the first argument to the :func:`shlex.split` function " "has been deprecated. (Contributed by Zackery Spytz in :issue:`33262`.)" msgstr "" -#: whatsnew/3.9.rst:773 +#: whatsnew/3.9.rst:787 msgid "" "The :mod:`lib2to3` module now emits a :exc:`PendingDeprecationWarning`. " "Python 3.9 switched to a PEG parser (see :pep:`617`), and Python 3.10 may " @@ -1128,22 +1154,22 @@ msgid "" "`parso`_. (Contributed by Carl Meyer in :issue:`40360`.)" msgstr "" -#: whatsnew/3.9.rst:781 +#: whatsnew/3.9.rst:795 msgid "" "The *random* parameter of :func:`random.shuffle` has been deprecated. " "(Contributed by Raymond Hettinger in :issue:`40465`)" msgstr "" -#: whatsnew/3.9.rst:788 whatsnew/3.9.rst:1129 +#: whatsnew/3.9.rst:1148 msgid "Removed" msgstr "" -#: whatsnew/3.9.rst:790 +#: whatsnew/3.9.rst:804 msgid "" "The erroneous version at :data:`unittest.mock.__version__` has been removed." msgstr "" -#: whatsnew/3.9.rst:792 +#: whatsnew/3.9.rst:806 msgid "" ":class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been " "removed. These methods are deprecated since Python 3.3. Generally, these " @@ -1153,14 +1179,14 @@ msgid "" "`39366`.)" msgstr "" -#: whatsnew/3.9.rst:799 +#: whatsnew/3.9.rst:813 msgid "" ":class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been " "removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated " "since Python 3.2. (Contributed by Victor Stinner in :issue:`38916`.)" msgstr "" -#: whatsnew/3.9.rst:804 +#: whatsnew/3.9.rst:818 msgid "" "The undocumented ``sys.callstats()`` function has been removed. Since Python " "3.7, it was deprecated and always returned :const:`None`. It required a " @@ -1168,7 +1194,7 @@ msgid "" "3.7. (Contributed by Victor Stinner in :issue:`37414`.)" msgstr "" -#: whatsnew/3.9.rst:809 +#: whatsnew/3.9.rst:823 msgid "" "The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have " "been removed. They were deprecated since Python 3.2. Use :func:`sys." @@ -1176,21 +1202,21 @@ msgid "" "by Victor Stinner in :issue:`37392`.)" msgstr "" -#: whatsnew/3.9.rst:814 +#: whatsnew/3.9.rst:828 msgid "" "The C function ``PyImport_Cleanup()`` has been removed. It was documented " "as: \"Empty the module table. For internal use only.\" (Contributed by " "Victor Stinner in :issue:`36710`.)" msgstr "" -#: whatsnew/3.9.rst:818 +#: whatsnew/3.9.rst:832 msgid "" "``_dummy_thread`` and ``dummy_threading`` modules have been removed. These " "modules were deprecated since Python 3.7 which requires threading support. " "(Contributed by Victor Stinner in :issue:`37312`.)" msgstr "" -#: whatsnew/3.9.rst:822 +#: whatsnew/3.9.rst:836 msgid "" "``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to " "``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open()` have " @@ -1198,14 +1224,14 @@ msgid "" "Stinner in :issue:`37320`.)" msgstr "" -#: whatsnew/3.9.rst:827 +#: whatsnew/3.9.rst:841 msgid "" "The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " "has been removed. It was deprecated since Python 3.8. Use :meth:`~threading." "Thread.is_alive()` instead. (Contributed by Dong-hee Na in :issue:`37804`.)" msgstr "" -#: whatsnew/3.9.rst:832 +#: whatsnew/3.9.rst:846 msgid "" "Methods ``getchildren()`` and ``getiterator()`` of classes :class:`~xml." "etree.ElementTree.ElementTree` and :class:`~xml.etree.ElementTree.Element` " @@ -1215,7 +1241,7 @@ msgid "" "getiterator()``. (Contributed by Serhiy Storchaka in :issue:`36543`.)" msgstr "" -#: whatsnew/3.9.rst:840 +#: whatsnew/3.9.rst:854 msgid "" "The old :mod:`plistlib` API has been removed, it was deprecated since Python " "3.4. Use the :func:`~plistlib.load`, :func:`~plistlib.loads`, :func:" @@ -1224,7 +1250,7 @@ msgid "" "are always used instead. (Contributed by Jon Janzen in :issue:`36409`.)" msgstr "" -#: whatsnew/3.9.rst:846 +#: whatsnew/3.9.rst:860 msgid "" "The C function ``PyGen_NeedsFinalizing`` has been removed. It was not " "documented, tested, or used anywhere within CPython after the implementation " @@ -1232,7 +1258,7 @@ msgid "" "in :issue:`15088`)" msgstr "" -#: whatsnew/3.9.rst:851 +#: whatsnew/3.9.rst:865 msgid "" "``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated " "since Python 3.1, have been removed: use :func:`base64.encodebytes` and :" @@ -1240,14 +1266,14 @@ msgid "" "`39351`.)" msgstr "" -#: whatsnew/3.9.rst:856 +#: whatsnew/3.9.rst:870 msgid "" "``fractions.gcd()`` function has been removed, it was deprecated since " "Python 3.5 (:issue:`22486`): use :func:`math.gcd` instead. (Contributed by " "Victor Stinner in :issue:`39350`.)" msgstr "" -#: whatsnew/3.9.rst:860 +#: whatsnew/3.9.rst:874 msgid "" "The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since " "Python 3.0, it was ignored and using it emitted a :exc:`DeprecationWarning`. " @@ -1255,7 +1281,7 @@ msgid "" "Victor Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:865 +#: whatsnew/3.9.rst:879 msgid "" "The *encoding* parameter of :func:`json.loads` has been removed. As of " "Python 3.1, it was deprecated and ignored; using it has emitted a :exc:" @@ -1263,7 +1289,7 @@ msgid "" "`39377`)" msgstr "" -#: whatsnew/3.9.rst:870 +#: whatsnew/3.9.rst:884 msgid "" "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` " "statements are not longer supported, use ``async with lock`` instead. The " @@ -1271,7 +1297,7 @@ msgid "" "(Contributed by Andrew Svetlov in :issue:`34793`.)" msgstr "" -#: whatsnew/3.9.rst:875 +#: whatsnew/3.9.rst:889 msgid "" "The :func:`sys.getcounts` function, the ``-X showalloccount`` command line " "option and the ``show_alloc_count`` field of the C structure :c:type:" @@ -1280,44 +1306,52 @@ msgid "" "`39489`.)" msgstr "" -#: whatsnew/3.9.rst:881 +#: whatsnew/3.9.rst:895 msgid "" "The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has " -"been removed. It was deprecated deprecated since Python 3.8. Use the " +"been removed. It was deprecated since Python 3.8. Use the " "``__annotations__`` attribute instead. (Contributed by Serhiy Storchaka in :" "issue:`40182`.)" msgstr "" -#: whatsnew/3.9.rst:886 +#: whatsnew/3.9.rst:900 msgid "" "The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was " "deprecated since 2006, and only returning ``False`` when it's called. " "(Contributed by Batuhan Taskaya in :issue:`40208`)" msgstr "" -#: whatsnew/3.9.rst:890 +#: whatsnew/3.9.rst:904 msgid "" "The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` " -"have have been removed. They were deprecated since Python 3.7 and you can " -"use :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. " +"have been removed. They were deprecated since Python 3.7 and you can use :" +"func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. " "(Contributed by Rémi Lapeyre in :issue:`40967`)" msgstr "" -#: whatsnew/3.9.rst:897 whatsnew/3.9.rst:1085 +#: whatsnew/3.9.rst:909 +msgid "" +"The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has " +"been removed (it was deprecated since Python 3.4). :func:`html.unescape` " +"should be used for converting character references to the corresponding " +"unicode characters." +msgstr "" + +#: whatsnew/3.9.rst:1104 msgid "Porting to Python 3.9" msgstr "" -#: whatsnew/3.9.rst:899 +#: whatsnew/3.9.rst:918 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.9.rst:904 +#: whatsnew/3.9.rst:923 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.9.rst:906 +#: whatsnew/3.9.rst:925 msgid "" ":func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:" "`ImportError` where it previously raised :exc:`ValueError`. Callers catching " @@ -1325,26 +1359,26 @@ msgid "" "versions will need to catch both using ``except (ImportError, ValueError):``." msgstr "" -#: whatsnew/3.9.rst:911 +#: whatsnew/3.9.rst:930 msgid "" "The :mod:`venv` activation scripts no longer special-case when " "``__VENV_PROMPT__`` is set to ``\"\"``." msgstr "" -#: whatsnew/3.9.rst:914 +#: whatsnew/3.9.rst:933 msgid "" "The :meth:`select.epoll.unregister` method no longer ignores the :data:" "`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)" msgstr "" -#: whatsnew/3.9.rst:918 +#: whatsnew/3.9.rst:937 msgid "" "The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, " "since the *buffering* parameter has been removed. (Contributed by Victor " "Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:922 +#: whatsnew/3.9.rst:941 msgid "" "Simplified AST for subscription. Simple indices will be represented by their " "value, extended slices will be represented as tuples. ``Index(value)`` will " @@ -1352,21 +1386,21 @@ msgid "" "Load())``. (Contributed by Serhiy Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:928 +#: whatsnew/3.9.rst:947 msgid "" "The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` " "environment variable when the :option:`-E` or :option:`-I` command line " "options are being used." msgstr "" -#: whatsnew/3.9.rst:932 +#: whatsnew/3.9.rst:951 msgid "" "The *encoding* parameter has been added to the classes :class:`ftplib.FTP` " "and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default " "encoding is changed from Latin-1 to UTF-8 to follow :rfc:`2640`." msgstr "" -#: whatsnew/3.9.rst:936 +#: whatsnew/3.9.rst:955 msgid "" ":meth:`asyncio.loop.shutdown_default_executor` has been added to :class:" "`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit " @@ -1374,7 +1408,7 @@ msgid "" "issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:941 +#: whatsnew/3.9.rst:960 msgid "" "The constant values of future flags in the :mod:`__future__` module is " "updated in order to prevent collision with compiler flags. Previously " @@ -1382,7 +1416,7 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`39562`)" msgstr "" -#: whatsnew/3.9.rst:946 +#: whatsnew/3.9.rst:965 msgid "" "``array('u')`` now uses ``wchar_t`` as C type instead of ``Py_UNICODE``. " "This change doesn't affect to its behavior because ``Py_UNICODE`` is alias " @@ -1390,11 +1424,11 @@ msgid "" "`34538`.)" msgstr "" -#: whatsnew/3.9.rst:953 +#: whatsnew/3.9.rst:972 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.9.rst:955 +#: whatsnew/3.9.rst:974 msgid "" "Instances of heap-allocated types (such as those created with :c:func:" "`PyType_FromSpec` and similar APIs) hold a reference to their type object " @@ -1405,30 +1439,30 @@ msgid "" "visit the object's type." msgstr "" -#: whatsnew/3.9.rst:976 +#: whatsnew/3.9.rst:995 msgid "" "If your traverse function delegates to ``tp_traverse`` of its base class (or " "another type), ensure that ``Py_TYPE(self)`` is visited only once. Note that " "only heap types are expected to visit the type in ``tp_traverse``." msgstr "" -#: whatsnew/3.9.rst:980 +#: whatsnew/3.9.rst:999 msgid "For example, if your ``tp_traverse`` function includes:" msgstr "" -#: whatsnew/3.9.rst:986 +#: whatsnew/3.9.rst:1005 msgid "then add:" msgstr "" -#: whatsnew/3.9.rst:999 +#: whatsnew/3.9.rst:1018 msgid "(See :issue:`35810` and :issue:`40217` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1002 +#: whatsnew/3.9.rst:1021 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.9.rst:1004 +#: whatsnew/3.9.rst:1023 msgid "" "The :opcode:`LOAD_ASSERTION_ERROR` opcode was added for handling the :" "keyword:`assert` statement. Previously, the assert statement would not work " @@ -1436,11 +1470,11 @@ msgid "" "(Contributed by Zackery Spytz in :issue:`34880`.)" msgstr "" -#: whatsnew/3.9.rst:1011 +#: whatsnew/3.9.rst:1030 msgid "Build Changes" msgstr "" -#: whatsnew/3.9.rst:1013 +#: whatsnew/3.9.rst:1032 msgid "" "Add ``--with-platlibdir`` option to the ``configure`` script: name of the " "platform-specific library directory, stored in the new :attr:`sys." @@ -1449,24 +1483,24 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:1019 +#: whatsnew/3.9.rst:1038 msgid "" "The ``COUNT_ALLOCS`` special build macro has been removed. (Contributed by " "Victor Stinner in :issue:`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1022 +#: whatsnew/3.9.rst:1041 msgid "" "On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` " "functions are now required to build Python. (Contributed by Victor Stinner " "in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:1028 +#: whatsnew/3.9.rst:1047 msgid "C API Changes" msgstr "" -#: whatsnew/3.9.rst:1033 +#: whatsnew/3.9.rst:1052 msgid "" ":pep:`573`: Add :c:func:`PyType_FromModuleAndSpec` to associate a module " "with a class; :c:func:`PyType_GetModule` and :c:func:`PyType_GetModuleState` " @@ -1475,20 +1509,20 @@ msgid "" "(Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.)" msgstr "" -#: whatsnew/3.9.rst:1040 +#: whatsnew/3.9.rst:1059 msgid "" "Add :c:func:`PyFrame_GetCode` function: get a frame code. Add :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1044 +#: whatsnew/3.9.rst:1063 msgid "" "Add :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1047 +#: whatsnew/3.9.rst:1066 msgid "" "Add :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Add :c:func:" @@ -1498,7 +1532,7 @@ msgid "" "issue:`39947`.)" msgstr "" -#: whatsnew/3.9.rst:1055 +#: whatsnew/3.9.rst:1074 msgid "" "Add a new public :c:func:`PyObject_CallNoArgs` function to the C API, which " "calls a callable Python object without any arguments. It is the most " @@ -1506,11 +1540,11 @@ msgid "" "(Contributed by Victor Stinner in :issue:`37194`.)" msgstr "" -#: whatsnew/3.9.rst:1060 whatsnew/3.9.rst:1140 +#: whatsnew/3.9.rst:1159 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" -#: whatsnew/3.9.rst:1062 +#: whatsnew/3.9.rst:1081 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -1519,23 +1553,23 @@ msgid "" "the limited C API)." msgstr "" -#: whatsnew/3.9.rst:1068 +#: whatsnew/3.9.rst:1087 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." msgstr "" -#: whatsnew/3.9.rst:1071 whatsnew/3.9.rst:1167 +#: whatsnew/3.9.rst:1186 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" -#: whatsnew/3.9.rst:1073 +#: whatsnew/3.9.rst:1092 msgid "" "The :c:func:`PyModule_AddType` function is added to help adding a type to a " "module. (Contributed by Dong-hee Na in :issue:`40024`.)" msgstr "" -#: whatsnew/3.9.rst:1077 +#: whatsnew/3.9.rst:1096 msgid "" "Add the functions :c:func:`PyObject_GC_IsTracked` and :c:func:" "`PyObject_GC_IsFinalized` to the public API to allow to query if Python " @@ -1544,14 +1578,14 @@ msgid "" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1087 +#: whatsnew/3.9.rst:1106 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" "issue:`38500`.)" msgstr "" -#: whatsnew/3.9.rst:1091 +#: whatsnew/3.9.rst:1110 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -1563,12 +1597,12 @@ msgid "" "`PyModule_GetState`) is ``NULL``." msgstr "" -#: whatsnew/3.9.rst:1100 +#: whatsnew/3.9.rst:1119 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" -#: whatsnew/3.9.rst:1102 +#: whatsnew/3.9.rst:1121 msgid "" "If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function " "is now scheduled to be called from the subinterpreter, rather than being " @@ -1576,7 +1610,7 @@ msgid "" "of scheduled calls. (Contributed by Victor Stinner in :issue:`39984`.)" msgstr "" -#: whatsnew/3.9.rst:1108 +#: whatsnew/3.9.rst:1127 msgid "" "The Windows registry is no longer used to initialize :data:`sys.path` when " "the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to " @@ -1584,21 +1618,21 @@ msgid "" "by Zackery Spytz in :issue:`8901`.)" msgstr "" -#: whatsnew/3.9.rst:1113 +#: whatsnew/3.9.rst:1132 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " "in :issue:`38650`.)" msgstr "" -#: whatsnew/3.9.rst:1117 +#: whatsnew/3.9.rst:1136 msgid "" "The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the " "internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1121 +#: whatsnew/3.9.rst:1140 msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" "func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, " @@ -1607,14 +1641,14 @@ msgid "" "Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1131 +#: whatsnew/3.9.rst:1150 msgid "" "Exclude ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" "`38835`.)" msgstr "" -#: whatsnew/3.9.rst:1135 +#: whatsnew/3.9.rst:1154 msgid "" "The ``tp_print`` slot of :ref:`PyTypeObject ` has been " "removed. It was used for printing objects to files in Python 2.7 and before. " @@ -1622,89 +1656,89 @@ msgid "" "Demeyer in :issue:`36974`.)" msgstr "" -#: whatsnew/3.9.rst:1142 +#: whatsnew/3.9.rst:1161 msgid "Exclude the following functions from the limited C API:" msgstr "" -#: whatsnew/3.9.rst:1144 +#: whatsnew/3.9.rst:1163 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" msgstr "" -#: whatsnew/3.9.rst:1146 +#: whatsnew/3.9.rst:1165 msgid "``_Py_CheckRecursionLimit``" msgstr "" -#: whatsnew/3.9.rst:1147 +#: whatsnew/3.9.rst:1166 msgid "``_Py_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1148 +#: whatsnew/3.9.rst:1167 msgid "``_Py_ForgetReference()``" msgstr "" -#: whatsnew/3.9.rst:1149 +#: whatsnew/3.9.rst:1168 msgid "``_PyTraceMalloc_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1150 +#: whatsnew/3.9.rst:1169 msgid "``_Py_GetRefTotal()``" msgstr "" -#: whatsnew/3.9.rst:1151 +#: whatsnew/3.9.rst:1170 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "" -#: whatsnew/3.9.rst:1152 +#: whatsnew/3.9.rst:1171 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "" -#: whatsnew/3.9.rst:1153 +#: whatsnew/3.9.rst:1172 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "" -#: whatsnew/3.9.rst:1154 +#: whatsnew/3.9.rst:1173 msgid "``Py_TRASHCAN_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1155 +#: whatsnew/3.9.rst:1174 msgid "``Py_TRASHCAN_END``" msgstr "" -#: whatsnew/3.9.rst:1156 +#: whatsnew/3.9.rst:1175 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1157 +#: whatsnew/3.9.rst:1176 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "" -#: whatsnew/3.9.rst:1159 +#: whatsnew/3.9.rst:1178 msgid "Move following functions and definitions to the internal C API:" msgstr "" -#: whatsnew/3.9.rst:1161 +#: whatsnew/3.9.rst:1180 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "" -#: whatsnew/3.9.rst:1162 +#: whatsnew/3.9.rst:1181 msgid "``_Py_PrintReferences()``" msgstr "" -#: whatsnew/3.9.rst:1163 +#: whatsnew/3.9.rst:1182 msgid "``_Py_PrintReferenceAddresses()``" msgstr "" -#: whatsnew/3.9.rst:1164 +#: whatsnew/3.9.rst:1183 msgid "``_Py_tracemalloc_config``" msgstr "" -#: whatsnew/3.9.rst:1165 +#: whatsnew/3.9.rst:1184 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "" -#: whatsnew/3.9.rst:1169 +#: whatsnew/3.9.rst:1188 msgid "" "Remove ``_PyRuntime.getframe`` hook and remove ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -1712,65 +1746,65 @@ msgid "" "(Contributed by Victor Stinner in :issue:`39946`.)" msgstr "" -#: whatsnew/3.9.rst:1174 +#: whatsnew/3.9.rst:1193 msgid "" "Remove the following functions from the C API. Call :c:func:`PyGC_Collect` " "explicitly to clear all free lists. (Contributed by Inada Naoki and Victor " "Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.)" msgstr "" -#: whatsnew/3.9.rst:1179 +#: whatsnew/3.9.rst:1198 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" -#: whatsnew/3.9.rst:1180 +#: whatsnew/3.9.rst:1199 msgid "``PyContext_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1181 +#: whatsnew/3.9.rst:1200 msgid "``PyDict_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1182 +#: whatsnew/3.9.rst:1201 msgid "``PyFloat_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1183 +#: whatsnew/3.9.rst:1202 msgid "``PyFrame_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1184 +#: whatsnew/3.9.rst:1203 msgid "``PyList_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1185 +#: whatsnew/3.9.rst:1204 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." msgstr "" -#: whatsnew/3.9.rst:1187 +#: whatsnew/3.9.rst:1206 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "" -#: whatsnew/3.9.rst:1189 +#: whatsnew/3.9.rst:1208 msgid "``PyTuple_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1190 +#: whatsnew/3.9.rst:1209 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." msgstr "" -#: whatsnew/3.9.rst:1193 +#: whatsnew/3.9.rst:1212 msgid "" "Remove ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" msgstr "" -#: whatsnew/3.9.rst:1196 +#: whatsnew/3.9.rst:1215 msgid "" "Remove ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and " "broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be "