From 005e87911abb0ac73d805f0e3c47e8addf9adbe1 Mon Sep 17 00:00:00 2001 From: "Jules Lasne (jlasne)" Date: Wed, 10 Apr 2019 16:52:58 +0200 Subject: [PATCH] Upstream merge (#659) --- .travis.yml | 2 +- c-api/exceptions.po | 2 +- c-api/init.po | 514 +++++++++++++-------------- c-api/objbuffer.po | 3 +- c-api/typeobj.po | 6 +- c-api/veryhigh.po | 87 ++--- c-api/weakref.po | 4 +- faq/general.po | 18 +- faq/programming.po | 2 +- faq/windows.po | 2 +- glossary.po | 2 +- howto/unicode.po | 2 +- library/asyncio.po | 2 +- library/collections.po | 9 +- library/compileall.po | 2 +- library/configparser.po | 177 +++++----- library/datetime.po | 4 +- library/exceptions.po | 29 +- library/functions.po | 316 ++++++++--------- library/idle.po | 2 +- library/inspect.po | 2 +- library/io.po | 249 +++++++------ library/operator.po | 6 +- library/queue.po | 2 +- library/ssl.po | 2 +- library/stdtypes.po | 4 +- library/subprocess.po | 2 +- library/sys.po | 694 +++++++++++++++++++------------------ library/timeit.po | 2 +- library/typing.po | 2 +- library/unittest.mock.po | 2 +- library/unittest.po | 4 +- library/urllib.parse.po | 2 +- library/urllib.request.po | 2 +- library/xml.dom.minidom.po | 57 ++- reference/datamodel.po | 3 +- tutorial/controlflow.po | 2 +- tutorial/interpreter.po | 2 +- 38 files changed, 1121 insertions(+), 1103 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ef9c1a1..85b5b50b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ install: script: - powrap --check --quiet **/*.po - pospell -p dict -l fr_FR **/*.po - - make CPYTHON_CLONE=/tmp/cpython/ COMMIT=40ee9a3640 + - make CPYTHON_CLONE=/tmp/cpython/ COMMIT=796698adf diff --git a/c-api/exceptions.po b/c-api/exceptions.po index c71dc098..271dec72 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-10-04 12:24+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/c-api/init.po b/c-api/init.po index ae2debb7..4a358691 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-11-29 18:22+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -96,62 +96,66 @@ msgid "Informative functions:" msgstr "" #: ../Doc/c-api/init.rst:40 -msgid ":c:func:`PyMem_GetAllocator`" +msgid ":c:func:`Py_IsInitialized`" msgstr "" #: ../Doc/c-api/init.rst:41 -msgid ":c:func:`PyObject_GetArenaAllocator`" +msgid ":c:func:`PyMem_GetAllocator`" msgstr "" #: ../Doc/c-api/init.rst:42 -msgid ":c:func:`Py_GetBuildInfo`" +msgid ":c:func:`PyObject_GetArenaAllocator`" msgstr "" #: ../Doc/c-api/init.rst:43 -msgid ":c:func:`Py_GetCompiler`" +msgid ":c:func:`Py_GetBuildInfo`" msgstr "" #: ../Doc/c-api/init.rst:44 -msgid ":c:func:`Py_GetCopyright`" +msgid ":c:func:`Py_GetCompiler`" msgstr "" #: ../Doc/c-api/init.rst:45 -msgid ":c:func:`Py_GetPlatform`" +msgid ":c:func:`Py_GetCopyright`" msgstr "" #: ../Doc/c-api/init.rst:46 +msgid ":c:func:`Py_GetPlatform`" +msgstr "" + +#: ../Doc/c-api/init.rst:47 msgid ":c:func:`Py_GetVersion`" msgstr "" -#: ../Doc/c-api/init.rst:48 +#: ../Doc/c-api/init.rst:49 msgid "Utilities:" msgstr "" -#: ../Doc/c-api/init.rst:50 +#: ../Doc/c-api/init.rst:51 msgid ":c:func:`Py_DecodeLocale`" msgstr "" -#: ../Doc/c-api/init.rst:52 +#: ../Doc/c-api/init.rst:53 msgid "Memory allocators:" msgstr "" -#: ../Doc/c-api/init.rst:54 +#: ../Doc/c-api/init.rst:55 msgid ":c:func:`PyMem_RawMalloc`" msgstr "" -#: ../Doc/c-api/init.rst:55 +#: ../Doc/c-api/init.rst:56 msgid ":c:func:`PyMem_RawRealloc`" msgstr "" -#: ../Doc/c-api/init.rst:56 +#: ../Doc/c-api/init.rst:57 msgid ":c:func:`PyMem_RawCalloc`" msgstr "" -#: ../Doc/c-api/init.rst:57 +#: ../Doc/c-api/init.rst:58 msgid ":c:func:`PyMem_RawFree`" msgstr "" -#: ../Doc/c-api/init.rst:61 +#: ../Doc/c-api/init.rst:62 msgid "" "The following functions **should not be called** before :c:func:" "`Py_Initialize`: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPath`, :c:func:" @@ -160,18 +164,18 @@ msgid "" "`Py_GetProgramName` and :c:func:`PyEval_InitThreads`." msgstr "" -#: ../Doc/c-api/init.rst:71 +#: ../Doc/c-api/init.rst:72 msgid "Global configuration variables" msgstr "" -#: ../Doc/c-api/init.rst:73 +#: ../Doc/c-api/init.rst:74 msgid "" "Python has variables for the global configuration to control different " "features and options. By default, these flags are controlled by :ref:" "`command line options `." msgstr "" -#: ../Doc/c-api/init.rst:77 +#: ../Doc/c-api/init.rst:78 msgid "" "When a flag is set by an option, the value of the flag is the number of " "times that the option was set. For example, ``-b`` sets :c:data:" @@ -179,64 +183,64 @@ msgid "" "2." msgstr "" -#: ../Doc/c-api/init.rst:83 +#: ../Doc/c-api/init.rst:84 msgid "" "Issue a warning when comparing :class:`bytes` or :class:`bytearray` with :" "class:`str` or :class:`bytes` with :class:`int`. Issue an error if greater " "or equal to ``2``." msgstr "" -#: ../Doc/c-api/init.rst:87 +#: ../Doc/c-api/init.rst:88 msgid "Set by the :option:`-b` option." msgstr "" -#: ../Doc/c-api/init.rst:91 +#: ../Doc/c-api/init.rst:92 msgid "" "Turn on parser debugging output (for expert only, depending on compilation " "options)." msgstr "" -#: ../Doc/c-api/init.rst:94 +#: ../Doc/c-api/init.rst:95 msgid "" "Set by the :option:`-d` option and the :envvar:`PYTHONDEBUG` environment " "variable." msgstr "" -#: ../Doc/c-api/init.rst:99 +#: ../Doc/c-api/init.rst:100 msgid "" "If set to non-zero, Python won't try to write ``.pyc`` files on the import " "of source modules." msgstr "" -#: ../Doc/c-api/init.rst:102 +#: ../Doc/c-api/init.rst:103 msgid "" "Set by the :option:`-B` option and the :envvar:`PYTHONDONTWRITEBYTECODE` " "environment variable." msgstr "" -#: ../Doc/c-api/init.rst:107 +#: ../Doc/c-api/init.rst:108 msgid "" "Suppress error messages when calculating the module search path in :c:func:" "`Py_GetPath`." msgstr "" -#: ../Doc/c-api/init.rst:110 +#: ../Doc/c-api/init.rst:111 msgid "Private flag used by ``_freeze_importlib`` and ``frozenmain`` programs." msgstr "" -#: ../Doc/c-api/init.rst:114 +#: ../Doc/c-api/init.rst:115 msgid "" "Set to ``1`` if the :envvar:`PYTHONHASHSEED` environment variable is set to " "a non-empty string." msgstr "" -#: ../Doc/c-api/init.rst:117 +#: ../Doc/c-api/init.rst:118 msgid "" "If the flag is non-zero, read the :envvar:`PYTHONHASHSEED` environment " "variable to initialize the secret hash seed." msgstr "" -#: ../Doc/c-api/init.rst:122 +#: ../Doc/c-api/init.rst:123 msgid "" "Ignore all :envvar:`PYTHON*` environment variables, e.g. :envvar:" "`PYTHONPATH` and :envvar:`PYTHONHOME`, that might be set." @@ -244,74 +248,74 @@ msgstr "" "Ignore toutes les variables d'environnement :envvar:`PYTHON*` qui pourraient " "être définies. Par exemple, :envvar:`PYTHONPATH` et :envvar:`PYTHONHOME`." -#: ../Doc/c-api/init.rst:125 +#: ../Doc/c-api/init.rst:126 msgid "Set by the :option:`-E` and :option:`-I` options." msgstr "" -#: ../Doc/c-api/init.rst:129 +#: ../Doc/c-api/init.rst:130 msgid "" "When a script is passed as first argument or the :option:`-c` option is " "used, enter interactive mode after executing the script or the command, even " "when :data:`sys.stdin` does not appear to be a terminal." msgstr "" -#: ../Doc/c-api/init.rst:133 +#: ../Doc/c-api/init.rst:134 msgid "" "Set by the :option:`-i` option and the :envvar:`PYTHONINSPECT` environment " "variable." msgstr "" -#: ../Doc/c-api/init.rst:138 +#: ../Doc/c-api/init.rst:139 msgid "Set by the :option:`-i` option." msgstr "" -#: ../Doc/c-api/init.rst:142 +#: ../Doc/c-api/init.rst:143 msgid "" "Run Python in isolated mode. In isolated mode :data:`sys.path` contains " "neither the script's directory nor the user's site-packages directory." msgstr "" -#: ../Doc/c-api/init.rst:145 +#: ../Doc/c-api/init.rst:146 msgid "Set by the :option:`-I` option." msgstr "" -#: ../Doc/c-api/init.rst:151 +#: ../Doc/c-api/init.rst:152 msgid "" "If the flag is non-zero, use the ``mbcs`` encoding instead of the UTF-8 " "encoding for the filesystem encoding." msgstr "" -#: ../Doc/c-api/init.rst:154 +#: ../Doc/c-api/init.rst:155 msgid "" "Set to ``1`` if the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` environment " "variable is set to a non-empty string." msgstr "" -#: ../Doc/c-api/init.rst:157 +#: ../Doc/c-api/init.rst:158 msgid "See :pep:`529` for more details." msgstr "Voir la :pep:`529` pour plus d'informations." -#: ../Doc/c-api/init.rst:159 ../Doc/c-api/init.rst:171 +#: ../Doc/c-api/init.rst:160 ../Doc/c-api/init.rst:172 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." -#: ../Doc/c-api/init.rst:163 +#: ../Doc/c-api/init.rst:164 msgid "" "If the flag is non-zero, use :class:`io.FileIO` instead of :class:" "`WindowsConsoleIO` for :mod:`sys` standard streams." msgstr "" -#: ../Doc/c-api/init.rst:166 +#: ../Doc/c-api/init.rst:167 msgid "" "Set to ``1`` if the :envvar:`PYTHONLEGACYWINDOWSSTDIO` environment variable " "is set to a non-empty string." msgstr "" -#: ../Doc/c-api/init.rst:169 +#: ../Doc/c-api/init.rst:170 msgid "See :pep:`528` for more details." msgstr "" -#: ../Doc/c-api/init.rst:175 +#: ../Doc/c-api/init.rst:176 msgid "" "Disable the import of the module :mod:`site` and the site-dependent " "manipulations of :data:`sys.path` that it entails. Also disable these " @@ -323,11 +327,11 @@ msgstr "" "mod:`site` est importé explicitement plus tard (appelez :func:`site.main` si " "vous voulez les déclencher)." -#: ../Doc/c-api/init.rst:180 +#: ../Doc/c-api/init.rst:181 msgid "Set by the :option:`-S` option." msgstr "" -#: ../Doc/c-api/init.rst:184 +#: ../Doc/c-api/init.rst:185 msgid "" "Don't add the :data:`user site-packages directory ` to :data:" "`sys.path`." @@ -335,38 +339,38 @@ msgstr "" "N'ajoute pas le répertoire utilisateur :data:`site-packages ` à :data:`sys.path`." -#: ../Doc/c-api/init.rst:187 +#: ../Doc/c-api/init.rst:188 msgid "" "Set by the :option:`-s` and :option:`-I` options, and the :envvar:" "`PYTHONNOUSERSITE` environment variable." msgstr "" -#: ../Doc/c-api/init.rst:192 +#: ../Doc/c-api/init.rst:193 msgid "" "Set by the :option:`-O` option and the :envvar:`PYTHONOPTIMIZE` environment " "variable." msgstr "" -#: ../Doc/c-api/init.rst:197 +#: ../Doc/c-api/init.rst:198 msgid "" "Don't display the copyright and version messages even in interactive mode." msgstr "N'affiche pas le copyright et la version, même en mode interactif." -#: ../Doc/c-api/init.rst:199 +#: ../Doc/c-api/init.rst:200 msgid "Set by the :option:`-q` option." msgstr "" -#: ../Doc/c-api/init.rst:205 +#: ../Doc/c-api/init.rst:206 msgid "Force the stdout and stderr streams to be unbuffered." msgstr "" -#: ../Doc/c-api/init.rst:207 +#: ../Doc/c-api/init.rst:208 msgid "" "Set by the :option:`-u` option and the :envvar:`PYTHONUNBUFFERED` " "environment variable." msgstr "" -#: ../Doc/c-api/init.rst:212 +#: ../Doc/c-api/init.rst:213 msgid "" "Print a message each time a module is initialized, showing the place " "(filename or built-in module) from which it is loaded. If greater or equal " @@ -374,24 +378,24 @@ msgid "" "for a module. Also provides information on module cleanup at exit." msgstr "" -#: ../Doc/c-api/init.rst:217 +#: ../Doc/c-api/init.rst:218 msgid "" "Set by the :option:`-v` option and the :envvar:`PYTHONVERBOSE` environment " "variable." msgstr "" -#: ../Doc/c-api/init.rst:222 +#: ../Doc/c-api/init.rst:223 msgid "Initializing and finalizing the interpreter" msgstr "" -#: ../Doc/c-api/init.rst:240 +#: ../Doc/c-api/init.rst:241 msgid "" "Initialize the Python interpreter. In an application embedding Python, " "this should be called before using any other Python/C API functions; see :" "ref:`Before Python Initialization ` for the few exceptions." msgstr "" -#: ../Doc/c-api/init.rst:244 +#: ../Doc/c-api/init.rst:245 msgid "" "This initializes the table of loaded modules (``sys.modules``), and creates " "the fundamental modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`. It " @@ -401,27 +405,27 @@ msgid "" "There is no return value; it is a fatal error if the initialization fails." msgstr "" -#: ../Doc/c-api/init.rst:253 +#: ../Doc/c-api/init.rst:254 msgid "" "On Windows, changes the console mode from ``O_TEXT`` to ``O_BINARY``, which " "will also affect non-Python uses of the console using the C Runtime." msgstr "" -#: ../Doc/c-api/init.rst:259 +#: ../Doc/c-api/init.rst:260 msgid "" "This function works like :c:func:`Py_Initialize` if *initsigs* is ``1``. If " "*initsigs* is ``0``, it skips initialization registration of signal " "handlers, which might be useful when Python is embedded." msgstr "" -#: ../Doc/c-api/init.rst:266 +#: ../Doc/c-api/init.rst:267 msgid "" "Return true (nonzero) when the Python interpreter has been initialized, " "false (zero) if not. After :c:func:`Py_FinalizeEx` is called, this returns " "false until :c:func:`Py_Initialize` is called again." msgstr "" -#: ../Doc/c-api/init.rst:273 +#: ../Doc/c-api/init.rst:274 msgid "" "Undo all initializations made by :c:func:`Py_Initialize` and subsequent use " "of Python/C API functions, and destroy all sub-interpreters (see :c:func:" @@ -433,7 +437,7 @@ msgid "" "(flushing buffered data), ``-1`` is returned." msgstr "" -#: ../Doc/c-api/init.rst:282 +#: ../Doc/c-api/init.rst:283 msgid "" "This function is provided for a number of reasons. An embedding application " "might want to restart Python without having to restart the application " @@ -444,7 +448,7 @@ msgid "" "Python before exiting from the application." msgstr "" -#: ../Doc/c-api/init.rst:290 +#: ../Doc/c-api/init.rst:291 msgid "" "**Bugs and caveats:** The destruction of modules and objects in modules is " "done in random order; this may cause destructors (:meth:`__del__` methods) " @@ -459,54 +463,54 @@ msgid "" "than once." msgstr "" -#: ../Doc/c-api/init.rst:306 +#: ../Doc/c-api/init.rst:307 msgid "" "This is a backwards-compatible version of :c:func:`Py_FinalizeEx` that " "disregards the return value." msgstr "" -#: ../Doc/c-api/init.rst:311 +#: ../Doc/c-api/init.rst:312 msgid "Process-wide parameters" msgstr "" -#: ../Doc/c-api/init.rst:321 +#: ../Doc/c-api/init.rst:322 msgid "" "This function should be called before :c:func:`Py_Initialize`, if it is " "called at all. It specifies which encoding and error handling to use with " "standard IO, with the same meanings as in :func:`str.encode`." msgstr "" -#: ../Doc/c-api/init.rst:325 +#: ../Doc/c-api/init.rst:326 msgid "" "It overrides :envvar:`PYTHONIOENCODING` values, and allows embedding code to " "control IO encoding when the environment variable does not work." msgstr "" -#: ../Doc/c-api/init.rst:328 +#: ../Doc/c-api/init.rst:329 msgid "" "``encoding`` and/or ``errors`` may be NULL to use :envvar:`PYTHONIOENCODING` " "and/or default values (depending on other settings)." msgstr "" -#: ../Doc/c-api/init.rst:332 +#: ../Doc/c-api/init.rst:333 msgid "" "Note that :data:`sys.stderr` always uses the \"backslashreplace\" error " "handler, regardless of this (or any other) setting." msgstr "" -#: ../Doc/c-api/init.rst:335 +#: ../Doc/c-api/init.rst:336 msgid "" "If :c:func:`Py_FinalizeEx` is called, this function will need to be called " "again in order to affect subsequent calls to :c:func:`Py_Initialize`." msgstr "" -#: ../Doc/c-api/init.rst:338 +#: ../Doc/c-api/init.rst:339 msgid "" "Returns ``0`` if successful, a nonzero value on error (e.g. calling after " "the interpreter has already been initialized)." msgstr "" -#: ../Doc/c-api/init.rst:351 +#: ../Doc/c-api/init.rst:352 msgid "" "This function should be called before :c:func:`Py_Initialize` is called for " "the first time, if it is called at all. It tells the interpreter the value " @@ -520,22 +524,22 @@ msgid "" "this storage." msgstr "" -#: ../Doc/c-api/init.rst:362 ../Doc/c-api/init.rst:476 -#: ../Doc/c-api/init.rst:578 ../Doc/c-api/init.rst:605 -#: ../Doc/c-api/init.rst:622 +#: ../Doc/c-api/init.rst:363 ../Doc/c-api/init.rst:477 +#: ../Doc/c-api/init.rst:579 ../Doc/c-api/init.rst:606 +#: ../Doc/c-api/init.rst:623 msgid "" "Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a :c:type:" "`wchar_*` string." msgstr "" -#: ../Doc/c-api/init.rst:370 +#: ../Doc/c-api/init.rst:371 msgid "" "Return the program name set with :c:func:`Py_SetProgramName`, or the " "default. The returned string points into static storage; the caller should " "not modify its value." msgstr "" -#: ../Doc/c-api/init.rst:377 +#: ../Doc/c-api/init.rst:378 msgid "" "Return the *prefix* for installed platform-independent files. This is " "derived through a number of complicated rules from the program name set " @@ -549,7 +553,7 @@ msgid "" "function." msgstr "" -#: ../Doc/c-api/init.rst:390 +#: ../Doc/c-api/init.rst:391 msgid "" "Return the *exec-prefix* for installed platform-*dependent* files. This is " "derived through a number of complicated rules from the program name set " @@ -563,7 +567,7 @@ msgid "" "on Unix." msgstr "" -#: ../Doc/c-api/init.rst:400 +#: ../Doc/c-api/init.rst:401 msgid "" "Background: The exec-prefix differs from the prefix when platform dependent " "files (such as executables and shared libraries) are installed in a " @@ -572,7 +576,7 @@ msgid "" "independent may be installed in :file:`/usr/local`." msgstr "" -#: ../Doc/c-api/init.rst:406 +#: ../Doc/c-api/init.rst:407 msgid "" "Generally speaking, a platform is a combination of hardware and software " "families, e.g. Sparc machines running the Solaris 2.x operating system are " @@ -586,7 +590,7 @@ msgid "" "independent from the Python version by which they were compiled!)." msgstr "" -#: ../Doc/c-api/init.rst:417 +#: ../Doc/c-api/init.rst:418 msgid "" "System administrators will know how to configure the :program:`mount` or :" "program:`automount` programs to share :file:`/usr/local` between platforms " @@ -594,7 +598,7 @@ msgid "" "platform." msgstr "" -#: ../Doc/c-api/init.rst:429 +#: ../Doc/c-api/init.rst:430 msgid "" "Return the full program name of the Python executable; this is computed as " "a side-effect of deriving the default module search path from the program " @@ -603,7 +607,7 @@ msgid "" "available to Python code as ``sys.executable``." msgstr "" -#: ../Doc/c-api/init.rst:443 +#: ../Doc/c-api/init.rst:444 msgid "" "Return the default module search path; this is computed from the program " "name (set by :c:func:`Py_SetProgramName` above) and some environment " @@ -616,7 +620,7 @@ msgid "" "for loading modules." msgstr "" -#: ../Doc/c-api/init.rst:463 +#: ../Doc/c-api/init.rst:464 msgid "" "Set the default module search path. If this function is called before :c:" "func:`Py_Initialize`, then :c:func:`Py_GetPath` won't attempt to compute a " @@ -627,7 +631,7 @@ msgid "" "``';'`` on Windows." msgstr "" -#: ../Doc/c-api/init.rst:471 +#: ../Doc/c-api/init.rst:472 msgid "" "This also causes :data:`sys.executable` to be set only to the raw program " "name (see :c:func:`Py_SetProgramName`) and for :data:`sys.prefix` and :data:" @@ -635,19 +639,19 @@ msgid "" "required after calling :c:func:`Py_Initialize`." msgstr "" -#: ../Doc/c-api/init.rst:479 +#: ../Doc/c-api/init.rst:480 msgid "" "The path argument is copied internally, so the caller may free it after the " "call completes." msgstr "" -#: ../Doc/c-api/init.rst:485 +#: ../Doc/c-api/init.rst:486 msgid "" "Return the version of this Python interpreter. This is a string that looks " "something like ::" msgstr "" -#: ../Doc/c-api/init.rst:492 +#: ../Doc/c-api/init.rst:493 msgid "" "The first word (up to the first space character) is the current Python " "version; the first three characters are the major and minor version " @@ -656,7 +660,7 @@ msgid "" "as :data:`sys.version`." msgstr "" -#: ../Doc/c-api/init.rst:502 +#: ../Doc/c-api/init.rst:503 msgid "" "Return the platform identifier for the current platform. On Unix, this is " "formed from the \"official\" name of the operating system, converted to " @@ -667,42 +671,42 @@ msgid "" "value is available to Python code as ``sys.platform``." msgstr "" -#: ../Doc/c-api/init.rst:513 +#: ../Doc/c-api/init.rst:514 msgid "" "Return the official copyright string for the current Python version, for " "example" msgstr "" -#: ../Doc/c-api/init.rst:515 +#: ../Doc/c-api/init.rst:516 msgid "``'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'``" msgstr "" -#: ../Doc/c-api/init.rst:519 +#: ../Doc/c-api/init.rst:520 msgid "" "The returned string points into static storage; the caller should not modify " "its value. The value is available to Python code as ``sys.copyright``." msgstr "" -#: ../Doc/c-api/init.rst:525 +#: ../Doc/c-api/init.rst:526 msgid "" "Return an indication of the compiler used to build the current Python " "version, in square brackets, for example::" msgstr "" -#: ../Doc/c-api/init.rst:532 ../Doc/c-api/init.rst:546 +#: ../Doc/c-api/init.rst:533 ../Doc/c-api/init.rst:547 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 " "``sys.version``." msgstr "" -#: ../Doc/c-api/init.rst:539 +#: ../Doc/c-api/init.rst:540 msgid "" "Return information about the sequence number and build date and time of the " "current Python interpreter instance, for example ::" msgstr "" -#: ../Doc/c-api/init.rst:558 +#: ../Doc/c-api/init.rst:559 msgid "" "Set :data:`sys.argv` based on *argc* and *argv*. These parameters are " "similar to those passed to the program's :c:func:`main` function with the " @@ -713,28 +717,28 @@ msgid "" "fatal condition is signalled using :c:func:`Py_FatalError`." msgstr "" -#: ../Doc/c-api/init.rst:566 +#: ../Doc/c-api/init.rst:567 msgid "" "If *updatepath* is zero, this is all the function does. If *updatepath* is " "non-zero, the function also modifies :data:`sys.path` according to the " "following algorithm:" msgstr "" -#: ../Doc/c-api/init.rst:570 +#: ../Doc/c-api/init.rst:571 msgid "" "If the name of an existing script is passed in ``argv[0]``, the absolute " "path of the directory where the script is located is prepended to :data:`sys." "path`." msgstr "" -#: ../Doc/c-api/init.rst:573 +#: ../Doc/c-api/init.rst:574 msgid "" "Otherwise (that is, if *argc* is ``0`` or ``argv[0]`` doesn't point to an " "existing file name), an empty string is prepended to :data:`sys.path`, which " "is the same as prepending the current working directory (``\".\"``)." msgstr "" -#: ../Doc/c-api/init.rst:582 +#: ../Doc/c-api/init.rst:583 msgid "" "It is recommended that applications embedding the Python interpreter for " "purposes other than executing a single script pass ``0`` as *updatepath*, " @@ -742,32 +746,32 @@ msgid "" "`_." msgstr "" -#: ../Doc/c-api/init.rst:587 +#: ../Doc/c-api/init.rst:588 msgid "" "On versions before 3.1.3, you can achieve the same effect by manually " "popping the first :data:`sys.path` element after having called :c:func:" "`PySys_SetArgv`, for example using::" msgstr "" -#: ../Doc/c-api/init.rst:601 +#: ../Doc/c-api/init.rst:602 msgid "" "This function works like :c:func:`PySys_SetArgvEx` with *updatepath* set to " "``1`` unless the :program:`python` interpreter was started with the :option:" "`-I`." msgstr "" -#: ../Doc/c-api/init.rst:608 +#: ../Doc/c-api/init.rst:609 msgid "The *updatepath* value depends on :option:`-I`." msgstr "" -#: ../Doc/c-api/init.rst:613 +#: ../Doc/c-api/init.rst:614 msgid "" "Set the default \"home\" directory, that is, the location of the standard " "Python libraries. See :envvar:`PYTHONHOME` for the meaning of the argument " "string." msgstr "" -#: ../Doc/c-api/init.rst:617 +#: ../Doc/c-api/init.rst:618 msgid "" "The argument should point to a zero-terminated character string in static " "storage whose contents will not change for the duration of the program's " @@ -775,18 +779,18 @@ msgid "" "this storage." msgstr "" -#: ../Doc/c-api/init.rst:628 +#: ../Doc/c-api/init.rst:629 msgid "" "Return the default \"home\", that is, the value set by a previous call to :c:" "func:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME` " "environment variable if it is set." msgstr "" -#: ../Doc/c-api/init.rst:636 +#: ../Doc/c-api/init.rst:637 msgid "Thread State and the Global Interpreter Lock" msgstr "" -#: ../Doc/c-api/init.rst:643 +#: ../Doc/c-api/init.rst:644 msgid "" "The Python interpreter is not fully thread-safe. In order to support multi-" "threaded Python programs, there's a global lock, called the :term:`global " @@ -798,7 +802,7 @@ msgid "" "once instead of twice." msgstr "" -#: ../Doc/c-api/init.rst:653 +#: ../Doc/c-api/init.rst:654 msgid "" "Therefore, the rule exists that only the thread that has acquired the :term:" "`GIL` may operate on Python objects or call Python/C API functions. In order " @@ -808,7 +812,7 @@ msgid "" "a file, so that other Python threads can run in the meantime." msgstr "" -#: ../Doc/c-api/init.rst:664 +#: ../Doc/c-api/init.rst:665 msgid "" "The Python interpreter keeps some thread-specific bookkeeping information " "inside a data structure called :c:type:`PyThreadState`. There's also one " @@ -816,32 +820,32 @@ msgid "" "retrieved using :c:func:`PyThreadState_Get`." msgstr "" -#: ../Doc/c-api/init.rst:670 +#: ../Doc/c-api/init.rst:671 msgid "Releasing the GIL from extension code" msgstr "" -#: ../Doc/c-api/init.rst:672 +#: ../Doc/c-api/init.rst:673 msgid "" "Most extension code manipulating the :term:`GIL` has the following simple " "structure::" msgstr "" -#: ../Doc/c-api/init.rst:681 +#: ../Doc/c-api/init.rst:682 msgid "This is so common that a pair of macros exists to simplify it::" msgstr "" -#: ../Doc/c-api/init.rst:691 +#: ../Doc/c-api/init.rst:692 msgid "" "The :c:macro:`Py_BEGIN_ALLOW_THREADS` macro opens a new block and declares a " "hidden local variable; the :c:macro:`Py_END_ALLOW_THREADS` macro closes the " "block." msgstr "" -#: ../Doc/c-api/init.rst:695 +#: ../Doc/c-api/init.rst:696 msgid "The block above expands to the following code::" msgstr "" -#: ../Doc/c-api/init.rst:707 +#: ../Doc/c-api/init.rst:708 msgid "" "Here is how these functions work: the global interpreter lock is used to " "protect the pointer to the current thread state. When releasing the lock " @@ -852,7 +856,7 @@ msgid "" "state, the lock must be acquired before storing the thread state pointer." msgstr "" -#: ../Doc/c-api/init.rst:716 +#: ../Doc/c-api/init.rst:717 msgid "" "Calling system I/O functions is the most common use case for releasing the " "GIL, but it can also be useful before calling long-running computations " @@ -862,11 +866,11 @@ msgid "" "compressing or hashing data." msgstr "" -#: ../Doc/c-api/init.rst:727 +#: ../Doc/c-api/init.rst:728 msgid "Non-Python created threads" msgstr "" -#: ../Doc/c-api/init.rst:729 +#: ../Doc/c-api/init.rst:730 msgid "" "When threads are created using the dedicated Python APIs (such as the :mod:" "`threading` module), a thread state is automatically associated to them and " @@ -876,7 +880,7 @@ msgid "" "for them." msgstr "" -#: ../Doc/c-api/init.rst:736 +#: ../Doc/c-api/init.rst:737 msgid "" "If you need to call Python code from these threads (often this will be part " "of a callback API provided by the aforementioned third-party library), you " @@ -887,14 +891,14 @@ msgid "" "finally free the thread state data structure." msgstr "" -#: ../Doc/c-api/init.rst:744 +#: ../Doc/c-api/init.rst:745 msgid "" "The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions " "do all of the above automatically. The typical idiom for calling into " "Python from a C thread is::" msgstr "" -#: ../Doc/c-api/init.rst:758 +#: ../Doc/c-api/init.rst:759 msgid "" "Note that the :c:func:`PyGILState_\\*` functions assume there is only one " "global interpreter (created automatically by :c:func:`Py_Initialize`). " @@ -903,7 +907,7 @@ msgid "" "`PyGILState_\\*` API is unsupported." msgstr "" -#: ../Doc/c-api/init.rst:764 +#: ../Doc/c-api/init.rst:765 msgid "" "Another important thing to note about threads is their behaviour in the face " "of the C :c:func:`fork` call. On most systems with :c:func:`fork`, after a " @@ -923,17 +927,17 @@ msgid "" "able to." msgstr "" -#: ../Doc/c-api/init.rst:783 +#: ../Doc/c-api/init.rst:784 msgid "High-level API" msgstr "" -#: ../Doc/c-api/init.rst:785 +#: ../Doc/c-api/init.rst:786 msgid "" "These are the most commonly used types and functions when writing C " "extension code, or when embedding the Python interpreter:" msgstr "" -#: ../Doc/c-api/init.rst:790 +#: ../Doc/c-api/init.rst:791 msgid "" "This data structure represents the state shared by a number of cooperating " "threads. Threads belonging to the same interpreter share their module " @@ -941,7 +945,7 @@ msgid "" "in this structure." msgstr "" -#: ../Doc/c-api/init.rst:795 +#: ../Doc/c-api/init.rst:796 msgid "" "Threads belonging to different interpreters initially share nothing, except " "process state like available memory, open file descriptors and such. The " @@ -949,14 +953,14 @@ msgid "" "which interpreter they belong." msgstr "" -#: ../Doc/c-api/init.rst:803 +#: ../Doc/c-api/init.rst:804 msgid "" "This data structure represents the state of a single thread. The only " "public data member is :c:type:`PyInterpreterState \\*`:attr:`interp`, which " "points to this thread's interpreter state." msgstr "" -#: ../Doc/c-api/init.rst:816 +#: ../Doc/c-api/init.rst:817 msgid "" "Initialize and acquire the global interpreter lock. It should be called in " "the main thread before creating a second thread or engaging in any other " @@ -964,33 +968,33 @@ msgid "" "before calling :c:func:`PyEval_SaveThread` or :c:func:`PyEval_RestoreThread`." msgstr "" -#: ../Doc/c-api/init.rst:821 +#: ../Doc/c-api/init.rst:822 msgid "This is a no-op when called for a second time." msgstr "" -#: ../Doc/c-api/init.rst:823 +#: ../Doc/c-api/init.rst:824 msgid "" "This function is now called by :c:func:`Py_Initialize()`, so you don't have " "to call it yourself anymore." msgstr "" -#: ../Doc/c-api/init.rst:827 +#: ../Doc/c-api/init.rst:828 msgid "" "This function cannot be called before :c:func:`Py_Initialize()` anymore." msgstr "" -#: ../Doc/c-api/init.rst:835 +#: ../Doc/c-api/init.rst:836 msgid "" "Returns a non-zero value if :c:func:`PyEval_InitThreads` has been called. " "This function can be called without holding the GIL, and therefore can be " "used to avoid calls to the locking API when running single-threaded." msgstr "" -#: ../Doc/c-api/init.rst:839 +#: ../Doc/c-api/init.rst:840 msgid "The :term:`GIL` is now initialized by :c:func:`Py_Initialize()`." msgstr "" -#: ../Doc/c-api/init.rst:845 +#: ../Doc/c-api/init.rst:846 msgid "" "Release the global interpreter lock (if it has been created and thread " "support is enabled) and reset the thread state to *NULL*, returning the " @@ -998,7 +1002,7 @@ msgid "" "the current thread must have acquired it." msgstr "" -#: ../Doc/c-api/init.rst:853 +#: ../Doc/c-api/init.rst:854 msgid "" "Acquire the global interpreter lock (if it has been created and thread " "support is enabled) and set the thread state to *tstate*, which must not be " @@ -1006,34 +1010,34 @@ msgid "" "acquired it, otherwise deadlock ensues." msgstr "" -#: ../Doc/c-api/init.rst:861 +#: ../Doc/c-api/init.rst:862 msgid "" "Return the current thread state. The global interpreter lock must be held. " "When the current thread state is *NULL*, this issues a fatal error (so that " "the caller needn't check for *NULL*)." msgstr "" -#: ../Doc/c-api/init.rst:868 +#: ../Doc/c-api/init.rst:869 msgid "" "Swap the current thread state with the thread state given by the argument " "*tstate*, which may be *NULL*. The global interpreter lock must be held and " "is not released." msgstr "" -#: ../Doc/c-api/init.rst:875 +#: ../Doc/c-api/init.rst:876 msgid "" "This function is called from :c:func:`PyOS_AfterFork_Child` to ensure that " "newly created child processes don't hold locks referring to threads which " "are not running in the child process." msgstr "" -#: ../Doc/c-api/init.rst:880 +#: ../Doc/c-api/init.rst:881 msgid "" "The following functions use thread-local storage, and are not compatible " "with sub-interpreters:" msgstr "" -#: ../Doc/c-api/init.rst:885 +#: ../Doc/c-api/init.rst:886 msgid "" "Ensure that the current thread is ready to call the Python C API regardless " "of the current state of Python, or of the global interpreter lock. This may " @@ -1046,7 +1050,7 @@ msgid "" "is acceptable." msgstr "" -#: ../Doc/c-api/init.rst:895 +#: ../Doc/c-api/init.rst:896 msgid "" "The return value is an opaque \"handle\" to the thread state when :c:func:" "`PyGILState_Ensure` was called, and must be passed to :c:func:" @@ -1056,13 +1060,13 @@ msgid "" "func:`PyGILState_Release`." msgstr "" -#: ../Doc/c-api/init.rst:902 +#: ../Doc/c-api/init.rst:903 msgid "" "When the function returns, the current thread will hold the GIL and be able " "to call arbitrary Python code. Failure is a fatal error." msgstr "" -#: ../Doc/c-api/init.rst:908 +#: ../Doc/c-api/init.rst:909 msgid "" "Release any resources previously acquired. After this call, Python's state " "will be the same as it was prior to the corresponding :c:func:" @@ -1070,13 +1074,13 @@ msgid "" "caller, hence the use of the GILState API)." msgstr "" -#: ../Doc/c-api/init.rst:913 +#: ../Doc/c-api/init.rst:914 msgid "" "Every call to :c:func:`PyGILState_Ensure` must be matched by a call to :c:" "func:`PyGILState_Release` on the same thread." msgstr "" -#: ../Doc/c-api/init.rst:919 +#: ../Doc/c-api/init.rst:920 msgid "" "Get the current thread state for this thread. May return ``NULL`` if no " "GILState API has been used on the current thread. Note that the main thread " @@ -1084,7 +1088,7 @@ msgid "" "made on the main thread. This is mainly a helper/diagnostic function." msgstr "" -#: ../Doc/c-api/init.rst:927 +#: ../Doc/c-api/init.rst:928 msgid "" "Return ``1`` if the current thread is holding the GIL and ``0`` otherwise. " "This function can be called from any thread at any time. Only if it has had " @@ -1095,13 +1099,13 @@ msgid "" "otherwise behave differently." msgstr "" -#: ../Doc/c-api/init.rst:939 +#: ../Doc/c-api/init.rst:940 msgid "" "The following macros are normally used without a trailing semicolon; look " "for example usage in the Python source distribution." msgstr "" -#: ../Doc/c-api/init.rst:945 +#: ../Doc/c-api/init.rst:946 msgid "" "This macro expands to ``{ PyThreadState *_save; _save = PyEval_SaveThread();" "``. Note that it contains an opening brace; it must be matched with a " @@ -1109,7 +1113,7 @@ msgid "" "discussion of this macro." msgstr "" -#: ../Doc/c-api/init.rst:953 +#: ../Doc/c-api/init.rst:954 msgid "" "This macro expands to ``PyEval_RestoreThread(_save); }``. Note that it " "contains a closing brace; it must be matched with an earlier :c:macro:" @@ -1117,79 +1121,79 @@ msgid "" "macro." msgstr "" -#: ../Doc/c-api/init.rst:961 +#: ../Doc/c-api/init.rst:962 msgid "" "This macro expands to ``PyEval_RestoreThread(_save);``: it is equivalent to :" "c:macro:`Py_END_ALLOW_THREADS` without the closing brace." msgstr "" -#: ../Doc/c-api/init.rst:967 +#: ../Doc/c-api/init.rst:968 msgid "" "This macro expands to ``_save = PyEval_SaveThread();``: it is equivalent to :" "c:macro:`Py_BEGIN_ALLOW_THREADS` without the opening brace and variable " "declaration." msgstr "" -#: ../Doc/c-api/init.rst:973 +#: ../Doc/c-api/init.rst:974 msgid "Low-level API" msgstr "" -#: ../Doc/c-api/init.rst:975 +#: ../Doc/c-api/init.rst:976 msgid "" "All of the following functions must be called after :c:func:`Py_Initialize`." msgstr "" -#: ../Doc/c-api/init.rst:977 +#: ../Doc/c-api/init.rst:978 msgid ":c:func:`Py_Initialize()` now initializes the :term:`GIL`." msgstr "" -#: ../Doc/c-api/init.rst:983 +#: ../Doc/c-api/init.rst:984 msgid "" "Create a new interpreter state object. The global interpreter lock need not " "be held, but may be held if it is necessary to serialize calls to this " "function." msgstr "" -#: ../Doc/c-api/init.rst:990 +#: ../Doc/c-api/init.rst:991 msgid "" "Reset all information in an interpreter state object. The global " "interpreter lock must be held." msgstr "" -#: ../Doc/c-api/init.rst:996 +#: ../Doc/c-api/init.rst:997 msgid "" "Destroy an interpreter state object. The global interpreter lock need not " "be held. The interpreter state must have been reset with a previous call " "to :c:func:`PyInterpreterState_Clear`." msgstr "" -#: ../Doc/c-api/init.rst:1003 +#: ../Doc/c-api/init.rst:1004 msgid "" "Create a new thread state object belonging to the given interpreter object. " "The global interpreter lock need not be held, but may be held if it is " "necessary to serialize calls to this function." msgstr "" -#: ../Doc/c-api/init.rst:1010 +#: ../Doc/c-api/init.rst:1011 msgid "" "Reset all information in a thread state object. The global interpreter lock " "must be held." msgstr "" -#: ../Doc/c-api/init.rst:1016 +#: ../Doc/c-api/init.rst:1017 msgid "" "Destroy a thread state object. The global interpreter lock need not be " "held. The thread state must have been reset with a previous call to :c:func:" "`PyThreadState_Clear`." msgstr "" -#: ../Doc/c-api/init.rst:1023 +#: ../Doc/c-api/init.rst:1024 msgid "" "Return the interpreter's unique ID. If there was any error in doing so then " "``-1`` is returned and an error is set." msgstr "" -#: ../Doc/c-api/init.rst:1031 +#: ../Doc/c-api/init.rst:1032 msgid "" "Return a dictionary in which extensions can store thread-specific state " "information. Each extension should use a unique key to use to store state " @@ -1198,7 +1202,7 @@ msgid "" "raised and the caller should assume no current thread state is available." msgstr "" -#: ../Doc/c-api/init.rst:1040 +#: ../Doc/c-api/init.rst:1041 msgid "" "Asynchronously raise an exception in a thread. The *id* argument is the " "thread id of the target thread; *exc* is the exception object to be raised. " @@ -1210,26 +1214,26 @@ msgid "" "raises no exceptions." msgstr "" -#: ../Doc/c-api/init.rst:1048 +#: ../Doc/c-api/init.rst:1049 msgid "" "The type of the *id* parameter changed from :c:type:`long` to :c:type:" "`unsigned long`." msgstr "" -#: ../Doc/c-api/init.rst:1054 +#: ../Doc/c-api/init.rst:1055 msgid "" "Acquire the global interpreter lock and set the current thread state to " "*tstate*, which should not be *NULL*. The lock must have been created " "earlier. If this thread already has the lock, deadlock ensues." msgstr "" -#: ../Doc/c-api/init.rst:1058 +#: ../Doc/c-api/init.rst:1059 msgid "" ":c:func:`PyEval_RestoreThread` is a higher-level function which is always " "available (even when threads have not been initialized)." msgstr "" -#: ../Doc/c-api/init.rst:1064 +#: ../Doc/c-api/init.rst:1065 msgid "" "Reset the current thread state to *NULL* and release the global interpreter " "lock. The lock must have been created earlier and must be held by the " @@ -1238,41 +1242,41 @@ msgid "" "fatal error is reported." msgstr "" -#: ../Doc/c-api/init.rst:1070 +#: ../Doc/c-api/init.rst:1071 msgid "" ":c:func:`PyEval_SaveThread` is a higher-level function which is always " "available (even when threads have not been initialized)." msgstr "" -#: ../Doc/c-api/init.rst:1076 +#: ../Doc/c-api/init.rst:1077 msgid "" "Acquire the global interpreter lock. The lock must have been created " "earlier. If this thread already has the lock, a deadlock ensues." msgstr "" -#: ../Doc/c-api/init.rst:1079 +#: ../Doc/c-api/init.rst:1080 msgid "" "This function does not update the current thread state. Please use :c:func:" "`PyEval_RestoreThread` or :c:func:`PyEval_AcquireThread` instead." msgstr "" -#: ../Doc/c-api/init.rst:1087 +#: ../Doc/c-api/init.rst:1088 msgid "" "Release the global interpreter lock. The lock must have been created " "earlier." msgstr "" -#: ../Doc/c-api/init.rst:1089 +#: ../Doc/c-api/init.rst:1090 msgid "" "This function does not update the current thread state. Please use :c:func:" "`PyEval_SaveThread` or :c:func:`PyEval_ReleaseThread` instead." msgstr "" -#: ../Doc/c-api/init.rst:1098 +#: ../Doc/c-api/init.rst:1099 msgid "Sub-interpreter support" msgstr "" -#: ../Doc/c-api/init.rst:1100 +#: ../Doc/c-api/init.rst:1101 msgid "" "While in most uses, you will only embed a single Python interpreter, there " "are cases where you need to create several independent interpreters in the " @@ -1282,7 +1286,7 @@ msgid "" "following functions:" msgstr "" -#: ../Doc/c-api/init.rst:1118 +#: ../Doc/c-api/init.rst:1119 msgid "" "Create a new sub-interpreter. This is an (almost) totally separate " "environment for the execution of Python code. In particular, the new " @@ -1295,7 +1299,7 @@ msgid "" "underlying file descriptors)." msgstr "" -#: ../Doc/c-api/init.rst:1128 +#: ../Doc/c-api/init.rst:1129 msgid "" "The return value points to the first thread state created in the new sub-" "interpreter. This thread state is made in the current thread state. Note " @@ -1309,7 +1313,7 @@ msgid "" "state on entry.)" msgstr "" -#: ../Doc/c-api/init.rst:1143 +#: ../Doc/c-api/init.rst:1144 msgid "" "Extension modules are shared between (sub-)interpreters as follows: the " "first time a particular extension is imported, it is initialized normally, " @@ -1323,7 +1327,7 @@ msgid "" "called again." msgstr "" -#: ../Doc/c-api/init.rst:1160 +#: ../Doc/c-api/init.rst:1161 msgid "" "Destroy the (sub-)interpreter represented by the given thread state. The " "given thread state must be the current thread state. See the discussion of " @@ -1334,11 +1338,11 @@ msgid "" "sub-interpreters that haven't been explicitly destroyed at that point." msgstr "" -#: ../Doc/c-api/init.rst:1170 +#: ../Doc/c-api/init.rst:1171 msgid "Bugs and caveats" msgstr "" -#: ../Doc/c-api/init.rst:1172 +#: ../Doc/c-api/init.rst:1173 msgid "" "Because sub-interpreters (and the main interpreter) are part of the same " "process, the insulation between them isn't perfect --- for example, using " @@ -1355,7 +1359,7 @@ msgid "" "of loaded modules." msgstr "" -#: ../Doc/c-api/init.rst:1186 +#: ../Doc/c-api/init.rst:1187 msgid "" "Also note that combining this functionality with :c:func:`PyGILState_\\*` " "APIs is delicate, because these APIs assume a bijection between Python " @@ -1367,25 +1371,25 @@ msgid "" "created threads will probably be broken when using sub-interpreters." msgstr "" -#: ../Doc/c-api/init.rst:1197 +#: ../Doc/c-api/init.rst:1198 msgid "Asynchronous Notifications" msgstr "" -#: ../Doc/c-api/init.rst:1199 +#: ../Doc/c-api/init.rst:1200 msgid "" "A mechanism is provided to make asynchronous notifications to the main " "interpreter thread. These notifications take the form of a function pointer " "and a void pointer argument." msgstr "" -#: ../Doc/c-api/init.rst:1208 +#: ../Doc/c-api/init.rst:1209 msgid "" "Schedule a function to be called from the main interpreter thread. On " "success, ``0`` is returned and *func* is queued for being called in the main " "thread. On failure, ``-1`` is returned without setting any exception." msgstr "" -#: ../Doc/c-api/init.rst:1212 +#: ../Doc/c-api/init.rst:1213 msgid "" "When successfully queued, *func* will be *eventually* called from the main " "interpreter thread with the argument *arg*. It will be called " @@ -1393,17 +1397,17 @@ msgid "" "these conditions met:" msgstr "" -#: ../Doc/c-api/init.rst:1217 +#: ../Doc/c-api/init.rst:1218 msgid "on a :term:`bytecode` boundary;" msgstr "" -#: ../Doc/c-api/init.rst:1218 +#: ../Doc/c-api/init.rst:1219 msgid "" "with the main thread holding the :term:`global interpreter lock` (*func* can " "therefore use the full C API)." msgstr "" -#: ../Doc/c-api/init.rst:1221 +#: ../Doc/c-api/init.rst:1222 msgid "" "*func* must return ``0`` on success, or ``-1`` on failure with an exception " "set. *func* won't be interrupted to perform another asynchronous " @@ -1411,13 +1415,13 @@ msgid "" "if the global interpreter lock is released." msgstr "" -#: ../Doc/c-api/init.rst:1226 +#: ../Doc/c-api/init.rst:1227 msgid "" "This function doesn't need a current thread state to run, and it doesn't " "need the global interpreter lock." msgstr "" -#: ../Doc/c-api/init.rst:1230 +#: ../Doc/c-api/init.rst:1231 msgid "" "This is a low-level function, only useful for very special cases. There is " "no guarantee that *func* will be called as quick as possible. If the main " @@ -1427,18 +1431,18 @@ msgid "" "`PyGILState API`." msgstr "" -#: ../Doc/c-api/init.rst:1242 +#: ../Doc/c-api/init.rst:1243 msgid "Profiling and Tracing" msgstr "" -#: ../Doc/c-api/init.rst:1247 +#: ../Doc/c-api/init.rst:1248 msgid "" "The Python interpreter provides some low-level support for attaching " "profiling and execution tracing facilities. These are used for profiling, " "debugging, and coverage analysis tools." msgstr "" -#: ../Doc/c-api/init.rst:1251 +#: ../Doc/c-api/init.rst:1252 msgid "" "This C interface allows the profiling or tracing code to avoid the overhead " "of calling through Python-level callable objects, making a direct C function " @@ -1448,7 +1452,7 @@ msgid "" "reported to the Python-level trace functions in previous versions." msgstr "" -#: ../Doc/c-api/init.rst:1261 +#: ../Doc/c-api/init.rst:1262 msgid "" "The type of the trace function registered using :c:func:`PyEval_SetProfile` " "and :c:func:`PyEval_SetTrace`. The first parameter is the object passed to " @@ -1459,66 +1463,66 @@ msgid "" "or :const:`PyTrace_OPCODE`, and *arg* depends on the value of *what*:" msgstr "" -#: ../Doc/c-api/init.rst:1270 +#: ../Doc/c-api/init.rst:1271 msgid "Value of *what*" msgstr "" -#: ../Doc/c-api/init.rst:1270 +#: ../Doc/c-api/init.rst:1271 msgid "Meaning of *arg*" msgstr "" -#: ../Doc/c-api/init.rst:1272 +#: ../Doc/c-api/init.rst:1273 msgid ":const:`PyTrace_CALL`" msgstr "" -#: ../Doc/c-api/init.rst:1272 ../Doc/c-api/init.rst:1277 -#: ../Doc/c-api/init.rst:1288 +#: ../Doc/c-api/init.rst:1273 ../Doc/c-api/init.rst:1278 +#: ../Doc/c-api/init.rst:1289 msgid "Always :c:data:`Py_None`." msgstr "" -#: ../Doc/c-api/init.rst:1274 +#: ../Doc/c-api/init.rst:1275 msgid ":const:`PyTrace_EXCEPTION`" msgstr "" -#: ../Doc/c-api/init.rst:1274 +#: ../Doc/c-api/init.rst:1275 msgid "Exception information as returned by :func:`sys.exc_info`." msgstr "" -#: ../Doc/c-api/init.rst:1277 +#: ../Doc/c-api/init.rst:1278 msgid ":const:`PyTrace_LINE`" msgstr "" -#: ../Doc/c-api/init.rst:1279 +#: ../Doc/c-api/init.rst:1280 msgid ":const:`PyTrace_RETURN`" msgstr "" -#: ../Doc/c-api/init.rst:1279 +#: ../Doc/c-api/init.rst:1280 msgid "" "Value being returned to the caller, or *NULL* if caused by an exception." msgstr "" -#: ../Doc/c-api/init.rst:1282 +#: ../Doc/c-api/init.rst:1283 msgid ":const:`PyTrace_C_CALL`" msgstr "" -#: ../Doc/c-api/init.rst:1282 ../Doc/c-api/init.rst:1284 -#: ../Doc/c-api/init.rst:1286 +#: ../Doc/c-api/init.rst:1283 ../Doc/c-api/init.rst:1285 +#: ../Doc/c-api/init.rst:1287 msgid "Function object being called." msgstr "" -#: ../Doc/c-api/init.rst:1284 +#: ../Doc/c-api/init.rst:1285 msgid ":const:`PyTrace_C_EXCEPTION`" msgstr "" -#: ../Doc/c-api/init.rst:1286 +#: ../Doc/c-api/init.rst:1287 msgid ":const:`PyTrace_C_RETURN`" msgstr "" -#: ../Doc/c-api/init.rst:1288 +#: ../Doc/c-api/init.rst:1289 msgid ":const:`PyTrace_OPCODE`" msgstr "" -#: ../Doc/c-api/init.rst:1293 +#: ../Doc/c-api/init.rst:1294 msgid "" "The value of the *what* parameter to a :c:type:`Py_tracefunc` function when " "a new call to a function or method is being reported, or a new entry into a " @@ -1527,7 +1531,7 @@ msgid "" "the corresponding frame." msgstr "" -#: ../Doc/c-api/init.rst:1302 +#: ../Doc/c-api/init.rst:1303 msgid "" "The value of the *what* parameter to a :c:type:`Py_tracefunc` function when " "an exception has been raised. The callback function is called with this " @@ -1539,7 +1543,7 @@ msgid "" "profiler." msgstr "" -#: ../Doc/c-api/init.rst:1313 +#: ../Doc/c-api/init.rst:1314 msgid "" "The value passed as the *what* parameter to a :c:type:`Py_tracefunc` " "function (but not a profiling function) when a line-number event is being " @@ -1547,31 +1551,31 @@ msgid "" "*0* on that frame." msgstr "" -#: ../Doc/c-api/init.rst:1320 +#: ../Doc/c-api/init.rst:1321 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a call is about to return." msgstr "" -#: ../Doc/c-api/init.rst:1326 +#: ../Doc/c-api/init.rst:1327 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function is about to be called." msgstr "" -#: ../Doc/c-api/init.rst:1332 +#: ../Doc/c-api/init.rst:1333 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function has raised an exception." msgstr "" -#: ../Doc/c-api/init.rst:1338 +#: ../Doc/c-api/init.rst:1339 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function has returned." msgstr "" -#: ../Doc/c-api/init.rst:1344 +#: ../Doc/c-api/init.rst:1345 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions (but " "not profiling functions) when a new opcode is about to be executed. This " @@ -1579,7 +1583,7 @@ msgid "" "attr:`f_trace_opcodes` to *1* on the frame." msgstr "" -#: ../Doc/c-api/init.rst:1352 +#: ../Doc/c-api/init.rst:1353 msgid "" "Set the profiler function to *func*. The *obj* parameter is passed to the " "function as its first parameter, and may be any Python object, or *NULL*. " @@ -1589,7 +1593,7 @@ msgid "" "`PyTrace_LINE` :const:`PyTrace_OPCODE` and :const:`PyTrace_EXCEPTION`." msgstr "" -#: ../Doc/c-api/init.rst:1362 +#: ../Doc/c-api/init.rst:1363 msgid "" "Set the tracing function to *func*. This is similar to :c:func:" "`PyEval_SetProfile`, except the tracing function does receive line-number " @@ -1600,44 +1604,48 @@ msgid "" "parameter." msgstr "" -#: ../Doc/c-api/init.rst:1372 +#: ../Doc/c-api/init.rst:1373 msgid "Advanced Debugger Support" msgstr "Support avancé du débogueur" -#: ../Doc/c-api/init.rst:1377 +#: ../Doc/c-api/init.rst:1378 msgid "" "These functions are only intended to be used by advanced debugging tools." msgstr "" -#: ../Doc/c-api/init.rst:1382 +#: ../Doc/c-api/init.rst:1383 msgid "" "Return the interpreter state object at the head of the list of all such " "objects." msgstr "" -#: ../Doc/c-api/init.rst:1387 +#: ../Doc/c-api/init.rst:1388 +msgid "Return the main interpreter state object." +msgstr "" + +#: ../Doc/c-api/init.rst:1393 msgid "" "Return the next interpreter state object after *interp* from the list of all " "such objects." msgstr "" -#: ../Doc/c-api/init.rst:1393 +#: ../Doc/c-api/init.rst:1399 msgid "" "Return the pointer to the first :c:type:`PyThreadState` object in the list " "of threads associated with the interpreter *interp*." msgstr "" -#: ../Doc/c-api/init.rst:1399 +#: ../Doc/c-api/init.rst:1405 msgid "" "Return the next thread state object after *tstate* from the list of all such " "objects belonging to the same :c:type:`PyInterpreterState` object." msgstr "" -#: ../Doc/c-api/init.rst:1406 +#: ../Doc/c-api/init.rst:1412 msgid "Thread Local Storage Support" msgstr "" -#: ../Doc/c-api/init.rst:1410 +#: ../Doc/c-api/init.rst:1416 msgid "" "The Python interpreter provides low-level support for thread-local storage " "(TLS) which wraps the underlying native TLS implementation to support the " @@ -1647,19 +1655,19 @@ msgid "" "thread." msgstr "" -#: ../Doc/c-api/init.rst:1417 +#: ../Doc/c-api/init.rst:1423 msgid "" "The GIL does *not* need to be held when calling these functions; they supply " "their own locking." msgstr "" -#: ../Doc/c-api/init.rst:1420 +#: ../Doc/c-api/init.rst:1426 msgid "" "Note that :file:`Python.h` does not include the declaration of the TLS APIs, " "you need to include :file:`pythread.h` to use thread-local storage." msgstr "" -#: ../Doc/c-api/init.rst:1424 +#: ../Doc/c-api/init.rst:1430 msgid "" "None of these API functions handle memory management on behalf of the :c:" "type:`void\\*` values. You need to allocate and deallocate them yourself. " @@ -1667,22 +1675,22 @@ msgid "" "functions don't do refcount operations on them either." msgstr "" -#: ../Doc/c-api/init.rst:1432 +#: ../Doc/c-api/init.rst:1438 msgid "Thread Specific Storage (TSS) API" msgstr "" -#: ../Doc/c-api/init.rst:1434 +#: ../Doc/c-api/init.rst:1440 msgid "" "TSS API is introduced to supersede the use of the existing TLS API within " "the CPython interpreter. This API uses a new type :c:type:`Py_tss_t` " "instead of :c:type:`int` to represent thread keys." msgstr "" -#: ../Doc/c-api/init.rst:1440 +#: ../Doc/c-api/init.rst:1446 msgid "\"A New C-API for Thread-Local Storage in CPython\" (:pep:`539`)" msgstr "" -#: ../Doc/c-api/init.rst:1445 +#: ../Doc/c-api/init.rst:1451 msgid "" "This data structure represents the state of a thread key, the definition of " "which may depend on the underlying TLS implementation, and it has an " @@ -1690,52 +1698,52 @@ msgid "" "public members in this structure." msgstr "" -#: ../Doc/c-api/init.rst:1450 +#: ../Doc/c-api/init.rst:1456 msgid "" "When :ref:`Py_LIMITED_API ` is not defined, static allocation of " "this type by :c:macro:`Py_tss_NEEDS_INIT` is allowed." msgstr "" -#: ../Doc/c-api/init.rst:1456 +#: ../Doc/c-api/init.rst:1462 msgid "" "This macro expands to the initializer for :c:type:`Py_tss_t` variables. Note " "that this macro won't be defined with :ref:`Py_LIMITED_API `." msgstr "" -#: ../Doc/c-api/init.rst:1461 +#: ../Doc/c-api/init.rst:1467 msgid "Dynamic Allocation" msgstr "" -#: ../Doc/c-api/init.rst:1463 +#: ../Doc/c-api/init.rst:1469 msgid "" "Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules " "built with :ref:`Py_LIMITED_API `, where static allocation of this " "type is not possible due to its implementation being opaque at build time." msgstr "" -#: ../Doc/c-api/init.rst:1470 +#: ../Doc/c-api/init.rst:1476 msgid "" "Return a value which is the same state as a value initialized with :c:macro:" "`Py_tss_NEEDS_INIT`, or *NULL* in the case of dynamic allocation failure." msgstr "" -#: ../Doc/c-api/init.rst:1477 +#: ../Doc/c-api/init.rst:1483 msgid "" "Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first " "calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals " "have been unassigned. This is a no-op if the *key* argument is `NULL`." msgstr "" -#: ../Doc/c-api/init.rst:1483 +#: ../Doc/c-api/init.rst:1489 msgid "" "A freed key becomes a dangling pointer, you should reset the key to `NULL`." msgstr "" -#: ../Doc/c-api/init.rst:1488 +#: ../Doc/c-api/init.rst:1494 msgid "Methods" msgstr "Méthodes" -#: ../Doc/c-api/init.rst:1490 +#: ../Doc/c-api/init.rst:1496 msgid "" "The parameter *key* of these functions must not be *NULL*. Moreover, the " "behaviors of :c:func:`PyThread_tss_set` and :c:func:`PyThread_tss_get` are " @@ -1743,13 +1751,13 @@ msgid "" "func:`PyThread_tss_create`." msgstr "" -#: ../Doc/c-api/init.rst:1498 +#: ../Doc/c-api/init.rst:1504 msgid "" "Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized " "by :c:func:`PyThread_tss_create`." msgstr "" -#: ../Doc/c-api/init.rst:1504 +#: ../Doc/c-api/init.rst:1510 msgid "" "Return a zero value on successful initialization of a TSS key. The behavior " "is undefined if the value pointed to by the *key* argument is not " @@ -1758,7 +1766,7 @@ msgid "" "no-op and immediately returns success." msgstr "" -#: ../Doc/c-api/init.rst:1513 +#: ../Doc/c-api/init.rst:1519 msgid "" "Destroy a TSS key to forget the values associated with the key across all " "threads, and change the key's initialization state to uninitialized. A " @@ -1767,31 +1775,31 @@ msgid "" "key -- calling it on an already destroyed key is a no-op." msgstr "" -#: ../Doc/c-api/init.rst:1522 +#: ../Doc/c-api/init.rst:1528 msgid "" "Return a zero value to indicate successfully associating a :c:type:`void\\*` " "value with a TSS key in the current thread. Each thread has a distinct " "mapping of the key to a :c:type:`void\\*` value." msgstr "" -#: ../Doc/c-api/init.rst:1529 +#: ../Doc/c-api/init.rst:1535 msgid "" "Return the :c:type:`void\\*` value associated with a TSS key in the current " "thread. This returns *NULL* if no value is associated with the key in the " "current thread." msgstr "" -#: ../Doc/c-api/init.rst:1537 +#: ../Doc/c-api/init.rst:1543 msgid "Thread Local Storage (TLS) API" msgstr "" -#: ../Doc/c-api/init.rst:1539 +#: ../Doc/c-api/init.rst:1545 msgid "" "This API is superseded by :ref:`Thread Specific Storage (TSS) API `." msgstr "" -#: ../Doc/c-api/init.rst:1544 +#: ../Doc/c-api/init.rst:1550 msgid "" "This version of the API does not support platforms where the native TLS key " "is defined in a way that cannot be safely cast to ``int``. On such " @@ -1800,7 +1808,7 @@ msgid "" "platforms." msgstr "" -#: ../Doc/c-api/init.rst:1549 +#: ../Doc/c-api/init.rst:1555 msgid "" "Due to the compatibility problem noted above, this version of the API should " "not be used in new code." diff --git a/c-api/objbuffer.po b/c-api/objbuffer.po index 7a2c05d3..ecd0cd84 100644 --- a/c-api/objbuffer.po +++ b/c-api/objbuffer.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-21 20:12+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -86,6 +86,7 @@ msgstr "" "à segment unique. Sinon, renvoie ``0``. Cette fonction réussit toujours." #: ../Doc/c-api/objbuffer.rst:44 +#, fuzzy msgid "" "Note that this function tries to get and release a buffer, and exceptions " "which occur while calling corresponding functions will get suppressed. To " diff --git a/c-api/typeobj.po b/c-api/typeobj.po index fabd8965..89058cbd 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-28 15:29+0200\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -1505,7 +1505,7 @@ msgid "" "signature. It should modify its first operand, and return it. This slot " "may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceConcat` will " "fall back to :c:func:`PySequence_Concat`. It is also used by the augmented " -"assignment ``+=``, after trying numeric inplace addition via the :c:member:" +"assignment ``+=``, after trying numeric in-place addition via the :c:member:" "`~PyNumberMethods.nb_inplace_add` slot." msgstr "" @@ -1515,7 +1515,7 @@ msgid "" "signature. It should modify its first operand, and return it. This slot " "may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceRepeat` will " "fall back to :c:func:`PySequence_Repeat`. It is also used by the augmented " -"assignment ``*=``, after trying numeric inplace multiplication via the :c:" +"assignment ``*=``, after trying numeric in-place multiplication via the :c:" "member:`~PyNumberMethods.nb_inplace_multiply` slot." msgstr "" diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index ed1781b4..23fc0d53 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-29 16:06+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -136,13 +136,20 @@ msgid "" "PyRun_SimpleFileExFlags returns." msgstr "" -#: ../Doc/c-api/veryhigh.rst:115 +#: ../Doc/c-api/veryhigh.rst:113 +msgid "" +"On Windows, *fp* should be opened as binary mode (e.g. ``fopen(filename, \"rb" +"\")``. Otherwise, Python may not handle script file with LF line ending " +"correctly." +msgstr "" + +#: ../Doc/c-api/veryhigh.rst:119 msgid "" "This is a simplified interface to :c:func:`PyRun_InteractiveOneFlags` below, " "leaving *flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:121 +#: ../Doc/c-api/veryhigh.rst:125 msgid "" "Read and execute a single statement from a file associated with an " "interactive device according to the *flags* argument. The user will be " @@ -150,7 +157,7 @@ msgid "" "filesystem encoding (:func:`sys.getfilesystemencoding`)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:126 +#: ../Doc/c-api/veryhigh.rst:130 msgid "" "Returns ``0`` when the input was executed successfully, ``-1`` if there was " "an exception, or an error code from the :file:`errcode.h` include file " @@ -159,13 +166,13 @@ msgid "" "specifically if needed.)" msgstr "" -#: ../Doc/c-api/veryhigh.rst:135 +#: ../Doc/c-api/veryhigh.rst:139 msgid "" "This is a simplified interface to :c:func:`PyRun_InteractiveLoopFlags` " "below, leaving *flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:141 +#: ../Doc/c-api/veryhigh.rst:145 msgid "" "Read and execute statements from a file associated with an interactive " "device until EOF is reached. The user will be prompted using ``sys.ps1`` " @@ -174,7 +181,7 @@ msgid "" "upon failure." msgstr "" -#: ../Doc/c-api/veryhigh.rst:150 +#: ../Doc/c-api/veryhigh.rst:154 msgid "" "Can be set to point to a function with the prototype ``int func(void)``. " "The function will be called when Python's interpreter prompt is about to " @@ -184,7 +191,7 @@ msgid "" "the Python source code." msgstr "" -#: ../Doc/c-api/veryhigh.rst:161 +#: ../Doc/c-api/veryhigh.rst:165 msgid "" "Can be set to point to a function with the prototype ``char *func(FILE " "*stdin, FILE *stdout, char *prompt)``, overriding the default function used " @@ -195,34 +202,34 @@ msgid "" "line-editing and tab-completion features." msgstr "" -#: ../Doc/c-api/veryhigh.rst:170 +#: ../Doc/c-api/veryhigh.rst:174 msgid "" "The result must be a string allocated by :c:func:`PyMem_RawMalloc` or :c:" "func:`PyMem_RawRealloc`, or *NULL* if an error occurred." msgstr "" -#: ../Doc/c-api/veryhigh.rst:173 +#: ../Doc/c-api/veryhigh.rst:177 msgid "" "The result must be allocated by :c:func:`PyMem_RawMalloc` or :c:func:" "`PyMem_RawRealloc`, instead of being allocated by :c:func:`PyMem_Malloc` or :" "c:func:`PyMem_Realloc`." msgstr "" -#: ../Doc/c-api/veryhigh.rst:181 +#: ../Doc/c-api/veryhigh.rst:185 msgid "" "This is a simplified interface to :c:func:" "`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to " "*NULL* and *flags* set to ``0``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:188 +#: ../Doc/c-api/veryhigh.rst:192 msgid "" "This is a simplified interface to :c:func:" "`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to " "*NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:195 +#: ../Doc/c-api/veryhigh.rst:199 msgid "" "Parse Python source code from *str* using the start token *start* according " "to the *flags* argument. The result can be used to create a code object " @@ -231,25 +238,25 @@ msgid "" "(:func:`sys.getfilesystemencoding`)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:204 +#: ../Doc/c-api/veryhigh.rst:208 msgid "" "This is a simplified interface to :c:func:`PyParser_SimpleParseFileFlags` " "below, leaving *flags* set to ``0``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:210 +#: ../Doc/c-api/veryhigh.rst:214 msgid "" "Similar to :c:func:`PyParser_SimpleParseStringFlagsFilename`, but the Python " "source code is read from *fp* instead of an in-memory string." msgstr "" -#: ../Doc/c-api/veryhigh.rst:216 +#: ../Doc/c-api/veryhigh.rst:220 msgid "" "This is a simplified interface to :c:func:`PyRun_StringFlags` below, leaving " "*flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:222 +#: ../Doc/c-api/veryhigh.rst:226 msgid "" "Execute Python source code from *str* in the context specified by the " "objects *globals* and *locals* with the compiler flags specified by " @@ -258,31 +265,31 @@ msgid "" "token that should be used to parse the source code." msgstr "" -#: ../Doc/c-api/veryhigh.rst:228 +#: ../Doc/c-api/veryhigh.rst:232 msgid "" "Returns the result of executing the code as a Python object, or *NULL* if an " "exception was raised." msgstr "" -#: ../Doc/c-api/veryhigh.rst:234 +#: ../Doc/c-api/veryhigh.rst:238 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " "*closeit* set to ``0`` and *flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:240 +#: ../Doc/c-api/veryhigh.rst:244 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " "*flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:246 +#: ../Doc/c-api/veryhigh.rst:250 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " "*closeit* set to ``0``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:252 +#: ../Doc/c-api/veryhigh.rst:256 msgid "" "Similar to :c:func:`PyRun_StringFlags`, but the Python source code is read " "from *fp* instead of an in-memory string. *filename* should be the name of " @@ -291,19 +298,19 @@ msgid "" "func:`PyRun_FileExFlags` returns." msgstr "" -#: ../Doc/c-api/veryhigh.rst:261 +#: ../Doc/c-api/veryhigh.rst:265 msgid "" "This is a simplified interface to :c:func:`Py_CompileStringFlags` below, " "leaving *flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:267 +#: ../Doc/c-api/veryhigh.rst:271 msgid "" "This is a simplified interface to :c:func:`Py_CompileStringExFlags` below, " "with *optimize* set to ``-1``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:273 +#: ../Doc/c-api/veryhigh.rst:277 msgid "" "Parse and compile the Python source code in *str*, returning the resulting " "code object. The start token is given by *start*; this can be used to " @@ -314,7 +321,7 @@ msgid "" "returns *NULL* if the code cannot be parsed or compiled." msgstr "" -#: ../Doc/c-api/veryhigh.rst:281 +#: ../Doc/c-api/veryhigh.rst:285 msgid "" "The integer *optimize* specifies the optimization level of the compiler; a " "value of ``-1`` selects the optimization level of the interpreter as given " @@ -323,20 +330,20 @@ msgid "" "or ``2`` (docstrings are removed too)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:292 +#: ../Doc/c-api/veryhigh.rst:296 msgid "" "Like :c:func:`Py_CompileStringObject`, but *filename* is a byte string " "decoded from the filesystem encoding (:func:`os.fsdecode`)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:299 +#: ../Doc/c-api/veryhigh.rst:303 msgid "" "This is a simplified interface to :c:func:`PyEval_EvalCodeEx`, with just the " "code object, and global and local variables. The other arguments are set to " "*NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:306 +#: ../Doc/c-api/veryhigh.rst:310 msgid "" "Evaluate a precompiled code object, given a particular environment for its " "evaluation. This environment consists of a dictionary of global variables, " @@ -345,19 +352,19 @@ msgid "" "only_parameter>` arguments and a closure tuple of cells." msgstr "" -#: ../Doc/c-api/veryhigh.rst:315 +#: ../Doc/c-api/veryhigh.rst:319 msgid "" "The C structure of the objects used to describe frame objects. The fields of " "this type are subject to change at any time." msgstr "" -#: ../Doc/c-api/veryhigh.rst:321 +#: ../Doc/c-api/veryhigh.rst:325 msgid "" "Evaluate an execution frame. This is a simplified interface to :c:func:" "`PyEval_EvalFrameEx`, for backward compatibility." msgstr "" -#: ../Doc/c-api/veryhigh.rst:327 +#: ../Doc/c-api/veryhigh.rst:331 msgid "" "This is the main, unvarnished function of Python interpretation. It is " "literally 2000 lines long. The code object associated with the execution " @@ -367,7 +374,7 @@ msgid "" "`~generator.throw` methods of generator objects." msgstr "" -#: ../Doc/c-api/veryhigh.rst:334 +#: ../Doc/c-api/veryhigh.rst:338 msgid "" "This function now includes a debug assertion to help ensure that it does not " "silently discard an active exception." @@ -375,33 +382,33 @@ msgstr "" "Cette fonction inclut maintenant une assertion de débogage afin d'assurer " "qu'elle ne passe pas sous silence une exception active." -#: ../Doc/c-api/veryhigh.rst:341 +#: ../Doc/c-api/veryhigh.rst:345 msgid "" "This function changes the flags of the current evaluation frame, and returns " "true on success, false on failure." msgstr "" -#: ../Doc/c-api/veryhigh.rst:349 +#: ../Doc/c-api/veryhigh.rst:353 msgid "" "The start symbol from the Python grammar for isolated expressions; for use " "with :c:func:`Py_CompileString`." msgstr "" -#: ../Doc/c-api/veryhigh.rst:357 +#: ../Doc/c-api/veryhigh.rst:361 msgid "" "The start symbol from the Python grammar for sequences of statements as read " "from a file or other source; for use with :c:func:`Py_CompileString`. This " "is the symbol to use when compiling arbitrarily long Python source code." msgstr "" -#: ../Doc/c-api/veryhigh.rst:366 +#: ../Doc/c-api/veryhigh.rst:370 msgid "" "The start symbol from the Python grammar for a single statement; for use " "with :c:func:`Py_CompileString`. This is the symbol used for the interactive " "interpreter loop." msgstr "" -#: ../Doc/c-api/veryhigh.rst:373 +#: ../Doc/c-api/veryhigh.rst:377 msgid "" "This is the structure used to hold compiler flags. In cases where code is " "only being compiled, it is passed as ``int flags``, and in cases where code " @@ -409,14 +416,14 @@ msgid "" "case, ``from __future__ import`` can modify *flags*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:378 +#: ../Doc/c-api/veryhigh.rst:382 msgid "" "Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated " "as equal to ``0``, and any modification due to ``from __future__ import`` is " "discarded. ::" msgstr "" -#: ../Doc/c-api/veryhigh.rst:389 +#: ../Doc/c-api/veryhigh.rst:393 msgid "" "This bit can be set in *flags* to cause division operator ``/`` to be " "interpreted as \"true division\" according to :pep:`238`." diff --git a/c-api/weakref.po b/c-api/weakref.po index 0dfc0c72..d3a18d9c 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2019-03-11 12:59+0100\n" "PO-Revision-Date: 2019-03-29 14:17+0100\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" #: ../Doc/c-api/weakref.rst:6 diff --git a/faq/general.po b/faq/general.po index 411ca520..ef824408 100644 --- a/faq/general.po +++ b/faq/general.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-27 17:45+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -935,19 +935,3 @@ msgstr "" "Si vous voulez discuter de l'usage de Python dans l'éducation, vous devriez " "intéressé pour rejoindre `la liste de diffusion pour l'enseignement `_." - -#~ msgid "" -#~ "The Python project's infrastructure is located all over the world. `www." -#~ "python.org `_ is graciously hosted by `Rackspace " -#~ "`_, with CDN caching provided by `Fastly " -#~ "`_. `Upfront Systems `_ hosts `bugs.python.org `_. Many other " -#~ "Python services like `the Wiki `_ are hosted by " -#~ "`Oregon State University Open Source Lab `_." -#~ msgstr "" -#~ "L'infrastructure du projet Python est localisé dans le monde entier. `www." -#~ "python.org `_ est gracieusement hébergé par " -#~ "`Rackspace `_, avec un cache *CDN* fourni par " -#~ "`Fastly `_. `Upfront Systems `_ héberge `bugs.python.org `_." diff --git a/faq/programming.po b/faq/programming.po index bb14f60a..5860de41 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-11-13 09:44+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" diff --git a/faq/windows.po b/faq/windows.po index fba6085b..46e57693 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-12-10 14:17+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/glossary.po b/glossary.po index b829cfb1..6875fdad 100644 --- a/glossary.po +++ b/glossary.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-02-19 19:32+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/howto/unicode.po b/howto/unicode.po index 8b46a0df..109c060b 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-04 16:43+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" diff --git a/library/asyncio.po b/library/asyncio.po index 6d8cb05d..aa5c10ad 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-03 13:15+0200\n" "PO-Revision-Date: 2018-12-16 16:19+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" diff --git a/library/collections.po b/library/collections.po index bf249719..7bff86c2 100644 --- a/library/collections.po +++ b/library/collections.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-02-22 15:27+0100\n" "Last-Translator: Guillaume Fayard \n" "Language-Team: FRENCH \n" @@ -1350,14 +1350,14 @@ msgstr "" "`~somenamedtuple._replace` pour personnaliser une instance prototype :" #: ../Doc/library/collections.rst:1019 +#, fuzzy msgid "" "See :class:`typing.NamedTuple` for a way to add type hints for named " "tuples. It also provides an elegant notation using the :keyword:`class` " "keyword::" msgstr "" "Voir :meth:`typing.NamedTuple` pour un moyen d'ajouter des indications de " -"type pour les tuples nommés. Cela fournit aussi une notation élégante en " -"utilisant le mot-clé :keyword:`class` ::" +"type pour les tuples nommés." #: ../Doc/library/collections.rst:1028 msgid "" @@ -1372,9 +1372,6 @@ msgid "" "The :mod:`dataclasses` module provides a decorator and functions for " "automatically adding generated special methods to user-defined classes." msgstr "" -"Le module :mod:`dataclasses` fournit un décorateur et des fonctions pour " -"ajouter automatiquement des méthodes spéciales aux classes définies par " -"l'utilisateur." #: ../Doc/library/collections.rst:1036 msgid ":class:`OrderedDict` objects" diff --git a/library/compileall.po b/library/compileall.po index 6dec7fb2..ec8fd8d0 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/configparser.po b/library/configparser.po index e8d19adb..35d1312d 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-11 12:59+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -587,7 +587,14 @@ msgid "" "method if that's unsuitable. For example:" msgstr "" -#: ../Doc/library/configparser.rst:728 +#: ../Doc/library/configparser.rst:727 +msgid "" +"The optionxform function transforms option names to a canonical form. This " +"should be an idempotent function: if the name is already in canonical form, " +"it should be returned unchanged." +msgstr "" + +#: ../Doc/library/configparser.rst:734 msgid "" "A compiled regular expression used to parse section headers. The default " "matches ``[section]`` to the name ``\"section\"``. Whitespace is considered " @@ -596,18 +603,18 @@ msgid "" "example:" msgstr "" -#: ../Doc/library/configparser.rst:756 +#: ../Doc/library/configparser.rst:762 msgid "" "While ConfigParser objects also use an ``OPTCRE`` attribute for recognizing " "option lines, it's not recommended to override it because that would " "interfere with constructor options *allow_no_value* and *delimiters*." msgstr "" -#: ../Doc/library/configparser.rst:762 +#: ../Doc/library/configparser.rst:768 msgid "Legacy API Examples" msgstr "" -#: ../Doc/library/configparser.rst:764 +#: ../Doc/library/configparser.rst:770 msgid "" "Mainly because of backwards compatibility concerns, :mod:`configparser` " "provides also a legacy API with explicit ``get``/``set`` methods. While " @@ -616,29 +623,29 @@ msgid "" "advanced, low-level and downright counterintuitive." msgstr "" -#: ../Doc/library/configparser.rst:770 +#: ../Doc/library/configparser.rst:776 msgid "An example of writing to a configuration file::" msgstr "" -#: ../Doc/library/configparser.rst:793 +#: ../Doc/library/configparser.rst:799 msgid "An example of reading the configuration file again::" msgstr "" -#: ../Doc/library/configparser.rst:811 +#: ../Doc/library/configparser.rst:817 msgid "To get interpolation, use :class:`ConfigParser`::" msgstr "" -#: ../Doc/library/configparser.rst:844 +#: ../Doc/library/configparser.rst:850 msgid "" "Default values are available in both types of ConfigParsers. They are used " "in interpolation if an option used is not defined elsewhere. ::" msgstr "" -#: ../Doc/library/configparser.rst:862 +#: ../Doc/library/configparser.rst:868 msgid "ConfigParser Objects" msgstr "" -#: ../Doc/library/configparser.rst:866 +#: ../Doc/library/configparser.rst:872 msgid "" "The main configuration parser. When *defaults* is given, it is initialized " "into the dictionary of intrinsic defaults. When *dict_type* is given, it " @@ -646,7 +653,7 @@ msgid "" "the options within a section, and for the default values." msgstr "" -#: ../Doc/library/configparser.rst:871 +#: ../Doc/library/configparser.rst:877 msgid "" "When *delimiters* is given, it is used as the set of substrings that divide " "keys from values. When *comment_prefixes* is given, it will be used as the " @@ -655,7 +662,7 @@ msgid "" "as the set of substrings that prefix comments in non-empty lines." msgstr "" -#: ../Doc/library/configparser.rst:877 +#: ../Doc/library/configparser.rst:883 msgid "" "When *strict* is ``True`` (the default), the parser won't allow for any " "section or option duplicates while reading from a single source (file, " @@ -668,7 +675,7 @@ msgid "" "without the trailing delimiter." msgstr "" -#: ../Doc/library/configparser.rst:887 +#: ../Doc/library/configparser.rst:893 msgid "" "When *default_section* is given, it specifies the name for the special " "section holding default values for other sections and interpolation purposes " @@ -676,7 +683,7 @@ msgid "" "on runtime using the ``default_section`` instance attribute." msgstr "" -#: ../Doc/library/configparser.rst:892 +#: ../Doc/library/configparser.rst:898 msgid "" "Interpolation behaviour may be customized by providing a custom handler " "through the *interpolation* argument. ``None`` can be used to turn off " @@ -685,7 +692,7 @@ msgid "" "`dedicated documentation section <#interpolation-of-values>`_." msgstr "" -#: ../Doc/library/configparser.rst:898 +#: ../Doc/library/configparser.rst:904 msgid "" "All option names used in interpolation will be passed through the :meth:" "`optionxform` method just like any other option name reference. For " @@ -694,7 +701,7 @@ msgid "" "%(BAR)s`` are equivalent." msgstr "" -#: ../Doc/library/configparser.rst:904 +#: ../Doc/library/configparser.rst:910 msgid "" "When *converters* is given, it should be a dictionary where each key " "represents the name of a type converter and each value is a callable " @@ -703,38 +710,38 @@ msgid "" "object and section proxies." msgstr "" -#: ../Doc/library/configparser.rst:910 +#: ../Doc/library/configparser.rst:916 msgid "The default *dict_type* is :class:`collections.OrderedDict`." msgstr "" -#: ../Doc/library/configparser.rst:913 +#: ../Doc/library/configparser.rst:919 msgid "" "*allow_no_value*, *delimiters*, *comment_prefixes*, *strict*, " "*empty_lines_in_values*, *default_section* and *interpolation* were added." msgstr "" -#: ../Doc/library/configparser.rst:918 +#: ../Doc/library/configparser.rst:924 msgid "The *converters* argument was added." msgstr "" -#: ../Doc/library/configparser.rst:921 +#: ../Doc/library/configparser.rst:927 msgid "" "The *defaults* argument is read with :meth:`read_dict()`, providing " "consistent behavior across the parser: non-string keys and values are " "implicitly converted to strings." msgstr "" -#: ../Doc/library/configparser.rst:928 +#: ../Doc/library/configparser.rst:934 msgid "Return a dictionary containing the instance-wide defaults." msgstr "" -#: ../Doc/library/configparser.rst:933 +#: ../Doc/library/configparser.rst:939 msgid "" "Return a list of the sections available; the *default section* is not " "included in the list." msgstr "" -#: ../Doc/library/configparser.rst:939 +#: ../Doc/library/configparser.rst:945 msgid "" "Add a section named *section* to the instance. If a section by the given " "name already exists, :exc:`DuplicateSectionError` is raised. If the " @@ -742,34 +749,34 @@ msgid "" "the section must be a string; if not, :exc:`TypeError` is raised." msgstr "" -#: ../Doc/library/configparser.rst:944 +#: ../Doc/library/configparser.rst:950 msgid "Non-string section names raise :exc:`TypeError`." msgstr "" -#: ../Doc/library/configparser.rst:950 +#: ../Doc/library/configparser.rst:956 msgid "" "Indicates whether the named *section* is present in the configuration. The " "*default section* is not acknowledged." msgstr "" -#: ../Doc/library/configparser.rst:956 +#: ../Doc/library/configparser.rst:962 msgid "Return a list of options available in the specified *section*." msgstr "" -#: ../Doc/library/configparser.rst:961 +#: ../Doc/library/configparser.rst:967 msgid "" "If the given *section* exists, and contains the given *option*, return :" "const:`True`; otherwise return :const:`False`. If the specified *section* " "is :const:`None` or an empty string, DEFAULT is assumed." msgstr "" -#: ../Doc/library/configparser.rst:968 +#: ../Doc/library/configparser.rst:974 msgid "" "Attempt to read and parse an iterable of filenames, returning a list of " "filenames which were successfully parsed." msgstr "" -#: ../Doc/library/configparser.rst:971 +#: ../Doc/library/configparser.rst:977 msgid "" "If *filenames* is a string, a :class:`bytes` object or a :term:`path-like " "object`, it is treated as a single filename. If a file named in *filenames* " @@ -780,7 +787,7 @@ msgid "" "be read." msgstr "" -#: ../Doc/library/configparser.rst:980 +#: ../Doc/library/configparser.rst:986 msgid "" "If none of the named files exist, the :class:`ConfigParser` instance will " "contain an empty dataset. An application which requires initial values to " @@ -788,49 +795,49 @@ msgid "" "`read_file` before calling :meth:`read` for any optional files::" msgstr "" -#: ../Doc/library/configparser.rst:993 +#: ../Doc/library/configparser.rst:999 msgid "" "The *encoding* parameter. Previously, all files were read using the default " "encoding for :func:`open`." msgstr "" -#: ../Doc/library/configparser.rst:997 +#: ../Doc/library/configparser.rst:1003 msgid "The *filenames* parameter accepts a :term:`path-like object`." msgstr "" -#: ../Doc/library/configparser.rst:1000 +#: ../Doc/library/configparser.rst:1006 msgid "The *filenames* parameter accepts a :class:`bytes` object." msgstr "" -#: ../Doc/library/configparser.rst:1006 +#: ../Doc/library/configparser.rst:1012 msgid "" "Read and parse configuration data from *f* which must be an iterable " "yielding Unicode strings (for example files opened in text mode)." msgstr "" -#: ../Doc/library/configparser.rst:1009 +#: ../Doc/library/configparser.rst:1015 msgid "" "Optional argument *source* specifies the name of the file being read. If " "not given and *f* has a :attr:`name` attribute, that is used for *source*; " "the default is ``''``." msgstr "" -#: ../Doc/library/configparser.rst:1013 +#: ../Doc/library/configparser.rst:1019 msgid "Replaces :meth:`readfp`." msgstr "" -#: ../Doc/library/configparser.rst:1018 +#: ../Doc/library/configparser.rst:1024 msgid "Parse configuration data from a string." msgstr "" -#: ../Doc/library/configparser.rst:1020 +#: ../Doc/library/configparser.rst:1026 msgid "" "Optional argument *source* specifies a context-specific name of the string " "passed. If not given, ``''`` is used. This should commonly be a " "filesystem path or a URL." msgstr "" -#: ../Doc/library/configparser.rst:1029 +#: ../Doc/library/configparser.rst:1035 msgid "" "Load configuration from any object that provides a dict-like ``items()`` " "method. Keys are section names, values are dictionaries with keys and " @@ -839,17 +846,17 @@ msgid "" "automatically converted to strings." msgstr "" -#: ../Doc/library/configparser.rst:1035 +#: ../Doc/library/configparser.rst:1041 msgid "" "Optional argument *source* specifies a context-specific name of the " "dictionary passed. If not given, ```` is used." msgstr "" -#: ../Doc/library/configparser.rst:1038 +#: ../Doc/library/configparser.rst:1044 msgid "This method can be used to copy state between parsers." msgstr "" -#: ../Doc/library/configparser.rst:1045 +#: ../Doc/library/configparser.rst:1051 msgid "" "Get an *option* value for the named *section*. If *vars* is provided, it " "must be a dictionary. The *option* is looked up in *vars* (if provided), " @@ -858,35 +865,35 @@ msgid "" "provided as a *fallback* value." msgstr "" -#: ../Doc/library/configparser.rst:1051 +#: ../Doc/library/configparser.rst:1057 msgid "" "All the ``'%'`` interpolations are expanded in the return values, unless the " "*raw* argument is true. Values for interpolation keys are looked up in the " "same manner as the option." msgstr "" -#: ../Doc/library/configparser.rst:1055 +#: ../Doc/library/configparser.rst:1061 msgid "" "Arguments *raw*, *vars* and *fallback* are keyword only to protect users " "from trying to use the third argument as the *fallback* fallback (especially " "when using the mapping protocol)." msgstr "" -#: ../Doc/library/configparser.rst:1063 +#: ../Doc/library/configparser.rst:1069 msgid "" "A convenience method which coerces the *option* in the specified *section* " "to an integer. See :meth:`get` for explanation of *raw*, *vars* and " "*fallback*." msgstr "" -#: ../Doc/library/configparser.rst:1070 +#: ../Doc/library/configparser.rst:1076 msgid "" "A convenience method which coerces the *option* in the specified *section* " "to a floating point number. See :meth:`get` for explanation of *raw*, " "*vars* and *fallback*." msgstr "" -#: ../Doc/library/configparser.rst:1077 +#: ../Doc/library/configparser.rst:1083 msgid "" "A convenience method which coerces the *option* in the specified *section* " "to a Boolean value. Note that the accepted values for the option are " @@ -898,27 +905,27 @@ msgid "" "*fallback*." msgstr "" -#: ../Doc/library/configparser.rst:1090 +#: ../Doc/library/configparser.rst:1096 msgid "" "When *section* is not given, return a list of *section_name*, " "*section_proxy* pairs, including DEFAULTSECT." msgstr "" -#: ../Doc/library/configparser.rst:1093 +#: ../Doc/library/configparser.rst:1099 msgid "" "Otherwise, return a list of *name*, *value* pairs for the options in the " "given *section*. Optional arguments have the same meaning as for the :meth:" "`get` method." msgstr "" -#: ../Doc/library/configparser.rst:1100 +#: ../Doc/library/configparser.rst:1106 msgid "" "If the given section exists, set the given option to the specified value; " "otherwise raise :exc:`NoSectionError`. *option* and *value* must be " "strings; if not, :exc:`TypeError` is raised." msgstr "" -#: ../Doc/library/configparser.rst:1107 +#: ../Doc/library/configparser.rst:1113 msgid "" "Write a representation of the configuration to the specified :term:`file " "object`, which must be opened in text mode (accepting strings). This " @@ -927,20 +934,20 @@ msgid "" "surrounded by spaces." msgstr "" -#: ../Doc/library/configparser.rst:1116 +#: ../Doc/library/configparser.rst:1122 msgid "" "Remove the specified *option* from the specified *section*. If the section " "does not exist, raise :exc:`NoSectionError`. If the option existed to be " "removed, return :const:`True`; otherwise return :const:`False`." msgstr "" -#: ../Doc/library/configparser.rst:1124 +#: ../Doc/library/configparser.rst:1130 msgid "" "Remove the specified *section* from the configuration. If the section in " "fact existed, return ``True``. Otherwise return ``False``." msgstr "" -#: ../Doc/library/configparser.rst:1130 +#: ../Doc/library/configparser.rst:1136 msgid "" "Transforms the option name *option* as found in an input file or as passed " "in by client code to the form that should be used in the internal " @@ -949,7 +956,7 @@ msgid "" "of this name on instances to affect this behavior." msgstr "" -#: ../Doc/library/configparser.rst:1136 +#: ../Doc/library/configparser.rst:1142 msgid "" "You don't need to subclass the parser to use this method, you can also set " "it on an instance, to a function that takes a string argument and returns a " @@ -957,46 +964,46 @@ msgid "" "sensitive::" msgstr "" -#: ../Doc/library/configparser.rst:1144 +#: ../Doc/library/configparser.rst:1150 msgid "" "Note that when reading configuration files, whitespace around the option " "names is stripped before :meth:`optionxform` is called." msgstr "" -#: ../Doc/library/configparser.rst:1150 +#: ../Doc/library/configparser.rst:1156 msgid "Use :meth:`read_file` instead." msgstr "" -#: ../Doc/library/configparser.rst:1153 +#: ../Doc/library/configparser.rst:1159 msgid "" ":meth:`readfp` now iterates on *fp* instead of calling ``fp.readline()``." msgstr "" -#: ../Doc/library/configparser.rst:1156 +#: ../Doc/library/configparser.rst:1162 msgid "" "For existing code calling :meth:`readfp` with arguments which don't support " "iteration, the following generator may be used as a wrapper around the file-" "like object::" msgstr "" -#: ../Doc/library/configparser.rst:1166 +#: ../Doc/library/configparser.rst:1172 msgid "" "Instead of ``parser.readfp(fp)`` use ``parser." "read_file(readline_generator(fp))``." msgstr "" -#: ../Doc/library/configparser.rst:1172 +#: ../Doc/library/configparser.rst:1178 msgid "" "The maximum depth for recursive interpolation for :meth:`get` when the *raw* " "parameter is false. This is relevant only when the default *interpolation* " "is used." msgstr "" -#: ../Doc/library/configparser.rst:1180 +#: ../Doc/library/configparser.rst:1186 msgid "RawConfigParser Objects" msgstr "" -#: ../Doc/library/configparser.rst:1190 +#: ../Doc/library/configparser.rst:1196 msgid "" "Legacy variant of the :class:`ConfigParser`. It has interpolation disabled " "by default and allows for non-string section names, option names, and values " @@ -1004,27 +1011,27 @@ msgid "" "``defaults=`` keyword argument handling." msgstr "" -#: ../Doc/library/configparser.rst:1196 +#: ../Doc/library/configparser.rst:1202 msgid "" "Consider using :class:`ConfigParser` instead which checks types of the " "values to be stored internally. If you don't want interpolation, you can " "use ``ConfigParser(interpolation=None)``." msgstr "" -#: ../Doc/library/configparser.rst:1203 +#: ../Doc/library/configparser.rst:1209 msgid "" "Add a section named *section* to the instance. If a section by the given " "name already exists, :exc:`DuplicateSectionError` is raised. If the " "*default section* name is passed, :exc:`ValueError` is raised." msgstr "" -#: ../Doc/library/configparser.rst:1207 +#: ../Doc/library/configparser.rst:1213 msgid "" "Type of *section* is not checked which lets users create non-string named " "sections. This behaviour is unsupported and may cause internal errors." msgstr "" -#: ../Doc/library/configparser.rst:1213 +#: ../Doc/library/configparser.rst:1219 msgid "" "If the given section exists, set the given option to the specified value; " "otherwise raise :exc:`NoSectionError`. While it is possible to use :class:" @@ -1034,7 +1041,7 @@ msgid "" "string values." msgstr "" -#: ../Doc/library/configparser.rst:1220 +#: ../Doc/library/configparser.rst:1226 msgid "" "This method lets users assign non-string values to keys internally. This " "behaviour is unsupported and will cause errors when attempting to write to a " @@ -1042,32 +1049,32 @@ msgid "" "not allow such assignments to take place." msgstr "" -#: ../Doc/library/configparser.rst:1227 +#: ../Doc/library/configparser.rst:1233 msgid "Exceptions" msgstr "Exceptions" -#: ../Doc/library/configparser.rst:1231 +#: ../Doc/library/configparser.rst:1237 msgid "Base class for all other :mod:`configparser` exceptions." msgstr "" -#: ../Doc/library/configparser.rst:1236 +#: ../Doc/library/configparser.rst:1242 msgid "Exception raised when a specified section is not found." msgstr "" -#: ../Doc/library/configparser.rst:1241 +#: ../Doc/library/configparser.rst:1247 msgid "" "Exception raised if :meth:`add_section` is called with the name of a section " "that is already present or in strict parsers when a section if found more " "than once in a single input file, string or dictionary." msgstr "" -#: ../Doc/library/configparser.rst:1245 +#: ../Doc/library/configparser.rst:1251 msgid "" "Optional ``source`` and ``lineno`` attributes and arguments to :meth:" "`__init__` were added." msgstr "" -#: ../Doc/library/configparser.rst:1252 +#: ../Doc/library/configparser.rst:1258 msgid "" "Exception raised by strict parsers if a single option appears twice during " "reading from a single file, string or dictionary. This catches misspellings " @@ -1075,58 +1082,58 @@ msgid "" "representing the same case-insensitive configuration key." msgstr "" -#: ../Doc/library/configparser.rst:1260 +#: ../Doc/library/configparser.rst:1266 msgid "" "Exception raised when a specified option is not found in the specified " "section." msgstr "" -#: ../Doc/library/configparser.rst:1266 +#: ../Doc/library/configparser.rst:1272 msgid "" "Base class for exceptions raised when problems occur performing string " "interpolation." msgstr "" -#: ../Doc/library/configparser.rst:1272 +#: ../Doc/library/configparser.rst:1278 msgid "" "Exception raised when string interpolation cannot be completed because the " "number of iterations exceeds :const:`MAX_INTERPOLATION_DEPTH`. Subclass of :" "exc:`InterpolationError`." msgstr "" -#: ../Doc/library/configparser.rst:1279 +#: ../Doc/library/configparser.rst:1285 msgid "" "Exception raised when an option referenced from a value does not exist. " "Subclass of :exc:`InterpolationError`." msgstr "" -#: ../Doc/library/configparser.rst:1285 +#: ../Doc/library/configparser.rst:1291 msgid "" "Exception raised when the source text into which substitutions are made does " "not conform to the required syntax. Subclass of :exc:`InterpolationError`." msgstr "" -#: ../Doc/library/configparser.rst:1291 +#: ../Doc/library/configparser.rst:1297 msgid "" "Exception raised when attempting to parse a file which has no section " "headers." msgstr "" -#: ../Doc/library/configparser.rst:1297 +#: ../Doc/library/configparser.rst:1303 msgid "Exception raised when errors occur attempting to parse a file." msgstr "" -#: ../Doc/library/configparser.rst:1299 +#: ../Doc/library/configparser.rst:1305 msgid "" "The ``filename`` attribute and :meth:`__init__` argument were renamed to " "``source`` for consistency." msgstr "" -#: ../Doc/library/configparser.rst:1305 +#: ../Doc/library/configparser.rst:1311 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/configparser.rst:1306 +#: ../Doc/library/configparser.rst:1312 msgid "" "Config parsers allow for heavy customization. If you are interested in " "changing the behaviour outlined by the footnote reference, consult the " diff --git a/library/datetime.po b/library/datetime.po index 1a389ee5..aa2305d3 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-27 15:18+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -485,6 +485,7 @@ msgid "``f = t2 / t3``" msgstr "``f = t2 / t3``" #: ../Doc/library/datetime.rst:257 +#, fuzzy msgid "" "Division (3) of overall duration *t2* by interval unit *t3*. Returns a :" "class:`float` object." @@ -694,6 +695,7 @@ msgid "Instance methods:" msgstr "Méthodes de l'instance :" #: ../Doc/library/datetime.rst:354 +#, fuzzy msgid "" "Return the total number of seconds contained in the duration. Equivalent to " "``td / timedelta(seconds=1)``. For interval units other than seconds, use " diff --git a/library/exceptions.po b/library/exceptions.po index c37ed91a..a400040b 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-17 21:38+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-12-17 21:45+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -1131,17 +1131,26 @@ msgstr "" "Classe de base pour les avertissements sur les fonctionnalités qui seront " "obsolètes dans le futur." -#: ../Doc/library/exceptions.rst:700 +#: ../Doc/library/exceptions.rst:698 +msgid "" +"PendingDeprecationWarning was introduced as an \"ignored by default\" " +"version of DeprecationWarning. But :exc:`DeprecationWarning` is also " +"ignored by default since Python 2.7 and 3.2. There is not much difference " +"between PendingDeprecationWarning and DeprecationWarning nowadays. " +"DeprecationWarning is recommended in general." +msgstr "" + +#: ../Doc/library/exceptions.rst:708 msgid "Base class for warnings about dubious syntax." msgstr "Classe de base pour les avertissements sur de la syntaxe douteuse." -#: ../Doc/library/exceptions.rst:705 +#: ../Doc/library/exceptions.rst:713 msgid "Base class for warnings about dubious runtime behavior." msgstr "" "Classe de base pour les avertissements sur les comportements d'exécution " "douteux." -#: ../Doc/library/exceptions.rst:710 +#: ../Doc/library/exceptions.rst:718 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for end users of applications that are written in Python." @@ -1150,24 +1159,24 @@ msgstr "" "seront obsolètes dans le futur quand ces avertissements destinés aux " "utilisateurs finaux des applications écrites en Python." -#: ../Doc/library/exceptions.rst:716 +#: ../Doc/library/exceptions.rst:724 msgid "Base class for warnings about probable mistakes in module imports." msgstr "" "Classe de base pour les avertissements sur des erreurs probables dans les " "imports de modules." -#: ../Doc/library/exceptions.rst:721 +#: ../Doc/library/exceptions.rst:729 msgid "Base class for warnings related to Unicode." msgstr "Classe de base pour les avertissements liés à l'Unicode." -#: ../Doc/library/exceptions.rst:726 +#: ../Doc/library/exceptions.rst:734 msgid "" "Base class for warnings related to :class:`bytes` and :class:`bytearray`." msgstr "" "Classe de base pour les avertissements liés à :class:`bytes` et :class:" "`bytearray`." -#: ../Doc/library/exceptions.rst:731 +#: ../Doc/library/exceptions.rst:739 msgid "" "Base class for warnings related to resource usage. Ignored by the default " "warning filters." @@ -1175,11 +1184,11 @@ msgstr "" "Classe de base pour les avertissements liés à l'utilisation de ressources. " "Ignorée par les filtres d’avertissements par défaut." -#: ../Doc/library/exceptions.rst:739 +#: ../Doc/library/exceptions.rst:747 msgid "Exception hierarchy" msgstr "Hiérarchie des exceptions" -#: ../Doc/library/exceptions.rst:741 +#: ../Doc/library/exceptions.rst:749 msgid "The class hierarchy for built-in exceptions is:" msgstr "La hiérarchie de classes pour les exceptions natives est la suivante :" diff --git a/library/functions.po b/library/functions.po index 66447c44..be08d937 100644 --- a/library/functions.po +++ b/library/functions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-27 17:52+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -363,7 +363,7 @@ msgstr "" "suivants." #: ../Doc/library/functions.rst:101 ../Doc/library/functions.rst:703 -#: ../Doc/library/functions.rst:962 +#: ../Doc/library/functions.rst:963 msgid "See also :func:`format` for more information." msgstr "Voir aussi :func:`format` pour plus d'information." @@ -1582,16 +1582,18 @@ msgstr "" "variable, tel que documenté dans :ref:`typesseq-list` et :ref:`typesseq`." #: ../Doc/library/functions.rst:843 +#, fuzzy msgid "" "Update and return a dictionary representing the current local symbol table. " "Free variables are returned by :func:`locals` when it is called in function " -"blocks, but not in class blocks." +"blocks, but not in class blocks. Note that at the module level, :func:" +"`locals` and :func:`globals` are the same dictionary." msgstr "" "Met à jour et donne un dictionnaire représentant la table des symboles " "locaux. Les variables libres sont données par :func:`locals` lorsqu'elle est " "appelée dans le corps d'une fonction, mais pas dans le corps d'une classe." -#: ../Doc/library/functions.rst:848 +#: ../Doc/library/functions.rst:849 msgid "" "The contents of this dictionary should not be modified; changes may not " "affect the values of local and free variables used by the interpreter." @@ -1600,7 +1602,7 @@ msgstr "" "peuvent ne pas affecter les valeurs des variables locales ou libres " "utilisées par l'interpréteur." -#: ../Doc/library/functions.rst:853 +#: ../Doc/library/functions.rst:854 msgid "" "Return an iterator that applies *function* to every item of *iterable*, " "yielding the results. If additional *iterable* arguments are passed, " @@ -1617,7 +1619,7 @@ msgstr "" "où les arguments seraient déjà rangés sous forme de tuples, voir :func:" "`itertools.starmap`." -#: ../Doc/library/functions.rst:864 +#: ../Doc/library/functions.rst:865 msgid "" "Return the largest item in an iterable or the largest of two or more " "arguments." @@ -1625,7 +1627,7 @@ msgstr "" "Donne l'élément le plus grand dans un itérable, ou l'argument le plus grand " "parmi au moins deux arguments." -#: ../Doc/library/functions.rst:867 +#: ../Doc/library/functions.rst:868 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The largest item in the iterable is returned. If two or more positional " @@ -1635,7 +1637,7 @@ msgstr "" "Le plus grand élément de l'itérable est donné. Si au moins deux arguments " "positionnels sont fournis, l'argument le plus grand sera donné." -#: ../Doc/library/functions.rst:872 ../Doc/library/functions.rst:906 +#: ../Doc/library/functions.rst:873 ../Doc/library/functions.rst:907 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 " @@ -1649,7 +1651,7 @@ msgstr "" "l'itérable fourni est vide. Si l'itérable est vide et que *default* n'est " "pas fourni, :exc:`ValueError` est levée." -#: ../Doc/library/functions.rst:878 +#: ../Doc/library/functions.rst:879 msgid "" "If multiple items are maximal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -1661,11 +1663,11 @@ msgstr "" "stabilité lors du tri, tel que ``sorted(iterable, key=keyfunc, reverse=True)" "[0]`` et ``heapq.nlargest(1, iterable, key=keyfunc)``." -#: ../Doc/library/functions.rst:883 ../Doc/library/functions.rst:917 +#: ../Doc/library/functions.rst:884 ../Doc/library/functions.rst:918 msgid "The *default* keyword-only argument." msgstr "L'argument exclusivement par mot clef *default*." -#: ../Doc/library/functions.rst:891 +#: ../Doc/library/functions.rst:892 msgid "" "Return a \"memory view\" object created from the given argument. See :ref:" "`typememoryview` for more information." @@ -1673,7 +1675,7 @@ msgstr "" "Donne une \"vue mémoire\" (*memory view*) créée depuis l'argument. Voir :ref:" "`typememoryview` pour plus d'informations." -#: ../Doc/library/functions.rst:898 +#: ../Doc/library/functions.rst:899 msgid "" "Return the smallest item in an iterable or the smallest of two or more " "arguments." @@ -1681,7 +1683,7 @@ msgstr "" "Donne le plus petit élément d'un itérable ou le plus petit d'au moins deux " "arguments." -#: ../Doc/library/functions.rst:901 +#: ../Doc/library/functions.rst:902 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The smallest item in the iterable is returned. If two or more positional " @@ -1691,7 +1693,7 @@ msgstr "" "élément de l'itérable est donné. Si au moins deux arguments positionnels " "sont fournis le plus petit argument positionnel est donné." -#: ../Doc/library/functions.rst:912 +#: ../Doc/library/functions.rst:913 msgid "" "If multiple items are minimal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -1703,7 +1705,7 @@ msgstr "" "``sorted(iterable, key=keyfunc)[0]`` et ``heapq.nsmallest(1, iterable, " "key=keyfunc)``." -#: ../Doc/library/functions.rst:923 +#: ../Doc/library/functions.rst:924 msgid "" "Retrieve the next item from the *iterator* by calling its :meth:`~iterator." "__next__` method. If *default* is given, it is returned if the iterator is " @@ -1713,7 +1715,7 @@ msgstr "" "__next__`. Si *default* est fourni, il sera donné si l'itérateur est épousé, " "sinon :exc:`StopIteration` est levée." -#: ../Doc/library/functions.rst:930 +#: ../Doc/library/functions.rst:931 msgid "" "Return a new featureless object. :class:`object` is a base for all classes. " "It has the methods that are common to all instances of Python classes. This " @@ -1723,7 +1725,7 @@ msgstr "" "classes. C'est elle qui porte les méthodes communes à toutes les instances " "de classes en Python. Cette fonction n'accepte aucun argument." -#: ../Doc/library/functions.rst:936 +#: ../Doc/library/functions.rst:937 msgid "" ":class:`object` does *not* have a :attr:`~object.__dict__`, so you can't " "assign arbitrary attributes to an instance of the :class:`object` class." @@ -1732,7 +1734,7 @@ msgstr "" "pouvez donc pas assigner d'attributs arbitraire à une instance d':class:" "`object`." -#: ../Doc/library/functions.rst:942 +#: ../Doc/library/functions.rst:943 msgid "" "Convert an integer number to an octal string prefixed with \"0o\". The " "result is a valid Python expression. If *x* is not a Python :class:`int` " @@ -1744,7 +1746,7 @@ msgstr "" "objet :class:`int`, il doit définir une méthode :meth:`__index__` qui donne " "un entier, par exemple :" -#: ../Doc/library/functions.rst:952 +#: ../Doc/library/functions.rst:953 msgid "" "If you want to convert an integer number to octal string either with prefix " "\"0o\" or not, you can use either of the following ways." @@ -1752,7 +1754,7 @@ msgstr "" "Si vous voulez convertir un nombre entier en chaîne octale, avec ou sans le " "préfixe ``0o``, vous pouvez utiliser les moyens suivants." -#: ../Doc/library/functions.rst:969 +#: ../Doc/library/functions.rst:970 msgid "" "Open *file* and return a corresponding :term:`file object`. If the file " "cannot be opened, an :exc:`OSError` is raised." @@ -1760,7 +1762,7 @@ msgstr "" "Ouvre *file* et donne un :term:`file object` correspondant. Si le fichier ne " "peut pas être ouvert, une :exc:`OSError` est levée." -#: ../Doc/library/functions.rst:972 +#: ../Doc/library/functions.rst:973 msgid "" "*file* is a :term:`path-like object` giving the pathname (absolute or " "relative to the current working directory) of the file to be opened or an " @@ -1774,7 +1776,7 @@ msgstr "" "donné, il sera fermé en même temps que l'objet *I/O* renvoyé, sauf si " "*closefd* est mis à ``False``.)" -#: ../Doc/library/functions.rst:978 +#: ../Doc/library/functions.rst:979 msgid "" "*mode* is an optional string that specifies the mode in which the file is " "opened. It defaults to ``'r'`` which means open for reading in text mode. " @@ -1800,71 +1802,71 @@ msgstr "" "utilisez le mode binaire en laissant *encoding* non spécifié.) Les modes " "disponibles sont :" -#: ../Doc/library/functions.rst:995 +#: ../Doc/library/functions.rst:996 msgid "Character" msgstr "Caractère" -#: ../Doc/library/functions.rst:995 +#: ../Doc/library/functions.rst:996 msgid "Meaning" msgstr "Signification" -#: ../Doc/library/functions.rst:997 +#: ../Doc/library/functions.rst:998 msgid "``'r'``" msgstr "``'r'``" -#: ../Doc/library/functions.rst:997 +#: ../Doc/library/functions.rst:998 msgid "open for reading (default)" msgstr "ouvre en lecture (par défaut)" -#: ../Doc/library/functions.rst:998 +#: ../Doc/library/functions.rst:999 msgid "``'w'``" msgstr "``'w'``" -#: ../Doc/library/functions.rst:998 +#: ../Doc/library/functions.rst:999 msgid "open for writing, truncating the file first" msgstr "ouvre en écriture, tronquant le fichier" -#: ../Doc/library/functions.rst:999 +#: ../Doc/library/functions.rst:1000 msgid "``'x'``" msgstr "``'x'``" -#: ../Doc/library/functions.rst:999 +#: ../Doc/library/functions.rst:1000 msgid "open for exclusive creation, failing if the file already exists" msgstr "ouvre pour une création exclusive, échouant si le fichier existe déjà" -#: ../Doc/library/functions.rst:1000 +#: ../Doc/library/functions.rst:1001 msgid "``'a'``" msgstr "``'a'``" -#: ../Doc/library/functions.rst:1000 +#: ../Doc/library/functions.rst:1001 msgid "open for writing, appending to the end of the file if it exists" msgstr "ouvre en écriture, ajoutant à la fin du fichier s'il existe" -#: ../Doc/library/functions.rst:1001 +#: ../Doc/library/functions.rst:1002 msgid "``'b'``" msgstr "``'b'``" -#: ../Doc/library/functions.rst:1001 +#: ../Doc/library/functions.rst:1002 msgid "binary mode" msgstr "mode binaire" -#: ../Doc/library/functions.rst:1002 +#: ../Doc/library/functions.rst:1003 msgid "``'t'``" msgstr "``'t'``" -#: ../Doc/library/functions.rst:1002 +#: ../Doc/library/functions.rst:1003 msgid "text mode (default)" msgstr "mode texte (par défaut)" -#: ../Doc/library/functions.rst:1003 +#: ../Doc/library/functions.rst:1004 msgid "``'+'``" msgstr "``'+'``" -#: ../Doc/library/functions.rst:1003 +#: ../Doc/library/functions.rst:1004 msgid "open a disk file for updating (reading and writing)" msgstr "ouvre un fichier pour le modifier (lire et écrire)" -#: ../Doc/library/functions.rst:1006 +#: ../Doc/library/functions.rst:1007 msgid "" "The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``). " "For binary read-write access, the mode ``'w+b'`` opens and truncates the " @@ -1874,7 +1876,7 @@ msgstr "" "``'rt'``). Pour un accès en lecture écriture binaire, le mode ``'w+b'`` " "ouvre et vide le fichier. ``'r+b'`` ouvre le fichier sans le vider." -#: ../Doc/library/functions.rst:1010 +#: ../Doc/library/functions.rst:1011 msgid "" "As mentioned in the :ref:`io-overview`, Python distinguishes between binary " "and text I/O. Files opened in binary mode (including ``'b'`` in the *mode* " @@ -1892,7 +1894,7 @@ msgstr "" "été décodés au préalable en utilisant un encodage déduit de l'environnement " "ou *encoding* s'il est donné." -#: ../Doc/library/functions.rst:1018 +#: ../Doc/library/functions.rst:1019 msgid "" "There is an additional mode character permitted, ``'U'``, which no longer " "has any effect, and is considered deprecated. It previously enabled :term:" @@ -1906,7 +1908,7 @@ msgstr "" "défaut dans Python 3.0. Référez-vous à la documentation du paramètre :ref:" "`newline ` pour plus de détails." -#: ../Doc/library/functions.rst:1026 +#: ../Doc/library/functions.rst:1027 msgid "" "Python doesn't depend on the underlying operating system's notion of text " "files; all the processing is done by Python itself, and is therefore " @@ -1916,7 +1918,7 @@ msgstr "" "jacent, tout est effectué par Python lui même, et ainsi indépendant de la " "plateforme." -#: ../Doc/library/functions.rst:1030 +#: ../Doc/library/functions.rst:1031 msgid "" "*buffering* is an optional integer used to set the buffering policy. Pass 0 " "to switch buffering off (only allowed in binary mode), 1 to select line " @@ -1931,7 +1933,7 @@ msgstr "" "en octets d'un tampon de taille fixe. Sans l'argument *buffering*, les " "comportements par défaut sont les suivants :" -#: ../Doc/library/functions.rst:1036 +#: ../Doc/library/functions.rst:1037 msgid "" "Binary files are buffered in fixed-size chunks; the size of the buffer is " "chosen using a heuristic trying to determine the underlying device's \"block " @@ -1944,7 +1946,7 @@ msgstr "" "DEFAULT_BUFFER_SIZE`. Sur de nombreux systèmes, le tampon sera de 4096 ou " "8192 octets." -#: ../Doc/library/functions.rst:1041 +#: ../Doc/library/functions.rst:1042 msgid "" "\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " "returns ``True``) use line buffering. Other text files use the policy " @@ -1954,7 +1956,7 @@ msgstr "" "isatty` donne ``True``) utilisent un tampon par lignes. Les autres fichiers " "texte sont traités comme les fichiers binaires." -#: ../Doc/library/functions.rst:1045 +#: ../Doc/library/functions.rst:1046 msgid "" "*encoding* is the name of the encoding used to decode or encode the file. " "This should only be used in text mode. The default encoding is platform " @@ -1968,7 +1970,7 @@ msgstr "" "mais n'importe quel :term:`text encoding` supporté par Python peut être " "utilisé. Voir :mod:`codecs` pour une liste des encodages supportés." -#: ../Doc/library/functions.rst:1052 +#: ../Doc/library/functions.rst:1053 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled—this cannot be used in binary mode. A variety of " @@ -1983,7 +1985,7 @@ msgstr "" "enregistré avec :func:`codecs.register_error` est aussi un argument valide. " "Les noms standards sont :" -#: ../Doc/library/functions.rst:1060 +#: ../Doc/library/functions.rst:1061 msgid "" "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding " "error. The default value of ``None`` has the same effect." @@ -1991,7 +1993,7 @@ msgstr "" "``'strict'`` pour lever une :exc:`ValueError` si une erreur d'encodage est " "rencontrée. La valeur par défaut, ``None``, a le même effet." -#: ../Doc/library/functions.rst:1064 +#: ../Doc/library/functions.rst:1065 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." @@ -1999,7 +2001,7 @@ msgstr "" "``'ignore'`` ignore les erreurs. Notez qu'ignorer les erreurs d'encodage " "peut mener à des pertes de données." -#: ../Doc/library/functions.rst:1067 +#: ../Doc/library/functions.rst:1068 msgid "" "``'replace'`` causes a replacement marker (such as ``'?'``) to be inserted " "where there is malformed data." @@ -2007,7 +2009,7 @@ msgstr "" "``'replace'`` insère un marqueur de substitution (tel que ``'?'``) en place " "des données mal formées." -#: ../Doc/library/functions.rst:1070 +#: ../Doc/library/functions.rst:1071 msgid "" "``'surrogateescape'`` will represent any incorrect bytes as code points in " "the Unicode Private Use Area ranging from U+DC80 to U+DCFF. These private " @@ -2022,7 +2024,7 @@ msgstr "" "l'écriture de la donnée. C'est utile pour traiter des fichiers d'un encodage " "inconnu." -#: ../Doc/library/functions.rst:1077 +#: ../Doc/library/functions.rst:1078 msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " "not supported by the encoding are replaced with the appropriate XML " @@ -2032,7 +2034,7 @@ msgstr "" "Les caractères non gérés par l'encodage sont remplacés par une référence de " "caractère XML ``&#nnn;``." -#: ../Doc/library/functions.rst:1081 +#: ../Doc/library/functions.rst:1082 msgid "" "``'backslashreplace'`` replaces malformed data by Python's backslashed " "escape sequences." @@ -2040,7 +2042,7 @@ msgstr "" "``'backslashreplace'`` remplace les données mal formées par des séquences " "d'échappement Python (utilisant des *backslash*)." -#: ../Doc/library/functions.rst:1084 +#: ../Doc/library/functions.rst:1085 msgid "" "``'namereplace'`` (also only supported when writing) replaces unsupported " "characters with ``\\N{...}`` escape sequences." @@ -2048,7 +2050,7 @@ msgstr "" "``'namereplace'`` (aussi supporté lors de l'écriture) remplace les " "caractères non supportés par des séquences d'échappement ``\\N{...}``." -#: ../Doc/library/functions.rst:1092 +#: ../Doc/library/functions.rst:1093 msgid "" "*newline* controls how :term:`universal newlines` mode works (it only " "applies to text mode). It can be ``None``, ``''``, ``'\\n'``, ``'\\r'``, " @@ -2058,7 +2060,7 @@ msgstr "" "(seulement en mode texte). Il eut être ``None``, ``''``, ``'\\n'``, " "``'\\r'``, et ``'\\r\\n'``. Il fonctionne comme suit :" -#: ../Doc/library/functions.rst:1096 +#: ../Doc/library/functions.rst:1097 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " "newlines mode is enabled. Lines in the input can end in ``'\\n'``, " @@ -2076,7 +2078,7 @@ msgstr "" "autorisée, les lignes sont seulement terminées par la chaîne donnée, qui est " "rendue tel qu'elle." -#: ../Doc/library/functions.rst:1104 +#: ../Doc/library/functions.rst:1105 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -2090,7 +2092,7 @@ msgstr "" "*newline* est un autre caractère valide, chaque ``'\\n'`` sera remplacé par " "la chaîne donnée." -#: ../Doc/library/functions.rst:1110 +#: ../Doc/library/functions.rst:1111 msgid "" "If *closefd* is ``False`` and a file descriptor rather than a filename was " "given, the underlying file descriptor will be kept open when the file is " @@ -2102,7 +2104,7 @@ msgstr "" "le fichier sera fermé. Si un nom de fichier est donné, *closefd* doit rester " "``True`` (la valeur par défaut) sans quoi une erreur est levée." -#: ../Doc/library/functions.rst:1115 +#: ../Doc/library/functions.rst:1116 msgid "" "A custom opener can be used by passing a callable as *opener*. The " "underlying file descriptor for the file object is then obtained by calling " @@ -2116,13 +2118,13 @@ msgstr "" "descripteur de fichier ouvert (fournir :mod:`os.open` en temps qu'*opener* " "aura le même effet que donner ``None``)." -#: ../Doc/library/functions.rst:1121 +#: ../Doc/library/functions.rst:1122 msgid "The newly created file is :ref:`non-inheritable `." msgstr "" "Il n'est :ref:`pas possible d'hériter du fichier ` " "nouvellement créé." -#: ../Doc/library/functions.rst:1123 +#: ../Doc/library/functions.rst:1124 msgid "" "The following example uses the :ref:`dir_fd ` parameter of the :func:" "`os.open` function to open a file relative to a given directory::" @@ -2130,7 +2132,7 @@ msgstr "" "L'exemple suivant utilise le paramètre :ref:`dir_fd ` de la " "fonction :func:`os.open` pour ouvrir un fichier relatif au dossier courant ::" -#: ../Doc/library/functions.rst:1136 +#: ../Doc/library/functions.rst:1137 msgid "" "The type of :term:`file object` returned by the :func:`open` function " "depends on the mode. When :func:`open` is used to open a file in a text " @@ -2156,7 +2158,7 @@ msgstr "" "désactivé, le flux brut, une classe fille de :class:`io.RawIOBase`, :class:" "`io.FileIO` est donnée." -#: ../Doc/library/functions.rst:1157 +#: ../Doc/library/functions.rst:1158 msgid "" "See also the file handling modules, such as, :mod:`fileinput`, :mod:`io` " "(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" @@ -2166,21 +2168,21 @@ msgstr "" "`fileinput`, :mod:`io` (où :func:`open` est déclarée), :mod:`os`, :mod:`os." "path`, :mod:`tmpfile`, et :mod:`shutil`." -#: ../Doc/library/functions.rst:1164 +#: ../Doc/library/functions.rst:1165 msgid "The *opener* parameter was added." msgstr "Le paramètre *opener* a été ajouté." -#: ../Doc/library/functions.rst:1165 +#: ../Doc/library/functions.rst:1166 msgid "The ``'x'`` mode was added." msgstr "Le mode ``'x'`` a été ajouté." -#: ../Doc/library/functions.rst:1166 +#: ../Doc/library/functions.rst:1167 msgid ":exc:`IOError` used to be raised, it is now an alias of :exc:`OSError`." msgstr "" ":exc:`IOError` était normalement levée, elle est maintenant un alias de :exc:" "`OSError`." -#: ../Doc/library/functions.rst:1167 +#: ../Doc/library/functions.rst:1168 msgid "" ":exc:`FileExistsError` is now raised if the file opened in exclusive " "creation mode (``'x'``) already exists." @@ -2188,15 +2190,15 @@ msgstr "" ":exc:`FileExistsError` est maintenant levée si le fichier ouvert en mode " "création exclusive (``'x'``) existe déjà." -#: ../Doc/library/functions.rst:1173 +#: ../Doc/library/functions.rst:1174 msgid "The file is now non-inheritable." msgstr "Il n'est plus possible d'hériter de *file*." -#: ../Doc/library/functions.rst:1177 +#: ../Doc/library/functions.rst:1178 msgid "The ``'U'`` mode." msgstr "Le mode ``'U'``." -#: ../Doc/library/functions.rst:1182 +#: ../Doc/library/functions.rst:1183 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 :" @@ -2206,15 +2208,15 @@ msgstr "" "aucune exception, la fonction réessaye l'appel système au lieu de lever une :" "exc:`InterruptedError` (voir la :pep:`475` à propos du raisonnement)." -#: ../Doc/library/functions.rst:1185 +#: ../Doc/library/functions.rst:1186 msgid "The ``'namereplace'`` error handler was added." msgstr "Le gestionnaire d'erreurs ``'namereplace'`` a été ajouté." -#: ../Doc/library/functions.rst:1190 +#: ../Doc/library/functions.rst:1191 msgid "Support added to accept objects implementing :class:`os.PathLike`." msgstr "Ajout du support des objets implémentant :class:`os.PathLike`." -#: ../Doc/library/functions.rst:1191 +#: ../Doc/library/functions.rst:1192 msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." @@ -2222,7 +2224,7 @@ msgstr "" "Sous Windows, ouvrir un *buffer* du terminal peut renvoyer une sous-classe " "de :class:`io.RawIOBase` autre que :class:`io.FileIO`." -#: ../Doc/library/functions.rst:1196 +#: ../Doc/library/functions.rst:1197 msgid "" "Given a string representing one Unicode character, return an integer " "representing the Unicode code point of that character. For example, " @@ -2234,7 +2236,7 @@ msgstr "" "nombre entier ``97`` et ``ord('€')`` (symbole Euro) renvoie ``8364``. Il " "s'agit de l'inverse de :func:`chr`." -#: ../Doc/library/functions.rst:1204 +#: ../Doc/library/functions.rst:1205 msgid "" "Return *x* to the power *y*; if *z* is present, return *x* to the power *y*, " "modulo *z* (computed more efficiently than ``pow(x, y) % z``). The two-" @@ -2245,7 +2247,7 @@ msgstr "" "modulo *z* (calculé de manière plus efficiente que ``pow(x, y) % z``). La " "forme à deux arguments est équivalent à ``x**y``." -#: ../Doc/library/functions.rst:1208 +#: ../Doc/library/functions.rst:1209 msgid "" "The arguments must have numeric types. With mixed operand types, the " "coercion rules for binary arithmetic operators apply. For :class:`int` " @@ -2266,7 +2268,7 @@ msgstr "" "argument est négatif, le troisième doit être omis. Si *z* est fourni, *x* et " "*y* doivent être des entiers et *y* positif." -#: ../Doc/library/functions.rst:1220 +#: ../Doc/library/functions.rst:1221 msgid "" "Print *objects* to the text stream *file*, separated by *sep* and followed " "by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as " @@ -2276,7 +2278,7 @@ msgstr "" "*end*. *sep*, *end*, *file*, et *flush*, s'ils sont présents, doivent être " "données par mot clef." -#: ../Doc/library/functions.rst:1224 +#: ../Doc/library/functions.rst:1225 msgid "" "All non-keyword arguments are converted to strings like :func:`str` does and " "written to the stream, separated by *sep* and followed by *end*. Both *sep* " @@ -2290,7 +2292,7 @@ msgstr "" "les valeurs par défaut. Si aucun *objects* n'est donné :func:`print` écris " "seulement *end*." -#: ../Doc/library/functions.rst:1230 +#: ../Doc/library/functions.rst:1231 msgid "" "The *file* argument must be an object with a ``write(string)`` method; if it " "is not present or ``None``, :data:`sys.stdout` will be used. Since printed " @@ -2303,7 +2305,7 @@ msgstr "" "peut pas être utilisé avec des fichiers ouverts en mode binaire. Pour ceux " "ci utilisez plutôt ``file.write(...)``." -#: ../Doc/library/functions.rst:1235 +#: ../Doc/library/functions.rst:1236 msgid "" "Whether output is buffered is usually determined by *file*, but if the " "*flush* keyword argument is true, the stream is forcibly flushed." @@ -2311,15 +2313,15 @@ msgstr "" "Que la sortie utilise un *buffer* ou non est souvent décidé par *file*, mais " "si l'argument *flush* est vrai, le tampon du flux est vidé explicitement." -#: ../Doc/library/functions.rst:1238 +#: ../Doc/library/functions.rst:1239 msgid "Added the *flush* keyword argument." msgstr "Ajout de l'argument par mot clef *flush*." -#: ../Doc/library/functions.rst:1244 +#: ../Doc/library/functions.rst:1245 msgid "Return a property attribute." msgstr "Donne un attribut propriété." -#: ../Doc/library/functions.rst:1246 +#: ../Doc/library/functions.rst:1247 msgid "" "*fget* is a function for getting an attribute value. *fset* is a function " "for setting an attribute value. *fdel* is a function for deleting an " @@ -2330,11 +2332,11 @@ msgstr "" "supprimer la valeur d'un attribut, et *doc* créé une *docstring* pour " "l'attribut." -#: ../Doc/library/functions.rst:1250 +#: ../Doc/library/functions.rst:1251 msgid "A typical use is to define a managed attribute ``x``::" msgstr "Une utilisation typique : définir un attribut managé ``x`` : ::" -#: ../Doc/library/functions.rst:1267 +#: ../Doc/library/functions.rst:1268 msgid "" "If *c* is an instance of *C*, ``c.x`` will invoke the getter, ``c.x = " "value`` will invoke the setter and ``del c.x`` the deleter." @@ -2342,7 +2344,7 @@ msgstr "" "Si *c* est une instance de *C*, ``c.x`` appellera le *getter*, ``c.x = " "value`` invoquera le *setter*, et ``del x`` le *deleter*." -#: ../Doc/library/functions.rst:1270 +#: ../Doc/library/functions.rst:1271 msgid "" "If given, *doc* will be the docstring of the property attribute. Otherwise, " "the property will copy *fget*'s docstring (if it exists). This makes it " @@ -2354,7 +2356,7 @@ msgstr "" "création de propriétés en lecture seule en utilisant simplement :func:" "`property` comme un :term:`decorator` : ::" -#: ../Doc/library/functions.rst:1283 +#: ../Doc/library/functions.rst:1284 msgid "" "The ``@property`` decorator turns the :meth:`voltage` method into a \"getter" "\" for a read-only attribute with the same name, and it sets the docstring " @@ -2364,7 +2366,7 @@ msgstr "" "*getter* d'un attribut du même nom, et donne *\"Get the current voltage\"* " "comme *docstring* de *voltage*." -#: ../Doc/library/functions.rst:1287 +#: ../Doc/library/functions.rst:1288 msgid "" "A property object has :attr:`~property.getter`, :attr:`~property.setter`, " "and :attr:`~property.deleter` methods usable as decorators that create a " @@ -2376,7 +2378,7 @@ msgstr "" "une copie de la propriété avec les accesseurs correspondants définis par la " "fonction de décoration. C'est plus clair avec un exemple : ::" -#: ../Doc/library/functions.rst:1309 +#: ../Doc/library/functions.rst:1310 msgid "" "This code is exactly equivalent to the first example. Be sure to give the " "additional functions the same name as the original property (``x`` in this " @@ -2386,7 +2388,7 @@ msgstr "" "donner aux fonctions additionnelles le même nom que la propriété (``x`` dans " "ce cas.)" -#: ../Doc/library/functions.rst:1313 +#: ../Doc/library/functions.rst:1314 msgid "" "The returned property object also has the attributes ``fget``, ``fset``, and " "``fdel`` corresponding to the constructor arguments." @@ -2394,11 +2396,11 @@ msgstr "" "L'objet propriété donné à aussi les attributs ``fget``, ``fset`` et ``fdel`` " "correspondant correspondants aux arguments du constructeur." -#: ../Doc/library/functions.rst:1316 +#: ../Doc/library/functions.rst:1317 msgid "The docstrings of property objects are now writeable." msgstr "Les *docstrings* des objets propriété peuvent maintenant être écrits." -#: ../Doc/library/functions.rst:1325 +#: ../Doc/library/functions.rst:1326 msgid "" "Rather than being a function, :class:`range` is actually an immutable " "sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." @@ -2406,7 +2408,7 @@ msgstr "" "Plutôt qu'être une fonction, :class:`range` est en fait une séquence " "immuable, tel que documenté dans :ref:`typesseq-range` et :ref:`typesseq`." -#: ../Doc/library/functions.rst:1331 +#: ../Doc/library/functions.rst:1332 msgid "" "Return a string containing a printable representation of an object. For " "many types, this function makes an attempt to return a string that would " @@ -2424,7 +2426,7 @@ msgstr "" "l'objet. Une classe peut contrôler ce que cette fonction donne pour ses " "instances en définissant une méthode :meth:`__repr__`." -#: ../Doc/library/functions.rst:1342 +#: ../Doc/library/functions.rst:1343 msgid "" "Return a reverse :term:`iterator`. *seq* must be an object which has a :" "meth:`__reversed__` method or supports the sequence protocol (the :meth:" @@ -2436,7 +2438,7 @@ msgstr "" "meth:`__len__` et la méthode :meth:`__getitem__` avec des arguments entiers " "commençant à zéro)." -#: ../Doc/library/functions.rst:1350 +#: ../Doc/library/functions.rst:1351 msgid "" "Return *number* rounded to *ndigits* precision after the decimal point. If " "*ndigits* is omitted or is ``None``, it returns the nearest integer to its " @@ -2446,7 +2448,7 @@ msgstr "" "virgule. Si *ndigits* est omis (ou est ``None``), l'entier le plus proche " "est renvoyé." -#: ../Doc/library/functions.rst:1354 +#: ../Doc/library/functions.rst:1355 msgid "" "For the built-in types supporting :func:`round`, values are rounded to the " "closest multiple of 10 to the power minus *ndigits*; if two multiples are " @@ -2464,7 +2466,7 @@ msgstr "" "zéro, ou négatif). La valeur renvoyée est un entier si *ndigits* n'est pas " "donné, (ou est ``None``). Sinon elle est du même type que *number*." -#: ../Doc/library/functions.rst:1363 +#: ../Doc/library/functions.rst:1364 msgid "" "For a general Python object ``number``, ``round`` delegates to ``number." "__round__``." @@ -2472,7 +2474,7 @@ msgstr "" "Pour tout autre objet Python ``number``, ``round`` délègue à ``number." "__round__``." -#: ../Doc/library/functions.rst:1368 +#: ../Doc/library/functions.rst:1369 msgid "" "The behavior of :func:`round` for floats can be surprising: for example, " "``round(2.675, 2)`` gives ``2.67`` instead of the expected ``2.68``. This is " @@ -2486,7 +2488,7 @@ msgstr "" "de décimaux ne peuvent pas être représentés exactement en nombre a virgule " "flottante. Voir :ref:`tut-fp-issues` pour plus d'information." -#: ../Doc/library/functions.rst:1379 +#: ../Doc/library/functions.rst:1380 msgid "" "Return a new :class:`set` object, optionally with elements taken from " "*iterable*. ``set`` is a built-in class. See :class:`set` and :ref:`types-" @@ -2496,7 +2498,7 @@ msgstr "" "d'*iterable*. ``set`` est une classe native. Voir :class:`set` et :ref:" "`types-set` pour la documentation de cette classe." -#: ../Doc/library/functions.rst:1383 +#: ../Doc/library/functions.rst:1384 msgid "" "For other containers see the built-in :class:`frozenset`, :class:`list`, :" "class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " @@ -2506,7 +2508,7 @@ msgstr "" "`list`, :class:`tuple`, et :class:`dict`, ainsi que le module :mod:" "`collections`." -#: ../Doc/library/functions.rst:1390 +#: ../Doc/library/functions.rst:1391 msgid "" "This is the counterpart of :func:`getattr`. The arguments are an object, a " "string and an arbitrary value. The string may name an existing attribute or " @@ -2520,7 +2522,7 @@ msgstr "" "si l'objet l'autorise. Par exemple, ``setattr(x, 'foobar', 123)`` équivaut à " "``x.foobar = 123``." -#: ../Doc/library/functions.rst:1402 +#: ../Doc/library/functions.rst:1403 msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " @@ -2544,16 +2546,16 @@ msgstr "" "étendue. Par exemple ``a[start:stop:step]`` ou ``a[start:stop, i]``. Voir :" "func:`itertools.islice` pour une version alternative donnant un itérateur." -#: ../Doc/library/functions.rst:1415 +#: ../Doc/library/functions.rst:1416 msgid "Return a new sorted list from the items in *iterable*." msgstr "Donne une nouvelle liste triée depuis les éléments d'*iterable*." -#: ../Doc/library/functions.rst:1417 +#: ../Doc/library/functions.rst:1418 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "A deux arguments optionnels qui doivent être fournis par mot clef." -#: ../Doc/library/functions.rst:1419 +#: ../Doc/library/functions.rst:1420 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each element in *iterable* (for example, ``key=str." @@ -2564,7 +2566,7 @@ msgstr "" "lower``). La valeur par défaut est ``None`` (compare les éléments " "directement)." -#: ../Doc/library/functions.rst:1423 +#: ../Doc/library/functions.rst:1424 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -2572,7 +2574,7 @@ msgstr "" "*reverse*, une valeur booléenne. Si elle est ``True``, la liste d'éléments " "est triée comme si toutes les comparaisons étaient inversées." -#: ../Doc/library/functions.rst:1426 +#: ../Doc/library/functions.rst:1427 msgid "" "Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a " "*key* function." @@ -2580,7 +2582,7 @@ msgstr "" "Utilisez :func:`functools.cmp_to_key` pour convertir l'ancienne notation " "*cmp* en une fonction *key*." -#: ../Doc/library/functions.rst:1429 +#: ../Doc/library/functions.rst:1430 msgid "" "The built-in :func:`sorted` function is guaranteed to be stable. A sort is " "stable if it guarantees not to change the relative order of elements that " @@ -2592,17 +2594,17 @@ msgstr "" "eux. C'est utile pour trier en plusieurs passes, par exemple par département " "puis par salaire)." -#: ../Doc/library/functions.rst:1434 +#: ../Doc/library/functions.rst:1435 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Pour des exemples de tris et un bref tutoriel, consultez :ref:`sortinghowto`." -#: ../Doc/library/functions.rst:1438 +#: ../Doc/library/functions.rst:1439 msgid "Transform a method into a static method." msgstr "Transforme une méthode en méthode statique." -#: ../Doc/library/functions.rst:1440 +#: ../Doc/library/functions.rst:1441 msgid "" "A static method does not receive an implicit first argument. To declare a " "static method, use this idiom::" @@ -2610,7 +2612,7 @@ msgstr "" "Une méthode statique ne reçoit pas de premier argument implicitement. Voilà " "comment déclarer une méthode statique : ::" -#: ../Doc/library/functions.rst:1447 +#: ../Doc/library/functions.rst:1448 #, fuzzy msgid "" "The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:" @@ -2620,7 +2622,7 @@ msgstr "" "description des définitions de fonction dans :ref:`function` pour plus de " "détails." -#: ../Doc/library/functions.rst:1450 +#: ../Doc/library/functions.rst:1451 #, fuzzy msgid "" "A static method can be called either on the class (such as ``C.f()``) or on " @@ -2629,7 +2631,7 @@ msgstr "" "Elle peut être appelée soit sur une classe (tel que ``C.f()``) ou sur une " "instance (tel que ``C().f()``). L'instance est ignorée, sauf pour sa classe." -#: ../Doc/library/functions.rst:1453 +#: ../Doc/library/functions.rst:1454 msgid "" "Static methods in Python are similar to those found in Java or C++. Also " "see :func:`classmethod` for a variant that is useful for creating alternate " @@ -2639,7 +2641,7 @@ msgstr "" "ou en C++. Consultez :func:`classmethod` pour une variante utile pour créer " "des constructeurs alternatifs." -#: ../Doc/library/functions.rst:1457 +#: ../Doc/library/functions.rst:1458 msgid "" "Like all decorators, it is also possible to call ``staticmethod`` as a " "regular function and do something with its result. This is needed in some " @@ -2653,21 +2655,21 @@ msgstr "" "depuis le corps d'une classe, et souhaiteriez éviter sa transformation en " "méthode d'instance. Pour ces cas, faites comme suit ::" -#: ../Doc/library/functions.rst:1466 +#: ../Doc/library/functions.rst:1467 #, fuzzy msgid "For more information on static methods, see :ref:`types`." msgstr "" "Pour plus d'informations sur les méthodes statiques, consultez la " "documentation de la hiérarchie des types standards dans :ref:`types`." -#: ../Doc/library/functions.rst:1477 +#: ../Doc/library/functions.rst:1478 msgid "" "Return a :class:`str` version of *object*. See :func:`str` for details." msgstr "" "Donne une version sous forme de :class:`str` d'*object*. Voir :func:`str` " "pour plus de détails." -#: ../Doc/library/functions.rst:1479 +#: ../Doc/library/functions.rst:1480 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -2675,7 +2677,7 @@ msgstr "" "``str`` est la :term:`class` native des chaînes de caractères. Pour des " "informations générales à propos des chaînes, consultez :ref:`textseq`." -#: ../Doc/library/functions.rst:1485 +#: ../Doc/library/functions.rst:1486 msgid "" "Sums *start* and the items of an *iterable* from left to right and returns " "the total. *start* defaults to ``0``. The *iterable*'s items are normally " @@ -2686,7 +2688,7 @@ msgstr "" "sont normalement des nombres, et la valeur de *start* ne peut pas être une " "chaîne." -#: ../Doc/library/functions.rst:1489 +#: ../Doc/library/functions.rst:1490 msgid "" "For some use cases, there are good alternatives to :func:`sum`. The " "preferred, fast way to concatenate a sequence of strings is by calling ``''." @@ -2700,7 +2702,7 @@ msgstr "" "meilleure précision, voir :func:`math.fsum`. Pour concaténer une série " "d'itérables, utilisez plutôt :func:`itertools.chain`." -#: ../Doc/library/functions.rst:1497 +#: ../Doc/library/functions.rst:1498 msgid "" "Return a proxy object that delegates method calls to a parent or sibling " "class of *type*. This is useful for accessing inherited methods that have " @@ -2713,7 +2715,7 @@ msgstr "" "recherche est le même que celui utilisé par :func:`getattr` sauf que *type* " "lui même est sauté." -#: ../Doc/library/functions.rst:1502 +#: ../Doc/library/functions.rst:1503 msgid "" "The :attr:`~class.__mro__` attribute of the *type* lists the method " "resolution search order used by both :func:`getattr` and :func:`super`. The " @@ -2725,7 +2727,7 @@ msgstr "" "L'attribut est dynamique et peut changer lorsque la hiérarchie d'héritage " "est modifiée." -#: ../Doc/library/functions.rst:1507 +#: ../Doc/library/functions.rst:1508 msgid "" "If the second argument is omitted, the super object returned is unbound. If " "the second argument is an object, ``isinstance(obj, type)`` must be true. " @@ -2737,7 +2739,7 @@ msgstr "" "le second argument est un type, ``issubclass(type2, type)`` doit être vrai " "(c'est utile pour les méthodes de classe)." -#: ../Doc/library/functions.rst:1512 +#: ../Doc/library/functions.rst:1513 msgid "" "There are two typical use cases for *super*. In a class hierarchy with " "single inheritance, *super* can be used to refer to parent classes without " @@ -2750,7 +2752,7 @@ msgstr "" "maintenable. Cet usage se rapproche de l'usage de *super* dans d'autres " "langages de programmation." -#: ../Doc/library/functions.rst:1517 +#: ../Doc/library/functions.rst:1518 msgid "" "The second use case is to support cooperative multiple inheritance in a " "dynamic execution environment. This use case is unique to Python and is not " @@ -2773,12 +2775,12 @@ msgstr "" "changements dans la hiérarchie, et parce que l'ordre peut inclure des " "classes sœurs inconnues avant l'exécution)." -#: ../Doc/library/functions.rst:1527 +#: ../Doc/library/functions.rst:1528 msgid "For both use cases, a typical superclass call looks like this::" msgstr "" "Dans tous les cas, un appel typique à une classe parente ressemble à : ::" -#: ../Doc/library/functions.rst:1534 +#: ../Doc/library/functions.rst:1535 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " @@ -2795,7 +2797,7 @@ msgstr "" "n'est pas défini pour les recherches implicites via des instructions ou des " "opérateurs tel que ``super()[name]``." -#: ../Doc/library/functions.rst:1541 +#: ../Doc/library/functions.rst:1542 msgid "" "Also note that, aside from the zero argument form, :func:`super` is not " "limited to use inside methods. The two argument form specifies the " @@ -2812,7 +2814,7 @@ msgstr "" "propos de la classe en cours de définition, ainsi qu'accéder à l'instance " "courante pour les méthodes ordinaires." -#: ../Doc/library/functions.rst:1548 +#: ../Doc/library/functions.rst:1549 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_." -#: ../Doc/library/functions.rst:1557 +#: ../Doc/library/functions.rst:1558 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -2830,7 +2832,7 @@ msgstr "" "Plutôt qu'être une fonction, :class:`tuple` est en fait un type de séquence " "immuable, tel que documenté dans :ref:`typesseq-tuple` et :ref:`typesseq`." -#: ../Doc/library/functions.rst:1566 +#: ../Doc/library/functions.rst:1567 msgid "" "With one argument, return the type of an *object*. The return value is a " "type object and generally the same object as returned by :attr:`object." @@ -2840,7 +2842,7 @@ msgstr "" "type et généralement la même que la valeur de l'attribut :attr:`object." "__class__ `." -#: ../Doc/library/functions.rst:1570 +#: ../Doc/library/functions.rst:1571 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -2848,7 +2850,7 @@ msgstr "" "La fonction native :func:`isinstance` est recommandée pour tester le type " "d'un objet car elle prend en compte l'héritage." -#: ../Doc/library/functions.rst:1574 +#: ../Doc/library/functions.rst:1575 msgid "" "With three arguments, return a new type object. This is essentially a " "dynamic form of the :keyword:`class` statement. The *name* string is the " @@ -2869,11 +2871,11 @@ msgstr "" "exemple, les deux instructions suivantes créent deux instances identiques " "de :class:`type` :" -#: ../Doc/library/functions.rst:1588 +#: ../Doc/library/functions.rst:1589 msgid "See also :ref:`bltin-type-objects`." msgstr "Voir aussi :ref:`bltin-type-objects`." -#: ../Doc/library/functions.rst:1590 +#: ../Doc/library/functions.rst:1591 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." @@ -2882,7 +2884,7 @@ msgstr "" "ne devraient plus utiliser la forme à un argument pour récupérer le type " "d'un objet." -#: ../Doc/library/functions.rst:1596 +#: ../Doc/library/functions.rst:1597 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -2891,7 +2893,7 @@ msgstr "" "instance ou de n'importe quel objet avec un attribut :attr:`~object." "__dict__`." -#: ../Doc/library/functions.rst:1599 +#: ../Doc/library/functions.rst:1600 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -2904,7 +2906,7 @@ msgstr "" "exemple, les classes utilisent un :class:`types.MappingProxyType` pour " "éviter les modifications directes du dictionnaire)." -#: ../Doc/library/functions.rst:1604 +#: ../Doc/library/functions.rst:1605 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -2914,11 +2916,11 @@ msgstr "" "dictionnaire des variables locales n'est utile qu'en lecture, car ses " "écritures sont ignorées." -#: ../Doc/library/functions.rst:1611 +#: ../Doc/library/functions.rst:1612 msgid "Make an iterator that aggregates elements from each of the iterables." msgstr "Construit un itérateur agrégeant les éléments de tous les itérables." -#: ../Doc/library/functions.rst:1613 +#: ../Doc/library/functions.rst:1614 msgid "" "Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th " "element from each of the argument sequences or iterables. The iterator " @@ -2932,7 +2934,7 @@ msgstr "" "itérable, elle donne un itérateur sur des *tuples* d'un élément. Sans " "arguments, elle donne un itérateur vide. Équivalent à : ::" -#: ../Doc/library/functions.rst:1632 +#: ../Doc/library/functions.rst:1633 msgid "" "The left-to-right evaluation order of the iterables is guaranteed. This " "makes possible an idiom for clustering a data series into n-length groups " @@ -2946,7 +2948,7 @@ msgstr "" "que le tuple obtenu contient le résultat de ``n`` appels à l'itérateur. Cela " "a pour effet de diviser la séquence en morceaux de taille *n*." -#: ../Doc/library/functions.rst:1638 +#: ../Doc/library/functions.rst:1639 msgid "" ":func:`zip` should only be used with unequal length inputs when you don't " "care about trailing, unmatched values from the longer iterables. If those " @@ -2957,7 +2959,7 @@ msgstr "" "peuvent être ignorées. Si c'est valeurs sont importantes, utilisez plutôt :" "func:`itertools.zip_longest`." -#: ../Doc/library/functions.rst:1642 +#: ../Doc/library/functions.rst:1643 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -2965,7 +2967,7 @@ msgstr "" ":func:`zip` peut être utilisée conjointement avec l'opérateur ``*`` pour " "dézipper une liste : ::" -#: ../Doc/library/functions.rst:1663 +#: ../Doc/library/functions.rst:1664 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -2973,7 +2975,7 @@ msgstr "" "C'est une fonction avancée qui n'est pas fréquemment nécessaire, " "contrairement à :func:`importlib.import_module`." -#: ../Doc/library/functions.rst:1666 +#: ../Doc/library/functions.rst:1667 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -2993,7 +2995,7 @@ msgstr "" "trouver l'implémentation par défaut. L'usage direct de :func:`__import__` " "est aussi déconseillé en faveur de :func:`importlib.import_module`." -#: ../Doc/library/functions.rst:1675 +#: ../Doc/library/functions.rst:1676 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3009,7 +3011,7 @@ msgstr "" "l'argument *locals* et n'utilise *globals* que pour déterminer le contexte " "du paquet de l'instruction :keyword:`import`." -#: ../Doc/library/functions.rst:1682 +#: ../Doc/library/functions.rst:1683 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3022,7 +3024,7 @@ msgstr "" "le nombre de dossiers parents relativement au dossier du module appelant :" "func:`__import__` (voir la :pep:`328`)." -#: ../Doc/library/functions.rst:1688 +#: ../Doc/library/functions.rst:1689 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -3034,7 +3036,7 @@ msgstr "" "le module nommé par *name*. Cependant, lorsqu'un argument *fromlist* est " "fourni, le module nommé par *name* est donné." -#: ../Doc/library/functions.rst:1693 +#: ../Doc/library/functions.rst:1694 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3042,11 +3044,11 @@ msgstr "" "Par exemple, l'instruction ``import spam`` donne un code intermédiaire " "(*bytecode* en anglais) ressemblant au code suivant : ::" -#: ../Doc/library/functions.rst:1698 +#: ../Doc/library/functions.rst:1699 msgid "The statement ``import spam.ham`` results in this call::" msgstr "L'instruction ``import ham.ham`` appelle : ::" -#: ../Doc/library/functions.rst:1702 +#: ../Doc/library/functions.rst:1703 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -3054,7 +3056,7 @@ msgstr "" "Notez comment :func:`__import__` donne le module le plus haut ici parce que " "c'est l'objet lié à un nom par l'instruction :keyword:`import`." -#: ../Doc/library/functions.rst:1705 +#: ../Doc/library/functions.rst:1706 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3062,7 +3064,7 @@ msgstr "" "En revanche, l'instruction ``from spam.ham import eggs, saucage as saus`` " "donne : ::" -#: ../Doc/library/functions.rst:1712 +#: ../Doc/library/functions.rst:1713 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3071,7 +3073,7 @@ msgstr "" "Ici le module ``spam.ham`` est donné par :func:`__import__`. De cet objet, " "les noms à importer sont récupérés et assignés à leurs noms respectifs." -#: ../Doc/library/functions.rst:1716 +#: ../Doc/library/functions.rst:1717 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3079,7 +3081,7 @@ msgstr "" "Si vous voulez simplement importer un module (potentiellement dans un " "paquet) par son nom, utilisez :func:`importlib.import_module`." -#: ../Doc/library/functions.rst:1719 +#: ../Doc/library/functions.rst:1720 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3087,11 +3089,11 @@ msgstr "" "Des valeurs négatives pour *level* ne sont plus gérées (ce qui change la " "valeur par défaut pour 0)." -#: ../Doc/library/functions.rst:1725 +#: ../Doc/library/functions.rst:1726 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/functions.rst:1726 +#: ../Doc/library/functions.rst:1727 msgid "" "Note that the parser only accepts the Unix-style end of line convention. If " "you are reading the code from a file, make sure to use newline conversion " diff --git a/library/idle.po b/library/idle.po index fcb14d06..e98d3f46 100644 --- a/library/idle.po +++ b/library/idle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/inspect.po b/library/inspect.po index d4874c55..78bad953 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2017-05-27 19:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/io.po b/library/io.po index 6b0312b7..571e73c1 100644 --- a/library/io.po +++ b/library/io.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+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 "" msgstr "" #: ../Doc/library/io.rst:51 ../Doc/library/io.rst:755 -#: ../Doc/library/io.rst:1011 +#: ../Doc/library/io.rst:1010 msgid "Text I/O" msgstr "" @@ -89,7 +89,7 @@ msgid "" "`TextIOBase`." msgstr "" -#: ../Doc/library/io.rst:72 ../Doc/library/io.rst:999 +#: ../Doc/library/io.rst:72 ../Doc/library/io.rst:998 msgid "Binary I/O" msgstr "" @@ -346,29 +346,27 @@ msgstr "" #: ../Doc/library/io.rst:229 msgid "" -"Even though :class:`IOBase` does not declare :meth:`read`, :meth:`readinto`, " -"or :meth:`write` because their signatures will vary, implementations and " -"clients should consider those methods part of the interface. Also, " -"implementations may raise a :exc:`ValueError` (or :exc:" -"`UnsupportedOperation`) when operations they do not support are called." +"Even though :class:`IOBase` does not declare :meth:`read` or :meth:`write` " +"because their signatures will vary, implementations and clients should " +"consider those methods part of the interface. Also, implementations may " +"raise a :exc:`ValueError` (or :exc:`UnsupportedOperation`) when operations " +"they do not support are called." msgstr "" #: ../Doc/library/io.rst:235 msgid "" "The basic type used for binary data read from or written to a file is :class:" "`bytes`. Other :term:`bytes-like objects ` are accepted " -"as method arguments too. In some cases, such as :meth:`~RawIOBase." -"readinto`, a writable object such as :class:`bytearray` is required. Text I/" -"O classes work with :class:`str` data." +"as method arguments too. Text I/O classes work with :class:`str` data." msgstr "" -#: ../Doc/library/io.rst:241 +#: ../Doc/library/io.rst:239 msgid "" "Note that calling any method (even inquiries) on a closed stream is " "undefined. Implementations may raise :exc:`ValueError` in this case." msgstr "" -#: ../Doc/library/io.rst:244 +#: ../Doc/library/io.rst:242 msgid "" ":class:`IOBase` (and its subclasses) supports the iterator protocol, meaning " "that an :class:`IOBase` object can be iterated over yielding the lines in a " @@ -377,135 +375,135 @@ msgid "" "character strings). See :meth:`~IOBase.readline` below." msgstr "" -#: ../Doc/library/io.rst:250 +#: ../Doc/library/io.rst:248 msgid "" ":class:`IOBase` is also a context manager and therefore supports the :" "keyword:`with` statement. In this example, *file* is closed after the :" "keyword:`!with` statement's suite is finished---even if an exception occurs::" msgstr "" -#: ../Doc/library/io.rst:257 +#: ../Doc/library/io.rst:255 msgid ":class:`IOBase` provides these data attributes and methods:" msgstr "" -#: ../Doc/library/io.rst:261 +#: ../Doc/library/io.rst:259 msgid "" "Flush and close this stream. This method has no effect if the file is " "already closed. Once the file is closed, any operation on the file (e.g. " "reading or writing) will raise a :exc:`ValueError`." msgstr "" -#: ../Doc/library/io.rst:265 +#: ../Doc/library/io.rst:263 msgid "" "As a convenience, it is allowed to call this method more than once; only the " "first call, however, will have an effect." msgstr "" -#: ../Doc/library/io.rst:270 +#: ../Doc/library/io.rst:268 msgid "``True`` if the stream is closed." msgstr "" -#: ../Doc/library/io.rst:274 +#: ../Doc/library/io.rst:272 msgid "" "Return the underlying file descriptor (an integer) of the stream if it " "exists. An :exc:`OSError` is raised if the IO object does not use a file " "descriptor." msgstr "" -#: ../Doc/library/io.rst:280 +#: ../Doc/library/io.rst:278 msgid "" "Flush the write buffers of the stream if applicable. This does nothing for " "read-only and non-blocking streams." msgstr "" -#: ../Doc/library/io.rst:285 +#: ../Doc/library/io.rst:283 msgid "" "Return ``True`` if the stream is interactive (i.e., connected to a terminal/" "tty device)." msgstr "" -#: ../Doc/library/io.rst:290 +#: ../Doc/library/io.rst:288 msgid "" "Return ``True`` if the stream can be read from. If ``False``, :meth:`read` " "will raise :exc:`OSError`." msgstr "" -#: ../Doc/library/io.rst:295 +#: ../Doc/library/io.rst:293 msgid "" "Read and return one line from the stream. If *size* is specified, at most " "*size* bytes will be read." msgstr "" -#: ../Doc/library/io.rst:298 +#: ../Doc/library/io.rst:296 msgid "" "The line terminator is always ``b'\\n'`` for binary files; for text files, " "the *newline* argument to :func:`open` can be used to select the line " "terminator(s) recognized." msgstr "" -#: ../Doc/library/io.rst:304 +#: ../Doc/library/io.rst:302 msgid "" "Read and return a list of lines from the stream. *hint* can be specified to " "control the number of lines read: no more lines will be read if the total " "size (in bytes/characters) of all lines so far exceeds *hint*." msgstr "" -#: ../Doc/library/io.rst:308 +#: ../Doc/library/io.rst:306 msgid "" "Note that it's already possible to iterate on file objects using ``for line " "in file: ...`` without calling ``file.readlines()``." msgstr "" -#: ../Doc/library/io.rst:313 +#: ../Doc/library/io.rst:311 msgid "" "Change the stream position to the given byte *offset*. *offset* is " "interpreted relative to the position indicated by *whence*. The default " "value for *whence* is :data:`SEEK_SET`. Values for *whence* are:" msgstr "" -#: ../Doc/library/io.rst:317 +#: ../Doc/library/io.rst:315 msgid "" ":data:`SEEK_SET` or ``0`` -- start of the stream (the default); *offset* " "should be zero or positive" msgstr "" -#: ../Doc/library/io.rst:319 +#: ../Doc/library/io.rst:317 msgid "" ":data:`SEEK_CUR` or ``1`` -- current stream position; *offset* may be " "negative" msgstr "" -#: ../Doc/library/io.rst:321 +#: ../Doc/library/io.rst:319 msgid "" ":data:`SEEK_END` or ``2`` -- end of the stream; *offset* is usually negative" msgstr "" -#: ../Doc/library/io.rst:324 +#: ../Doc/library/io.rst:322 msgid "Return the new absolute position." msgstr "" -#: ../Doc/library/io.rst:326 ../Doc/library/io.rst:832 +#: ../Doc/library/io.rst:324 ../Doc/library/io.rst:831 msgid "The ``SEEK_*`` constants." msgstr "" -#: ../Doc/library/io.rst:329 +#: ../Doc/library/io.rst:327 msgid "" "Some operating systems could support additional values, like :data:`os." "SEEK_HOLE` or :data:`os.SEEK_DATA`. The valid values for a file could depend " "on it being open in text or binary mode." msgstr "" -#: ../Doc/library/io.rst:336 +#: ../Doc/library/io.rst:334 msgid "" "Return ``True`` if the stream supports random access. If ``False``, :meth:" "`seek`, :meth:`tell` and :meth:`truncate` will raise :exc:`OSError`." msgstr "" -#: ../Doc/library/io.rst:341 +#: ../Doc/library/io.rst:339 msgid "Return the current stream position." msgstr "" -#: ../Doc/library/io.rst:345 +#: ../Doc/library/io.rst:343 msgid "" "Resize the stream to the given *size* in bytes (or the current position if " "*size* is not specified). The current stream position isn't changed. This " @@ -514,49 +512,49 @@ msgid "" "additional bytes are zero-filled). The new file size is returned." msgstr "" -#: ../Doc/library/io.rst:352 +#: ../Doc/library/io.rst:350 msgid "Windows will now zero-fill files when extending." msgstr "" -#: ../Doc/library/io.rst:357 +#: ../Doc/library/io.rst:355 msgid "" "Return ``True`` if the stream supports writing. If ``False``, :meth:`write` " "and :meth:`truncate` will raise :exc:`OSError`." msgstr "" -#: ../Doc/library/io.rst:362 +#: ../Doc/library/io.rst:360 msgid "" "Write a list of lines to the stream. Line separators are not added, so it " "is usual for each of the lines provided to have a line separator at the end." msgstr "" -#: ../Doc/library/io.rst:368 +#: ../Doc/library/io.rst:366 msgid "" "Prepare for object destruction. :class:`IOBase` provides a default " "implementation of this method that calls the instance's :meth:`~IOBase." "close` method." msgstr "" -#: ../Doc/library/io.rst:375 +#: ../Doc/library/io.rst:373 msgid "" "Base class for raw binary I/O. It inherits :class:`IOBase`. There is no " "public constructor." msgstr "" -#: ../Doc/library/io.rst:378 +#: ../Doc/library/io.rst:376 msgid "" "Raw binary I/O typically provides low-level access to an underlying OS " "device or API, and does not try to encapsulate it in high-level primitives " "(this is left to Buffered I/O and Text I/O, described later in this page)." msgstr "" -#: ../Doc/library/io.rst:382 +#: ../Doc/library/io.rst:380 msgid "" "In addition to the attributes and methods from :class:`IOBase`, :class:" "`RawIOBase` provides the following methods:" msgstr "" -#: ../Doc/library/io.rst:387 +#: ../Doc/library/io.rst:385 msgid "" "Read up to *size* bytes from the object and return them. As a convenience, " "if *size* is unspecified or -1, all bytes until EOF are returned. Otherwise, " @@ -564,32 +562,33 @@ msgid "" "if the operating system call returns fewer than *size* bytes." msgstr "" -#: ../Doc/library/io.rst:392 +#: ../Doc/library/io.rst:390 msgid "" "If 0 bytes are returned, and *size* was not 0, this indicates end of file. " "If the object is in non-blocking mode and no bytes are available, ``None`` " "is returned." msgstr "" -#: ../Doc/library/io.rst:396 +#: ../Doc/library/io.rst:394 msgid "" "The default implementation defers to :meth:`readall` and :meth:`readinto`." msgstr "" -#: ../Doc/library/io.rst:401 +#: ../Doc/library/io.rst:399 msgid "" "Read and return all the bytes from the stream until EOF, using multiple " "calls to the stream if necessary." msgstr "" -#: ../Doc/library/io.rst:406 +#: ../Doc/library/io.rst:404 msgid "" "Read bytes into a pre-allocated, writable :term:`bytes-like object` *b*, and " -"return the number of bytes read. If the object is in non-blocking mode and " -"no bytes are available, ``None`` is returned." +"return the number of bytes read. For example, *b* might be a :class:" +"`bytearray`. If the object is in non-blocking mode and no bytes are " +"available, ``None`` is returned." msgstr "" -#: ../Doc/library/io.rst:413 +#: ../Doc/library/io.rst:412 msgid "" "Write the given :term:`bytes-like object`, *b*, to the underlying raw " "stream, and return the number of bytes written. This can be less than the " @@ -600,13 +599,13 @@ msgid "" "the implementation should only access *b* during the method call." msgstr "" -#: ../Doc/library/io.rst:426 +#: ../Doc/library/io.rst:425 msgid "" "Base class for binary streams that support some kind of buffering. It " "inherits :class:`IOBase`. There is no public constructor." msgstr "" -#: ../Doc/library/io.rst:429 +#: ../Doc/library/io.rst:428 msgid "" "The main difference with :class:`RawIOBase` is that methods :meth:`read`, :" "meth:`readinto` and :meth:`write` will try (respectively) to read as much " @@ -614,7 +613,7 @@ msgid "" "perhaps more than one system call." msgstr "" -#: ../Doc/library/io.rst:434 +#: ../Doc/library/io.rst:433 msgid "" "In addition, those methods can raise :exc:`BlockingIOError` if the " "underlying raw stream is in non-blocking mode and cannot take or give enough " @@ -622,55 +621,55 @@ msgid "" "``None``." msgstr "" -#: ../Doc/library/io.rst:439 +#: ../Doc/library/io.rst:438 msgid "" "Besides, the :meth:`read` method does not have a default implementation that " "defers to :meth:`readinto`." msgstr "" -#: ../Doc/library/io.rst:442 +#: ../Doc/library/io.rst:441 msgid "" "A typical :class:`BufferedIOBase` implementation should not inherit from a :" "class:`RawIOBase` implementation, but wrap one, like :class:`BufferedWriter` " "and :class:`BufferedReader` do." msgstr "" -#: ../Doc/library/io.rst:446 +#: ../Doc/library/io.rst:445 msgid "" ":class:`BufferedIOBase` provides or overrides these methods and attribute in " "addition to those from :class:`IOBase`:" msgstr "" -#: ../Doc/library/io.rst:451 +#: ../Doc/library/io.rst:450 msgid "" "The underlying raw stream (a :class:`RawIOBase` instance) that :class:" "`BufferedIOBase` deals with. This is not part of the :class:" "`BufferedIOBase` API and may not exist on some implementations." msgstr "" -#: ../Doc/library/io.rst:457 +#: ../Doc/library/io.rst:456 msgid "Separate the underlying raw stream from the buffer and return it." msgstr "" -#: ../Doc/library/io.rst:459 +#: ../Doc/library/io.rst:458 msgid "" "After the raw stream has been detached, the buffer is in an unusable state." msgstr "" -#: ../Doc/library/io.rst:462 +#: ../Doc/library/io.rst:461 msgid "" "Some buffers, like :class:`BytesIO`, do not have the concept of a single raw " "stream to return from this method. They raise :exc:`UnsupportedOperation`." msgstr "" -#: ../Doc/library/io.rst:470 +#: ../Doc/library/io.rst:469 msgid "" "Read and return up to *size* bytes. If the argument is omitted, ``None``, " "or negative, data is read and returned until EOF is reached. An empty :" "class:`bytes` object is returned if the stream is already at EOF." msgstr "" -#: ../Doc/library/io.rst:474 +#: ../Doc/library/io.rst:473 msgid "" "If the argument is positive, and the underlying raw stream is not " "interactive, multiple raw reads may be issued to satisfy the byte count " @@ -679,14 +678,14 @@ msgid "" "imminent." msgstr "" -#: ../Doc/library/io.rst:480 ../Doc/library/io.rst:502 +#: ../Doc/library/io.rst:479 ../Doc/library/io.rst:502 #: ../Doc/library/io.rst:512 msgid "" "A :exc:`BlockingIOError` is raised if the underlying raw stream is in non " "blocking-mode, and has no data available at the moment." msgstr "" -#: ../Doc/library/io.rst:485 +#: ../Doc/library/io.rst:484 msgid "" "Read and return up to *size* bytes, with at most one call to the underlying " "raw stream's :meth:`~RawIOBase.read` (or :meth:`~RawIOBase.readinto`) " @@ -694,16 +693,17 @@ msgid "" "top of a :class:`BufferedIOBase` object." msgstr "" -#: ../Doc/library/io.rst:491 +#: ../Doc/library/io.rst:490 msgid "" "If *size* is ``-1`` (the default), an arbitrary number of bytes are returned " "(more than zero unless EOF is reached)." msgstr "" -#: ../Doc/library/io.rst:496 +#: ../Doc/library/io.rst:495 msgid "" "Read bytes into a pre-allocated, writable :term:`bytes-like object` *b* and " -"return the number of bytes read." +"return the number of bytes read. For example, *b* might be a :class:" +"`bytearray`." msgstr "" #: ../Doc/library/io.rst:499 @@ -1043,131 +1043,130 @@ msgstr "" #: ../Doc/library/io.rst:759 msgid "" "Base class for text streams. This class provides a character and line based " -"interface to stream I/O. There is no :meth:`readinto` method because " -"Python's character strings are immutable. It inherits :class:`IOBase`. " -"There is no public constructor." +"interface to stream I/O. It inherits :class:`IOBase`. There is no public " +"constructor." msgstr "" -#: ../Doc/library/io.rst:764 +#: ../Doc/library/io.rst:763 msgid "" ":class:`TextIOBase` provides or overrides these data attributes and methods " "in addition to those from :class:`IOBase`:" msgstr "" -#: ../Doc/library/io.rst:769 +#: ../Doc/library/io.rst:768 msgid "" "The name of the encoding used to decode the stream's bytes into strings, and " "to encode strings into bytes." msgstr "" -#: ../Doc/library/io.rst:774 +#: ../Doc/library/io.rst:773 msgid "The error setting of the decoder or encoder." msgstr "" -#: ../Doc/library/io.rst:778 +#: ../Doc/library/io.rst:777 msgid "" "A string, a tuple of strings, or ``None``, indicating the newlines " "translated so far. Depending on the implementation and the initial " "constructor flags, this may not be available." msgstr "" -#: ../Doc/library/io.rst:784 +#: ../Doc/library/io.rst:783 msgid "" "The underlying binary buffer (a :class:`BufferedIOBase` instance) that :" "class:`TextIOBase` deals with. This is not part of the :class:`TextIOBase` " "API and may not exist in some implementations." msgstr "" -#: ../Doc/library/io.rst:790 +#: ../Doc/library/io.rst:789 msgid "" "Separate the underlying binary buffer from the :class:`TextIOBase` and " "return it." msgstr "" -#: ../Doc/library/io.rst:793 +#: ../Doc/library/io.rst:792 msgid "" "After the underlying buffer has been detached, the :class:`TextIOBase` is in " "an unusable state." msgstr "" -#: ../Doc/library/io.rst:796 +#: ../Doc/library/io.rst:795 msgid "" "Some :class:`TextIOBase` implementations, like :class:`StringIO`, may not " "have the concept of an underlying buffer and calling this method will raise :" "exc:`UnsupportedOperation`." msgstr "" -#: ../Doc/library/io.rst:804 +#: ../Doc/library/io.rst:803 msgid "" "Read and return at most *size* characters from the stream as a single :class:" "`str`. If *size* is negative or ``None``, reads until EOF." msgstr "" -#: ../Doc/library/io.rst:809 +#: ../Doc/library/io.rst:808 msgid "" "Read until newline or EOF and return a single ``str``. If the stream is " "already at EOF, an empty string is returned." msgstr "" -#: ../Doc/library/io.rst:812 +#: ../Doc/library/io.rst:811 msgid "If *size* is specified, at most *size* characters will be read." msgstr "" -#: ../Doc/library/io.rst:816 +#: ../Doc/library/io.rst:815 msgid "" "Change the stream position to the given *offset*. Behaviour depends on the " "*whence* parameter. The default value for *whence* is :data:`SEEK_SET`." msgstr "" -#: ../Doc/library/io.rst:820 +#: ../Doc/library/io.rst:819 msgid "" ":data:`SEEK_SET` or ``0``: seek from the start of the stream (the default); " "*offset* must either be a number returned by :meth:`TextIOBase.tell`, or " "zero. Any other *offset* value produces undefined behaviour." msgstr "" -#: ../Doc/library/io.rst:824 +#: ../Doc/library/io.rst:823 msgid "" ":data:`SEEK_CUR` or ``1``: \"seek\" to the current position; *offset* must " "be zero, which is a no-operation (all other values are unsupported)." msgstr "" -#: ../Doc/library/io.rst:827 +#: ../Doc/library/io.rst:826 msgid "" ":data:`SEEK_END` or ``2``: seek to the end of the stream; *offset* must be " "zero (all other values are unsupported)." msgstr "" -#: ../Doc/library/io.rst:830 +#: ../Doc/library/io.rst:829 msgid "Return the new absolute position as an opaque number." msgstr "" -#: ../Doc/library/io.rst:837 +#: ../Doc/library/io.rst:836 msgid "" "Return the current stream position as an opaque number. The number does not " "usually represent a number of bytes in the underlying binary storage." msgstr "" -#: ../Doc/library/io.rst:843 +#: ../Doc/library/io.rst:842 msgid "" "Write the string *s* to the stream and return the number of characters " "written." msgstr "" -#: ../Doc/library/io.rst:850 +#: ../Doc/library/io.rst:849 msgid "" "A buffered text stream over a :class:`BufferedIOBase` binary stream. It " "inherits :class:`TextIOBase`." msgstr "" -#: ../Doc/library/io.rst:853 +#: ../Doc/library/io.rst:852 msgid "" "*encoding* gives the name of the encoding that the stream will be decoded or " "encoded with. It defaults to :func:`locale.getpreferredencoding(False) " "`." msgstr "" -#: ../Doc/library/io.rst:857 +#: ../Doc/library/io.rst:856 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled. Pass ``'strict'`` to raise a :exc:`ValueError` " @@ -1182,13 +1181,13 @@ msgid "" "that has been registered with :func:`codecs.register_error` is also valid." msgstr "" -#: ../Doc/library/io.rst:873 +#: ../Doc/library/io.rst:872 msgid "" "*newline* controls how line endings are handled. It can be ``None``, " "``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as follows:" msgstr "" -#: ../Doc/library/io.rst:876 +#: ../Doc/library/io.rst:875 msgid "" "When reading input from the stream, if *newline* is ``None``, :term:" "`universal newlines` mode is enabled. Lines in the input can end in " @@ -1207,7 +1206,7 @@ msgstr "" "autre valeur autorisée, les lignes sont seulement terminées par la chaîne " "donnée, qui est rendue tel qu'elle." -#: ../Doc/library/io.rst:885 +#: ../Doc/library/io.rst:884 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -1221,24 +1220,24 @@ msgstr "" "*newline* est un autre caractère valide, chaque ``'\\n'`` sera remplacé par " "la chaîne donnée." -#: ../Doc/library/io.rst:891 +#: ../Doc/library/io.rst:890 msgid "" "If *line_buffering* is ``True``, :meth:`flush` is implied when a call to " "write contains a newline character or a carriage return." msgstr "" -#: ../Doc/library/io.rst:894 +#: ../Doc/library/io.rst:893 msgid "" "If *write_through* is ``True``, calls to :meth:`write` are guaranteed not to " "be buffered: any data written on the :class:`TextIOWrapper` object is " "immediately handled to its underlying binary *buffer*." msgstr "" -#: ../Doc/library/io.rst:898 +#: ../Doc/library/io.rst:897 msgid "The *write_through* argument has been added." msgstr "" -#: ../Doc/library/io.rst:901 +#: ../Doc/library/io.rst:900 msgid "" "The default *encoding* is now ``locale.getpreferredencoding(False)`` instead " "of ``locale.getpreferredencoding()``. Don't change temporary the locale " @@ -1246,58 +1245,58 @@ msgid "" "instead of the user preferred encoding." msgstr "" -#: ../Doc/library/io.rst:907 +#: ../Doc/library/io.rst:906 msgid "" ":class:`TextIOWrapper` provides these members in addition to those of :class:" "`TextIOBase` and its parents:" msgstr "" -#: ../Doc/library/io.rst:912 +#: ../Doc/library/io.rst:911 msgid "Whether line buffering is enabled." msgstr "" -#: ../Doc/library/io.rst:916 +#: ../Doc/library/io.rst:915 msgid "Whether writes are passed immediately to the underlying binary buffer." msgstr "" -#: ../Doc/library/io.rst:924 +#: ../Doc/library/io.rst:923 msgid "" "Reconfigure this text stream using new settings for *encoding*, *errors*, " "*newline*, *line_buffering* and *write_through*." msgstr "" -#: ../Doc/library/io.rst:927 +#: ../Doc/library/io.rst:926 msgid "" "Parameters not specified keep current settings, except ``errors='strict`` is " "used when *encoding* is specified but *errors* is not specified." msgstr "" -#: ../Doc/library/io.rst:931 +#: ../Doc/library/io.rst:930 msgid "" "It is not possible to change the encoding or newline if some data has " "already been read from the stream. On the other hand, changing encoding " "after write is possible." msgstr "" -#: ../Doc/library/io.rst:935 +#: ../Doc/library/io.rst:934 msgid "" "This method does an implicit stream flush before setting the new parameters." msgstr "" -#: ../Doc/library/io.rst:943 +#: ../Doc/library/io.rst:942 msgid "" "An in-memory stream for text I/O. The text buffer is discarded when the :" "meth:`~IOBase.close` method is called." msgstr "" -#: ../Doc/library/io.rst:946 +#: ../Doc/library/io.rst:945 msgid "" "The initial value of the buffer can be set by providing *initial_value*. If " "newline translation is enabled, newlines will be encoded as if by :meth:" "`~TextIOBase.write`. The stream is positioned at the start of the buffer." msgstr "" -#: ../Doc/library/io.rst:951 +#: ../Doc/library/io.rst:950 msgid "" "The *newline* argument works like that of :class:`TextIOWrapper`. The " "default is to consider only ``\\n`` characters as ends of lines and to do no " @@ -1306,40 +1305,40 @@ msgid "" "performed when reading." msgstr "" -#: ../Doc/library/io.rst:957 +#: ../Doc/library/io.rst:956 msgid "" ":class:`StringIO` provides this method in addition to those from :class:" "`TextIOBase` and its parents:" msgstr "" -#: ../Doc/library/io.rst:962 +#: ../Doc/library/io.rst:961 msgid "" "Return a ``str`` containing the entire contents of the buffer. Newlines are " "decoded as if by :meth:`~TextIOBase.read`, although the stream position is " "not changed." msgstr "" -#: ../Doc/library/io.rst:966 +#: ../Doc/library/io.rst:965 msgid "Example usage::" msgstr "" -#: ../Doc/library/io.rst:988 +#: ../Doc/library/io.rst:987 msgid "" "A helper codec that decodes newlines for :term:`universal newlines` mode. It " "inherits :class:`codecs.IncrementalDecoder`." msgstr "" -#: ../Doc/library/io.rst:993 +#: ../Doc/library/io.rst:992 msgid "Performance" msgstr "" -#: ../Doc/library/io.rst:995 +#: ../Doc/library/io.rst:994 msgid "" "This section discusses the performance of the provided concrete I/O " "implementations." msgstr "" -#: ../Doc/library/io.rst:1001 +#: ../Doc/library/io.rst:1000 msgid "" "By reading and writing only large chunks of data even when the user asks for " "a single byte, buffered I/O hides any inefficiency in calling and executing " @@ -1352,7 +1351,7 @@ msgid "" "data." msgstr "" -#: ../Doc/library/io.rst:1013 +#: ../Doc/library/io.rst:1012 msgid "" "Text I/O over a binary storage (such as a file) is significantly slower than " "binary I/O over the same storage, because it requires conversions between " @@ -1362,23 +1361,23 @@ msgid "" "to the reconstruction algorithm used." msgstr "" -#: ../Doc/library/io.rst:1020 +#: ../Doc/library/io.rst:1019 msgid "" ":class:`StringIO`, however, is a native in-memory unicode container and will " "exhibit similar speed to :class:`BytesIO`." msgstr "" -#: ../Doc/library/io.rst:1024 +#: ../Doc/library/io.rst:1023 msgid "Multi-threading" msgstr "Fils d'exécution" -#: ../Doc/library/io.rst:1026 +#: ../Doc/library/io.rst:1025 msgid "" ":class:`FileIO` objects are thread-safe to the extent that the operating " "system calls (such as ``read(2)`` under Unix) they wrap are thread-safe too." msgstr "" -#: ../Doc/library/io.rst:1029 +#: ../Doc/library/io.rst:1028 msgid "" "Binary buffered objects (instances of :class:`BufferedReader`, :class:" "`BufferedWriter`, :class:`BufferedRandom` and :class:`BufferedRWPair`) " @@ -1386,15 +1385,15 @@ msgid "" "them from multiple threads at once." msgstr "" -#: ../Doc/library/io.rst:1034 +#: ../Doc/library/io.rst:1033 msgid ":class:`TextIOWrapper` objects are not thread-safe." msgstr "" -#: ../Doc/library/io.rst:1037 +#: ../Doc/library/io.rst:1036 msgid "Reentrancy" msgstr "" -#: ../Doc/library/io.rst:1039 +#: ../Doc/library/io.rst:1038 msgid "" "Binary buffered objects (instances of :class:`BufferedReader`, :class:" "`BufferedWriter`, :class:`BufferedRandom` and :class:`BufferedRWPair`) are " @@ -1405,7 +1404,7 @@ msgid "" "from entering the buffered object." msgstr "" -#: ../Doc/library/io.rst:1047 +#: ../Doc/library/io.rst:1046 msgid "" "The above implicitly extends to text files, since the :func:`open()` " "function will wrap a buffered object inside a :class:`TextIOWrapper`. This " diff --git a/library/operator.po b/library/operator.po index d9d22222..1822ea88 100644 --- a/library/operator.po +++ b/library/operator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-18 10:21+0200\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-12-11 22:46+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -781,7 +781,7 @@ msgid "``gt(a, b)``" msgstr "``gt(a, b)``" #: ../Doc/library/operator.rst:442 -msgid "Inplace Operators" +msgid "In-place Operators" msgstr "Opérateurs en-place" #: ../Doc/library/operator.rst:444 @@ -824,7 +824,7 @@ msgstr "" #: ../Doc/library/operator.rst:465 msgid "" -"For mutable targets such as lists and dictionaries, the inplace method will " +"For mutable targets such as lists and dictionaries, the in-place method will " "perform the update, so no subsequent assignment is necessary:" msgstr "" "Pour des paramètres mutables comme les listes et les dictionnaires, la " diff --git a/library/queue.po b/library/queue.po index 98979dd8..dca0fa56 100644 --- a/library/queue.po +++ b/library/queue.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-04 19:04+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/ssl.po b/library/ssl.po index ff3eacf0..3038fa43 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-11-29 18:27+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/library/stdtypes.po b/library/stdtypes.po index d5e99618..f4a9f09f 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -5,9 +5,9 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-24 14:22+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-19 23:31+0100\n" -"Last-Translator: Julien Palard \n" +"Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" diff --git a/library/subprocess.po b/library/subprocess.po index e3ba522a..6f45d80f 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-02-27 12:00+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" diff --git a/library/sys.po b/library/sys.po index c4f33f04..a0203291 100644 --- a/library/sys.po +++ b/library/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-11 12:59+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-28 11:21+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -61,7 +61,15 @@ msgstr "" "Pour boucler sur l'entrée standard, ou la liste des fichiers donnés sur la " "ligne de commande, utilisez le module :mod:`fileinput`." -#: ../Doc/library/sys.rst:36 +#: ../Doc/library/sys.rst:34 +msgid "" +"On Unix, command line arguments are passed by bytes from OS. Python decodes " +"them with filesystem encoding and \"surrogateescape\" error handler. When " +"you need original bytes, you can get it by ``[os.fsencode(arg) for arg in " +"sys.argv]``." +msgstr "" + +#: ../Doc/library/sys.rst:42 msgid "" "Set during Python startup, before ``site.py`` is run, to the same value as :" "data:`exec_prefix`. If not running in a :ref:`virtual environment `, " @@ -99,7 +107,7 @@ msgstr "" "à la racine de l'installation de Python (celui utilisé pour créer " "l'environnement virtuel)." -#: ../Doc/library/sys.rst:63 +#: ../Doc/library/sys.rst:69 msgid "" "An indicator of the native byte order. This will have the value ``'big'`` " "on big-endian (most-significant byte first) platforms, and ``'little'`` on " @@ -110,7 +118,7 @@ msgstr "" "``'little'`` sur les plateformes petit-boutiste (octet le moins significatif " "en premier)." -#: ../Doc/library/sys.rst:70 +#: ../Doc/library/sys.rst:76 msgid "" "A tuple of strings giving the names of all modules that are compiled into " "this Python interpreter. (This information is not available in any other " @@ -121,7 +129,7 @@ msgstr "" "disponible autrement --- ```modules.keys()`` liste seulement les modules " "importés.)" -#: ../Doc/library/sys.rst:77 +#: ../Doc/library/sys.rst:83 msgid "" "Call ``func(*args)``, while tracing is enabled. The tracing state is saved, " "and restored afterwards. This is intended to be called from a debugger from " @@ -132,11 +140,11 @@ msgstr "" "un débogueur à partir d'un point de contrôle, pour déboguer récursivement un " "autre code." -#: ../Doc/library/sys.rst:84 +#: ../Doc/library/sys.rst:90 msgid "A string containing the copyright pertaining to the Python interpreter." msgstr "Une chaîne contenant le copyright relatif à l'interpréteur Python." -#: ../Doc/library/sys.rst:89 +#: ../Doc/library/sys.rst:95 msgid "" "Clear the internal type cache. The type cache is used to speed up attribute " "and method lookups. Use the function *only* to drop unnecessary references " @@ -147,14 +155,14 @@ msgstr "" "pour libérer des références inutiles durant le débogage de fuite de " "référence." -#: ../Doc/library/sys.rst:93 ../Doc/library/sys.rst:109 +#: ../Doc/library/sys.rst:99 ../Doc/library/sys.rst:115 msgid "" "This function should be used for internal and specialized purposes only." msgstr "" "Cette fonction ne devrait être utilisée que pour un usage interne et " "spécialisé." -#: ../Doc/library/sys.rst:98 +#: ../Doc/library/sys.rst:104 msgid "" "Return a dictionary mapping each thread's identifier to the topmost stack " "frame currently active in that thread at the time the function is called. " @@ -166,7 +174,7 @@ msgstr "" "au moment où la fonction est appelée. Notez que les fonctions du module :mod:" "`traceback` peuvent construire une *call stack* à partir d'une telle *frame*." -#: ../Doc/library/sys.rst:103 +#: ../Doc/library/sys.rst:109 msgid "" "This is most useful for debugging deadlock: this function does not require " "the deadlocked threads' cooperation, and such threads' call stacks are " @@ -181,7 +189,7 @@ msgstr "" "l'activité courante du fil d'exécution au moment où le code appelant examine " "la *frame*." -#: ../Doc/library/sys.rst:114 +#: ../Doc/library/sys.rst:120 msgid "" "This hook function is called by built-in :func:`breakpoint`. By default, it " "drops you into the :mod:`pdb` debugger, but it can be set to any other " @@ -192,7 +200,7 @@ msgstr "" "débogueur :mod:`pdb`, mais elle peut être dirigée vers n'importe quelle " "autre fonction pour que vous puissiez choisir le débogueur utilisé." -#: ../Doc/library/sys.rst:118 +#: ../Doc/library/sys.rst:124 msgid "" "The signature of this function is dependent on what it calls. For example, " "the default binding (e.g. ``pdb.set_trace()``) expects no arguments, but you " @@ -208,7 +216,7 @@ msgstr "" "`breakpoint()` passe ses ``*args`` et ``**kws`` directement au travers. Tout " "ce que renvoie ``breakpointhooks()`` est renvoyé par ``breakpoint()``." -#: ../Doc/library/sys.rst:125 +#: ../Doc/library/sys.rst:131 msgid "" "The default implementation first consults the environment variable :envvar:" "`PYTHONBREAKPOINT`. If that is set to ``\"0\"`` then this function returns " @@ -233,7 +241,7 @@ msgstr "" "quoique renvoie ``function()``, ``sys.breakpointhook()`` retourne à la " "fonction native :func:`breakpoint`." -#: ../Doc/library/sys.rst:137 +#: ../Doc/library/sys.rst:143 msgid "" "Note that if anything goes wrong while importing the callable named by :" "envvar:`PYTHONBREAKPOINT`, a :exc:`RuntimeWarning` is reported and the " @@ -243,7 +251,7 @@ msgstr "" "nommée dans :envvar:`PYTHONBREAKPOINT`, une alerte :exc:`RuntimeWarning` est " "indiquée et le point d'arrêt est ignoré." -#: ../Doc/library/sys.rst:141 +#: ../Doc/library/sys.rst:147 msgid "" "Also note that if ``sys.breakpointhook()`` is overridden programmatically, :" "envvar:`PYTHONBREAKPOINT` is *not* consulted." @@ -251,7 +259,7 @@ msgstr "" "Notez également que si ``sys.breakpointhook()`` est surchargé de manière " "programmatique, :envvar:`PYTHONBREAKPOINT` *n'est pas* consulté." -#: ../Doc/library/sys.rst:148 +#: ../Doc/library/sys.rst:154 msgid "" "Print low-level information to stderr about the state of CPython's memory " "allocator." @@ -259,7 +267,7 @@ msgstr "" "Affiche des informations bas-niveau sur la sortie d'erreur à propos de " "l'état de l'allocateur de mémoire de CPython." -#: ../Doc/library/sys.rst:151 +#: ../Doc/library/sys.rst:157 msgid "" "If Python is configured --with-pydebug, it also performs some expensive " "internal consistency checks." @@ -267,7 +275,7 @@ msgstr "" "Si Python est configuré avec l'option *--with-pydebug*, il effectuera aussi " "quelques coûteuses vérifications de cohérence interne." -#: ../Doc/library/sys.rst:158 +#: ../Doc/library/sys.rst:164 msgid "" "This function is specific to CPython. The exact output format is not " "defined here, and may change." @@ -275,16 +283,16 @@ msgstr "" "Cette fonction est spécifique à CPython. Le format de sa sortie n'est pas " "définit ici et pourrait changer." -#: ../Doc/library/sys.rst:164 +#: ../Doc/library/sys.rst:170 msgid "Integer specifying the handle of the Python DLL." msgstr "Nombre entier spécifiant le descripteur de la DLL Python." -#: ../Doc/library/sys.rst:166 ../Doc/library/sys.rst:657 -#: ../Doc/library/sys.rst:1330 ../Doc/library/sys.rst:1494 +#: ../Doc/library/sys.rst:172 ../Doc/library/sys.rst:663 +#: ../Doc/library/sys.rst:1336 ../Doc/library/sys.rst:1500 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." -#: ../Doc/library/sys.rst:171 +#: ../Doc/library/sys.rst:177 msgid "" "If *value* is not ``None``, this function prints ``repr(value)`` to ``sys." "stdout``, and saves *value* in ``builtins._``. If ``repr(value)`` is not " @@ -299,7 +307,7 @@ msgstr "" "``'strict'``), elle sera encodée par ``sys.stdout.encoding`` avec le " "gestionnaire d'erreur ``'backslashreplace'``." -#: ../Doc/library/sys.rst:177 +#: ../Doc/library/sys.rst:183 msgid "" "``sys.displayhook`` is called on the result of evaluating an :term:" "`expression` entered in an interactive Python session. The display of these " @@ -311,17 +319,17 @@ msgstr "" "valeurs peut être personnalisé en assignant une autre fonction d'un argument " "à ``sys.displayhook``." -#: ../Doc/library/sys.rst:181 +#: ../Doc/library/sys.rst:187 msgid "Pseudo-code::" msgstr "Pseudo-code ::" -#: ../Doc/library/sys.rst:201 +#: ../Doc/library/sys.rst:207 msgid "Use ``'backslashreplace'`` error handler on :exc:`UnicodeEncodeError`." msgstr "" "Utiliser le gestionnaire d'erreur ``'backslashreplace'`` en cas d':exc:" "`UnicodeEncodeError`." -#: ../Doc/library/sys.rst:207 +#: ../Doc/library/sys.rst:213 msgid "" "If this is true, Python won't try to write ``.pyc`` files on the import of " "source modules. This value is initially set to ``True`` or ``False`` " @@ -336,14 +344,14 @@ msgstr "" "pouvez aussi la modifier vous-même pour contrôler la génération des fichiers " "de *bytecode*." -#: ../Doc/library/sys.rst:216 +#: ../Doc/library/sys.rst:222 msgid "" "This function prints out a given traceback and exception to ``sys.stderr``." msgstr "" "Cette fonction affiche la *traceback* et l'exception donnée sur ``sys." "stderr``." -#: ../Doc/library/sys.rst:218 +#: ../Doc/library/sys.rst:224 msgid "" "When an exception is raised and uncaught, the interpreter calls ``sys." "excepthook`` with three arguments, the exception class, exception instance, " @@ -361,7 +369,7 @@ msgstr "" "quitte. La gestion de ces exceptions peut être personnalisé en affectant une " "autre fonction de trois arguments à ``sys.excepthook``." -#: ../Doc/library/sys.rst:230 +#: ../Doc/library/sys.rst:236 msgid "" "These objects contain the original values of ``breakpointhook``, " "``displayhook``, and ``excepthook`` at the start of the program. They are " @@ -375,11 +383,11 @@ msgstr "" "``excepthook`` puissent être restaurés au cas où ils seraient remplacés par " "des objets cassés ou alternatifs." -#: ../Doc/library/sys.rst:236 +#: ../Doc/library/sys.rst:242 msgid "__breakpointhook__" msgstr "__breakpointhook__" -#: ../Doc/library/sys.rst:242 +#: ../Doc/library/sys.rst:248 msgid "" "This function returns a tuple of three values that give information about " "the exception that is currently being handled. The information returned is " @@ -400,7 +408,7 @@ msgstr "" "*except*\". Pour chaque *stack frame*, seule l'information à propos d'une " "exception actuellement traitée est accessible." -#: ../Doc/library/sys.rst:253 +#: ../Doc/library/sys.rst:259 msgid "" "If no exception is being handled anywhere on the stack, a tuple containing " "three ``None`` values is returned. Otherwise, the values returned are " @@ -419,7 +427,7 @@ msgstr "" "encapsule la pile d'appels au point où l'exception s'est produite à " "l'origine." -#: ../Doc/library/sys.rst:264 +#: ../Doc/library/sys.rst:270 msgid "" "A string giving the site-specific directory prefix where the platform-" "dependent Python files are installed; by default, this is also ``'/usr/" @@ -440,7 +448,7 @@ msgstr "" "python{X.Y}/lib-dynload`, où *X.Y* est le numéro de version de Python, par " "exemple ``3.2``." -#: ../Doc/library/sys.rst:275 +#: ../Doc/library/sys.rst:281 msgid "" "If a :ref:`virtual environment ` is in effect, this value will be " "changed in ``site.py`` to point to the virtual environment. The value for " @@ -451,7 +459,7 @@ msgstr "" "modifiée par ``site.py`` pour pointer vers l'environnement virtuel. La " "valeur d'origine sera toujours disponible via :data:`base_exec_prefix`." -#: ../Doc/library/sys.rst:283 +#: ../Doc/library/sys.rst:289 msgid "" "A string giving the absolute path of the executable binary for the Python " "interpreter, on systems where this makes sense. If Python is unable to " @@ -463,7 +471,7 @@ msgstr "" "n'est pas capable de récupérer le chemin réel de son exécutable, :data:`sys." "executable` sera une chaîne vide ou ``None``." -#: ../Doc/library/sys.rst:291 +#: ../Doc/library/sys.rst:297 msgid "" "Exit from Python. This is implemented by raising the :exc:`SystemExit` " "exception, so cleanup actions specified by finally clauses of :keyword:`try` " @@ -476,7 +484,7 @@ msgstr "" "est aussi possible d'intercepter la tentative de sortie à un niveau au " "dessus." -#: ../Doc/library/sys.rst:296 +#: ../Doc/library/sys.rst:302 msgid "" "The optional argument *arg* can be an integer giving the exit status " "(defaulting to zero), or another type of object. If it is an integer, zero " @@ -505,7 +513,7 @@ msgstr "" "1. Typiquement, ``sys.exit(\"some error message\")`` est un moyen rapide de " "quitter un programme en cas d'erreur." -#: ../Doc/library/sys.rst:309 +#: ../Doc/library/sys.rst:315 msgid "" "Since :func:`exit` ultimately \"only\" raises an exception, it will only " "exit the process when called from the main thread, and the exception is not " @@ -515,7 +523,7 @@ msgstr "" "ne fera quitter le processus que si elle est appelée depuis le fil " "d'exécution principal, et que l'exception n'est pas interceptée." -#: ../Doc/library/sys.rst:313 +#: ../Doc/library/sys.rst:319 msgid "" "If an error occurs in the cleanup after the Python interpreter has caught :" "exc:`SystemExit` (such as an error flushing buffered data in the standard " @@ -525,7 +533,7 @@ msgstr "" "intercepté un :exc:`SystemExit` (typiquement une erreur en vidant les " "tampons des sorties standard), le code de sortie est changé à 120." -#: ../Doc/library/sys.rst:321 +#: ../Doc/library/sys.rst:327 msgid "" "The :term:`struct sequence` *flags* exposes the status of command line " "flags. The attributes are read only." @@ -533,149 +541,149 @@ msgstr "" "La :term:`struct sequence` *flags* expose l'état des options de ligne de " "commande. Ces attributs sont en lecture seule." -#: ../Doc/library/sys.rst:325 ../Doc/library/sys.rst:373 -#: ../Doc/library/sys.rst:718 +#: ../Doc/library/sys.rst:331 ../Doc/library/sys.rst:379 +#: ../Doc/library/sys.rst:724 msgid "attribute" msgstr "attribut" -#: ../Doc/library/sys.rst:325 +#: ../Doc/library/sys.rst:331 msgid "flag" msgstr "option" -#: ../Doc/library/sys.rst:327 +#: ../Doc/library/sys.rst:333 msgid ":const:`debug`" msgstr ":const:`debug`" -#: ../Doc/library/sys.rst:327 +#: ../Doc/library/sys.rst:333 msgid ":option:`-d`" msgstr ":option:`-d`" -#: ../Doc/library/sys.rst:328 +#: ../Doc/library/sys.rst:334 msgid ":const:`inspect`" msgstr ":const:`inspect`" -#: ../Doc/library/sys.rst:328 ../Doc/library/sys.rst:329 +#: ../Doc/library/sys.rst:334 ../Doc/library/sys.rst:335 msgid ":option:`-i`" msgstr ":option:`-i`" -#: ../Doc/library/sys.rst:329 +#: ../Doc/library/sys.rst:335 msgid ":const:`interactive`" msgstr ":const:`interactive`" -#: ../Doc/library/sys.rst:330 +#: ../Doc/library/sys.rst:336 msgid ":const:`isolated`" msgstr ":const:`isolated`" -#: ../Doc/library/sys.rst:330 +#: ../Doc/library/sys.rst:336 msgid ":option:`-I`" msgstr ":option:`-I`" -#: ../Doc/library/sys.rst:331 +#: ../Doc/library/sys.rst:337 msgid ":const:`optimize`" msgstr ":const:`optimize`" -#: ../Doc/library/sys.rst:331 +#: ../Doc/library/sys.rst:337 msgid ":option:`-O` or :option:`-OO`" msgstr ":option:`-O` or :option:`-OO`" -#: ../Doc/library/sys.rst:332 +#: ../Doc/library/sys.rst:338 msgid ":const:`dont_write_bytecode`" msgstr ":const:`dont_write_bytecode`" -#: ../Doc/library/sys.rst:332 +#: ../Doc/library/sys.rst:338 msgid ":option:`-B`" msgstr ":option:`-B`" -#: ../Doc/library/sys.rst:333 +#: ../Doc/library/sys.rst:339 msgid ":const:`no_user_site`" msgstr ":const:`no_user_site`" -#: ../Doc/library/sys.rst:333 +#: ../Doc/library/sys.rst:339 msgid ":option:`-s`" msgstr ":option:`-s`" -#: ../Doc/library/sys.rst:334 +#: ../Doc/library/sys.rst:340 msgid ":const:`no_site`" msgstr ":const:`no_site`" -#: ../Doc/library/sys.rst:334 +#: ../Doc/library/sys.rst:340 msgid ":option:`-S`" msgstr ":option:`-S`" -#: ../Doc/library/sys.rst:335 +#: ../Doc/library/sys.rst:341 msgid ":const:`ignore_environment`" msgstr ":const:`ignore_environment`" -#: ../Doc/library/sys.rst:335 +#: ../Doc/library/sys.rst:341 msgid ":option:`-E`" msgstr ":option:`-E`" -#: ../Doc/library/sys.rst:336 +#: ../Doc/library/sys.rst:342 msgid ":const:`verbose`" msgstr ":const:`verbose`" -#: ../Doc/library/sys.rst:336 +#: ../Doc/library/sys.rst:342 msgid ":option:`-v`" msgstr ":option:`-v`" -#: ../Doc/library/sys.rst:337 +#: ../Doc/library/sys.rst:343 msgid ":const:`bytes_warning`" msgstr ":const:`bytes_warning`" -#: ../Doc/library/sys.rst:337 +#: ../Doc/library/sys.rst:343 msgid ":option:`-b`" msgstr ":option:`-b`" -#: ../Doc/library/sys.rst:338 +#: ../Doc/library/sys.rst:344 msgid ":const:`quiet`" msgstr ":const:`quiet`" -#: ../Doc/library/sys.rst:338 +#: ../Doc/library/sys.rst:344 msgid ":option:`-q`" msgstr ":option:`-q`" -#: ../Doc/library/sys.rst:339 +#: ../Doc/library/sys.rst:345 msgid ":const:`hash_randomization`" msgstr ":const:`hash_randomization`" -#: ../Doc/library/sys.rst:339 +#: ../Doc/library/sys.rst:345 msgid ":option:`-R`" msgstr ":option:`-R`" -#: ../Doc/library/sys.rst:340 +#: ../Doc/library/sys.rst:346 msgid ":const:`dev_mode`" msgstr ":const:`dev_mode`" -#: ../Doc/library/sys.rst:340 +#: ../Doc/library/sys.rst:346 msgid ":option:`-X` ``dev``" msgstr ":option:`-X` ``dev``" -#: ../Doc/library/sys.rst:341 +#: ../Doc/library/sys.rst:347 msgid ":const:`utf8_mode`" msgstr ":const:`utf8_mode`" -#: ../Doc/library/sys.rst:341 +#: ../Doc/library/sys.rst:347 msgid ":option:`-X` ``utf8``" msgstr ":option:`-X` ``utf8``" -#: ../Doc/library/sys.rst:344 +#: ../Doc/library/sys.rst:350 msgid "Added ``quiet`` attribute for the new :option:`-q` flag." msgstr "Ajout de l'attribut ``quiet`` pour la nouvelle option :option:`-q`." -#: ../Doc/library/sys.rst:347 +#: ../Doc/library/sys.rst:353 msgid "The ``hash_randomization`` attribute." msgstr "L'attribut ``hash_randomization``." -#: ../Doc/library/sys.rst:350 +#: ../Doc/library/sys.rst:356 msgid "Removed obsolete ``division_warning`` attribute." msgstr "Suppression de l'attribut obsolète ``division_warning``." -#: ../Doc/library/sys.rst:353 +#: ../Doc/library/sys.rst:359 msgid "Added ``isolated`` attribute for :option:`-I` ``isolated`` flag." msgstr "" "Ajout de l'attribut ``isolated`` pour l'option :option:`-I` ``isolated``." -#: ../Doc/library/sys.rst:356 +#: ../Doc/library/sys.rst:362 msgid "" "Added ``dev_mode`` attribute for the new :option:`-X` ``dev`` flag and " "``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag." @@ -684,7 +692,7 @@ msgstr "" "``dev`` et l'attribut ``utf8_mode`` pour la nouvelle option :option:`-X` " "``utf8``." -#: ../Doc/library/sys.rst:363 +#: ../Doc/library/sys.rst:369 msgid "" "A :term:`struct sequence` holding information about the float type. It " "contains low level information about the precision and internal " @@ -701,23 +709,23 @@ msgstr "" "IEC C standard* [C99]_, *Characteristics of floating types*, pour plus de " "détails." -#: ../Doc/library/sys.rst:373 +#: ../Doc/library/sys.rst:379 msgid "float.h macro" msgstr "macro *float.h*" -#: ../Doc/library/sys.rst:373 ../Doc/library/sys.rst:718 +#: ../Doc/library/sys.rst:379 ../Doc/library/sys.rst:724 msgid "explanation" msgstr "explication" -#: ../Doc/library/sys.rst:375 +#: ../Doc/library/sys.rst:381 msgid ":const:`epsilon`" msgstr ":const:`epsilon`" -#: ../Doc/library/sys.rst:375 +#: ../Doc/library/sys.rst:381 msgid "DBL_EPSILON" msgstr "DBL_EPSILON" -#: ../Doc/library/sys.rst:375 +#: ../Doc/library/sys.rst:381 msgid "" "difference between 1 and the least value greater than 1 that is " "representable as a float" @@ -725,15 +733,15 @@ msgstr "" "différence entre 1 et la plus petite valeur plus grande que 1 représentable " "en *float*" -#: ../Doc/library/sys.rst:378 +#: ../Doc/library/sys.rst:384 msgid ":const:`dig`" msgstr ":const:`dig`" -#: ../Doc/library/sys.rst:378 +#: ../Doc/library/sys.rst:384 msgid "DBL_DIG" msgstr "DBL_DIG" -#: ../Doc/library/sys.rst:378 +#: ../Doc/library/sys.rst:384 msgid "" "maximum number of decimal digits that can be faithfully represented in a " "float; see below" @@ -741,15 +749,15 @@ msgstr "" "nombre maximum de décimales pouvant être représentées fidèlement dans un " "*float* (voir ci-dessous)" -#: ../Doc/library/sys.rst:381 +#: ../Doc/library/sys.rst:387 msgid ":const:`mant_dig`" msgstr ":const:`mant_dig`" -#: ../Doc/library/sys.rst:381 +#: ../Doc/library/sys.rst:387 msgid "DBL_MANT_DIG" msgstr "DBL_MANT_DIG" -#: ../Doc/library/sys.rst:381 +#: ../Doc/library/sys.rst:387 msgid "" "float precision: the number of base-``radix`` digits in the significand of a " "float" @@ -757,42 +765,42 @@ msgstr "" "précision : nombre de *base-*\\ ``radix`` chiffres dans la mantisse du " "*float*" -#: ../Doc/library/sys.rst:384 +#: ../Doc/library/sys.rst:390 msgid ":const:`max`" msgstr ":const:`max`" -#: ../Doc/library/sys.rst:384 +#: ../Doc/library/sys.rst:390 msgid "DBL_MAX" msgstr "DBL_MAX" -#: ../Doc/library/sys.rst:384 +#: ../Doc/library/sys.rst:390 msgid "maximum representable finite float" msgstr "plus grand `float` fini représentable" -#: ../Doc/library/sys.rst:386 +#: ../Doc/library/sys.rst:392 msgid ":const:`max_exp`" msgstr ":const:`max_exp`" -#: ../Doc/library/sys.rst:386 +#: ../Doc/library/sys.rst:392 msgid "DBL_MAX_EXP" msgstr "DBL_MAX_EXP" -#: ../Doc/library/sys.rst:386 +#: ../Doc/library/sys.rst:392 msgid "" "maximum integer e such that ``radix**(e-1)`` is a representable finite float" msgstr "" "plus grand nombre entier *e* tel que ``radix**(e-1)`` soit représentable " "sous forme de *float* finit" -#: ../Doc/library/sys.rst:389 +#: ../Doc/library/sys.rst:395 msgid ":const:`max_10_exp`" msgstr ":const:`max_10_exp`" -#: ../Doc/library/sys.rst:389 +#: ../Doc/library/sys.rst:395 msgid "DBL_MAX_10_EXP" msgstr "DBL_MAX_10_EXP" -#: ../Doc/library/sys.rst:389 +#: ../Doc/library/sys.rst:395 msgid "" "maximum integer e such that ``10**e`` is in the range of representable " "finite floats" @@ -800,66 +808,66 @@ msgstr "" "plus grand nombre entier *e* tel que ``10**e`` est dans l'intervalle des " "nombre flottants finis" -#: ../Doc/library/sys.rst:392 +#: ../Doc/library/sys.rst:398 msgid ":const:`min`" msgstr ":const:`min`" -#: ../Doc/library/sys.rst:392 +#: ../Doc/library/sys.rst:398 msgid "DBL_MIN" msgstr "DBL_MIN" -#: ../Doc/library/sys.rst:392 +#: ../Doc/library/sys.rst:398 msgid "minimum positive normalized float" msgstr "plus petit nombre à virgule flottante positif normalisé" -#: ../Doc/library/sys.rst:394 +#: ../Doc/library/sys.rst:400 msgid ":const:`min_exp`" msgstr ":const:`min_exp`" -#: ../Doc/library/sys.rst:394 +#: ../Doc/library/sys.rst:400 msgid "DBL_MIN_EXP" msgstr "DBL_MIN_EXP" -#: ../Doc/library/sys.rst:394 +#: ../Doc/library/sys.rst:400 msgid "minimum integer e such that ``radix**(e-1)`` is a normalized float" msgstr "" "plus petit entier *e* tel que ``radix**(e-1)`` est un *float* normalisé" -#: ../Doc/library/sys.rst:397 +#: ../Doc/library/sys.rst:403 msgid ":const:`min_10_exp`" msgstr ":const:`min_10_exp`" -#: ../Doc/library/sys.rst:397 +#: ../Doc/library/sys.rst:403 msgid "DBL_MIN_10_EXP" msgstr "DBL_MIN_10_EXP" -#: ../Doc/library/sys.rst:397 +#: ../Doc/library/sys.rst:403 msgid "minimum integer e such that ``10**e`` is a normalized float" msgstr "" "plus petit nombre entier *e* tel que ``10**e`` est un nombre à virgule " "flottante normalisé" -#: ../Doc/library/sys.rst:400 +#: ../Doc/library/sys.rst:406 msgid ":const:`radix`" msgstr ":const:`radix`" -#: ../Doc/library/sys.rst:400 +#: ../Doc/library/sys.rst:406 msgid "FLT_RADIX" msgstr "FLT_RADIX" -#: ../Doc/library/sys.rst:400 +#: ../Doc/library/sys.rst:406 msgid "radix of exponent representation" msgstr "base de la représentation de l'exposant" -#: ../Doc/library/sys.rst:402 +#: ../Doc/library/sys.rst:408 msgid ":const:`rounds`" msgstr ":const:`rounds`" -#: ../Doc/library/sys.rst:402 +#: ../Doc/library/sys.rst:408 msgid "FLT_ROUNDS" msgstr "FLT_ROUNDS" -#: ../Doc/library/sys.rst:402 +#: ../Doc/library/sys.rst:408 msgid "" "integer constant representing the rounding mode used for arithmetic " "operations. This reflects the value of the system FLT_ROUNDS macro at " @@ -872,7 +880,7 @@ msgstr "" "5.2.4.4.2.2 de la norme C99 pour une explication des valeurs possibles et de " "leurs significations." -#: ../Doc/library/sys.rst:410 +#: ../Doc/library/sys.rst:416 msgid "" "The attribute :attr:`sys.float_info.dig` needs further explanation. If " "``s`` is any string representing a decimal number with at most :attr:`sys." @@ -884,7 +892,7 @@ msgstr "" "float_info.dig` chiffres significatifs, alors, convertir ``s`` en un nombre " "à virgule flottante puis à nouveau en chaîne redonnera la même valeur ::" -#: ../Doc/library/sys.rst:423 +#: ../Doc/library/sys.rst:429 msgid "" "But for strings with more than :attr:`sys.float_info.dig` significant " "digits, this isn't always true::" @@ -892,7 +900,7 @@ msgstr "" "Cependant, pour les chaînes avec plus de :attr:`sys.float_info.dig` chiffres " "significatifs, ce n'est pas toujours vrai : ::" -#: ../Doc/library/sys.rst:432 +#: ../Doc/library/sys.rst:438 msgid "" "A string indicating how the :func:`repr` function behaves for floats. If " "the string has value ``'short'`` then for a finite float ``x``, ``repr(x)`` " @@ -908,7 +916,7 @@ msgstr "" "Python 3.1. Autrement, ``float_repr_style`` a la valeur ``'legacy'`` et\n" "``repr(x)`` se comporte comme les versions antérieures à 3.1." -#: ../Doc/library/sys.rst:445 +#: ../Doc/library/sys.rst:451 msgid "" "Return the number of memory blocks currently allocated by the interpreter, " "regardless of their size. This function is mainly useful for tracking and " @@ -924,7 +932,7 @@ msgstr "" "`_clear_type_cache()` et :func:`gc.collect()` peut permettre d'obtenir des " "résultats plus prévisibles." -#: ../Doc/library/sys.rst:452 +#: ../Doc/library/sys.rst:458 msgid "" "If a Python build or implementation cannot reasonably compute this " "information, :func:`getallocatedblocks()` is allowed to return 0 instead." @@ -932,27 +940,27 @@ msgstr "" "Si Python n'arrive pas a calculer raisonnablement cette information, :func:" "`getallocatedblocks()` est autorisé à renvoyer 0 à la place." -#: ../Doc/library/sys.rst:460 +#: ../Doc/library/sys.rst:466 msgid "Return the build time API version of Android as an integer." msgstr "" "Renvoie la version de l'API Android utilisée pour compiler sous forme d'un " "entier." -#: ../Doc/library/sys.rst:463 +#: ../Doc/library/sys.rst:469 msgid ":ref:`Availability `: Android." msgstr ":ref:`Disponibilité ` : Android." -#: ../Doc/library/sys.rst:469 +#: ../Doc/library/sys.rst:475 msgid "" "Return the interpreter's \"check interval\"; see :func:`setcheckinterval`." msgstr "" "Renvoie le *check interval* de l'interpréteur, voir :func:`setcheckinterval`." -#: ../Doc/library/sys.rst:471 +#: ../Doc/library/sys.rst:477 msgid "Use :func:`getswitchinterval` instead." msgstr "Utilisez plutôt :func:`getswitchinterval`." -#: ../Doc/library/sys.rst:477 +#: ../Doc/library/sys.rst:483 msgid "" "Return the name of the current default string encoding used by the Unicode " "implementation." @@ -960,7 +968,7 @@ msgstr "" "Renvoie le nom du codage par défaut actuellement utilisé par " "l'implémentation *Unicode* pour coder les chaînes." -#: ../Doc/library/sys.rst:483 +#: ../Doc/library/sys.rst:489 msgid "" "Return the current value of the flags that are used for :c:func:`dlopen` " "calls. Symbolic names for the flag values can be found in the :mod:`os` " @@ -970,11 +978,11 @@ msgstr "" "`dlopen`. Les noms symboliques valeurs peuvent être trouvées dans le module :" "mod:`os`. (Ce sont les constantes ``RTLD_xxx`` e.g. :data:`os.RTLD_LAZY`)." -#: ../Doc/library/sys.rst:488 ../Doc/library/sys.rst:1083 +#: ../Doc/library/sys.rst:494 ../Doc/library/sys.rst:1089 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." -#: ../Doc/library/sys.rst:493 +#: ../Doc/library/sys.rst:499 msgid "" "Return the name of the encoding used to convert between Unicode filenames " "and bytes filenames. For best compatibility, str should be used for " @@ -990,11 +998,11 @@ msgstr "" "fichiers devraient supporter les deux (*str* ou *bytes*), et convertir en " "interne dans la représentation du système." -#: ../Doc/library/sys.rst:500 +#: ../Doc/library/sys.rst:506 msgid "This encoding is always ASCII-compatible." msgstr "Cet encodage est toujours compatible avec ASCII." -#: ../Doc/library/sys.rst:502 ../Doc/library/sys.rst:531 +#: ../Doc/library/sys.rst:508 ../Doc/library/sys.rst:537 msgid "" ":func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that " "the correct encoding and errors mode are used." @@ -1003,20 +1011,20 @@ msgstr "" "utilisées pour s'assurer qu'un encodage et un gestionnaire d'erreurs correct " "sont utilisés." -#: ../Doc/library/sys.rst:505 +#: ../Doc/library/sys.rst:511 msgid "In the UTF-8 mode, the encoding is ``utf-8`` on any platform." msgstr "" "Dans le mode UTF-8, l'encodage est ``'utf-8'`` sur toutes les plate-formes." -#: ../Doc/library/sys.rst:507 +#: ../Doc/library/sys.rst:513 msgid "On Mac OS X, the encoding is ``'utf-8'``." msgstr "Sur Mac OS X, l'encodage est ``'utf-8'``." -#: ../Doc/library/sys.rst:509 +#: ../Doc/library/sys.rst:515 msgid "On Unix, the encoding is the locale encoding." msgstr "Sur Unix, l'encodage est celui des paramètres régionaux." -#: ../Doc/library/sys.rst:511 +#: ../Doc/library/sys.rst:517 msgid "" "On Windows, the encoding may be ``'utf-8'`` or ``'mbcs'``, depending on user " "configuration." @@ -1024,11 +1032,11 @@ msgstr "" "Sur Windows, l'encodage peut être ``'utf-8'`` ou ``'mbcs'``, en fonction des " "paramètres de l'utilisateur." -#: ../Doc/library/sys.rst:514 +#: ../Doc/library/sys.rst:520 msgid ":func:`getfilesystemencoding` result cannot be ``None`` anymore." msgstr ":func:`getfilesystemencoding` ne peut plus renvoyer ``None``." -#: ../Doc/library/sys.rst:517 +#: ../Doc/library/sys.rst:523 msgid "" "Windows is no longer guaranteed to return ``'mbcs'``. See :pep:`529` and :" "func:`_enablelegacywindowsfsencoding` for more information." @@ -1036,11 +1044,11 @@ msgstr "" "Sur Windows, on est plus assurés d'obtenir ``'mbcs'``. Voir la :pep:`529` " "et :func:`_enablelegacywindowsfsencoding` pour plus d'informations." -#: ../Doc/library/sys.rst:521 +#: ../Doc/library/sys.rst:527 msgid "Return 'utf-8' in the UTF-8 mode." msgstr "Renvoie `\"utf-8\"` en mode UTF-8." -#: ../Doc/library/sys.rst:527 +#: ../Doc/library/sys.rst:533 msgid "" "Return the name of the error mode used to convert between Unicode filenames " "and bytes filenames. The encoding name is returned from :func:" @@ -1050,7 +1058,7 @@ msgstr "" "noms de fichiers entre Unicode et octets. Le nom de l'encodage est renvoyé " "par :func:`getfilesystemencoding`." -#: ../Doc/library/sys.rst:538 +#: ../Doc/library/sys.rst:544 msgid "" "Return the reference count of the *object*. The count returned is generally " "one higher than you might expect, because it includes the (temporary) " @@ -1060,7 +1068,7 @@ msgstr "" "généralement d'une référence de plus qu'attendu, puisqu'il compte la " "référence (temporaire) de l'argument à :func:`getrefcount`." -#: ../Doc/library/sys.rst:545 +#: ../Doc/library/sys.rst:551 msgid "" "Return the current value of the recursion limit, the maximum depth of the " "Python interpreter stack. This limit prevents infinite recursion from " @@ -1072,7 +1080,7 @@ msgstr "" "d'une récursion infinie à cause d'un débordement de la pile. Elle peut être " "modifiée par :func:`setrecursionlimit`." -#: ../Doc/library/sys.rst:553 +#: ../Doc/library/sys.rst:559 msgid "" "Return the size of an object in bytes. The object can be any type of object. " "All built-in objects will return correct results, but this does not have to " @@ -1083,7 +1091,7 @@ msgstr "" "peut ne pas être toujours vrai pour les extensions, la valeur étant " "dépendante de l'implémentation." -#: ../Doc/library/sys.rst:558 +#: ../Doc/library/sys.rst:564 msgid "" "Only the memory consumption directly attributed to the object is accounted " "for, not the memory consumption of objects it refers to." @@ -1091,7 +1099,7 @@ msgstr "" "Seule la mémoire directement attribuée à l'objet est prise en compte, pas la " "mémoire consommée par les objets vers lesquels il a des références." -#: ../Doc/library/sys.rst:561 +#: ../Doc/library/sys.rst:567 msgid "" "If given, *default* will be returned if the object does not provide means to " "retrieve the size. Otherwise a :exc:`TypeError` will be raised." @@ -1099,7 +1107,7 @@ msgstr "" "S'il est fourni, *default* sera renvoyé si l'objet ne fournit aucun moyen de " "récupérer sa taille. Sinon, une exception :exc:`TypeError` sera levée." -#: ../Doc/library/sys.rst:564 +#: ../Doc/library/sys.rst:570 msgid "" ":func:`getsizeof` calls the object's ``__sizeof__`` method and adds an " "additional garbage collector overhead if the object is managed by the " @@ -1108,7 +1116,7 @@ msgstr "" ":func:`getsizeof` appelle la méthode ``__sizeof__`` de l'objet, et s'il est " "géré par lui, ajoute le surcoût du ramasse-miettes." -#: ../Doc/library/sys.rst:568 +#: ../Doc/library/sys.rst:574 msgid "" "See `recursive sizeof recipe `_ " "for an example of using :func:`getsizeof` recursively to find the size of " @@ -1118,7 +1126,7 @@ msgstr "" "recipes/577504>`_ pour un exemple d'utilisation récursive de :func:" "`getsizeof` pour trouver la taille d'un contenant et de son contenu." -#: ../Doc/library/sys.rst:574 +#: ../Doc/library/sys.rst:580 msgid "" "Return the interpreter's \"thread switch interval\"; see :func:" "`setswitchinterval`." @@ -1126,7 +1134,7 @@ msgstr "" "Renvoie la valeur du *thread switch interval* de l'interpréteur, voir :func:" "`setswitchinterval`." -#: ../Doc/library/sys.rst:582 +#: ../Doc/library/sys.rst:588 msgid "" "Return a frame object from the call stack. If optional integer *depth* is " "given, return the frame object that many calls below the top of the stack. " @@ -1140,7 +1148,7 @@ msgstr "" "exc:`ValueError` est levée. La profondeur par défaut est zéro, donnant ainsi " "la *frame* du dessus de la pile." -#: ../Doc/library/sys.rst:589 +#: ../Doc/library/sys.rst:595 msgid "" "This function should be used for internal and specialized purposes only. It " "is not guaranteed to exist in all implementations of Python." @@ -1149,16 +1157,16 @@ msgstr "" "spécifique. Il n'est pas garanti qu'elle existe dans toutes les " "implémentations de Python." -#: ../Doc/library/sys.rst:599 +#: ../Doc/library/sys.rst:605 msgid "Get the profiler function as set by :func:`setprofile`." msgstr "" "Renvoie la fonction de profilage tel que défini par :func:`setprofile`." -#: ../Doc/library/sys.rst:608 +#: ../Doc/library/sys.rst:614 msgid "Get the trace function as set by :func:`settrace`." msgstr "Renvoie la fonction de traçage tel que définie par :func:`settrace`." -#: ../Doc/library/sys.rst:612 +#: ../Doc/library/sys.rst:618 msgid "" "The :func:`gettrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -1170,7 +1178,7 @@ msgstr "" "dépend de l'implémentation et non du langage, elle n'est donc pas forcément " "disponible dans toutes les implémentations de Python." -#: ../Doc/library/sys.rst:620 +#: ../Doc/library/sys.rst:626 msgid "" "Return a named tuple describing the Windows version currently running. The " "named elements are *major*, *minor*, *build*, *platform*, *service_pack*, " @@ -1193,47 +1201,47 @@ msgstr "" "les versions antérieures, seuls les 5 premiers éléments sont accessibles par " "leur indice." -#: ../Doc/library/sys.rst:631 +#: ../Doc/library/sys.rst:637 msgid "*platform* will be :const:`2 (VER_PLATFORM_WIN32_NT)`." msgstr "*platform* sera :const:`2 (VER_PLATFORM_WIN32_NT)`." -#: ../Doc/library/sys.rst:633 +#: ../Doc/library/sys.rst:639 msgid "*product_type* may be one of the following values:" msgstr "*product_type* peut être une des valeurs suivantes :" -#: ../Doc/library/sys.rst:636 +#: ../Doc/library/sys.rst:642 msgid "Constant" msgstr "Constante" -#: ../Doc/library/sys.rst:636 +#: ../Doc/library/sys.rst:642 msgid "Meaning" msgstr "Signification" -#: ../Doc/library/sys.rst:638 +#: ../Doc/library/sys.rst:644 msgid ":const:`1 (VER_NT_WORKSTATION)`" msgstr ":const:`1 (VER_NT_WORKSTATION)`" -#: ../Doc/library/sys.rst:638 +#: ../Doc/library/sys.rst:644 msgid "The system is a workstation." msgstr "Le système une station de travail." -#: ../Doc/library/sys.rst:640 +#: ../Doc/library/sys.rst:646 msgid ":const:`2 (VER_NT_DOMAIN_CONTROLLER)`" msgstr ":const:`2 (VER_NT_DOMAIN_CONTROLLER)`" -#: ../Doc/library/sys.rst:640 +#: ../Doc/library/sys.rst:646 msgid "The system is a domain controller." msgstr "Le système est un contrôleur de domaine." -#: ../Doc/library/sys.rst:643 +#: ../Doc/library/sys.rst:649 msgid ":const:`3 (VER_NT_SERVER)`" msgstr ":const:`3 (VER_NT_SERVER)`" -#: ../Doc/library/sys.rst:643 +#: ../Doc/library/sys.rst:649 msgid "The system is a server, but not a domain controller." msgstr "Le système est un serveur, mais pas un contrôleur de domaine." -#: ../Doc/library/sys.rst:647 +#: ../Doc/library/sys.rst:653 msgid "" "This function wraps the Win32 :c:func:`GetVersionEx` function; see the " "Microsoft documentation on :c:func:`OSVERSIONINFOEX` for more information " @@ -1244,7 +1252,7 @@ msgstr "" "de Microsoft sur :c:func:`OSVERSIONINFOEX` pour plus d'informations sur ces " "champs." -#: ../Doc/library/sys.rst:651 +#: ../Doc/library/sys.rst:657 msgid "" "*platform_version* returns the accurate major version, minor version and " "build number of the current operating system, rather than the version that " @@ -1256,7 +1264,7 @@ msgstr "" "émulée pour ce processus. Il est destiné à être utilisé pour de la " "journalisation plutôt que pour la détection de fonctionnalités." -#: ../Doc/library/sys.rst:658 +#: ../Doc/library/sys.rst:664 msgid "" "Changed to a named tuple and added *service_pack_minor*, " "*service_pack_major*, *suite_mask*, and *product_type*." @@ -1264,11 +1272,11 @@ msgstr "" "Changé en un *tuple* nommé, et ajout de *service_pack_minor*, " "*service_pack_major*, *suite_mask*, et *product_type*." -#: ../Doc/library/sys.rst:662 +#: ../Doc/library/sys.rst:668 msgid "Added *platform_version*" msgstr "Ajout de *platform_version*" -#: ../Doc/library/sys.rst:668 +#: ../Doc/library/sys.rst:674 msgid "" "Returns an *asyncgen_hooks* object, which is similar to a :class:" "`~collections.namedtuple` of the form `(firstiter, finalizer)`, where " @@ -1284,11 +1292,11 @@ msgstr "" "pour planifier la finalisation d'un générateur asynchrone par un *event " "loop*." -#: ../Doc/library/sys.rst:675 +#: ../Doc/library/sys.rst:681 msgid "See :pep:`525` for more details." msgstr "Voir la :pep:`525` pour plus d'informations." -#: ../Doc/library/sys.rst:679 ../Doc/library/sys.rst:1254 +#: ../Doc/library/sys.rst:685 ../Doc/library/sys.rst:1260 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" @@ -1296,7 +1304,7 @@ msgstr "" "Cette fonction à été ajoutée à titre provisoire (voir la :pep:`411` pour " "plus d'informations.)" -#: ../Doc/library/sys.rst:685 +#: ../Doc/library/sys.rst:691 msgid "" "Get the current coroutine origin tracking depth, as set by :func:" "`set_coroutine_origin_tracking_depth`." @@ -1305,8 +1313,8 @@ msgstr "" "le suivi de leur création, telle que défini par :func:" "`set_coroutine_origin_tracking_depth`." -#: ../Doc/library/sys.rst:691 ../Doc/library/sys.rst:703 -#: ../Doc/library/sys.rst:1275 ../Doc/library/sys.rst:1314 +#: ../Doc/library/sys.rst:697 ../Doc/library/sys.rst:709 +#: ../Doc/library/sys.rst:1281 ../Doc/library/sys.rst:1320 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." @@ -1314,16 +1322,16 @@ msgstr "" "Cette fonction à été ajoutée à titre provisoire (Voir la :pep:`411` pour " "plus d'informations.) Utilisez la uniquement à des fins de débogage." -#: ../Doc/library/sys.rst:697 +#: ../Doc/library/sys.rst:703 msgid "Returns ``None``, or a wrapper set by :func:`set_coroutine_wrapper`." msgstr "" "Renvoie ``None``, ou un *wrapper* donné via :func:`set_coroutine_wrapper`." -#: ../Doc/library/sys.rst:699 ../Doc/library/sys.rst:1310 +#: ../Doc/library/sys.rst:705 ../Doc/library/sys.rst:1316 msgid "See :pep:`492` for more details." msgstr "Voir la :pep:`492` pour plus d'informations." -#: ../Doc/library/sys.rst:706 ../Doc/library/sys.rst:1317 +#: ../Doc/library/sys.rst:712 ../Doc/library/sys.rst:1323 msgid "" "The coroutine wrapper functionality has been deprecated, and will be removed " "in 3.8. See :issue:`32591` for details." @@ -1331,7 +1339,7 @@ msgstr "" "La fonctionnalité *wrapper* de coroutine est obsolète et sera supprimée dans " "3.8. Voir :issue:`32591` pour plus de détails." -#: ../Doc/library/sys.rst:713 +#: ../Doc/library/sys.rst:719 msgid "" "A :term:`struct sequence` giving parameters of the numeric hash " "implementation. For more details about hashing of numeric types, see :ref:" @@ -1341,77 +1349,77 @@ msgstr "" "fonction de hachage de nombres. Pour plus d'informations sur le hachage des " "types numériques, consultez :ref:`numeric-hash`." -#: ../Doc/library/sys.rst:720 +#: ../Doc/library/sys.rst:726 msgid ":const:`width`" msgstr ":const:`width`" -#: ../Doc/library/sys.rst:720 +#: ../Doc/library/sys.rst:726 msgid "width in bits used for hash values" msgstr "Nombre de bits des valeurs de *hash*" -#: ../Doc/library/sys.rst:722 +#: ../Doc/library/sys.rst:728 msgid ":const:`modulus`" msgstr ":const:`modulus`" -#: ../Doc/library/sys.rst:722 +#: ../Doc/library/sys.rst:728 msgid "prime modulus P used for numeric hash scheme" msgstr "" "contient le premier P utilisé dans le modulo pour les *hash* numériques" -#: ../Doc/library/sys.rst:724 +#: ../Doc/library/sys.rst:730 msgid ":const:`inf`" msgstr ":const:`inf`" -#: ../Doc/library/sys.rst:724 +#: ../Doc/library/sys.rst:730 msgid "hash value returned for a positive infinity" msgstr "valeur du *hash* pour un infini positif" -#: ../Doc/library/sys.rst:726 +#: ../Doc/library/sys.rst:732 msgid ":const:`nan`" msgstr ":const:`nan`" -#: ../Doc/library/sys.rst:726 +#: ../Doc/library/sys.rst:732 msgid "hash value returned for a nan" msgstr "valeur du *hash* pour un *nan*" -#: ../Doc/library/sys.rst:728 +#: ../Doc/library/sys.rst:734 msgid ":const:`imag`" msgstr ":const:`imag`" -#: ../Doc/library/sys.rst:728 +#: ../Doc/library/sys.rst:734 msgid "multiplier used for the imaginary part of a complex number" msgstr "multiplicateur utilisé pour la partie imaginaire d'un nombre complexe" -#: ../Doc/library/sys.rst:731 +#: ../Doc/library/sys.rst:737 msgid ":const:`algorithm`" msgstr ":const:`algorithm`" -#: ../Doc/library/sys.rst:731 +#: ../Doc/library/sys.rst:737 msgid "name of the algorithm for hashing of str, bytes, and memoryview" msgstr "" "nom de l'algorithme pour le hachage des *str*, *bytes*, et *memoryview*" -#: ../Doc/library/sys.rst:734 +#: ../Doc/library/sys.rst:740 msgid ":const:`hash_bits`" msgstr ":const:`hash_bits`" -#: ../Doc/library/sys.rst:734 +#: ../Doc/library/sys.rst:740 msgid "internal output size of the hash algorithm" msgstr "taille de la sortie interne de l'algorithme de hachage" -#: ../Doc/library/sys.rst:736 +#: ../Doc/library/sys.rst:742 msgid ":const:`seed_bits`" msgstr ":const:`seed_bits`" -#: ../Doc/library/sys.rst:736 +#: ../Doc/library/sys.rst:742 msgid "size of the seed key of the hash algorithm" msgstr "taille de la *seed key* utilisée par l'algorithme de hachage" -#: ../Doc/library/sys.rst:742 +#: ../Doc/library/sys.rst:748 msgid "Added *algorithm*, *hash_bits* and *seed_bits*" msgstr "Ajout de *algorithm*, *hash_bits* et *seed_bits*" -#: ../Doc/library/sys.rst:748 +#: ../Doc/library/sys.rst:754 msgid "" "The version number encoded as a single integer. This is guaranteed to " "increase with each version, including proper support for non-production " @@ -1423,7 +1431,7 @@ msgstr "" "Par exemple, pour vérifier que l'interpréteur Python est au moins la version " "1.5, utilisez : ::" -#: ../Doc/library/sys.rst:759 +#: ../Doc/library/sys.rst:765 msgid "" "This is called ``hexversion`` since it only really looks meaningful when " "viewed as the result of passing it to the built-in :func:`hex` function. " @@ -1435,12 +1443,12 @@ msgstr "" "`hex`. La :term:`struct sequence` :data:`sys.version_info` représente la " "même information d'une manière plus humaine." -#: ../Doc/library/sys.rst:764 +#: ../Doc/library/sys.rst:770 msgid "More details of ``hexversion`` can be found at :ref:`apiabiversion`." msgstr "" "Consultez :ref:`apiabiversion` pour plus d'informations sur ``hexversion``." -#: ../Doc/library/sys.rst:769 +#: ../Doc/library/sys.rst:775 msgid "" "An object containing information about the implementation of the currently " "running Python interpreter. The following attributes are required to exist " @@ -1450,7 +1458,7 @@ msgstr "" "actuelle de l'interpréteur Python. Les attributs suivants existent " "obligatoirement sur toutes les implémentations Python." -#: ../Doc/library/sys.rst:773 +#: ../Doc/library/sys.rst:779 msgid "" "*name* is the implementation's identifier, e.g. ``'cpython'``. The actual " "string is defined by the Python implementation, but it is guaranteed to be " @@ -1460,7 +1468,7 @@ msgstr "" "chaîne est définie par l'implémentation de Python, mais sera toujours en " "minuscule." -#: ../Doc/library/sys.rst:777 +#: ../Doc/library/sys.rst:783 msgid "" "*version* is a named tuple, in the same format as :data:`sys.version_info`. " "It represents the version of the Python *implementation*. This has a " @@ -1480,7 +1488,7 @@ msgstr "" "valoir ``sys.version_info(2, 7, 2, 'final', 0)``. Pour CPython ces deux " "valeurs sont identiques puisque c'est l'implémentation de référence." -#: ../Doc/library/sys.rst:787 +#: ../Doc/library/sys.rst:793 msgid "" "*hexversion* is the implementation version in hexadecimal format, like :data:" "`sys.hexversion`." @@ -1488,7 +1496,7 @@ msgstr "" "*hexversion* est la version de l'implémentation sous forme hexadécimale, " "comme :data:`sys.hexversion`." -#: ../Doc/library/sys.rst:790 +#: ../Doc/library/sys.rst:796 msgid "" "*cache_tag* is the tag used by the import machinery in the filenames of " "cached modules. By convention, it would be a composite of the " @@ -1503,7 +1511,7 @@ msgstr "" "autre valeur si nécessaire. ``cache_tag`` à ``None`` signifie que la mise " "en cache des modules doit être désactivée." -#: ../Doc/library/sys.rst:797 +#: ../Doc/library/sys.rst:803 msgid "" ":data:`sys.implementation` may contain additional attributes specific to the " "Python implementation. These non-standard attributes must start with an " @@ -1520,7 +1528,7 @@ msgstr "" "cependant changer entre les versions du langage Python.) Voir la :pep:`421` " "pour plus d'informations." -#: ../Doc/library/sys.rst:809 +#: ../Doc/library/sys.rst:815 msgid "" "A :term:`struct sequence` that holds information about Python's internal " "representation of integers. The attributes are read only." @@ -1529,19 +1537,19 @@ msgstr "" "représentation interne des entiers de Python. Les attributs sont en lecture " "seule." -#: ../Doc/library/sys.rst:815 ../Doc/library/sys.rst:1421 +#: ../Doc/library/sys.rst:821 ../Doc/library/sys.rst:1427 msgid "Attribute" msgstr "Attribut" -#: ../Doc/library/sys.rst:815 ../Doc/library/sys.rst:1421 +#: ../Doc/library/sys.rst:821 ../Doc/library/sys.rst:1427 msgid "Explanation" msgstr "Explication" -#: ../Doc/library/sys.rst:817 +#: ../Doc/library/sys.rst:823 msgid ":const:`bits_per_digit`" msgstr ":const:`bits_per_digit`" -#: ../Doc/library/sys.rst:817 +#: ../Doc/library/sys.rst:823 msgid "" "number of bits held in each digit. Python integers are stored internally in " "base ``2**int_info.bits_per_digit``" @@ -1549,15 +1557,15 @@ msgstr "" "nombre de bits utilisés pour chaque chiffre. Les entiers Python sont " "stockés en interne en base ``2**int_info.bits_per_digit``" -#: ../Doc/library/sys.rst:821 +#: ../Doc/library/sys.rst:827 msgid ":const:`sizeof_digit`" msgstr ":const:`sizeof_digit`" -#: ../Doc/library/sys.rst:821 +#: ../Doc/library/sys.rst:827 msgid "size in bytes of the C type used to represent a digit" msgstr "taille en octets du type C utilisé pour représenter un chiffre" -#: ../Doc/library/sys.rst:830 +#: ../Doc/library/sys.rst:836 msgid "" "When this attribute exists, its value is automatically called (with no " "arguments) when the interpreter is launched in :ref:`interactive mode ` par le module :mod:`site`." -#: ../Doc/library/sys.rst:841 +#: ../Doc/library/sys.rst:847 msgid "" "Enter *string* in the table of \"interned\" strings and return the interned " "string -- which is *string* itself or a copy. Interning strings is useful to " @@ -1593,7 +1601,7 @@ msgstr "" "attributs de modules, de classes, ou d'instances ont aussi leurs clés " "internées." -#: ../Doc/library/sys.rst:849 +#: ../Doc/library/sys.rst:855 msgid "" "Interned strings are not immortal; you must keep a reference to the return " "value of :func:`intern` around to benefit from it." @@ -1601,7 +1609,7 @@ msgstr "" "Les chaînes internées ne sont pas immortelles; vous devez garder une " "référence à la valeur renvoyée par :func:`intern` pour en bénéficier." -#: ../Doc/library/sys.rst:855 +#: ../Doc/library/sys.rst:861 msgid "" "Return :const:`True` if the Python interpreter is :term:`shutting down " "`, :const:`False` otherwise." @@ -1609,7 +1617,7 @@ msgstr "" "Donne :const:`True` si l'interpréteur Python est :term:`en train de " "s'arrêter `, et :const:`False` dans le cas contraire." -#: ../Doc/library/sys.rst:865 +#: ../Doc/library/sys.rst:871 msgid "" "These three variables are not always defined; they are set when an exception " "is not handled and the interpreter prints an error message and a stack " @@ -1628,7 +1636,7 @@ msgstr "" "mortem est ``import pdb; pdb.pm()``, voir :mod:`pdb` pour plus " "d'informations.)." -#: ../Doc/library/sys.rst:873 +#: ../Doc/library/sys.rst:879 msgid "" "The meaning of the variables is the same as that of the return values from :" "func:`exc_info` above." @@ -1636,7 +1644,7 @@ msgstr "" "La signification de ces variables est la même que celle des valeurs " "renvoyées par :func:`exc_info` ci-dessus." -#: ../Doc/library/sys.rst:879 +#: ../Doc/library/sys.rst:885 msgid "" "An integer giving the maximum value a variable of type :c:type:`Py_ssize_t` " "can take. It's usually ``2**31 - 1`` on a 32-bit platform and ``2**63 - 1`` " @@ -1646,7 +1654,7 @@ msgstr "" "`Py_ssize_t` peut prendre. C'est typiquement ``2**31 - 1`` sur une " "plateforme 32 bits et ``2**63 - 1``` sur une plateforme 64 bits." -#: ../Doc/library/sys.rst:886 +#: ../Doc/library/sys.rst:892 msgid "" "An integer giving the value of the largest Unicode code point, i.e. " "``1114111`` (``0x10FFFF`` in hexadecimal)." @@ -1654,7 +1662,7 @@ msgstr "" "Un entier donnant la valeur du plus grand point de code Unicode, c'est-à-" "dire ``1114111`` (```0x10FFFF`` en hexadécimal)." -#: ../Doc/library/sys.rst:889 +#: ../Doc/library/sys.rst:895 msgid "" "Before :pep:`393`, ``sys.maxunicode`` used to be either ``0xFFFF`` or " "``0x10FFFF``, depending on the configuration option that specified whether " @@ -1664,7 +1672,7 @@ msgstr "" "``0x10FFFF``, en fonction l'option de configuration qui spécifiait si les " "caractères Unicode étaient stockés en UCS-2 ou UCS-4." -#: ../Doc/library/sys.rst:897 +#: ../Doc/library/sys.rst:903 msgid "" "A list of :term:`meta path finder` objects that have their :meth:`~importlib." "abc.MetaPathFinder.find_spec` methods called to see if one of the objects " @@ -1683,11 +1691,11 @@ msgstr "" "attr:`__path__` du paquet parent est donné en deuxième argument. La méthode " "renvoie un :term:`module spec`, ou ``None`` si le module ne peut être trouvé." -#: ../Doc/library/sys.rst:909 +#: ../Doc/library/sys.rst:915 msgid ":class:`importlib.abc.MetaPathFinder`" msgstr ":class:`importlib.abc.MetaPathFinder`" -#: ../Doc/library/sys.rst:909 +#: ../Doc/library/sys.rst:915 msgid "" "The abstract base class defining the interface of finder objects on :data:" "`meta_path`." @@ -1695,11 +1703,11 @@ msgstr "" "La classe de base abstraite définissant l'interface des objets *finder* de :" "data:`meta_path`." -#: ../Doc/library/sys.rst:913 +#: ../Doc/library/sys.rst:919 msgid ":class:`importlib.machinery.ModuleSpec`" msgstr ":class:`importlib.machinery.ModuleSpec`" -#: ../Doc/library/sys.rst:912 +#: ../Doc/library/sys.rst:918 msgid "" "The concrete class which :meth:`~importlib.abc.MetaPathFinder.find_spec` " "should return instances of." @@ -1707,7 +1715,7 @@ msgstr "" "La classe concrète dont :meth:`~importlib.abc.MetaPathFinder.find_spec` " "devrait renvoyer des instances." -#: ../Doc/library/sys.rst:918 +#: ../Doc/library/sys.rst:924 msgid "" ":term:`Module specs ` were introduced in Python 3.4, by :pep:" "`451`. Earlier versions of Python looked for a method called :meth:" @@ -1721,7 +1729,7 @@ msgstr "" "toujours appelée en dernier recours, dans le cas où une :data:`meta_path` " "n'a pas de méthode :meth:`~importlib.abc.MetaPathFinder.find_spec`." -#: ../Doc/library/sys.rst:926 +#: ../Doc/library/sys.rst:932 msgid "" "This is a dictionary that maps module names to modules which have already " "been loaded. This can be manipulated to force reloading of modules and " @@ -1734,7 +1742,7 @@ msgstr "" "rechargé. Cependant, le remplacer ne fonctionnera pas forcément comme prévu " "et en supprimer des éléments essentiels peut planter Python." -#: ../Doc/library/sys.rst:936 +#: ../Doc/library/sys.rst:942 msgid "" "A list of strings that specifies the search path for modules. Initialized " "from the environment variable :envvar:`PYTHONPATH`, plus an installation-" @@ -1744,7 +1752,7 @@ msgstr "" "modules, initialisée à partir de la variable d'environnement :envvar:" "`PYTHONPATH` et d'une valeur par défaut dépendante de l'installation." -#: ../Doc/library/sys.rst:940 +#: ../Doc/library/sys.rst:946 msgid "" "As initialized upon program startup, the first item of this list, " "``path[0]``, is the directory containing the script that was used to invoke " @@ -1764,7 +1772,7 @@ msgstr "" "actuel. Notez que le dossier du script est inséré *avant* les dossiers de :" "envvar:`PYTHONPATH`." -#: ../Doc/library/sys.rst:948 +#: ../Doc/library/sys.rst:954 msgid "" "A program is free to modify this list for its own purposes. Only strings " "and bytes should be added to :data:`sys.path`; all other data types are " @@ -1774,7 +1782,7 @@ msgstr "" "Seuls des *str* ou des *bytes* ne devraient être ajoutés à :data:`sys.path`, " "tous les autres types de données étant ignorés durant l'importation." -#: ../Doc/library/sys.rst:954 +#: ../Doc/library/sys.rst:960 msgid "" "Module :mod:`site` This describes how to use .pth files to extend :data:`sys." "path`." @@ -1782,7 +1790,7 @@ msgstr "" "Le module :mod:`site` décrit comment utiliser les fichiers *.pth* pour " "étendre :data:`sys.path`." -#: ../Doc/library/sys.rst:960 +#: ../Doc/library/sys.rst:966 msgid "" "A list of callables that take a path argument to try to create a :term:" "`finder` for the path. If a finder can be created, it is to be returned by " @@ -1792,11 +1800,11 @@ msgstr "" "`finder` pour ce chemin. Si un *finder* peut être créé, il doit être renvoyé " "par l'appelable, sinon une :exc:`ImportError` doit être levée." -#: ../Doc/library/sys.rst:964 ../Doc/library/sys.rst:975 +#: ../Doc/library/sys.rst:970 ../Doc/library/sys.rst:981 msgid "Originally specified in :pep:`302`." msgstr "Précisé à l'origine dans la :pep:`302`." -#: ../Doc/library/sys.rst:969 +#: ../Doc/library/sys.rst:975 msgid "" "A dictionary acting as a cache for :term:`finder` objects. The keys are " "paths that have been passed to :data:`sys.path_hooks` and the values are the " @@ -1809,7 +1817,7 @@ msgstr "" "de fichiers mais qu'aucun *finder* n'est trouvé dans :data:`sys.path_hooks`, " "``None`` est stocké." -#: ../Doc/library/sys.rst:977 +#: ../Doc/library/sys.rst:983 msgid "" "``None`` is stored instead of :class:`imp.NullImporter` when no finder is " "found." @@ -1817,7 +1825,7 @@ msgstr "" "``None`` est stocké à la place de :class:`imp.NullImporter` si aucun " "localisateur n'est trouvé." -#: ../Doc/library/sys.rst:984 +#: ../Doc/library/sys.rst:990 msgid "" "This string contains a platform identifier that can be used to append " "platform-specific components to :data:`sys.path`, for instance." @@ -1826,7 +1834,7 @@ msgstr "" "typiquement utilisé pour ajouter des composants spécifiques à :data:`sys." "path`." -#: ../Doc/library/sys.rst:987 +#: ../Doc/library/sys.rst:993 msgid "" "For Unix systems, except on Linux, this is the lowercased OS name as " "returned by ``uname -s`` with the first part of the version as returned by " @@ -1840,51 +1848,51 @@ msgstr "" "moment où Python a été compilé*. A moins que vous ne souhaitiez tester pour " "une version spécifique du système, vous pouvez faire comme suit : ::" -#: ../Doc/library/sys.rst:998 +#: ../Doc/library/sys.rst:1004 msgid "For other systems, the values are:" msgstr "Pour les autres systèmes, les valeurs sont:" -#: ../Doc/library/sys.rst:1001 +#: ../Doc/library/sys.rst:1007 msgid "System" msgstr "Système" -#: ../Doc/library/sys.rst:1001 +#: ../Doc/library/sys.rst:1007 msgid "``platform`` value" msgstr "Valeur pour ``plateforme``" -#: ../Doc/library/sys.rst:1003 +#: ../Doc/library/sys.rst:1009 msgid "Linux" msgstr "Linux" -#: ../Doc/library/sys.rst:1003 +#: ../Doc/library/sys.rst:1009 msgid "``'linux'``" msgstr "``'linux'``" -#: ../Doc/library/sys.rst:1004 +#: ../Doc/library/sys.rst:1010 msgid "Windows" msgstr "Windows" -#: ../Doc/library/sys.rst:1004 +#: ../Doc/library/sys.rst:1010 msgid "``'win32'``" msgstr "``'win32'``" -#: ../Doc/library/sys.rst:1005 +#: ../Doc/library/sys.rst:1011 msgid "Windows/Cygwin" msgstr "Windows/Cygwin" -#: ../Doc/library/sys.rst:1005 +#: ../Doc/library/sys.rst:1011 msgid "``'cygwin'``" msgstr "``'cygwin'``" -#: ../Doc/library/sys.rst:1006 +#: ../Doc/library/sys.rst:1012 msgid "Mac OS X" msgstr "Mac OS X" -#: ../Doc/library/sys.rst:1006 +#: ../Doc/library/sys.rst:1012 msgid "``'darwin'``" msgstr "``'darwin'``" -#: ../Doc/library/sys.rst:1009 +#: ../Doc/library/sys.rst:1015 msgid "" "On Linux, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. Since older " @@ -1896,7 +1904,7 @@ msgstr "" "anciennes versions de Python incluent le numéro de version, il est " "recommandé de toujours utiliser ``startswith``, tel qu'utilisé ci-dessus." -#: ../Doc/library/sys.rst:1017 +#: ../Doc/library/sys.rst:1023 msgid "" ":attr:`os.name` has a coarser granularity. :func:`os.uname` gives system-" "dependent version information." @@ -1904,7 +1912,7 @@ msgstr "" ":attr:`os.name` a une granularité plus grossière. :func:`os.uname` donne des " "informations sur la version dépendantes du système." -#: ../Doc/library/sys.rst:1020 +#: ../Doc/library/sys.rst:1026 msgid "" "The :mod:`platform` module provides detailed checks for the system's " "identity." @@ -1912,7 +1920,7 @@ msgstr "" "Le module :mod:`platform` fournit des vérifications détaillées pour " "l'identité du système." -#: ../Doc/library/sys.rst:1026 +#: ../Doc/library/sys.rst:1032 msgid "" "A string giving the site-specific directory prefix where the platform " "independent Python files are installed; by default, this is the string ``'/" @@ -1933,7 +1941,7 @@ msgstr "" "stockées dans :file:`{prefix}/include/python{X.Y}`, où *X.Y* est le numéro " "de version de Python, par exemple ``3.2``." -#: ../Doc/library/sys.rst:1035 +#: ../Doc/library/sys.rst:1041 msgid "" "If a :ref:`virtual environment ` is in effect, this value will be " "changed in ``site.py`` to point to the virtual environment. The value for " @@ -1944,7 +1952,7 @@ msgstr "" "donnée au moment de la compilation de Python sera toujours disponible, dans :" "data:`base_prefix`." -#: ../Doc/library/sys.rst:1050 +#: ../Doc/library/sys.rst:1056 msgid "" "Strings specifying the primary and secondary prompt of the interpreter. " "These are only defined if the interpreter is in interactive mode. Their " @@ -1961,7 +1969,7 @@ msgstr "" "à lire une nouvelle commande interactive, c'est donc utilisable pour " "implémenter une invite dynamique." -#: ../Doc/library/sys.rst:1060 +#: ../Doc/library/sys.rst:1066 msgid "" "Set the interpreter's \"check interval\". This integer value determines how " "often the interpreter checks for periodic things such as thread switches and " @@ -1981,7 +1989,7 @@ msgstr "" "tâches à chaque instruction virtuelle, maximisant ainsi la réactivité mais " "aussi son surcoût." -#: ../Doc/library/sys.rst:1067 +#: ../Doc/library/sys.rst:1073 msgid "" "This function doesn't have an effect anymore, as the internal logic for " "thread switching and asynchronous tasks has been rewritten. Use :func:" @@ -1991,7 +1999,7 @@ msgstr "" "fils d'exécution et de gestion des tâches asynchrones ayant été réécrite. " "Utilisez :func:`setswitchinterval` à la place." -#: ../Doc/library/sys.rst:1075 +#: ../Doc/library/sys.rst:1081 msgid "" "Set the flags used by the interpreter for :c:func:`dlopen` calls, such as " "when the interpreter loads extension modules. Among other things, this will " @@ -2010,7 +2018,7 @@ msgstr "" "module :mod:`os` (ce sont les constantes ``RTLD_xxx``, comme :data:`os." "RTLD_LAZY`)." -#: ../Doc/library/sys.rst:1091 +#: ../Doc/library/sys.rst:1097 msgid "" "Set the system's profile function, which allows you to implement a Python " "source code profiler in Python. See chapter :ref:`profile` for more " @@ -2038,7 +2046,7 @@ msgstr "" "*multithread*. Sa valeur de retour n'est pas utilisée, elle peut simplement " "renvoyer ``None``." -#: ../Doc/library/sys.rst:1102 +#: ../Doc/library/sys.rst:1108 msgid "" "Profile functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2050,15 +2058,15 @@ msgstr "" "caractères pouvant valoir : ``'call'``, ``'return'``, ``'c_call'``, " "``'c_return'`` ou ``'c_exception'``. *arg* dépend du type de l'évènement." -#: ../Doc/library/sys.rst:1107 ../Doc/library/sys.rst:1187 +#: ../Doc/library/sys.rst:1113 ../Doc/library/sys.rst:1193 msgid "The events have the following meaning:" msgstr "Les événements ont la signification suivante :" -#: ../Doc/library/sys.rst:1111 ../Doc/library/sys.rst:1192 +#: ../Doc/library/sys.rst:1117 ../Doc/library/sys.rst:1198 msgid "``'call'``" msgstr "``'call'``" -#: ../Doc/library/sys.rst:1110 +#: ../Doc/library/sys.rst:1116 msgid "" "A function is called (or some other code block entered). The profile " "function is called; *arg* is ``None``." @@ -2066,11 +2074,11 @@ msgstr "" "Une fonction est appelée (ou Python entre dans un autre bloc de code). La " "fonction de traçage est appelée, *arg* est ``None``." -#: ../Doc/library/sys.rst:1116 ../Doc/library/sys.rst:1207 +#: ../Doc/library/sys.rst:1122 ../Doc/library/sys.rst:1213 msgid "``'return'``" msgstr "``'return'``" -#: ../Doc/library/sys.rst:1114 +#: ../Doc/library/sys.rst:1120 msgid "" "A function (or other code block) is about to return. The profile function " "is called; *arg* is the value that will be returned, or ``None`` if the " @@ -2080,11 +2088,11 @@ msgstr "" "fonction de traçage est appelée, *arg* est la valeur qui sera renvoyée, ou " "``None`` si l'événement est causé par la levée d'une exception." -#: ../Doc/library/sys.rst:1120 +#: ../Doc/library/sys.rst:1126 msgid "``'c_call'``" msgstr "``'c_call'``" -#: ../Doc/library/sys.rst:1119 +#: ../Doc/library/sys.rst:1125 msgid "" "A C function is about to be called. This may be an extension function or a " "built-in. *arg* is the C function object." @@ -2092,23 +2100,23 @@ msgstr "" "Une fonction C est sur le point d'être appelée. C'est soit une fonction " "d'extension ou une fonction native. *arg* représente la fonction C." -#: ../Doc/library/sys.rst:1123 +#: ../Doc/library/sys.rst:1129 msgid "``'c_return'``" msgstr "``'c_return'``" -#: ../Doc/library/sys.rst:1123 +#: ../Doc/library/sys.rst:1129 msgid "A C function has returned. *arg* is the C function object." msgstr "Une fonction C a renvoyé une valeur. *arg* représente la fonction C." -#: ../Doc/library/sys.rst:1125 +#: ../Doc/library/sys.rst:1131 msgid "``'c_exception'``" msgstr "``'c_exception'``" -#: ../Doc/library/sys.rst:1126 +#: ../Doc/library/sys.rst:1132 msgid "A C function has raised an exception. *arg* is the C function object." msgstr "Une fonction C a levé une exception. *arg* représente la fonction C." -#: ../Doc/library/sys.rst:1130 +#: ../Doc/library/sys.rst:1136 msgid "" "Set the maximum depth of the Python interpreter stack to *limit*. This " "limit prevents infinite recursion from causing an overflow of the C stack " @@ -2118,7 +2126,7 @@ msgstr "" "*limit*. Cette limite empêche une récursion infinie de provoquer un " "débordement de la pile C et ainsi un crash de Python." -#: ../Doc/library/sys.rst:1134 +#: ../Doc/library/sys.rst:1140 msgid "" "The highest possible limit is platform-dependent. A user may need to set " "the limit higher when they have a program that requires deep recursion and a " @@ -2130,7 +2138,7 @@ msgstr "" "profonde, si sa plate-forme le permet. Cela doit être fait avec précaution, " "car une limite trop élevée peut conduire à un crash." -#: ../Doc/library/sys.rst:1139 +#: ../Doc/library/sys.rst:1145 msgid "" "If the new limit is too low at the current recursion depth, a :exc:" "`RecursionError` exception is raised." @@ -2138,7 +2146,7 @@ msgstr "" "Si la nouvelle limite est plus basse que la profondeur actuelle, une :exc:" "`RecursionError` est levée." -#: ../Doc/library/sys.rst:1142 +#: ../Doc/library/sys.rst:1148 msgid "" "A :exc:`RecursionError` exception is now raised if the new limit is too low " "at the current recursion depth." @@ -2146,7 +2154,7 @@ msgstr "" "Une :exc:`RecursionError` est maintenant levée si la nouvelle limite est " "plus basse que la profondeur de récursion actuelle." -#: ../Doc/library/sys.rst:1149 +#: ../Doc/library/sys.rst:1155 msgid "" "Set the interpreter's thread switch interval (in seconds). This floating-" "point value determines the ideal duration of the \"timeslices\" allocated to " @@ -2164,7 +2172,7 @@ msgstr "" "d'exécution prenant la main à la fin de l'intervalle revient au système " "d'exploitation. L'interpréteur n'a pas son propre ordonnanceur." -#: ../Doc/library/sys.rst:1166 +#: ../Doc/library/sys.rst:1172 msgid "" "Set the system's trace function, which allows you to implement a Python " "source code debugger in Python. The function is thread-specific; for a " @@ -2177,7 +2185,7 @@ msgstr "" "d'exécution, il doit enregistrer sa fonction en appelant :func:`settrace` " "pour chaque fil d'exécution qu'il souhaite surveiller." -#: ../Doc/library/sys.rst:1171 +#: ../Doc/library/sys.rst:1177 msgid "" "Trace functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2189,7 +2197,7 @@ msgstr "" "caractères pouvant valoir : ``'call'``, ``'line'``, ``'return'``, " "``'exception'`` ou ``'opcode'``. *arg* dépend du type de l'évènement." -#: ../Doc/library/sys.rst:1176 +#: ../Doc/library/sys.rst:1182 msgid "" "The trace function is invoked (with *event* set to ``'call'``) whenever a " "new local scope is entered; it should return a reference to a local trace " @@ -2200,7 +2208,7 @@ msgstr "" "référence à une fonction de traçage locale à utiliser pour ce *scope*, ou " "``None`` si le *Scope* ne doit pas être tracé." -#: ../Doc/library/sys.rst:1180 +#: ../Doc/library/sys.rst:1186 msgid "" "The local trace function should return a reference to itself (or to another " "function for further tracing in that scope), or ``None`` to turn off tracing " @@ -2210,7 +2218,7 @@ msgstr "" "autre fonction de traçage pour un traçage ultérieur dans cette portée), ou " "``None`` pour désactiver le traçage dans cette portée." -#: ../Doc/library/sys.rst:1184 +#: ../Doc/library/sys.rst:1190 msgid "" "If there is any error occurred in the trace function, it will be unset, just " "like ``settrace(None)`` is called." @@ -2218,7 +2226,7 @@ msgstr "" "Si une erreur se produit dans la fonction de trace, elle sera désactivée, " "tout comme si ``settrace(None)`` avait été appelée." -#: ../Doc/library/sys.rst:1190 +#: ../Doc/library/sys.rst:1196 msgid "" "A function is called (or some other code block entered). The global trace " "function is called; *arg* is ``None``; the return value specifies the local " @@ -2228,11 +2236,11 @@ msgstr "" "globale est appelée, *arg* est ``None``, la valeur renvoyée donne la " "fonction de traçage locale." -#: ../Doc/library/sys.rst:1201 +#: ../Doc/library/sys.rst:1207 msgid "``'line'``" msgstr "``'line'``" -#: ../Doc/library/sys.rst:1195 +#: ../Doc/library/sys.rst:1201 msgid "" "The interpreter is about to execute a new line of code or re-execute the " "condition of a loop. The local trace function is called; *arg* is ``None``; " @@ -2249,7 +2257,7 @@ msgstr "" "désactivés pour un cadre d'exécution en mettant :attr:`f_trace_lines` à :" "const:`False` pour ce cadre d'exécution." -#: ../Doc/library/sys.rst:1204 +#: ../Doc/library/sys.rst:1210 msgid "" "A function (or other code block) is about to return. The local trace " "function is called; *arg* is the value that will be returned, or ``None`` if " @@ -2261,11 +2269,11 @@ msgstr "" "renvoyée, ou ``None`` si l'événement est causé par la levée d'une exception. " "La valeur renvoyée par la fonction de traçage est ignorée." -#: ../Doc/library/sys.rst:1212 +#: ../Doc/library/sys.rst:1218 msgid "``'exception'``" msgstr "``'exception'``" -#: ../Doc/library/sys.rst:1210 +#: ../Doc/library/sys.rst:1216 msgid "" "An exception has occurred. The local trace function is called; *arg* is a " "tuple ``(exception, value, traceback)``; the return value specifies the new " @@ -2275,11 +2283,11 @@ msgstr "" "est le *tuple* ``(exception, valeur, traceback)``, la valeur renvoyée " "spécifie la nouvelle fonction de traçage locale." -#: ../Doc/library/sys.rst:1220 +#: ../Doc/library/sys.rst:1226 msgid "``'opcode'``" msgstr "``'opcode'``" -#: ../Doc/library/sys.rst:1215 +#: ../Doc/library/sys.rst:1221 msgid "" "The interpreter is about to execute a new opcode (see :mod:`dis` for opcode " "details). The local trace function is called; *arg* is ``None``; the return " @@ -2294,7 +2302,7 @@ msgstr "" "explicitement requis en mettant :attr:`f_trace_opcodes` à :const:`True` pour " "cette *frame*." -#: ../Doc/library/sys.rst:1222 +#: ../Doc/library/sys.rst:1228 msgid "" "Note that as an exception is propagated down the chain of callers, an " "``'exception'`` event is generated at each level." @@ -2302,13 +2310,13 @@ msgstr "" "Remarquez que, comme une exception se propage au travers de toute chaîne " "d'appelants, un événement ``'exception'`` est généré à chaque niveau." -#: ../Doc/library/sys.rst:1225 +#: ../Doc/library/sys.rst:1231 msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" "Pour plus d'informations sur les objets code et objets représentant une " "*frame* de la pile, consultez :ref:`types`." -#: ../Doc/library/sys.rst:1229 +#: ../Doc/library/sys.rst:1235 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -2321,7 +2329,7 @@ msgstr "" "que de la définition du langage, et peut donc ne pas être disponible dans " "toutes les implémentations de Python." -#: ../Doc/library/sys.rst:1236 +#: ../Doc/library/sys.rst:1242 msgid "" "``'opcode'`` event type added; :attr:`f_trace_lines` and :attr:" "`f_trace_opcodes` attributes added to frames" @@ -2329,7 +2337,7 @@ msgstr "" "Ajout du type d’événement ``'opcode'`` ; les attributs :attr:`f_trace_lines` " "et :attr:`f_trace_opcodes` ont été ajoutés aux cadres d'exécution" -#: ../Doc/library/sys.rst:1241 +#: ../Doc/library/sys.rst:1247 msgid "" "Accepts two optional keyword arguments which are callables that accept an :" "term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -2343,7 +2351,7 @@ msgstr "" "première fois, et l'appelable *finalizer* sera appelé lorsqu'un générateur " "asynchrone est sur le point d'être détruit." -#: ../Doc/library/sys.rst:1247 +#: ../Doc/library/sys.rst:1253 msgid "" "See :pep:`525` for more details, and for a reference example of a " "*finalizer* method see the implementation of ``asyncio.Loop." @@ -2353,7 +2361,7 @@ msgstr "" "voir l'implémentation de ``asyncio.Loop.shutdown_asyncgens`` dans :source:" "`Lib/asyncio/base_events.py`" -#: ../Doc/library/sys.rst:1259 +#: ../Doc/library/sys.rst:1265 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -2368,7 +2376,7 @@ msgstr "" "coroutine a été créé, avec l'appel le plus récent en premier. Lorsqu'il est " "désactivé, la valeur de ``cr_origin`` est ``None``." -#: ../Doc/library/sys.rst:1266 +#: ../Doc/library/sys.rst:1272 msgid "" "To enable, pass a *depth* value greater than zero; this sets the number of " "frames whose information will be captured. To disable, pass set *depth* to " @@ -2378,11 +2386,11 @@ msgstr "" "le nombre de cadres d'exécution dont les informations sont capturées. Pour " "le désactiver, mettez *depth* à zéro." -#: ../Doc/library/sys.rst:1270 +#: ../Doc/library/sys.rst:1276 msgid "This setting is thread-specific." msgstr "Ce paramètre est spécifique au fil d'exécution courant." -#: ../Doc/library/sys.rst:1280 +#: ../Doc/library/sys.rst:1286 msgid "" "Allows intercepting creation of :term:`coroutine` objects (only ones that " "are created by an :keyword:`async def` function; generators decorated with :" @@ -2392,36 +2400,36 @@ msgstr "" "créés via :keyword:`async def`, les générateurs décorés par :func:`types." "coroutine` ou :func:`asyncio.coroutine` ne seront pas interceptés)." -#: ../Doc/library/sys.rst:1285 +#: ../Doc/library/sys.rst:1291 msgid "The *wrapper* argument must be either:" msgstr "L'argument *wrapper* doit être soit :" -#: ../Doc/library/sys.rst:1287 +#: ../Doc/library/sys.rst:1293 msgid "a callable that accepts one argument (a coroutine object);" msgstr "un appelable qui accepte un argument (une coroutine);" -#: ../Doc/library/sys.rst:1288 +#: ../Doc/library/sys.rst:1294 msgid "``None``, to reset the wrapper." msgstr "``None``, pour réinitialiser le *wrapper*." -#: ../Doc/library/sys.rst:1290 +#: ../Doc/library/sys.rst:1296 msgid "" "If called twice, the new wrapper replaces the previous one. The function is " "thread-specific." msgstr "S'il est appelé deux fois, le nouveau *wrapper* remplace le précédent." -#: ../Doc/library/sys.rst:1293 +#: ../Doc/library/sys.rst:1299 msgid "" "The *wrapper* callable cannot define new coroutines directly or indirectly::" msgstr "" "L'appelable *wrapper* ne peut pas définir de nouvelles coroutines, ni " "directement, ni indirectement : ::" -#: ../Doc/library/sys.rst:1308 +#: ../Doc/library/sys.rst:1314 msgid "See also :func:`get_coroutine_wrapper`." msgstr "Voir aussi :func:`get_coroutine_wrapper`." -#: ../Doc/library/sys.rst:1323 +#: ../Doc/library/sys.rst:1329 msgid "" "Changes the default filesystem encoding and errors mode to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." @@ -2430,7 +2438,7 @@ msgstr "" "fichiers à *mbcs* et *replace* respectivement, par cohérence avec les " "versions de Python antérieures à la 3.6." -#: ../Doc/library/sys.rst:1326 +#: ../Doc/library/sys.rst:1332 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." @@ -2438,11 +2446,11 @@ msgstr "" "Équivaut à définir la variable d'environnement :envvar:" "`PYTHONLEGACYWINDOWSFSENCODING` avant de lancer Python." -#: ../Doc/library/sys.rst:1331 +#: ../Doc/library/sys.rst:1337 msgid "See :pep:`529` for more details." msgstr "Voir la :pep:`529` pour plus d'informations." -#: ../Doc/library/sys.rst:1338 +#: ../Doc/library/sys.rst:1344 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" @@ -2450,7 +2458,7 @@ msgstr "" ":term:`objets fichiers ` utilisés par l'interpréteur pour " "l'entrée standard, la sortie standard et la sortie d'erreurs :" -#: ../Doc/library/sys.rst:1341 +#: ../Doc/library/sys.rst:1347 msgid "" "``stdin`` is used for all interactive input (including calls to :func:" "`input`);" @@ -2458,7 +2466,7 @@ msgstr "" "``stdin`` est utilisé pour toutes les entrées interactives (y compris les " "appels à :func:`input`)" -#: ../Doc/library/sys.rst:1343 +#: ../Doc/library/sys.rst:1349 msgid "" "``stdout`` is used for the output of :func:`print` and :term:`expression` " "statements and for the prompts of :func:`input`;" @@ -2466,13 +2474,13 @@ msgstr "" "``stdout`` est utilisé pour la sortie de :func:`print`, des :term:" "`expression` et pour les invites de :func:`input` ;" -#: ../Doc/library/sys.rst:1345 +#: ../Doc/library/sys.rst:1351 msgid "The interpreter's own prompts and its error messages go to ``stderr``." msgstr "" "Les invites de l'interpréteur et ses messages d'erreur sont écrits sur " "``stderr``." -#: ../Doc/library/sys.rst:1347 +#: ../Doc/library/sys.rst:1353 msgid "" "These streams are regular :term:`text files ` like those returned " "by the :func:`open` function. Their parameters are chosen as follows:" @@ -2481,7 +2489,7 @@ msgstr "" "renvoyés par la fonction :func:`open`. Leurs paramètres sont choisis comme " "suit :" -#: ../Doc/library/sys.rst:1351 +#: ../Doc/library/sys.rst:1357 msgid "" "The character encoding is platform-dependent. Non-Windows platforms use the " "locale encoding (see :meth:`locale.getpreferredencoding()`)." @@ -2490,7 +2498,7 @@ msgstr "" "Windows utilisent l'encodage défini dans les paramètres régionaux (voir :" "meth:`locale.getpreferredencoding()`)." -#: ../Doc/library/sys.rst:1355 +#: ../Doc/library/sys.rst:1361 msgid "" "On Windows, UTF-8 is used for the console device. Non-character devices " "such as disk files and pipes use the system locale encoding (i.e. the ANSI " @@ -2509,7 +2517,7 @@ msgstr "" "valeur par défaut est l'encodage des paramètres régionaux système si le " "processus n'est pas attaché initialement à une console." -#: ../Doc/library/sys.rst:1364 +#: ../Doc/library/sys.rst:1370 msgid "" "The special behaviour of the console can be overridden by setting the " "environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In " @@ -2520,7 +2528,7 @@ msgstr "" "Python. Dans ce cas, les pages de code de la console sont utilisées comme " "pour tout autre périphérique de caractères." -#: ../Doc/library/sys.rst:1369 +#: ../Doc/library/sys.rst:1375 msgid "" "Under all platforms, you can override the character encoding by setting the :" "envvar:`PYTHONIOENCODING` environment variable before starting Python or by " @@ -2535,7 +2543,7 @@ msgstr "" "Toutefois, pour la console Windows, cela s'applique uniquement lorsque :" "envvar:`PYTHONLEGACYWINDOWSSTDIO` est également défini." -#: ../Doc/library/sys.rst:1376 +#: ../Doc/library/sys.rst:1382 msgid "" "When interactive, ``stdout`` and ``stderr`` streams are line-buffered. " "Otherwise, they are block-buffered like regular text files. You can " @@ -2546,7 +2554,7 @@ msgstr "" "fichiers textes classiques. Vous pouvez remplacer cette valeur avec " "l'option :option:`-u` en ligne de commande." -#: ../Doc/library/sys.rst:1382 +#: ../Doc/library/sys.rst:1388 msgid "" "To write or read binary data from/to the standard streams, use the " "underlying binary :data:`~io.TextIOBase.buffer` object. For example, to " @@ -2557,7 +2565,7 @@ msgstr "" "pour écrire des octets sur :data:`stdout`, utilisez ``sys.stdout.buffer." "write(b'abc')``." -#: ../Doc/library/sys.rst:1386 +#: ../Doc/library/sys.rst:1392 msgid "" "However, if you are writing a library (and do not control in which context " "its code will be executed), be aware that the standard streams may be " @@ -2569,7 +2577,7 @@ msgstr "" "remplacés par des objets de type fichier tel un :class:`io.StringIO` qui " "n'ont pas l'attribut :attr:`~io.BufferedIOBase.buffer`." -#: ../Doc/library/sys.rst:1396 +#: ../Doc/library/sys.rst:1402 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -2581,7 +2589,7 @@ msgstr "" "pendant la finalisation, et peuvent être utiles pour écrire dans le vrai " "flux standard, peu importe si l'objet ``sys.std*`` a été redirigé." -#: ../Doc/library/sys.rst:1401 +#: ../Doc/library/sys.rst:1407 msgid "" "It can also be used to restore the actual files to known working file " "objects in case they have been overwritten with a broken object. However, " @@ -2593,7 +2601,7 @@ msgstr "" "cependant la bonne façon de faire serait de sauvegarder explicitement les " "flux avant de les remplacer et ainsi pouvoir les restaurer." -#: ../Doc/library/sys.rst:1407 +#: ../Doc/library/sys.rst:1413 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -2606,7 +2614,7 @@ msgstr "" "Windows qui ne sont pas connectées à une console, ou les applications Python " "démarrées avec :program:`pythonw`." -#: ../Doc/library/sys.rst:1415 +#: ../Doc/library/sys.rst:1421 msgid "" "A :term:`struct sequence` holding information about the thread " "implementation." @@ -2614,52 +2622,52 @@ msgstr "" "Une :term:`struct sequence` contenant des informations sur l'implémentation " "des fils d'exécution." -#: ../Doc/library/sys.rst:1423 +#: ../Doc/library/sys.rst:1429 msgid ":const:`name`" msgstr ":const:`name`" -#: ../Doc/library/sys.rst:1423 +#: ../Doc/library/sys.rst:1429 msgid "Name of the thread implementation:" msgstr "Nom de l'implémentation des fils d'exécution :" -#: ../Doc/library/sys.rst:1425 +#: ../Doc/library/sys.rst:1431 msgid "``'nt'``: Windows threads" msgstr "``'nt'``: Fils d'exécution Windows" -#: ../Doc/library/sys.rst:1426 +#: ../Doc/library/sys.rst:1432 msgid "``'pthread'``: POSIX threads" msgstr "``'pthread'``: Fils d'exécution POSIX" -#: ../Doc/library/sys.rst:1427 +#: ../Doc/library/sys.rst:1433 msgid "``'solaris'``: Solaris threads" msgstr "``'solaris'``: Fils d'exécution Solaris" -#: ../Doc/library/sys.rst:1429 +#: ../Doc/library/sys.rst:1435 msgid ":const:`lock`" msgstr ":const:`lock`" -#: ../Doc/library/sys.rst:1429 +#: ../Doc/library/sys.rst:1435 msgid "Name of the lock implementation:" msgstr "Nom de l'implémentation du système de verrou :" -#: ../Doc/library/sys.rst:1431 +#: ../Doc/library/sys.rst:1437 msgid "``'semaphore'``: a lock uses a semaphore" msgstr "``'semaphore'``: Verrou utilisant une sémaphore" -#: ../Doc/library/sys.rst:1432 +#: ../Doc/library/sys.rst:1438 msgid "``'mutex+cond'``: a lock uses a mutex and a condition variable" msgstr "" "``'mutex+cond'``: Un verrou utilisant un *mutex* et une *condition variable*" -#: ../Doc/library/sys.rst:1434 +#: ../Doc/library/sys.rst:1440 msgid "``None`` if this information is unknown" msgstr "``None`` si cette information n'est pas connue" -#: ../Doc/library/sys.rst:1436 +#: ../Doc/library/sys.rst:1442 msgid ":const:`version`" msgstr ":const:`version`" -#: ../Doc/library/sys.rst:1436 +#: ../Doc/library/sys.rst:1442 msgid "" "Name and version of the thread library. It is a string, or ``None`` if this " "information is unknown." @@ -2667,7 +2675,7 @@ msgstr "" "Nom et version de l'implémentation des fils d'exécution, c'est une chaîne, " "ou ``None`` si ces informations sont inconnues." -#: ../Doc/library/sys.rst:1445 +#: ../Doc/library/sys.rst:1451 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -2681,7 +2689,7 @@ msgstr "" "est égale ou inférieure à ``0``, la pile d'appels n'est pas affichée, seul " "seuls le type et la valeur de l'exception sont le sont." -#: ../Doc/library/sys.rst:1453 +#: ../Doc/library/sys.rst:1459 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -2696,7 +2704,7 @@ msgstr "" "utilisez plutôt :data:`version_info` et les fonctions fournies par le " "module :mod:`platform`." -#: ../Doc/library/sys.rst:1462 +#: ../Doc/library/sys.rst:1468 msgid "" "The C API version for this interpreter. Programmers may find this useful " "when debugging version conflicts between Python and extension modules." @@ -2705,7 +2713,7 @@ msgstr "" "trouver cette information utile en déboguant des conflits de versions entre " "Python et des modules d'extension." -#: ../Doc/library/sys.rst:1468 +#: ../Doc/library/sys.rst:1474 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -2723,11 +2731,11 @@ msgstr "" "attributs sont aussi accessibles par leur nom, ainsi ``sys.version_info[0]`` " "est équivalent à ``sys.version_info.major``, et ainsi de suite." -#: ../Doc/library/sys.rst:1476 +#: ../Doc/library/sys.rst:1482 msgid "Added named component attributes." msgstr "Ajout des attributs nommés." -#: ../Doc/library/sys.rst:1481 +#: ../Doc/library/sys.rst:1487 msgid "" "This is an implementation detail of the warnings framework; do not modify " "this value. Refer to the :mod:`warnings` module for more information on the " @@ -2737,7 +2745,7 @@ msgstr "" "Ne modifiez pas cette valeur. Reportez-vous au module :mod:`warnings` pour " "plus d'informations sur le gestionnaire d'avertissements." -#: ../Doc/library/sys.rst:1488 +#: ../Doc/library/sys.rst:1494 msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " @@ -2752,7 +2760,7 @@ msgstr "" "d'information, et la modifier n'a aucun effet sur les clés de registre " "utilisées par Python." -#: ../Doc/library/sys.rst:1499 +#: ../Doc/library/sys.rst:1505 msgid "" "A dictionary of the various implementation-specific flags passed through " "the :option:`-X` command-line option. Option names are either mapped to " @@ -2763,7 +2771,7 @@ msgstr "" "correspondent soit leur valeur, si elle est donnée explicitement, soit à :" "const:`True`. Exemple:" -#: ../Doc/library/sys.rst:1515 +#: ../Doc/library/sys.rst:1521 msgid "" "This is a CPython-specific way of accessing options passed through :option:`-" "X`. Other implementations may export them through other means, or not at " @@ -2773,11 +2781,11 @@ msgstr "" "l'option :option:`-X`. D'autres implémentations pourraient les exposer par " "d'autres moyens, ou pas du tout." -#: ../Doc/library/sys.rst:1523 +#: ../Doc/library/sys.rst:1529 msgid "Citations" msgstr "Citations" -#: ../Doc/library/sys.rst:1524 +#: ../Doc/library/sys.rst:1530 msgid "" "ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at http://www.open-std.org/jtc1/sc22/wg14/www/docs/" diff --git a/library/timeit.po b/library/timeit.po index 84e7edbd..ad236b30 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/typing.po b/library/typing.po index 183af683..7627eaf1 100644 --- a/library/typing.po +++ b/library/typing.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index b9ed3df0..910b2618 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-20 09:03+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/unittest.po b/library/unittest.po index 166f847d..f8a2bf31 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -5,9 +5,9 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-03-27 11:46+0100\n" -"Last-Translator: Jules Lasne \n" +"Last-Translator: Bousquié Pierre \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" diff --git a/library/urllib.parse.po b/library/urllib.parse.po index 485ea2b4..bde6e29e 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/urllib.request.po b/library/urllib.request.po index deab0b08..8db2dab9 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index 04ee4f7c..760f4e17 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 09:48+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-09-29 19:35+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -298,48 +298,20 @@ msgid ":class:`DOMTimeStamp`" msgstr ":class:`DOMTimeStamp`" #: ../Doc/library/xml.dom.minidom.rst:230 -msgid ":class:`DocumentType`" -msgstr ":class:`DocumentType`" - -#: ../Doc/library/xml.dom.minidom.rst:232 -msgid ":class:`DOMImplementation`" -msgstr ":class:`DOMImplementation`" - -#: ../Doc/library/xml.dom.minidom.rst:234 -msgid ":class:`CharacterData`" -msgstr ":class:`CharacterData`" - -#: ../Doc/library/xml.dom.minidom.rst:236 -msgid ":class:`CDATASection`" -msgstr ":class:`CDATASection`" - -#: ../Doc/library/xml.dom.minidom.rst:238 -msgid ":class:`Notation`" -msgstr ":class:`Notation`" - -#: ../Doc/library/xml.dom.minidom.rst:240 -msgid ":class:`Entity`" -msgstr ":class:`Entity`" - -#: ../Doc/library/xml.dom.minidom.rst:242 msgid ":class:`EntityReference`" msgstr ":class:`EntityReference`" -#: ../Doc/library/xml.dom.minidom.rst:244 -msgid ":class:`DocumentFragment`" -msgstr ":class:`DocumentFragment`" - -#: ../Doc/library/xml.dom.minidom.rst:246 +#: ../Doc/library/xml.dom.minidom.rst:232 msgid "" "Most of these reflect information in the XML document that is not of general " "utility to most DOM users." msgstr "" -#: ../Doc/library/xml.dom.minidom.rst:250 +#: ../Doc/library/xml.dom.minidom.rst:236 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/xml.dom.minidom.rst:251 +#: ../Doc/library/xml.dom.minidom.rst:237 msgid "" "The encoding name included in the XML output should conform to the " "appropriate standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not " @@ -348,3 +320,24 @@ msgid "" "EncodingDecl and https://www.iana.org/assignments/character-sets/character-" "sets.xhtml." msgstr "" + +#~ msgid ":class:`DocumentType`" +#~ msgstr ":class:`DocumentType`" + +#~ msgid ":class:`DOMImplementation`" +#~ msgstr ":class:`DOMImplementation`" + +#~ msgid ":class:`CharacterData`" +#~ msgstr ":class:`CharacterData`" + +#~ msgid ":class:`CDATASection`" +#~ msgstr ":class:`CDATASection`" + +#~ msgid ":class:`Notation`" +#~ msgstr ":class:`Notation`" + +#~ msgid ":class:`Entity`" +#~ msgstr ":class:`Entity`" + +#~ msgid ":class:`DocumentFragment`" +#~ msgstr ":class:`DocumentFragment`" diff --git a/reference/datamodel.po b/reference/datamodel.po index c079d7dd..79a1828f 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-02-19 22:22+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -3252,6 +3252,7 @@ msgid "the appropriate metaclass is determined;" msgstr "la méta-classe appropriée est déterminée ;" #: ../Doc/reference/datamodel.rst:1866 +#, fuzzy msgid "the class namespace is prepared;" msgstr "l'espace de nommage de la classe est préparé ;" diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 0e3ba0d8..0f1cb966 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2019-02-10 06:38+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index 21f693d3..55c81267 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-29 12:24+0100\n" +"POT-Creation-Date: 2019-04-10 09:35+0200\n" "PO-Revision-Date: 2018-10-13 17:50+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n"